-
-
Couldn't load subscription status.
- Fork 17.1k
Description
The Directory renaming is now out of scope/run/opengl-driver/ directory contains more than just opengl libraries now. It also includes vulkan implementations, machine learning libraries, hardware-accelerated encoding and decoding, opencl implementations, and many others.
This directory is also being used as the way to get access to the host machines gpu drivers. I think it's another source of confusion for many users to have to add addOpenGLRunpath so that they can get a vulkan game / cuda workload / opencl workload to work.
I think we should deprecate this prior to the 21.11 release, and fully move it to something like /run/gpu-driver/ or something more representative of the desired affect.
I would also like if someone specifies a value for This was done in 02cef04c8187services.xserver.videoDrivers, that they would also get the gpu libraries mounted automatically instead of needing to do a separate hardware.opengl-drivers.enable = true;.
cc @ryantm
EDIT: roadmap (2.5 years later... lol):
-
addOpenGLRunpath -> addDriverRunpath
- Init addDriverRunpath: addDriverRunpath: init #269475
- Deprecate
addOpenGLRunpathcudaPackages.addDriverRunpath: cudaPackages: generalize and refactor setup hooks #281576
-
autoAddOpenGLRunpathHook -> autoAddDriverRunpath
- Init autoAddDriverRunpath: autoAddDriverRunpathHook: init #297212
- Deprecate cudaPackages.autoAdd{OpenGLRunpathHook,DriverRunpath}:
- dcgm: use pkgs.autoAddDriverRunpath #300277
- lammps: use pkgs.autoAddDriverRunpath #300278
- sunshine: use pkgs.autoAddDriverRunpath #300287
- openai-whisper-cpp: use pkgs.autoAddDriverRunpath #300288
- colmap: use pkgs.autoAddDriverRunpath #300290
- btop: use pkgs.autoAddDriverRunpath #300292
- ucx: use pkgs.autoAddDriverRunpath #300293
- xgboost: use pkgs.autoAddDriverRunpath #300294
- cudaPackages.nccl: use pkgs.autoAddDriverRunpath #300295
- cudaPackages.saxpy: use pkgs.autoAddDriverRunpath #300296
- jaxlib-bin: use pkgs.autoAddDriverRunpath #300297
- python3Packages.jaxlib: use pkgs.autoAddDriverRunpath #300298
- tabby: use pkgs.autoAddDriverRunpath #300299
- llama-cpp: use pkgs.autoAddDriverRunpath #300300
- python3Packages.tensorrt: use pkgs.autoAddDriverRunpath #300301
- python3Packages.torch*: use pkgs.autoAddDriverRunpath #300302
- cudaPackages.autoAddX: Deprecate #300321
-
NixOS Module changes: TODO @Atemu?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status