Frogging-Family / nvidia-all

Nvidia driver latest to 396 series AIO installer
808 stars 71 forks source link

The Patch Needed to Fix CUDA on 5.9+ is Included in the patches/ Directory, but Doesn't Get Applied #11

Closed gardotd426 closed 4 years ago

gardotd426 commented 4 years ago

So, due to the whole "GPL condom" mess, CUDA is now broken on 5.9+. The patch that apparently fixes it is indeed in patches/kernel-5.9.patch, but during the PKGBUILD process, I get the "Skipping kernel-5.9.patch as it doesn't apply to this driver version..." message, the patches aren't applied, and therefore CUDA remains broken.

Is there an easy way to set up a config option in customization.cfg that would allow for enabling/disabling this, since it seems like this is going to be an issue for the foreseeable future? If there are other parts of the patch that aren't necessary, is it possible to maybe take the necessary nvidia_uvm patch and put it in a standalone patch?

gardotd426 commented 4 years ago

I will say I went ahead and created my own patch with just the necessary bits and it did in fact work to re-enable CUDA/nvidia_uvm support on 5.9.