Advertisement
Notevill

10-nvidia.conf

Aug 3rd, 2020
4,108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Section "ServerLayout"
  2.     Identifier     "Layout0"
  3.     Option         "AllowNVIDIAGPUScreens"
  4.     Screen      0  "iGPU" 0 0
  5. EndSection
  6.  
  7. Section "Device"
  8.     Identifier     "iGPU"
  9.     Driver         "modesetting"
  10.     BusID          "PCI:0:2:0" #Проверьте BusID
  11. EndSection
  12.  
  13. Section "Device"
  14.     Identifier     "dGPU"
  15.     Driver         "nvidia"
  16.     BusID          "PCI:1:0:0" #Проверьте BusID
  17. EndSection
  18.  
  19. Section "Screen"
  20.     Identifier     "iGPU"
  21.     Device         "iGPU"
  22.     DefaultDepth    24
  23.     SubSection     "Display"
  24.     Viewport        0 0
  25.     EndSubSection
  26. EndSection
  27.  
  28. Section "OutputClass"
  29.     Identifier     "iGPU"
  30.     MatchDriver    "i915"
  31.     Driver         "modesetting"
  32. EndSection
  33.  
  34. Section "OutputClass"
  35.     Identifier     "dGPU"
  36.     MatchDriver    "nvidia-drm"
  37.     Driver         "nvidia"
  38.     Option         "AllowEmptyInitialConfiguration"
  39.     Option         "PrimaryGPU" "yes"
  40.     ModulePath     "/usr/lib/xorg/modules"
  41.     ModulePath     "/usr/lib/modules"    
  42. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement