Tak oczywiście X-y z pakietem bumblebee startują, zresztą już to napisałem. Jego xorg.conf.nvidia nie koliduje w przeciwieństwie do xorg.conf przy zainstalowanych pakietach nvidii (poprzednich).
Z tym plikiem konfiguracyjnym , powyżej, masz rację coś z nim nie jest prawidłowo. Nawet logi na to wskazują a konkretnie chodzi o sekcję Screen. W tej wersji sterownika konieczna jest ręczna modyfikacja konfiguracji. Można znaleźć w necie ale przeważnie dla systemu Ubuntu. Próbowałem np. z
tej strony ale nic nie osiągnąłem, dalej ten sam błąd.
Kod: Zaznacz cały
$ cat /etc/bumblebee/xorg.conf.nvidia | grep ConnectedMonitor
marek@debian:~$ optirun glxspheres
[ 656.050758] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Problem parsing the config file
Coś go blokuje:
Kod: Zaznacz cały
# optirun -vv --debug bash
[ 2266.700192] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[ 2266.700392] [INFO]Configured driver: nvidia
[ 2266.700586] [DEBUG]optirun version 3.2.1 starting...
[ 2266.700613] [DEBUG]Active configuration:
[ 2266.700619] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[ 2266.700625] [DEBUG] X display: :8
[ 2266.700631] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
[ 2266.700638] [DEBUG] Socket path: /var/run/bumblebee.socket
[ 2266.700645] [DEBUG] Accel/display bridge: auto
[ 2266.700651] [DEBUG] VGL Compression: proxy
[ 2266.700658] [DEBUG] VGLrun extra options:
[ 2266.700664] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus
[ 2266.700707] [DEBUG]Using auto-detected bridge primus
[ 2266.804167] [INFO]Response: No - error: [XORG] (EE) Problem parsing the config file
[ 2266.804181] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Problem parsing the config file
[ 2266.804184] [DEBUG]Socket closed.
[ 2266.804195] [ERROR]Aborting because fallback start is disabled.
[ 2266.804198] [DEBUG]Killing all remaining processes.
Bumblebee.conf
Kod: Zaznacz cały
# 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=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=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:/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-current
Module=nvidia
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia,/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
/etc/bumblebee/xorg.conf.nvidia
Kod: Zaznacz cały
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
Driver "nvidia"
VendorName "NVIDIA Corporation"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
BusID "PCI:04:00:0"
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
Port
Kod: Zaznacz cały
lspci | grep NVIDIA
04:00.0 3D controller: NVIDIA Corporation Device 139a (rev a2)
Drivers:
Kod: Zaznacz cały
# dpkg -l | grep nvidia
ii bumblebee-nvidia 3.2.1-10~bpo8+1 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii glx-alternative-nvidia 0.7.2~bpo8+1 amd64 allows the selection of NVIDIA as GLX provider
ii libegl1-nvidia:amd64 352.79-1~bpo8+1 amd64 NVIDIA binary EGL libraries
ii libgl1-nvidia-glx:amd64 352.79-1~bpo8+1 amd64 NVIDIA binary OpenGL libraries
rc libgl1-nvidia-glx:i386 352.79-1~bpo8+1 i386 NVIDIA binary OpenGL libraries
ii libgles1-nvidia:amd64 352.79-1~bpo8+1 amd64 NVIDIA binary OpenGL|ES 1.x libraries
ii libgles2-nvidia:amd64 352.79-1~bpo8+1 amd64 NVIDIA binary OpenGL|ES 2.x libraries
ii libnvidia-eglcore:amd64 352.79-1~bpo8+1 amd64 NVIDIA binary EGL core libraries
ii libnvidia-ml1:amd64 352.79-1~bpo8+1 amd64 NVIDIA Management Library (NVML) runtime library
ii nvidia-alternative 352.79-1~bpo8+1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-driver 352.79-1~bpo8+1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 352.79-1~bpo8+1 amd64 NVIDIA driver support binaries
ii nvidia-installer-cleanup 20141201+1 amd64 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+1~bpo8+1 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 352.79-1~bpo8+1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 352.79-1~bpo8+1 amd64 NVIDIA binary kernel module support files
ii nvidia-modprobe 340.46-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-persistenced 358.09-1~bpo8+1 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-settings 340.46-2 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20141201+1 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 352.79-1~bpo8+1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-xconfig 340.46-1 amd64 X configuration tool for non-free NVIDIA drivers
ii xserver-xorg-video-nvidia 352.79-1~bpo8+1 amd64 NVIDIA binary Xorg driver
dmesg:
Kod: Zaznacz cały
dmesg | grep nv
[ 0.036313] Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.564150] rtc_cmos 00:04: alarms up to one month, y3k, 242 bytes nvram, hpet irqs
[ 655.605761] nvidia: module license 'NVIDIA' taints kernel.
[ 655.612348] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
[ 1827.277565] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
[ 1912.804486] [drm] Initialized nvidia-drm 0.0.0 20150116 for 0000:04:00.0 on minor 1
i
Kod: Zaznacz cały
# dmesg | grep bb
[ 2.816934] bbswitch: version 0.8
[ 2.816940] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[ 2.816946] bbswitch: Found discrete VGA device 0000:04:00.0: \_SB_.PCI0.RP05.PEGP
[ 2.817057] bbswitch: detected an Optimus _DSM function
[ 2.817111] bbswitch: Succesfully loaded. Discrete card 0000:04:00.0 is on
[ 2.819062] bbswitch: disabling discrete graphics
[ 655.308087] bbswitch: enabling discrete graphics
[ 1799.859581] bbswitch: disabling discrete graphics
[ 1807.043657] bbswitch: enabling discrete graphics
[ 1807.323669] bbswitch: disabling discrete graphics
[ 1826.994576] bbswitch: enabling discrete graphics
[ 1908.357031] bbswitch: disabling discrete graphics
[ 1912.521857] bbswitch: enabling discrete graphics
Status usługi:
Kod: Zaznacz cały
$ systemctl status -l bumblebeed
● bumblebeed.service - Bumblebee C Daemon
Loaded: loaded (/lib/systemd/system/bumblebeed.service; enabled)
Active: active (running) since sob 2016-06-18 13:32:52 CEST; 8min ago
Main PID: 511 (bumblebeed)
CGroup: /system.slice/bumblebeed.service
└─511 /usr/sbin/bumblebeed
Niestety brakuje mi doświadczenia by wyciągnąć konkretne wnioski z tych logów a być może jest w nich odpowiedź?