Ubuntu 20.10 – How to Get Nvidia Graphics Working with Kernel 5.10

driverskernelnvidia

I'm trying to get Nvidia working with 5.10 rc6. I have downloaded kernel, header and image from here https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10-rc6/amd64/ and everything seems to work ok. I have a 5950x and 5.10 added support for AMD Zen 3 CPU temperature monitoring so it works as well. I have installed nvidia drivers from PPA and version is 455.45.01. When I install the 5.10 kernel I get error:

unset ARCH; [ ! -h /usr/bin/cc ] && export CC=/usr/bin/gcc; env NV_VERBOSE=1 'make' -j16 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=5.10.0-051000rc6-generic IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 SYSSRC=/lib/modules/5.10.0-051000rc6-generic/build LD=/usr/bin/ld.bfd modules.......(bad exit status: 2)
ERROR (dkms apport): kernel package linux-headers-5.10.0-051000rc6-generic is not supported
Error! Bad return status for module build on kernel: 5.10.0-051000rc6-generic (x86_64)

Do I need to remove current drivers and install they manually using .run package or how I should approach this? I have 2x3090fe cards.

Best Answer

the latest https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10/amd64/ seems to work properly with drivers from PPA (455.45.01).

Related Question