Bumblebee-Project / Bumblebee

Bumblebee daemon and client rewritten in C
http://www.bumblebee-project.org/
GNU General Public License v3.0
1.3k stars 142 forks source link

Debian sid [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0) [13433.797270] [ERROR]Aborting because fallback start is disabled. #867

Open MachinaeWolf opened 7 years ago

MachinaeWolf commented 7 years ago

I'm running siduction which is debian sid based. I installed bumblebee-nvidia primus primus-libs:i386 and ran optirun glxgears -info which gave me [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0) [13433.797270] [ERROR]Aborting because fallback start is disabled.

Then I edited /etc/bumblebee/bumblebee.conf and replaced "KernelDriver=nvidia" to "KernelDriver=nvidia-current", then restarted the bumblebee daemon with sudo service bumblebeed restart but optirun is still giving me the same error.

bluca commented 7 years ago

what version of nvidia-driver ?

MachinaeWolf commented 7 years ago

Not sure, the nvidia-driver package is just labeled nvidia-driver.

bluca commented 7 years ago

What's your hardware?

MachinaeWolf commented 7 years ago

System: Host: cryokitsune Kernel: 4.10.15-towo.1-siduction-amd64 x86_64 (64 bit) Desktop: i3 4.13 Distro: siduction 17.1.0 Patience - lxqt - (201703051830) Machine: Device: laptop System: Dell product: Inspiron 17-7779 serial: F9F24C2 Mobo: Dell model: 009VVM v: A00 serial: /F9F24C2/CN762066AN007N/ UEFI: Dell v: 1.6.1 date: 02/13/2017 CPU: Dual core Intel Core i7-7500U (-HT-MCP-) cache: 4096 KB clock speeds: max: 3500 MHz 1: 499 MHz 2: 509 MHz 3: 511 MHz 4: 534 MHz Graphics: Card-1: Intel Device 5916 Card-2: NVIDIA GM108M [GeForce 940MX] Display Server: X.org 1.19.3 drivers: modesetting,fbdev,ati,vesa,radeon,intel,nouveau,amdgpu Resolution: 1920x1080@60.00hz Audio: Card Intel Device 9d71 driver: snd_hda_intel Sound: ALSA v: k4.10.15-towo.1-siduction-amd64 Network: Card: Intel Wireless 3165 driver: iwlwifi

bluca commented 7 years ago

Most likely an ACPI problem, have a look at this thread:

https://github.com/Bumblebee-Project/Bumblebee/issues/764#issuecomment-300953759

Restore the bumblebee.conf as it was originally and then try some of those kernel cmdline acpi options

MachinaeWolf commented 7 years ago

I put the bumblebee.conf back to its original setup and tried acpi_osi=! acpi_osi="Windows 2009" first and it had no effect and acpi_osi=! acpi_osi="Windows 2015" with also no effect.

MachinaeWolf commented 7 years ago

I installed VirtualGL and now I get more output but I still have errors

optirun -vv glxgears [ 1080.476493] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf [ 1080.477628] [DEBUG]optirun version 3.2.1 starting... [ 1080.477666] [DEBUG]Active configuration: [ 1080.477676] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf [ 1080.477685] [DEBUG] X display: :8 [ 1080.477693] [DEBUG] LD_LIBRARY_PATH: /usr/lib/x86_64-linux-gnu/nvidia:/usr/lib/i386-linux-gnu/nvidia:/usr/lib/nvidia [ 1080.477703] [DEBUG] Socket path: /var/run/bumblebee.socket [ 1080.477712] [DEBUG] Accel/display bridge: auto [ 1080.477726] [DEBUG] VGL Compression: proxy [ 1080.477740] [DEBUG] VGLrun extra options: [ 1080.477762] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus:/usr/lib/primus:/usr/lib32/primus [ 1080.477865] [DEBUG]Using auto-detected bridge virtualgl [ 1082.839202] [INFO]Response: No - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 1082.839234] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 1082.839245] [DEBUG]Socket closed. [ 1082.839273] [ERROR]Aborting because fallback start is disabled. [ 1082.839281] [DEBUG]Killing all remaining processes.

bluca commented 7 years ago

Please gather some more logs:

Do: sudo systemctl edit bumblebeed and then write the following:

[Service]
ExecStart=
ExecStart=/usr/sbin/bumblebeed --debug

And save, then restart bumblebeed. Then run again optirun, and then attach the content of the journal sudo journalctl -b -r to a gist/pastebin

MachinaeWolf commented 7 years ago

ok http://codepad.org/PPHuUknD

MachinaeWolf commented 7 years ago

Got it working. Had to edit the file /etc/bumblebee/xorg.conf.nvidia to include the following screen-section to make bumblebee work:

Section "Screen" Identifier "Default Screen" Device "DiscreteNvidia" EndSection

Then I restarted the bumblebee service and it worked with optirun glxgears.

MachinaeWolf commented 7 years ago

Should I be worried about this? Output of optirun glxinfo

ERROR: ld.so: object 'libdlfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. ERROR: ld.so: object 'libvglfaker.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. name of display: :0 X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 154 (GLX) Minor opcode of failed request: 24 (X_GLXCreateNewContext) Value in failed request: 0x0 Serial number of failed request: 38 Current serial number in output stream: 39

MachinaeWolf commented 7 years ago

Got steam working, seems like I needed nvidia-driver-libs:i386 and libglx-nvidia0:i386 installed. I guess that was what I needed for anything else 32bit related too.

krichter722 commented 7 years ago

Please see whether #807 is a duplicate.

NadaDeNada commented 6 years ago

Same problem:

`pablo@debian-p:~$ optirun glxgears [ 37.186563] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) Failed to load module "mouse" (module does not exist, 0)

[ 37.186593] [ERROR]Aborting because fallback start is disabled. ` My card:

pablo@debian-p:~$ lspci -k -s:01:00 01:00.0 3D controller: NVIDIA Corporation GM107M [GeForce GTX 860M] (rev a2) Subsystem: CLEVO/KAPOK Computer GM107M [GeForce GTX 860M] Kernel driver in use: nouveau Kernel modules: nouveau

On Debian

pablo@debian-p:~$ uname -a Linux debian-p 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64 GNU/Linux

theottm commented 4 years ago

This solved the problem for me apt install xserver-xorg-input-mouse. Found on the a french page on Bumblebee.