Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#48117 - [bumblebee] failed to set DRM interface version 1.4:

Attached to Project: Community Packages
Opened by Andreas (misc) - Wednesday, 10 February 2016, 15:11 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 23 April 2016, 14:03 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

For whatever reason (libdrm, xserver or nvidia driver, dunno) bumblebee started to fail on each start with:
"failed to set DRM interface version 1.4:"

Some info on why can be read here:
https://www.reddit.com/r/archlinux/comments/3tauad/bumblebee_devdricard0_failed_to_set_drm_interface/cx4mtqb

After searching around in the github bugreports I found Manjaro's PKGBUILD, which contains a fix:
https://github.com/Bumblebee-Project/Bumblebee/issues/652
https://github.com/manjaro/packages-community/tree/master/bumblebee

This patch applies to bumblebee's develop branch (and includes the one other Manjaro fix not yet committed):
http://pastebin.com/raw/ea5jKJ15
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 23 April 2016, 14:03 GMT
Reason for closing:  Fixed
Comment by Andreas (misc) - Wednesday, 10 February 2016, 15:13 GMT
Well, strictly speaking it wasn't bumblebee that failed to start, but primusrun / optirun.
Comment by Tomasz PrzybyƂ (FadeMind) - Wednesday, 10 February 2016, 21:05 GMT
NOTE: patch 0005-bb_mutebblogger.patch ONLY hide EE status errors in journal (systemctl -l status bumblebeed). In full file log (/var/log/Xorg.8.log) these errors are saved.


[tomasz@arch ~]$ ccat /var/log/Xorg.8.log|grep EE
[ 1632.856] Current Operating System: Linux arch 4.5.0-1-r500v #1 SMP PREEMPT Mon Feb 8 12:19:15 CET 2016 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 1632.859] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[ 1632.864] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1632.865] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1633.387] (EE) Failed to load module "mouse" (module does not exist, 0)
[ 1633.387] (EE) No input driver matching `mouse'
[ 1633.388] (EE) Failed to load module "kbd" (module does not exist, 0)
[ 1633.388] (EE) No input driver matching `kbd'
[ 1633.398] (EE) /dev/dri/card0: failed to set DRM interface version 1.4: Permission denied
[tomasz@arch ~]$

Comment by Andreas (misc) - Thursday, 11 February 2016, 00:47 GMT
That's one more line in a log, who cares as long as it works.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 February 2016, 13:27 GMT
Ok I read that issue and it's a bit of a clusterfuck apparently. Why wasn't a fix for this accepted into bumblebee?
Comment by Sven-Hendrik Haase (Svenstaro) - Thursday, 14 April 2016, 20:51 GMT
Please test rel -11
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 23 April 2016, 14:03 GMT
I'm going to assume that this is fixed since there is no answer and because the patch is in.

Loading...