bumblebee : /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
bumblebee : /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
Hi. First time using slackware and I'm not an very experienced Linux user. Iv'e installed bumblebee for my optimus video card using the automated script from http://docs.slackware.com/howtos:har...nvidia_optimus but trying it with glxgears I get this:
With optirun: "[ 581.894094] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 581.894129] [ERROR]Aborting because fallback start is disabled."
With primusrun: "primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied".
I imagine your user is not a member of the necessary groups. You should at least be a member of video and bumblebee (and you should ensure the bumblebee group is created).
You can run the following command to add yourself to all the recommended groups as well as the bumblebee group (replacing $USER with your username).
Code:
usermod -a -G lp,floppy,audio,video,cdrom,plugdev,power,netdev,scanner,bumblebee $USER
No. It didn't work. I even restarted the computer. The usermod command doesn't work with sudo using my own account so I logged into root and used my username instead of $USER at the end. Sorry if I had to mention that before.
No. It didn't work. I even restarted the computer.
Check this post. It seems you might need to tweak your xorg config files for bumblebee.
Quote:
Originally Posted by Ayaskull
The usermod command doesn't work with sudo using my own account so I logged into root and used my username instead of $USER at the end. Sorry if I had to mention that before.
Do you have sudo set up properly? It isn't set up in Slackware the same way it's set up in the *buntus. Generally with Slackware, most will just su to root and run any required commands that way. It is certainly possible to set it up to behave like Ubuntu, but it isn't set that way by default.
Check this post. It seems you might need to tweak your xorg config files for bumblebee.
Do you have sudo set up properly? It isn't set up in Slackware the same way it's set up in the *buntus. Generally with Slackware, most will just su to root and run any required commands that way. It is certainly possible to set it up to behave like Ubuntu, but it isn't set that way by default.
I've followed the instructions in the post and still I get the same error...
I'm using the nvidia driver. I think the automated bumblebee installer installed it.
Can I install nvidia prime instead of bumblebee (switching graphics by login out)? I know intel hd graphics alone are enough for most applications but I need nvidia to play my steam games.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.