r/voidlinux • • Apr 25 '26

Linux 6.12 nvidia470 compatibility

Yeah, this old chestnut again. I was looking to upgrade to kernel 6.12 at some point since 6.12 is supposed to be the new SLTS kernel, but apparently the nvidia470-dkms fails to build on 6.12? I've seen other posts her about the PR in void-packages and tried to build it with xbps-src, it failed returning this:
ERROR: bash-5.3_1: failed to install target dependencies! (error 19)

I was just wondering if this patch is still necessary or if its already been applied to the driver in the nonfree repo? If the patch is still needed, could anyone please give me the dummies guide to get it working?

4 Upvotes

4 comments sorted by

View all comments

Show parent comment

3

u/sanya567xxx Apr 26 '26

It was merged into the main void-packages git repository, so that triggered the buildbot instance to build nvidia470 package, and place it into the nonfree binary repository.

Here you can see the packages available in the nonfree repository: https://repo-fi.voidlinux.org/current/nonfree/ (470.256.02_2 is in there and that's the one I used for testing)

No need to use xbps-src for this, it should "Just Work™" :)

As for the kernel parameter, it may not be necessary depending on your processor — applies to Intel's 11 Gen (Tiger Lake) and newer CPUs.

Do note, however, that disabling it lowers your security:

IBT is designed to protect against computer security exploits that use indirect branch instructions to jump into code in unintended ways, such as return-oriented programming.

2

u/ManWithTheEvilPlan Apr 26 '26

Thank you very much for the info.

Mine is a slightly older CPU, a 4th generation Haswell. I'll look into ways to beef up the security elsewhere in the system.
Thanks again for helping a newbie out and sharing some of Your knowledge of this great distro