Bumblebee-Project / Bumblebee

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

[ 309.431928] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) #1042

Open ghost opened 4 years ago

ghost commented 4 years ago

image

01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f91 (rev a1)

I've entered the BusID as stated above in /etc/bumblebee/xorg.conf.nvidia.

ii  bumblebee-nvidia                              3.2.1-20
ii  nvidia-driver                                 430.50-1

When running something with optirun I get Cannot access secondary GPU - error: [XORG] (EE) When using triple verbose mode

[ 3145.384236] [DEBUG]Using auto-detected bridge primus
[ 3145.506617] [INFO]Response: No - error: [XORG] (EE) 

[ 3145.506637] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) 

I believe this might be related to #915 but I have no way to know for sure as I cannot reproduce the output of the gpu-manager command.

sseyren commented 4 years ago

Did you see this thread? #1041

graph commented 4 years ago

I currently also have this issue I'm running Ubuntu 20 Focal.

> optirun -vvv glxgears
[  612.017079] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
[  612.017358] [DEBUG]optirun version 3.2.1 starting...
[  612.017369] [DEBUG]Active configuration:
[  612.017374] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
[  612.017380] [DEBUG] X display: :8
[  612.017387] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia-current:/usr/lib32/nvidia-current
[  612.017393] [DEBUG] Socket path: /var/run/bumblebee.socket
[  612.017402] [DEBUG] Accel/display bridge: auto
[  612.017408] [DEBUG] VGL Compression: proxy
[  612.017415] [DEBUG] VGLrun extra options: 
[  612.017421] [DEBUG] Primus LD Path: /usr/lib/x86_64-linux-gnu/primus:/usr/lib/i386-linux-gnu/primus
[  612.017519] [DEBUG]Using auto-detected bridge primus
[  612.512143] [INFO]Response: No - error: [XORG] (EE) Failed to load module "nvidia" (module does not exist, 0)

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

[  612.512178] [DEBUG]Socket closed.
[  612.512193] [ERROR]Aborting because fallback start is disabled.
[  612.512198] [DEBUG]Killing all remaining processes.
iirekm commented 4 years ago

I got another issue on Ubuntu 20: https://github.com/Bumblebee-Project/Bumblebee/issues/1054

Maybe they are somehow related. On Ubuntu 18 everything was ok.

min20120907 commented 4 years ago

you need to install the latest linux kernel and nvidia driver from official website, which is newest version 440.82 with dkms module installed, and uninstall all packages related to nvidia, then install bumblebee, and it would work like a charm!

sudo apt install linux-headers-5.6.10-oem linux-image-5.6.0-1010-oem linux-modules-5.6.0-1010-oem sudo reboot sudo init 3 cd Downloads/ sudo sh $(ls | grep NVIDIA) sudo reboot sudo apt install bumblebee primus sudo reboot optirun glxgears