Open hacker1024 opened 1 year ago
Note that NixGL is attempting something pretty complex: it's trying to find in nixpkgs the userspace drivers that are compatible with the currently running kernel. OTOH, https://github.com/numtide/nix-gl-host just locates the host system's userspace drivers.
Note also for certain applications (CUDA) neither is really sufficient and instead/in addition we need something like https://github.com/NixOS/nixpkgs/pull/267247. CC https://github.com/anduril/jetpack-nixos/pull/160
The packages in this repository are also quite useful on NVIDIA's Ubuntu distribution. OpenGL and Vulkan applications, however, do not work out of the box. Instead, a wrapper like NixGL needs to be made.
I have attempted to make such a wrapper. It works for OpenGL applications, but when testing Vulkan with
vkcube
, I get a segmentation fault. Has anyone got Vulkan working?