Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
725 stars 62 forks source link

Patch 525xx and 530xx for kernel 6.5 #186

Closed thojohns closed 10 months ago

thojohns commented 10 months ago

By default, 525xx and 530xx dkms packages will not build on Linux 6.5 due to the apparent deprecation of an unused parameter in get_user_pages and related functions; newer versions of 535 already have proper functionality implemented, while 525 and 530 do not.

As it seems that Starfield doesn't run on 535 drivers but works on various 525 and 530 driver versions, people might start looking for some sort of fix for new kernels in the coming days. In truth I expect Nvidia to release functional drivers pretty quickly, and kernel 6.5 is still pretty bleeding-edge, so I don't know how many people will really benefit from such a patch, but I also know how impatient and/or adventurous many users are, so I figured I'd try to get ahead of the curve.

An existing patch by Fjodor42 for older versions of 535 applies almost perfectly; I just changed the file path to be more general and updated the PKGBUILD. At the very least this applies cleanly and appears to work properly for 525.125.06 and 530.41.03 on Linux 6.5.1; other driver versions have not been tested.

Tk-Glitch commented 10 months ago

Thanks thojohns ! :frog: :heart: