Test reverse sync

This commit is contained in:
iFargle 2023-07-12 15:29:53 +09:00
parent ea3c4a9be8
commit 244ab4c770

View file

@ -28,18 +28,18 @@
# Enable nVidia PRIME Render Offload and OpenGL
# https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/p1/3th-gen/nvidia.nix
hardware = {
nvidia.modesetting.enable = true;
opengl.enable = true;
opengl.driSupport32Bit = true;
nvidia.powerManagement.enable = true;
nvidia.prime = {
# sync.enable = true;
offload.enable = true;
offload.enableOffloadCmd = true;
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
nvidia = {
open = false;
powerManagement.enable = true;
modesetting.enable = true;
prime = {
reverseSync = true;
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
};
};