Reverted to standard nvidia module, added fix for EGL
This commit is contained in:
parent
5ef98c97f0
commit
927a409b36
3 changed files with 11 additions and 5 deletions
|
|
@ -22,8 +22,8 @@ in
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./modules/virtualization.nix
|
./modules/virtualization.nix
|
||||||
./modules/desktop.nix
|
./modules/desktop.nix
|
||||||
#./modules/nvidia.nix
|
./modules/nvidia.nix
|
||||||
./modules/nvidia-basic.nix
|
#./modules/nvidia-basic.nix
|
||||||
./modules/ld-fix.nix
|
./modules/ld-fix.nix
|
||||||
./modules/programs.nix
|
./modules/programs.nix
|
||||||
./modules/bluetooth.nix
|
./modules/bluetooth.nix
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@
|
||||||
hardware = {
|
hardware = {
|
||||||
nvidia = {
|
nvidia = {
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
open = false;
|
open = true;
|
||||||
gsp.enable = config.hardware.nvidia.open;
|
gsp.enable = config.hardware.nvidia.open;
|
||||||
powerManagement.enable = false;
|
powerManagement.enable = false;
|
||||||
powerManagement.finegrained = false;
|
powerManagement.finegrained = false;
|
||||||
|
|
@ -36,9 +36,12 @@
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
"__EGL_VENDOR_LIBRARY_FILENAMES" = "${config.hardware.nvidia.package}/share/glvnd/egl_vendor.d/10_nvidia.json";
|
#"__EGL_VENDOR_LIBRARY_FILENAMES" = "${config.hardware.nvidia.package}/share/glvnd/egl_vendor.d/10_nvidia.json";
|
||||||
|
"__GLX_VENDOR_LIBRARY_NAME" = "nvidia";
|
||||||
|
"__EGL_EXTERNAL_PLATFORM_CONFIG_DIRS" = "/run/opengl-driver/share/egl/egl_external_platform.d";
|
||||||
|
"LIBEGL_DRIVERS_PATH" = "/run/opengl-driver/lib/egl";
|
||||||
"CUDA_CACHE_PATH" = "/home/nicole/.cache/nv";
|
"CUDA_CACHE_PATH" = "/home/nicole/.cache/nv";
|
||||||
};
|
};
|
||||||
etc."nvidia/nvidia-application-profiles-rc.d/50-limit-free-buffer-pool.json".source = ./50-limit-free-buffer-pool.json;
|
#etc."nvidia/nvidia-application-profiles-rc.d/50-limit-free-buffer-pool.json".source = ./50-limit-free-buffer-pool.json;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -138,6 +138,9 @@
|
||||||
cudaPackages.cudnn
|
cudaPackages.cudnn
|
||||||
cudaPackages.cuda_cudart
|
cudaPackages.cuda_cudart
|
||||||
|
|
||||||
|
# AI #
|
||||||
|
pkgs-unstable.jan
|
||||||
|
|
||||||
# AUDIO AND DAW#
|
# AUDIO AND DAW#
|
||||||
helvum
|
helvum
|
||||||
reaper
|
reaper
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue