Skip to content

Instantly share code, notes, and snippets.

@vadimstasiev
Last active September 19, 2022 13:13
Show Gist options
  • Select an option

  • Save vadimstasiev/25c9f6d1307415c65e23ede31f7c97b1 to your computer and use it in GitHub Desktop.

Select an option

Save vadimstasiev/25c9f6d1307415c65e23ede31f7c97b1 to your computer and use it in GitHub Desktop.
Disable nvidia in Xorg config file
Add
```
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AllowNVIDIAGPUScreens" "false"
EndSection
```
to your xorg conflig and make sure the GPU you want to use as host gpu is set as primary display output in bios.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment