Bumblebee is bumbling and broke, can't access GPU still after months and months

I’ve had this problem since beta 13.2. Bumblebee with proprietary driver would ALWAYS work in 13.1.

1293.586024] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

1293.586085] [ERROR]Aborting because fallback start is disabled.

I’ve been waiting for a solution on this to fix the wiki and write my 13.2 review (if I wrote it now, it’d be a warning story). I’ve been spending most of my time in WIndows since this couldn’t be fixed, and am really quite tired of that and I can’t use another distribtions since openSUSE is the only distro with proper UEFI and Secure Boot support.

I will ask some stupid questions… :stuck_out_tongue:

Did you add your user to ‘video’ group? And then logout and login?

Yes, I’ve done everything correctly. I had it working perfectly in 13.1 easy. In 13.2 it’s impossible, though I know other users are not having problems like I am so I suspect it’s a very subtle change and problem.

What’s the output from (as user)

quinness@linux-9rq3:~> **ls -l /dev/dri/**
totalt 0
crw-rw----+ 1 root video 226,  0 28 feb 09.25 card0
crw-rw----  1 root video 226, 64 28 feb 09.25 controlD64

And what that this say?

quinness@linux-9rq3:~> **groups**
users dialout video vboxusers bumblebee plugdev

Without at all being familiar with NVIDIA Optimus hardware, I wonder if the following workaround might be helpful to you…

https://wiki.archlinux.org/index.php/bumblebee#.2Fdev.2Fdri.2Fcard0:_failed_to_set_DRM_interface_version_1.4:_Permission_denied

FWIW, similar reported with other distros eg

https://github.com/Bumblebee-Project/Bumblebee/issues/580

What did you do concerning the installation of the nvidia driver that makes the difference to a vanilla state system?

Please post the results of the following commands:

lspci | egrep 'VGA|3D'
dmesg | grep nvidia
dmesg | grep NVRM
dmesg | grep bbswitch
zypper lr

crw-rw----+ 1 root video 226, 0 Feb 28 08:06 card0
crw-rw---- 1 root video 226, 64 Feb 28 08:06 controlD64

groups
users video bumblebee

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 3D controller: NVIDIA Corporation GK208M [GeForce GT 735M] (rev ff)


HomoDevil:/home/roger # dmesg | grep bbswitch
    8.711469] bbswitch: version 0.8
    8.711474] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
    8.711478] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
    8.711566] bbswitch: detected an Optimus _DSM function
    8.711609] bbswitch: disabling discrete graphics
    8.806934] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is off


Other commands had no output since I’ve not yet installed the proprietary blob. In previous attempts the NVidia repo version would cause nasty hangs with udv and the bumblebee version didn’t work, I don’t think it’d compile correctly. As you can see at present the card is switche off, which is half the battle. The problem is that I can’t run with optirun or primusrun, and past experience tells me that it flatly won’t work any better with proprietary driver.

I tried that workaround, and still nothing. Last time I did a lot of other manual edits to various xorg files, also to no avail.

roger@HomoDevil:~> optirun -vv bash
  137.144607] [DEBUG]Reading file: /etc/bumblebee/bumblebee.conf
  137.145533] [DEBUG]optirun version 3.2.1 starting...
  137.145575] [DEBUG]Active configuration:
  137.145584] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
  137.145592] [DEBUG] X display: :8
  137.145599] [DEBUG] LD_LIBRARY_PATH: 
  137.145605] [DEBUG] Socket path: /var/run/bumblebee.socket
  137.145611] [DEBUG] Accel/display bridge: auto
  137.145618] [DEBUG] VGL Compression: proxy
  137.145624] [DEBUG] VGLrun extra options: 
  137.145629] [DEBUG] Primus LD Path: /usr/lib64/primus:/usr/lib/primus
  137.145688] [DEBUG]Using auto-detected bridge virtualgl
  137.167166] [INFO]Response: No - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

  137.167199] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied

  137.167208] [DEBUG]Socket closed.
  137.167237] [ERROR]Aborting because fallback start is disabled.
  137.167249] [DEBUG]Killing all remaining processes.


You’ve confused me a little, because you mentioned that you’re not using the nvidia driver, and obviously the workaround relies on that

Other commands had no output since I’ve not yet installed the proprietary blob. In previous attempts the NVidia repo version would cause nasty hangs with udv and the bumblebee version didn’t work, I don’t think it’d compile correctly. As you can see at present the card is switche off, which is half the battle. The problem is that I can’t run with optirun or primusrun, and past experience tells me that it flatly won’t work any better with proprietary driver.

Others can correct me if I’m wrong, but Bumblebee with nouveau is not always a viable option these days it would seem, and I see references to using PRIME instead (if free drivers are preferred)

https://wiki.archlinux.org/index.php/bumblebee#Installing_Bumblebee_with_Intel.2FNouveau
http://fedoraproject.org/wiki/Bumblebee#Unable_to_use_optirun_with_nouveau

https://wiki.archlinux.org/index.php/PRIME

I’ll double check. When I go to use primusrun etc. it coughs out the same error whether I was using nouveau or the proprietary driver, so I had figured it’d make more sense to resolve the base issue before even trying to use the proprietary driver. I’ll give it a shot though and see what happens.

Well, I also have had my troubles with OpenSUSE13.2 and the Optimus technology. The first versions of nvidia-bumblebee didn’t install easily and if
I had had all up and running, any update of the System ruined the functionality of bumblebee.
But the present nvidia-bumblebee package (346.47-1.1) is doing its job very well.

So bumblebee isn’t bumbling and broke anymore.

You definitely have to avoid the main Nvidia repositories for installing a working bumblebee. These are meant for systems with only one graphics card.
Though an Optimus system is using the same proprietary Nvidia drivers, the way the proprietary driver gets intalled by nvidia-bumblebee takes care of not destroying the
configuration of the Intel graphics driver. You will need both.

So if you have ever installed anything from any main Nvidia repository, please uninstall all remnants before proceeding,
if you intend to install a working bumblebee system at all.

Hi Brunolab. Thanks for your comments about Bumblebee. As this post is not about a request for help, I will move it to the appropriate ‘How-To’ forum.

did the problem already solved?

if not, have a look at this:

https://forums.opensuse.org/showthread.php/505270-ultimate-tutorial-installing-Bumblebee-driver-for-SUSE