I'm tyring to use bumblebee in my laptop, but i have a strange problem i'm not able to fix.
First of all if i run primusrun glxgears -info it work perfectly. The problem shows up when i try to run a 32bit game with wine (League of Legends):
Code: Select all
0079:fixme:wininet:InternetSetOptionW Option 77 STUB
0079:fixme:wininet:InternetSetOptionW INTERNET_OPTION_SEND/RECEIVE_TIMEOUT/DATA_SEND_TIMEOUT 15000
0077:fixme:win:RegisterDeviceNotificationA (hwnd=0x10082, filter=0xd7ffe90,flags=0x00000000) returns a fake device notification handle!
0071:fixme:win:RegisterDeviceNotificationA (hwnd=0x10076, filter=0xd19fe90,flags=0x00000000) returns a fake device notification handle!
0073:fixme:win:RegisterDeviceNotificationA (hwnd=0x1007c, filter=0xd3bfe50,flags=0x00000004) returns a fake device notification handle!
0079:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
007b:fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
007b:fixme:wbemprox:enum_class_object_Next timeout not supported
primus: fatal: failed to load any of the libraries: /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/nvidia/libGL.so.1
/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: classe ELF errata: ELFCLASS64
/usr/lib/i386-linux-gnu/nvidia/libGL.so.1: impossibile aprire il file oggetto condiviso: File o directory non esistente
/usr/lib/nvidia/libGL.so.1: impossibile aprire il file oggetto condiviso: File o directory non esistente
0079:err:ntdll:RtlpWaitForCriticalSection section 0x7bd25260 "loader.c: loader_section" wait timed out in thread 0079, blocked by 007c, retrying (60 sec)
007b:err:ntdll:RtlpWaitForCriticalSection section 0x7bd25260 "loader.c: loader_section" wait timed out in thread 007b, blocked by 007c, retrying (60 sec)
006d:err:ntdll:RtlpWaitForCriticalSection section 0x7bd25260 "loader.c: loader_section" wait timed out in thread 006d, blocked by 007c, retrying (60 sec)
007d:err:ntdll:RtlpWaitForCriticalSection section 0x7bd25260 "loader.c: loader_section" wait timed out in thread 007d, blocked by 007c, retrying (60 sec)
Anyone can help me to fix this?
Sorry for my bad english.
Thank you,
Loris
journalctl
Code: Select all
dic 09 17:44:47 msi kernel: vgaarb: this pci device is not a vga device
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:44:47 msi kernel: vgaarb: this pci device is not a vga device
dic 09 17:44:48 msi bumblebeed[5681]: [ 857.616897] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
dic 09 17:44:48 msi bumblebeed[5681]: [ 857.616913] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
dic 09 17:44:48 msi bumblebeed[5681]: [ 857.616925] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
dic 09 17:45:01 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:45:33 msi systemd[1]: Starting Cleanup of Temporary Directories...
dic 09 17:45:33 msi systemd[1]: Started Cleanup of Temporary Directories.
dic 09 17:46:15 msi kernel: vgaarb: this pci device is not a vga device
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
dic 09 17:46:15 msi kernel: vgaarb: this pci device is not a vga device
dic 09 17:46:16 msi bumblebeed[5681]: [ 945.667257] [WARN][XORG] (WW) NVIDIA(0): Unable to get display device for DPI computation.
dic 09 17:46:16 msi bumblebeed[5681]: [ 945.667282] [WARN][XORG] (WW) NVIDIA(0): Option "NoLogo" is not used
dic 09 17:46:16 msi bumblebeed[5681]: [ 945.667302] [ERROR][XORG] (EE) PreInit returned 2 for "<default keyboard>"
dic 09 17:46:36 msi kernel: ACPI Warning: \_SB.PCI0.PEG0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20160831/nsarguments-95)
Code: Select all
# 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
# Xorg binary to run
XorgBinary=/usr/lib/xorg/Xorg
## 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
PMMethod=bbswitch #auto
# colon-separated path to the nvidia libraries
LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia
#LibraryPath=/usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia:/usr/lib/nvidia:/usr/lib32/nvidia:/usr/lib:/usr/lib32
# comma-separated path of the directory containing nvidia_drv.so and the
# default Xorg modules path
XorgModulePath=/usr/lib/nvidia/nvidia,/usr/lib/xorg/modules
#XorgModulePath=/usr/lib/nvidia/nvidia,/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=bbswitch
XorgConfFile=/etc/bumblebee/xorg.conf.nouveau
Code: Select all
Section "ServerLayout"
Identifier "Layout0"
Option "AutoAddDevices" "false"
Option "AutoAddGPU" "false"
EndSection
Section "Device"
Identifier "DiscreteNvidia"
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.
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).
Option "ProbeAllGpus" "false"
Option "NoLogo" "true"
Option "UseEDID" "false"
Option "UseDisplayDevice" "none"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "DiscreteNvidia"
EndSection
Code: Select all
dpkg -l | grep nvidia
ii bumblebee-nvidia 3.2.1-14 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii glx-alternative-nvidia 0.8.3~deb9u1 amd64 allows the selection of NVIDIA as GLX provider
ii libegl-nvidia0:amd64 384.130-1 amd64 NVIDIA binary EGL library
ii libegl1-glvnd-nvidia:amd64 384.130-1 amd64 Vendor neutral GL dispatch library -- libEGL
ii libgl1-glvnd-nvidia-glx:amd64 384.130-1 amd64 Vendor neutral GL dispatch library -- libGL
ii libgl1-nvidia-glvnd-glx:amd64 384.130-1 amd64 NVIDIA binary OpenGL/GLX library (GLVND variant)
ii libgles-nvidia1:amd64 384.130-1 amd64 NVIDIA binary OpenGL|ES 1.x library
ii libgles-nvidia2:amd64 384.130-1 amd64 NVIDIA binary OpenGL|ES 2.x library
ii libglx-nvidia0:amd64 384.130-1 amd64 NVIDIA binary GLX library
ii libglx0-glvnd-nvidia:amd64 384.130-1 amd64 Vendor neutral GL dispatch library -- libGLX
ii libnvidia-cfg1:amd64 384.130-1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-egl-wayland1:amd64 384.130-1 amd64 NVIDIA binary Wayland EGL external platform library
ii libnvidia-eglcore:amd64 384.130-1 amd64 NVIDIA binary EGL core libraries
ii libnvidia-glcore:amd64 384.130-1 amd64 NVIDIA binary OpenGL/GLX core libraries
ii libnvidia-ml1:amd64 384.130-1 amd64 NVIDIA Management Library (NVML) runtime library
ii nvidia-alternative 384.130-1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-driver 384.130-1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 384.130-1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 384.130-1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-egl-common 384.130-1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 384.130-1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-wayland-common 384.130-1 amd64 NVIDIA binary Wayland EGL external platform - common files
ii nvidia-egl-wayland-icd:amd64 384.130-1 amd64 NVIDIA Wayland EGL external platform library (ICD)
ii nvidia-installer-cleanup 20151021+4 amd64 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+4 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 384.130-1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 384.130-1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check 384.130-1 amd64 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 384.111-2~deb9u1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-persistenced 384.111-1~deb9u1 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-settings 384.111-1~deb9u1 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20151021+4 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 384.130-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-vulkan-common 384.130-1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 384.130-1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-xconfig 384.111-1~deb9u1 amd64 deprecated X configuration tool for non-free NVIDIA drivers
ii xserver-xorg-video-nvidia 384.130-1 amd64 NVIDIA binary Xorg driver
Code: Select all
ii bumblebee 3.2.1-14 amd64 NVIDIA Optimus support for Linux
ii bumblebee-nvidia 3.2.1-14 amd64 NVIDIA Optimus support using the proprietary NVIDIA driver
ii primus 0~20150328-4 amd64 client-side GPU offloading for NVIDIA Optimus
ii primus-libs:amd64 0~20150328-4 amd64 Shared libraries for primus
ii primus-libs:i386 0~20150328-4 i386 Shared libraries for primus
ii primus-libs-ia32:i386 0~20150328-4 i386 Shared libraries for primus (32-bit)
Code: Select all
ii wine-staging 4.0~rc1~stretch amd64 WINE Is Not An Emulator - runs MS Windows programs
ii wine-staging-amd64 4.0~rc1~stretch amd64 WINE Is Not An Emulator - runs MS Windows programs
ii wine-staging-i386:i386 4.0~rc1~stretch i386 WINE Is Not An Emulator - runs MS Windows programs
ii winehq-staging 4.0~rc1~stretch amd64 WINE Is Not An Emulator - runs MS Windows programs
ii winetricks 0.0+20170101-1 all package manager for Wine to install software easily