Merge pull request #217718 from Kiskae/nvidia/unbreak-6.2
linuxPackages_6_2.nvidia_x11: disable ibt
This commit is contained in:
commit
371c7b8239
2 changed files with 4 additions and 3 deletions
|
@ -461,7 +461,9 @@ in
|
|||
# If requested enable modesetting via kernel parameter.
|
||||
boot.kernelParams = optional (offloadCfg.enable || cfg.modesetting.enable) "nvidia-drm.modeset=1"
|
||||
++ optional cfg.powerManagement.enable "nvidia.NVreg_PreserveVideoMemoryAllocations=1"
|
||||
++ optional cfg.open "nvidia.NVreg_OpenRmEnableUnsupportedGpus=1";
|
||||
++ optional cfg.open "nvidia.NVreg_OpenRmEnableUnsupportedGpus=1"
|
||||
# proprietary driver is not compiled with support for X86_KERNEL_IBT
|
||||
++ optional (!cfg.open && config.boot.kernelPackages.kernel.kernelAtLeast "6.2") "ibt=off";
|
||||
|
||||
services.udev.extraRules =
|
||||
''
|
||||
|
|
|
@ -127,8 +127,7 @@ let
|
|||
platforms = [ "x86_64-linux" ] ++ optionals (!i686bundled) [ "i686-linux" ];
|
||||
maintainers = with maintainers; [ jonringer ];
|
||||
priority = 4; # resolves collision with xorg-server's "lib/xorg/modules/extensions/libglx.so"
|
||||
# proprietary driver currently does not support X86_KERNEL_IBT, which is scheduled to be added in linux 6.2
|
||||
broken = broken || (kernel != null && kernel.kernelAtLeast "6.2");
|
||||
inherit broken;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue