Created
August 29, 2022 01:57
-
-
Save inscapist/5f9cfb607f5a3eef0bf791711bd2d1f1 to your computer and use it in GitHub Desktop.
Xorg config for alienware x15 (Nvidia Prime Render Offload)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://web.mit.edu/rhel-doc/4/RH-DOCS/rhel-rg-en-4/s1-x-server-configuration.html | |
Section "ServerLayout" | |
Identifier "layout" | |
Screen 0 "laptopscreen" | |
Option "AllowNVIDIAGPUScreens" | |
EndSection | |
Section "Device" | |
# Option "PrimaryGPU" "no" | |
# BusID "PCI:1:0:0" | |
Identifier "rtx3070" | |
Driver "nvidia" | |
EndSection | |
Section "Device" | |
Identifier "intel_uhd" | |
Driver "modesetting" | |
EndSection | |
Section "Screen" | |
Identifier "laptopscreen" | |
Device "intel_uhd" | |
EndSection | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment