Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bumblebee stopped working after upgrade to Slackware 14.2: card0: failed to set DRM interface version 1.4: Permission denied #841

Open
zapot opened this issue Feb 4, 2017 · 7 comments

Comments

@zapot
Copy link

zapot commented Feb 4, 2017

Hi,

Bumblebee worked well for me with Slackware 14.0, but after upgrading to a new Slackware 14.2, while everything seems to be installed properly I get the following error:

$ optirun glxgears
[ 3202.482729] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 3202.482794] [ERROR]Aborting because fallback start is disabled.

Using default packages for kernel and Xorg:
vmlinuz-huge-4.4.14
xorg-server-1.18.3-x86_64-2

The laptop has card0 -> Intel 915 card1 -> NVIDIA Geforce GT 650M

I have looked at other issues in this tracker and found other people with the "failed to set DRM interface version 1.4: Permission denied", but none of the proposed changes to configuration files work for me.

Can someone help?

Thanks!

@jmfernandez
Copy link

Maybe is unrelated. I'm using a completely different system, Gentoo, but I ran in the same issue when I upgraded Xorg server. After some debugging, I tried running secondary Xorg server by hand, and I found secondary Xorg was unsuccessfully loading kbd module (which was not recompiled in the upgrade):

Xorg: symbol lookup error: /usr/lib64/xorg/modules/input/kbd_drv.so: undefined symbol: AddEnabledDevice

This error line is not caught by Xorg.8.log or bumblebee (it is emitted by the dynamic linker), so it does not appear on logs

@hlolli
Copy link

hlolli commented Mar 5, 2017

Isn't kbd_drv = keyboard module, can't see that this could be related, only based on common sense (which doesn't always hold true of course). But I'd like to hear what some bumblebee contibutor says about this.

@jmfernandez
Copy link

Sorry, I did not explain the whole scenario. Just after the symbol lookup error is emitted, Xorg server dies with exit code 127.

So, the problem was not in bumblebee, but affects it due the way bumblebee works: it spawns the secondary Xorg server instance, and it complains when the server unexpectedly dies (as it has to).

@ghost
Copy link

ghost commented Mar 6, 2017

Confirmed in fedora 25

@gsgatlin
Copy link

gsgatlin commented Mar 6, 2017

@YappyYellowYak Can you open a new issue about the problems you are having in fedora 25? Thanks. Once a new issue is opened maybe we can figure out what has gone wrong on your machine.

@Kinkypeter
Copy link

Kinkypeter commented Mar 6, 2017 via email

@zapot
Copy link
Author

zapot commented Mar 6, 2017

Hi, original poster here.

I solved the problem on my side. The issue was with an incompatible mix of versions of the various packages. After a lot of fiddling I found a combination of versions which work.

To note is that I followed some of the (general) instructions provided, and that combination of package versions did not work. I looked for a combination of versions released roughly in the same timeframe, and that got me to where I wanted to be.

Note: I am using VirtualGL only (set in bumblebee.conf) , and optirun!

For me the winners were:

nvidia-bumblebee-375.26-x86_64-1_bbsb
nvidia-kernel-375.26_4.4.14-x86_64-1_bbsb
VirtualGL-2.3.3-x86_64-1_bbsb
libvdpau-1.1.1-x86_64-1_bbsb
xf86-video-nouveau-blacklist-noarch-1
primus-0.1.7-x86_64-1_bbsb
bbswitch-0.8_4.4.14-x86_64-1_bbsb
bumblebee-3.2.1-x86_64-1_bbsb
libbsd-0.7.0-x86_64-1_bbsb

I think that one problem with this error is that it seems to capture a wide variety of different situations.
Maybe something could be improved on the error handling side to provide more usable information as part of the error message.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants