Siduction Forum > Hardware - Support

 Problems with bumblebee / nvidia driver

(1/2) > >>

Pergola:
Hello everybody,

I have these two gpus:


--- Code: --->lspci | egrep -i "3D|vga|video"
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 530 (rev 06)
01:00.0 VGA compatible controller: NVIDIA Corporation GM206M [GeForce GTX 965M] (rev a1)

--- End code ---

If I set update-alternatives to nvidia or bumblebee, everything freezes in the middle of booting, probably at the attempt to start X. If I set it to the mesa driver, the system boots normally. I can change back to the bumblebee driver, do


--- Code: --->service bumblebeed restart
--- End code ---

and successfully use optirun for SOME applications, e.g. glxgears. However, other applications won't run (steam, some exe-files with wine...)


Examples:


--- Code: --->optirun steam
Running Steam on debian  64-bit
STEAM_RUNTIME is enabled automatically
[2016-11-21 20:02:11] Startup - updater built Oct 13 2016 00:47:16
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
--- End code ---

(or is this a 32bit vs. 64bit problem?? How to solve that?)


--- Code: --->optirun wine daorigins.exe
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
err:module:import_dll Library fmod_event.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library fmodex.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library NxCharacter.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library NxCooking.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library SpeedTreeRT.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library binkw32.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:import_dll Library umbra.dll (which is needed by L"Z:\\Programme\\Dragon Age\\daorigins.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\Programme\\Dragon Age\\daorigins.exe" failed, status c0000135

--- End code ---

Can someone please help me? What is wrong with the libraries? Why does X not start with nvidia / bumblebee set in update-alternatives for glx? (I also tried to configure the nvidia card in xorg.conf - result: still no complete booting plus strange flickering)

whistler_mb:
For 32bit applications you have to use primusrun with the 32bit primus-libs.

--- Code: ---$ apt-cache policy primus
primus:
  Installiert:           0~20150328-4
  Installationskandidat: 0~20150328-4
  Versionstabelle:
 *** 0~20150328-4 500
        500 http://ftp.de.debian.org/debian unstable/main amd64 Packages
        500 http://ftp.de.debian.org/debian testing/main amd64 Packages
        100 /var/lib/dpkg/status
     0~20140711-1 500
        500 http://ftp.de.debian.org/debian stable/main amd64 Packages
--- End code ---

--- Code: ---$ apt-cache policy primus-libs:i386
primus-libs:i386:
  Installiert:           0~20150328-4
  Installationskandidat: 0~20150328-4
  Versionstabelle:
 *** 0~20150328-4 500
        500 http://ftp.de.debian.org/debian unstable/main i386 Packages
        500 http://ftp.de.debian.org/debian testing/main i386 Packages
        100 /var/lib/dpkg/status
     0~20140711-1 500
        500 http://ftp.de.debian.org/debian stable/main i386 Packages
--- End code ---

Pergola:
Thanks, this solves at least the problem with steam!

Is anybody out there who uses bumblebee? Probably you don't have to change the glx-driver all the time from mesa to bumblebee and back in order to boot properly?

whistler_mb:
I use bumblebee  ;)

X runs with the intel/mesa driver. For games (win und Linux) I use primusrun.


--- Code: ---$ inxi -G
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GK106M [GeForce GTX 765M]
           Display Server: X.Org 1.18.4 driver: intel Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: Mesa DRI Intel Haswell Mobile GLX Version: 3.0 Mesa 12.0.4
--- End code ---


--- Code: ---$ optirun inxi -G
Graphics:  Card-1: Intel 4th Gen Core Processor Integrated Graphics Controller
           Card-2: NVIDIA GK106M [GeForce GTX 765M]
           Display Server: X.Org 1.18.4 driver: intel Resolution: 1920x1080@60.00hz, 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 765M/PCIe/SSE2 GLX Version: 4.5.0 NVIDIA 367.57
--- End code ---

Pergola:
Mine right after start (update-alternatives=mesa):


--- Code: ---$ inxi -G
Graphics:  Card-1: Intel HD Graphics 530
           Card-2: NVIDIA GM206M [GeForce GTX 965M]
           Display Server: X.Org 1.18.4 driver: N/A Resolution: 1920x1080@60.02hz
           GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
           GLX Version: 3.0 Mesa 12.0.4
$ optirun inxi -G
[  804.076734] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[  804.076787] [ERROR]Could not connect to bumblebee daemon - is it running?
--- End code ---

If I then set update-alternatives to bumblebee and attempt to start inxi - G again, everything instantly freezes and I have to force-reboot...


P.S. I also solved the problem with wine daorigins.exe. It had nothing to do with the bumblebee issue, I just had to move dlls. Still, the other problem remains: I have to switch the glx driver every time I want to use bumbebee and then change it back when I shutdown in order to boot correctly again.

Navigation

[0] Message Index

[#] Next page

Go to full version
Powered by Advanced Topic Prefix Pro
Powered by SMFPacks WYSIWYG Editor