mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
testing nvidia prime offloading
This commit is contained in:
parent
ee95fa7ead
commit
70d19cb60f
5 changed files with 32 additions and 16 deletions
|
|
@ -35,28 +35,33 @@ EndSection
|
|||
|
||||
Section "ServerLayout"
|
||||
Identifier "Layout[all]"
|
||||
Screen "Screen-nvidia[0]"
|
||||
Inactive "Device-amdgpu[0]"
|
||||
Option "AllowNVIDIAGPUScreens"
|
||||
|
||||
Screen "Screen-amdgpu[0]"
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Device"
|
||||
Identifier "Device-amdgpu[0]"
|
||||
Driver "amdgpu"
|
||||
|
||||
BusID "PCI:15:0:0"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen-amdgpu[0]"
|
||||
Device "Device-amdgpu[0]"
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Device"
|
||||
Identifier "Device-nvidia[0]"
|
||||
Driver "nvidia"
|
||||
|
||||
BusID "PCI:1:0:0"
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen-nvidia[0]"
|
||||
Device "Device-nvidia[0]"
|
||||
EndSection
|
||||
|
||||
|
||||
|
|
@ -64,4 +69,3 @@ EndSection
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue