Skip to content

Instantly share code, notes, and snippets.

@quinor
Last active August 29, 2015 13:57
Show Gist options
  • Save quinor/9709788 to your computer and use it in GitHub Desktop.
Save quinor/9709788 to your computer and use it in GitHub Desktop.
# Configuration file for Bumblebee. Values should **not** be put between quotes
## Server options. Any change made in this section will need a server restart
# to take effect.
[bumblebeed]
# The secondary Xorg server DISPLAY number
VirtualDisplay=:8
# Should the unused Xorg server be kept running? Set this to true if waiting
# for X to be ready is too long and don't need power management at all.
KeepUnusedXServer=false
# The name of the Bumbleblee server group name (GID name)
ServerGroup=bumblebee
# Card power state at exit. Set to false if the card shoud be ON when Bumblebee
# server exits.
TurnCardOffAtExit=false
# The default behavior of '-f' option on optirun. If set to "true", '-f' will
# be ignored.
NoEcoModeOverride=false
# The Driver used by Bumblebee server. If this value is not set (or empty),
# auto-detection is performed. The available drivers are nvidia and nouveau
# (See also the driver-specific sections below)
Driver=nvidia
# Directory with a dummy config file to pass as a -configdir to secondary X
XorgConfDir=/etc/bumblebee/xorg.conf.d
## Client options. Will take effect on the next optirun executed.
[optirun]
# Acceleration/ rendering bridge, possible values are auto, virtualgl and
# primus.
Bridge=primus
# The method used for VirtualGL to transport frames between X servers.
# Possible values are proxy, jpeg, rgb, xv and yuv.
VGLTransport=proxy
# List of paths which are searched for the primus libGL.so.1 when using
# the primus bridge
PrimusLibraryPath=/usr/lib/primus:/usr/lib32/primus
# Should the program run under optirun even if Bumblebee server or nvidia card
# is not available?
AllowFallbackToIGC=false
# Driver-specific settings are grouped under [driver-NAME]. The sections are
# parsed if the Driver setting in [bumblebeed] is set to NAME (or if auto-
# detection resolves to NAME).
# PMMethod: method to use for saving power by disabling the nvidia card, valid
# values are: auto - automatically detect which PM method to use
# bbswitch - new in BB 3, recommended if available
# switcheroo - vga_switcheroo method, use at your own risk
# none - disable PM completely
# https://github.com/Bumblebee-Project/Bumblebee/wiki/Comparison-of-PM-methods
## Section with nvidia driver specific options, only parsed if Driver=nvidia
[driver-nvidia]
# Module name to load, defaults to Driver if empty or unset
KernelDriver=nvidia
PMMethod=none
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia:/usr/lib32/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules
XorgConfFile=/etc/bumblebee/xorg.conf.nvidia
## Section with nouveau driver specific options, only parsed if Driver=nouveau
[driver-nouveau]
KernelDriver=nouveau
PMMethod=auto
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
[ 14.641031] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 14.648727] iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
[ 14.890050] iwlwifi 0000:02:00.0: L1 Enabled; Disabling L0S
[ 14.897752] iwlwifi 0000:02:00.0: Radio type=0x2-0x0-0x0
[ 14.971738] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 15.270625] r8169 0000:03:00.0 enp3s0: link down
[ 15.270647] r8169 0000:03:00.0 enp3s0: link down
[ 15.270670] IPv6: ADDRCONF(NETDEV_UP): enp3s0: link is not ready
[ 16.900619] r8169 0000:03:00.0 enp3s0: link up
[ 16.900633] IPv6: ADDRCONF(NETDEV_CHANGE): enp3s0: link becomes ready
[ 27.320845] type=1006 audit(1395508414.342:2): pid=346 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1 res=1
[ 27.393839] type=1006 audit(1395508414.415:3): pid=396 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=2 res=1
[ 55.643364] input: Logitech Unifying Device. Wireless PID:1025 as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.2/0003:046D:C52B.0003/input/input17
[ 55.643702] logitech-djdevice 0003:046D:C52B.0004: input,hidraw1: USB HID v1.11 Mouse [Logitech Unifying Device. Wireless PID:1025] on usb-0000:00:14.0-1:1
[ 116.943968] wlp2s0: authenticate with 00:22:6b:48:5b:d4
[ 116.949169] wlp2s0: send auth to 00:22:6b:48:5b:d4 (try 1/3)
[ 116.952070] wlp2s0: authenticated
[ 116.952189] iwlwifi 0000:02:00.0 wlp2s0: disabling HT as WMM/QoS is not supported by the AP
[ 116.952191] iwlwifi 0000:02:00.0 wlp2s0: disabling VHT as WMM/QoS is not supported by the AP
[ 116.954002] wlp2s0: associate with 00:22:6b:48:5b:d4 (try 1/3)
[ 116.956507] wlp2s0: RX AssocResp from 00:22:6b:48:5b:d4 (capab=0x411 status=0 aid=3)
[ 116.960316] wlp2s0: associated
[ 116.960335] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
[ 133.435165] nvidia: module license 'NVIDIA' taints kernel.
[ 133.435170] Disabling lock debugging due to kernel taint
[ 133.441812] nvidia 0000:01:00.0: enabling device (0006 -> 0007)
[ 133.441867] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=none
[ 133.442105] [drm] Initialized nvidia-drm 0.0.0 20130102 for 0000:01:00.0 on minor 1
[ 8.598677] systemd-udevd[189]: renamed network interface wlan0 to wlp2s0
[ 133.442112] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 334.21 Thu Feb 27 15:55:45 PST 2014
[ 134.473729] nvidia 0000:01:00.0: irq 48 for MSI/MSI-X
[ 134.480756] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.480792] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.480808] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.480823] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.480839] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.482412] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.482589] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 134.482606] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 140.159665] ACPI Warning: \_SB_.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20131115/nsarguments-95)
[ 140.185150] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 140.185157] NVRM: os_pci_init_handle: invalid context!
[ 140.185160] NVRM: os_pci_init_handle: invalid context!
[ 140.185166] NVRM: GPU at 0000:01:00.0 has fallen off the bus.
[ 140.185170] NVRM: os_pci_init_handle: invalid context!
[ 140.185171] NVRM: os_pci_init_handle: invalid context!
[ 140.204523] NVRM: RmInitAdapter failed! (0x25:0x28:1155)
[ 140.204532] NVRM: rm_init_adapter failed for device bearing minor number 0
[ 140.204551] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[ 58227.860] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 58227.860] (**) | |-->Device "DiscreteNvidia"
[ 58227.860] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 58227.876] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 58227.921] (II) Module glx: vendor="NVIDIA Corporation"
[ 58227.921] (II) NVIDIA GLX Module 334.21 Thu Feb 27 13:54:04 PST 2014
[ 58227.921] (II) LoadModule: "nvidia"
[ 58227.921] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 58227.924] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 58227.926] (II) NVIDIA dlloader X Driver 334.21 Thu Feb 27 13:34:35 PST 2014
[ 58227.926] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 58227.859]
X.Org X Server 1.15.0
Release Date: 2013-12-27
[ 58227.859] X Protocol Version 11, Revision 0
[ 58227.859] Build Operating System: Linux 3.12.5-1-ARCH x86_64
[ 58227.859] Current Operating System: Linux psorek-laptop 3.13.6-1-ARCH #1 SMP PREEMPT Fri Mar 7 22:47:48 CET 2014 x86_64
[ 58227.859] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=7394d773-0eec-48d4-95af-1958e73e88fd rw resume=/dev/sda4 quiet quiet
[ 58227.860] Build Date: 09 January 2014 08:47:24AM
[ 58227.860]
[ 58227.860] Current version of pixman: 0.32.4
[ 58227.860] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 58227.860] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 58227.860] (==) Log file: "/var/log/Xorg.8.log", Time: Sat Mar 22 17:33:17 2014
[ 58227.860] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 58227.860] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 58227.860] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 58227.860] (==) ServerLayout "Layout0"
[ 58227.860] (==) No screen section available. Using defaults.
[ 58227.860] (**) |-->Screen "Default Screen Section" (0)
[ 58227.860] (**) | |-->Monitor "<default monitor>"
[ 58227.860] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 58227.860] (**) | |-->Device "DiscreteNvidia"
[ 58227.860] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 58227.860] (**) Option "AutoAddDevices" "false"
[ 58227.860] (**) Option "AutoAddGPU" "false"
[ 58227.860] (**) Not automatically adding devices
[ 58227.860] (==) Automatically enabling devices
[ 58227.860] (**) Not automatically adding GPU devices
[ 58227.860] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 58227.860] Entry deleted from font path.
[ 58227.860] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 58227.860] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 58227.860] Entry deleted from font path.
[ 58227.860] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 58227.860] (==) FontPath set to:
/usr/share/fonts/misc/,
/usr/share/fonts/TTF/,
/usr/share/fonts/OTF/,
/usr/share/fonts/Type1/
[ 58227.860] (++) ModulePath set to "/usr/lib/nvidia/xorg/,/usr/lib/xorg/modules"
[ 58227.860] (==) |-->Input Device "<default pointer>"
[ 58227.860] (==) |-->Input Device "<default keyboard>"
[ 58227.860] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 58227.860] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 58227.860] (II) Loader magic: 0x804c80
[ 58227.860] (II) Module ABI versions:
[ 58227.860] X.Org ANSI C Emulation: 0.4
[ 58227.860] X.Org Video Driver: 15.0
[ 58227.860] X.Org XInput driver : 20.0
[ 58227.860] X.Org Server Extension : 8.0
[ 58227.860] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 58227.860] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 58227.860] setversion 1.4 failed: Permission denied
[ 58227.861] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 58227.861] Initializing built-in extension Generic Event Extension
[ 58227.861] Initializing built-in extension SHAPE
[ 58227.861] Initializing built-in extension MIT-SHM
[ 58227.861] Initializing built-in extension XInputExtension
[ 58227.861] Initializing built-in extension XTEST
[ 58227.861] Initializing built-in extension BIG-REQUESTS
[ 58227.861] Initializing built-in extension SYNC
[ 58227.861] Initializing built-in extension XKEYBOARD
[ 58227.861] Initializing built-in extension XC-MISC
[ 58227.861] Initializing built-in extension SECURITY
[ 58227.861] Initializing built-in extension XINERAMA
[ 58227.861] Initializing built-in extension XFIXES
[ 58227.861] Initializing built-in extension RENDER
[ 58227.861] Initializing built-in extension RANDR
[ 58227.861] Initializing built-in extension COMPOSITE
[ 58227.861] Initializing built-in extension DAMAGE
[ 58227.861] Initializing built-in extension MIT-SCREEN-SAVER
[ 58227.861] Initializing built-in extension DOUBLE-BUFFER
[ 58227.861] Initializing built-in extension RECORD
[ 58227.861] Initializing built-in extension DPMS
[ 58227.861] Initializing built-in extension Present
[ 58227.861] Initializing built-in extension DRI3
[ 58227.861] Initializing built-in extension X-Resource
[ 58227.861] Initializing built-in extension XVideo
[ 58227.861] Initializing built-in extension XVideo-MotionCompensation
[ 58227.861] Initializing built-in extension XFree86-VidModeExtension
[ 58227.861] Initializing built-in extension XFree86-DGA
[ 58227.861] Initializing built-in extension XFree86-DRI
[ 58227.861] Initializing built-in extension DRI2
[ 58227.861] (II) "glx" will be loaded by default.
[ 58227.861] (II) LoadModule: "dri2"
[ 58227.861] (II) Module "dri2" already built-in
[ 58227.861] (II) LoadModule: "glamoregl"
[ 58227.861] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[ 58227.876] (II) Module glamoregl: vendor="X.Org Foundation"
[ 58227.876] compiled for 1.15.0, module version = 0.6.0
[ 58227.876] ABI class: X.Org ANSI C Emulation, version 0.4
[ 58227.876] (II) LoadModule: "glx"
[ 58227.876] (II) Loading /usr/lib/nvidia/xorg/modules/extensions/libglx.so
[ 58227.921] (II) Module glx: vendor="NVIDIA Corporation"
[ 58227.921] compiled for 4.0.2, module version = 1.0.0
[ 58227.921] Module class: X.Org Server Extension
[ 58227.921] (II) NVIDIA GLX Module 334.21 Thu Feb 27 13:54:04 PST 2014
[ 58227.921] Loading extension GLX
[ 58227.921] (II) LoadModule: "nvidia"
[ 58227.921] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 58227.924] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 58227.924] compiled for 4.0.2, module version = 1.0.0
[ 58227.924] Module class: X.Org Video Driver
[ 58227.924] (II) LoadModule: "mouse"
[ 58227.924] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 58227.925] (II) Module mouse: vendor="X.Org Foundation"
[ 58227.925] compiled for 1.15.0, module version = 1.9.0
[ 58227.925] Module class: X.Org XInput Driver
[ 58227.925] ABI class: X.Org XInput driver, version 20.0
[ 58227.925] (II) LoadModule: "kbd"
[ 58227.925] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[ 58227.926] (II) Module kbd: vendor="X.Org Foundation"
[ 58227.926] compiled for 1.15.0, module version = 1.8.0
[ 58227.926] Module class: X.Org XInput Driver
[ 58227.926] ABI class: X.Org XInput driver, version 20.0
[ 58227.926] (II) NVIDIA dlloader X Driver 334.21 Thu Feb 27 13:34:35 PST 2014
[ 58227.926] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 58227.926] (--) using VT number 7
[ 58227.926] (EE) No devices detected.
[ 58227.926] (EE)
Fatal server error:
[ 58227.926] (EE) no screens found(EE)
[ 58227.926] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 58227.926] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 58227.926] (EE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment