voila voila
┌┼─┤ guillaume @ guillaume-N75S ─┤├─ 01:00:22 ─┤
└┼─┤ ~ | $ ▶cd /etc/bumblebee/
┌┼─┤ guillaume @ guillaume-N75S ─┤├─ 01:00:32 ─┤
└┼─┤ /etc/bumblebee | $ ▶sudo cp xorg.conf.nvidia.dpkg-dist xorg.conf.nvidia
┌┼─┤ guillaume @ guillaume-N75S ─┤├─ 01:00:34 ─┤
└┼─┤ /etc/bumblebee | $ ▶optirun -vv glxinfo
[ 1010.068219] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 1010.069492] [DEBUG]optirun version 3.2 starting...
[ 1010.069531] [DEBUG]Active configuration:
[ 1010.069542] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 1010.069553] [DEBUG] X display: :8
[ 1010.069563] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-304:/usr/lib32/nvidia-304
[ 1010.069573] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 1010.069584] [DEBUG] Accel/display bridge: primus
[ 1010.069594] [DEBUG] VGL Compression: proxy
[ 1010.069604] [DEBUG] VGLrun extra options:
[ 1010.069614] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[ 1010.532318] [INFO]Response: No - error: [XORG] (EE) Screen 0 deleted because of no matching config section.
[ 1010.532383] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Screen 0 deleted because of no matching config section.
[ 1010.532389] [DEBUG]Socket closed.
[ 1010.532407] [ERROR]Aborting because fallback start is disabled.
[ 1010.532413] [DEBUG]Killing all remaining processes.
cat /etc/bumblebee/bumblebee.conf
# 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=
# 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=auto
# 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/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/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-current
PMMethod=auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/nvidia-current:/usr/lib32/nvidia-current
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia-current/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
cat /etc/bumblebee/xorg.conf.d/busid.conf
Section "Device"
Identifier "DiscreteNvidia"
# 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.
BusID "PCI:01:00:0"
EndSection
cat /etc/bumblebee/xorg.conf.nvidia
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
# 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).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
cat /var/log/Xorg.8.log
[ 1010.510]
X.Org X Server 1.13.3
Release Date: 2013-03-07
[ 1010.510] X Protocol Version 11, Revision 0
[ 1010.510] Build Operating System: Linux 3.2.0-37-generic x86_64 Ubuntu
[ 1010.510] Current Operating System: Linux guillaume-N75S 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64
[ 1010.510] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=a745c4ec-6e7e-498a-86d0-f8cd7a343ddc ro quiet splash
[ 1010.510] Build Date: 17 April 2013 10:43:13PM
[ 1010.510] xorg-server 2:1.13.3-0ubuntu6 (For technical support please see http://www.ubuntu.com/support)
[ 1010.510] Current version of pixman: 0.28.2
[ 1010.510] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 1010.510] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1010.510] (==) Log file: "/var/log/Xorg.8.log", Time: Wed Apr 24 01:00:47 2013
[ 1010.510] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[ 1010.510] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[ 1010.510] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 1010.511] (==) ServerLayout "Layout0"
[ 1010.511] (==) No screen section available. Using defaults.
[ 1010.511] (**) |-->Screen "Default Screen Section" (0)
[ 1010.511] (**) | |-->Monitor "<default monitor>"
[ 1010.512] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[ 1010.512] (**) | |-->Device "DiscreteNvidia"
[ 1010.512] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 1010.512] (**) Option "AutoAddDevices" "false"
[ 1010.512] (**) Option "AutoAddGPU" "false"
[ 1010.512] (**) Not automatically adding devices
[ 1010.512] (==) Automatically enabling devices
[ 1010.512] (**) Not automatically adding GPU devices
[ 1010.512] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[ 1010.512] Entry deleted from font path.
[ 1010.512] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 1010.512] (++) ModulePath set to "/usr/lib/nvidia-304/xorg,/usr/lib/xorg/modules"
[ 1010.512] (==) |-->Input Device "<default pointer>"
[ 1010.512] (==) |-->Input Device "<default keyboard>"
[ 1010.512] (==) The core pointer device wasn't specified explicitly in the layout.
Using the default mouse configuration.
[ 1010.512] (==) The core keyboard device wasn't specified explicitly in the layout.
Using the default keyboard configuration.
[ 1010.512] (II) Loader magic: 0x7f30050f9d20
[ 1010.512] (II) Module ABI versions:
[ 1010.512] X.Org ANSI C Emulation: 0.4
[ 1010.512] X.Org Video Driver: 13.1
[ 1010.512] X.Org XInput driver : 18.0
[ 1010.512] X.Org Server Extension : 7.0
[ 1010.513] (II) config/udev: Adding drm device (/dev/dri/card0)
[ 1010.515] (--) PCI: (0:1:0:0) 10de:1247:1043:2051 rev 161, Mem @ 0xda000000/33554432, 0xc0000000/268435456, 0xd0000000/67108864, I/O @ 0x0000d000/128, BIOS @ 0x????????/524288
[ 1010.515] (II) Open ACPI successful (/var/run/acpid.socket)
[ 1010.515] Initializing built-in extension Generic Event Extension
[ 1010.515] Initializing built-in extension SHAPE
[ 1010.515] Initializing built-in extension MIT-SHM
[ 1010.515] Initializing built-in extension XInputExtension
[ 1010.515] Initializing built-in extension XTEST
[ 1010.515] Initializing built-in extension BIG-REQUESTS
[ 1010.515] Initializing built-in extension SYNC
[ 1010.515] Initializing built-in extension XKEYBOARD
[ 1010.515] Initializing built-in extension XC-MISC
[ 1010.515] Initializing built-in extension SECURITY
[ 1010.515] Initializing built-in extension XINERAMA
[ 1010.515] Initializing built-in extension XFIXES
[ 1010.515] Initializing built-in extension RENDER
[ 1010.515] Initializing built-in extension RANDR
[ 1010.515] Initializing built-in extension COMPOSITE
[ 1010.515] Initializing built-in extension DAMAGE
[ 1010.515] Initializing built-in extension MIT-SCREEN-SAVER
[ 1010.515] Initializing built-in extension DOUBLE-BUFFER
[ 1010.515] Initializing built-in extension RECORD
[ 1010.515] Initializing built-in extension DPMS
[ 1010.515] Initializing built-in extension X-Resource
[ 1010.515] Initializing built-in extension XVideo
[ 1010.515] Initializing built-in extension XVideo-MotionCompensation
[ 1010.515] Initializing built-in extension SELinux
[ 1010.515] Initializing built-in extension XFree86-VidModeExtension
[ 1010.515] Initializing built-in extension XFree86-DGA
[ 1010.515] Initializing built-in extension XFree86-DRI
[ 1010.515] Initializing built-in extension DRI2
[ 1010.515] (II) LoadModule: "glx"
[ 1010.515] (II) Loading /usr/lib/nvidia-304/xorg/libglx.so
[ 1010.523] (II) Module glx: vendor="NVIDIA Corporation"
[ 1010.523] compiled for 4.0.2, module version = 1.0.0
[ 1010.523] Module class: X.Org Server Extension
[ 1010.523] (II) NVIDIA GLX Module 304.88 Wed Mar 27 14:46:57 PDT 2013
[ 1010.523] Loading extension GLX
[ 1010.523] (==) Matched intel as autoconfigured driver 0
[ 1010.523] (==) Matched intel as autoconfigured driver 1
[ 1010.523] (==) Matched vesa as autoconfigured driver 2
[ 1010.523] (==) Matched modesetting as autoconfigured driver 3
[ 1010.523] (==) Matched fbdev as autoconfigured driver 4
[ 1010.523] (==) Assigned the driver to the xf86ConfigLayout
[ 1010.523] (II) LoadModule: "intel"
[ 1010.523] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[ 1010.523] (II) Module intel: vendor="X.Org Foundation"
[ 1010.523] compiled for 1.13.3, module version = 2.21.6
[ 1010.523] Module class: X.Org Video Driver
[ 1010.523] ABI class: X.Org Video Driver, version 13.1
[ 1010.523] (II) LoadModule: "vesa"
[ 1010.523] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 1010.524] (II) Module vesa: vendor="X.Org Foundation"
[ 1010.524] compiled for 1.12.99.902, module version = 2.3.2
[ 1010.524] Module class: X.Org Video Driver
[ 1010.524] ABI class: X.Org Video Driver, version 13.0
[ 1010.524] (II) LoadModule: "modesetting"
[ 1010.524] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 1010.524] (II) Module modesetting: vendor="X.Org Foundation"
[ 1010.524] compiled for 1.13.3, module version = 0.7.0
[ 1010.524] Module class: X.Org Video Driver
[ 1010.524] ABI class: X.Org Video Driver, version 13.1
[ 1010.524] (II) LoadModule: "fbdev"
[ 1010.524] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 1010.524] (II) Module fbdev: vendor="X.Org Foundation"
[ 1010.524] compiled for 1.12.99.902, module version = 0.4.3
[ 1010.524] Module class: X.Org Video Driver
[ 1010.524] ABI class: X.Org Video Driver, version 13.0
[ 1010.524] (II) LoadModule: "mouse"
[ 1010.524] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[ 1010.525] (II) Module mouse: vendor="X.Org Foundation"
[ 1010.525] compiled for 1.13.0, module version = 1.7.2
[ 1010.525] Module class: X.Org XInput Driver
[ 1010.525] ABI class: X.Org XInput driver, version 18.0
[ 1010.525] (II) LoadModule: "kbd"
[ 1010.526] (WW) Warning, couldn't open module kbd
[ 1010.526] (II) UnloadModule: "kbd"
[ 1010.526] (II) Unloading kbd
[ 1010.526] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1010.526] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
Haswell Desktop (GT2+), Haswell Mobile (GT1), Haswell Mobile (GT2),
Haswell Mobile (GT2+), Haswell Server (GT1), Haswell Server (GT2),
Haswell Server (GT2+), Haswell SDV Desktop (GT1),
Haswell SDV Desktop (GT2), Haswell SDV Desktop (GT2+),
Haswell SDV Mobile (GT1), Haswell SDV Mobile (GT2),
Haswell SDV Mobile (GT2+), Haswell SDV Server (GT1),
Haswell SDV Server (GT2), Haswell SDV Server (GT2+),
Haswell ULT Desktop (GT1), Haswell ULT Desktop (GT2),
Haswell ULT Desktop (GT2+), Haswell ULT Mobile (GT1),
Haswell ULT Mobile (GT2), Haswell ULT Mobile (GT2+),
Haswell ULT Server (GT1), Haswell ULT Server (GT2),
Haswell ULT Server (GT2+), Haswell CRW Desktop (GT1),
Haswell CRW Desktop (GT2), Haswell CRW Desktop (GT2+),
Haswell CRW Mobile (GT1), Haswell CRW Mobile (GT2),
Haswell CRW Mobile (GT2+), Haswell CRW Server (GT1),
Haswell CRW Server (GT2), Haswell CRW Server (GT2+),
ValleyView PO board
[ 1010.527] (II) VESA: driver for VESA chipsets: vesa
[ 1010.527] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 1010.527] (II) FBDEV: driver for framebuffer: fbdev
[ 1010.527] (--) using VT number 7
[ 1010.527] vesa: Ignoring device with a bound kernel driver
[ 1010.527] (WW) Falling back to old probe method for vesa
[ 1010.527] (WW) Falling back to old probe method for modesetting
[ 1010.527] (II) modesetting(2): using default device
[ 1010.527] (II) Loading sub module "fbdevhw"
[ 1010.527] (II) LoadModule: "fbdevhw"
[ 1010.528] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 1010.528] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 1010.528] compiled for 1.13.3, module version = 0.0.2
[ 1010.528] ABI class: X.Org Video Driver, version 13.1
[ 1010.528] (**) FBDEV(3): claimed PCI slot 1@0:0:0
[ 1010.528] (II) FBDEV(3): using default device
[ 1010.528] (EE) Screen 0 deleted because of no matching config section.
[ 1010.528] (II) UnloadModule: "vesa"
[ 1010.528] (EE) Screen 0 deleted because of no matching config section.
[ 1010.528] (II) UnloadModule: "modesetting"
[ 1010.528]
Fatal server error:
[ 1010.528] Cannot run in framebuffer mode. Please specify busIDs for all framebuffer devices
[ 1010.528]
[ 1010.528] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 1010.528] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[ 1010.528] (EE)
[ 1010.528] Server terminated with error (1). Closing log file.