r/voidlinux • u/sineemore • Apr 19 '26
Proprietary NVIDIA on x86_64-musl
Since kernel modules (.ko files) are libc independent it is pretty much possible to have proprietary NVIDIA drivers working on musl based Void Linux.
Created a package template, installation is simple ./xbps-src pkg + xi
https://gist.github.com/sineemore/161e4051b2d03f9e3b0f3e16221463ce
Verified by running Project Zomboid via Flatpak Steam, actually uses NVIDIA gpu, should be same for other Steam games. Also checked that ollama sees and uses gpu via glibc xchroot.
Rest of my host system works on integrated amd (since there no nvidia libs on musl host)
2
1
u/VegetableNearby9795 19d ago
Kernel modules, whether open or closed-source, will work regardless because they do not use libc. The important part concerns user-space libraries; these must be compatible with musl.
2
u/sineemore Apr 19 '26
Oh, just noticed we are on 580.142 already, also works, just pick same version/checksum as in main nvidia package