Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed conf/xorg.conf.d/10-dummy.conf
Empty file.
10 changes: 10 additions & 0 deletions conf/xorg.conf.d/10-ignore-devices.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# If you connect a display to one of the outputs wired to the Nvidia card, you
# have to comment this whole file. Note that you can leave it commented even
# without currently attached monitor, at the cost of greater optirun startup
# time.

Section "InputClass"
Identifier "IgnoreDevices"
MatchDevicePath "/dev/input/event*|/dev/input/mouse*|/dev/input/js*|/dev/input/mice*"
Option "Ignore" "true"
EndSection
11 changes: 5 additions & 6 deletions conf/xorg.conf.nouveau
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection

Section "Device"
Identifier "DiscreteNvidia"
Driver "nouveau"

# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting is needed on Ubuntu 13.04.
# If the X server does not automatically detect your VGA device, you can
# manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data as
# you see in the commented example.
# This setting was needed on Ubuntu 13.04 for instance.
# BusID "PCI:01:00:0"

EndSection
34 changes: 18 additions & 16 deletions conf/xorg.conf.nvidia
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection

Expand All @@ -9,26 +8,28 @@ Section "Device"
Driver "nvidia"
VendorName "NVIDIA Corporation"

# If the X server does not automatically detect your VGA device,
# you can manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data
# as you see in the commented example.
# This Setting may be needed in some platforms with more than one
# nvidia card, which may confuse the proprietary driver (e.g.,
# trying to take ownership of the wrong device). Also needed on Ubuntu 13.04.
# If the X server does not automatically detect your VGA device, you can
# manually set it here.
# To get the BusID prop, run `lspci | egrep 'VGA|3D'` and input the data as
# you see in the commented example.
# This setting may be needed in some platforms with more than one nvidia
# card, which may confuse the proprietary driver (e.g., trying to take
# ownership of the wrong device). It was also needed on Ubuntu 13.04.
# BusID "PCI:01:00:0"

# Setting ProbeAllGpus to false prevents the new proprietary driver
# instance spawned to try to control the integrated graphics card,
# which is already being managed outside bumblebee.
# This option doesn't hurt and it is required on platforms running
# more than one nvidia graphics card with the proprietary driver.
# (E.g. Macbook Pro pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and
# render it unusable (unless you have some way to run killall Xorg).
# Setting ProbeAllGpus to false prevents the new proprietary driver instance
# spawned to try to control the integrated graphics card, which is already
# being managed outside bumblebee.
# This option does not hurt and it is required on platforms running more than
# one nvidia graphics card with the proprietary driver (e.g. Macbook Pro
# pre-2010 with nVidia 9400M + 9600M GT).
# If this option is not set, the new Xorg may blacken the screen and render
# it unusable (unless you have some way to run killall Xorg).
Option "ProbeAllGpus" "false"

Option "NoLogo" "true"

# Do not probe display properties while there is no expected display.
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"

Expand All @@ -40,4 +41,5 @@ Section "Device"
# allowing the X server to start when the monitor is disconnected.

# Option "AllowEmptyInitialConfiguration"

EndSection