From fea95143c9a529c984e70d1a7ddcac1ec7d70409 Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Sun, 26 May 2024 00:11:44 +0400 Subject: [PATCH] adding x11 nvidia specific conf --- root/etc/X11/xorg.conf.d/10-nvidia.conf | 30 +++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 root/etc/X11/xorg.conf.d/10-nvidia.conf diff --git a/root/etc/X11/xorg.conf.d/10-nvidia.conf b/root/etc/X11/xorg.conf.d/10-nvidia.conf new file mode 100644 index 0000000..768ac1a --- /dev/null +++ b/root/etc/X11/xorg.conf.d/10-nvidia.conf @@ -0,0 +1,30 @@ +Section "ServerLayout" + Identifier "layout" + Screen 0 "nvidia" + Inactive "intel" +EndSection + +Section "Device" + Identifier "nvidia" + Driver "nvidia" + BusID "PCI:1:0:0" + Option "AllowEmptyInitialConfiguration" "true" + Option "PrimaryGPU" "true" +EndSection + +Section "Screen" + Identifier "nvidia" + Device "nvidia" +EndSection + +Section "Device" + Identifier "intel" + Driver "modesetting" + BusID "PCI:0:2:0" + Option "AccelMethod" "none" +EndSection + +Section "Screen" + Identifier "intel" + Device "intel" +EndSection