File: xorg.conf_RazerBlade-2-XScreens-NVidiaProprietary_iGPUPrime%2BdGPUHDMInative.conf

package info (click to toggle)
psychtoolbox-3 3.0.15.20190207.dfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 101,848 kB
  • sloc: ansic: 174,133; cpp: 11,232; objc: 4,832; sh: 1,874; python: 1,047; php: 384; makefile: 189; java: 113
file content (73 lines) | stat: -rw-r--r-- 1,873 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
# Example X-Org config file for setting up 2 separate
# X-Screens on a Optimus Laptop, where the Intel iGPU is
# hard-wired to the internal Laptop flatpanel and the
# external USB-C port (useable for DisplayPort/HDMI/
# DVI/VGA output via adapters), whereas the NVidia dGPU
# is hard-wired to a HDMI output port.
#
# This config file is for use with the NVidia proprietary
# graphics driver under "Optimus" / PRIME sync slave output
# mode.
#
# We assign X-Screen 0 to the Intel iGPU, so the NVidia gpu
# does the rendering, but the Intel gpu does the display on
# the laptop flat-panel or the USB-C output.
#
# X-Screen 1 is assigned to the NVidia gpu directly for
# display on the NVidias physical HDMI output port.
#
# This specific config file would work on the
# "Razer Blade 2016" "VR ready" gaming laptop wth
# Intel HD 530 Skylake iGPU and NVidia GeForce 1060M
# Pascal dGPU.

Section "ServerLayout"
    Identifier "layout"
    Screen 0 "nvidia0"
    Screen 1 "nvidia1"
    Inactive "intel"
EndSection

Section "Device"
    Identifier "intel"
    Driver "modesetting"
    BusID "PCI:0@0:2:0"
    Option "AccelMethod" "None"
EndSection

Section "Screen"
    Identifier "intel"
    Device "intel"
EndSection

Section "Device"
    Identifier "nvidia0"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
    Screen 0
EndSection

Section "Screen"
    Identifier "nvidia0"
    Device "nvidia0"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection

Section "Device"
    Identifier "nvidia1"
    Driver "nvidia"
    BusID "PCI:1@0:0:0"
    Option "ConstrainCursor" "off"
    Screen 1
    Option "UseDisplayDevice" "DFP-0"
EndSection

Section "Screen"
    Identifier "nvidia1"
    Device "nvidia1"
    Option "AllowEmptyInitialConfiguration" "on"
    Option "IgnoreDisplayDevices" "CRT"
EndSection