bkw777 / mainline

Install mainline kernel packages from kernel.ubuntu.com
GNU General Public License v3.0
1.05k stars 72 forks source link

Mainline Kernels 6.8 thru 6.10 won't build latest Nvidia Drivers #344

Closed hackdefendr closed 3 months ago

hackdefendr commented 3 months ago

I don't know where else to start. None of the mainline kernel header packages from version 6.8 thru 6.10 will compile the Nvidia kernel module. I have spent 3 days on this and it just does not work with mainline kernels. I even tried different GCC versions 13 and 14, where v14 completely crashes my server with OOM errors until it just powers off.

Here's the nvidia-installer log file from the Nvidia .run installer on the latest 6.8 mainline kernel:

nvidia-installer.log

Note: When I boot into the stable default kernel, everything works.

bkw777 commented 3 months ago

Correct.

nbohr1more commented 3 months ago

Mainline kernels aren't signed so signed nvidia drivers cannot be integrated with them