So here is my generic advice (I am not an expert on graphic drivers, especially nvidea):
So first I would make sure your tools can find the libraries that jonringer describes. If you export the environment variable LD_DEBUG=libs
by typing export LD_DEBUG=libs
than your libc will provide log output in which directories it looks for libraries when starting an application. Make sure it find the libraries it is looking for in /run/opengl-driver/lib
. I saw the package is just a packed archive with a shell script around it. You can unpack that with sh ./the-archive.run -x
and than try to copy the all libraries in a nix build to a new package. I assume that other nvidia driver follow a similar design, so have a look how they are packaged. Than put the resulting package into /run/opengl-driver/lib
by adding it to hardware.opengl.extraPackages
as described by @jonringer
If even after installing your drivers it still does not work, you might be able to use strace
to see how the driver tries to access the hardware through userspace interfaces i.e. devices files in /dev
. You might be able to see that it tries to enumerate devices nodes that don’t exist or that cannot be opened because of permission errors.