efbefc311e
A modified xorg.conf.d snippet that works in all setups that I tested: - NVIDIA as primary GPU - Intel as primary GPU and NVIDIA PRIME Render offload It is very important that to make PRIME render offload working the 'xf86-video-intel` pkg must not be installed. As explained in the official NVIDIA documentation only the "modesetting" driver is supported.
18 lines
383 B
Text
18 lines
383 B
Text
Section "ServerLayout"
|
|
Identifier "layout"
|
|
Option "AllowNVIDIAGPUScreens"
|
|
EndSection
|
|
|
|
Section "OutputClass"
|
|
Identifier "intel"
|
|
MatchDriver "i915"
|
|
Driver "modesetting"
|
|
EndSection
|
|
|
|
Section "OutputClass"
|
|
Identifier "nvidia"
|
|
MatchDriver "nvidia-drm"
|
|
Driver "nvidia"
|
|
Option "AllowEmptyInitialConfiguration"
|
|
ModulePath "/usr/lib/nvidia/xorg"
|
|
EndSection
|