You are not logged in.

#1 2013-04-26 10:38:18

Jindur
Member
Registered: 2011-09-29
Posts: 184

primus: fatal: failure contacting bumblebee daemon [SOLVED]

I just did a pacman -Syu which broke my system as usual. This time I get the above error message when trying to use primusrun:

primus: fatal: failure contacting bumblebee daemon

Trying to run glxshperes gives a slightly different message:

$ primusrun glxspheres
primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver

and via optirun, just for the heck of it:

$ optirun glxgears
[ 2702.399865] [ERROR]Cannot access secondary GPU - error: Could not load GPU driver

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

<<SOLUTION: Replace all the *-bumblebee packages by * packages, this means enabling multiverse repo and drawing all of it from official repos instead of anything from AUR. Examples: nvidia instead of nvidia-bumblebee, primus instead of primus-git, nvidia-utils instead of nvidia-utils-bumblebee, lib32-nvidia-utils instead of lib32-nvidia-utils-bumblebee. Some time ago the 'official' instructions were exactly the other way round, but it seems this was now completely reverted.>>


I noticed:
1) primus in official repos (I was using git so far) causes a timeout from about 40 mirrors until it finds one where the download works. I hope that's no bad sign of some sort?
2) bumblebeed update created new bumblebee.conf.pacnew and xorg.conf.nvidia.pacnew
3) off-topic: When I clicked 'logout' in XFCE's applications menu, usually I get a box where I can pick whether I wanna logout/restart/shutdown etc, but this time it just straightly logged me out (makes sense I guess).
4) after rebooting my system I saw I think two systemd error messages pop up for a split second, that usually did not occur.
5) Xorg.8.log had the line "[633217.731] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 19.1, need < 19.0).  The driver will continue to load, but may behave strangely.", is this responsible maybe? Version conflict between X and nvidia?

I tried:
I restarted after the pacman -Syu update. wink
I tried primusrun-git from AUR and primusrun from <community> but both exit with the error message.
I tried the new conf files (copied the pacnew files to the normal filenames) but they don't work either.

I checked:
Bumbleed is running, systemctl shows

bumblebeed.service          loaded active running   Bumblebee C Daemon

and lspci | grep VGA shows the usual

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: NVIDIA Corporation Device 0fd4 (rev a1)

(After I try to start something with primusrun, the indicator light switches on and remains on, I can turn it off again with the usual

echo OFF > /proc/acpi/bbswitch

.)
dmesg has these:

[   94.057043] nvidia: disagrees about version of symbol pv_mmu_ops
[   94.057047] nvidia: Unknown symbol pv_mmu_ops (err -22)

echoing 'OFF' to bbswitch seems fine though (it worked, as I mentioned)

[   16.326834] bbswitch: version 0.6
[   16.326840] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0
[   16.326843] bbswitch: Found discrete VGA device 0000:01:00.0: \_SB_.PCI0.PEG0.PEGP
[   16.326903] bbswitch: detected an Optimus _DSM function
[   16.326908] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
[   16.327995] bbswitch: disabling discrete graphics

Here is /var/log/Xorg.8.log (trimmed):

X.Org X Server 1.14.1
[633217.228] X Protocol Version 11, Revision 0
[633217.228] Build Operating System: Linux 3.8.7-1-ARCH x86_64 

[633217.229] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[633217.229] (==) Using config directory: "/etc/X11/xorg.conf.d"

[633217.293] (++) ModulePath set to "/usr/lib/nvidia-bumblebee/xorg/,/usr/lib/xorg/modules"

[633217.295] Initializing built-in extension XVideo
[633217.295] Initializing built-in extension XVideo-MotionCompensation
[633217.295] Initializing built-in extension XFree86-VidModeExtension
[633217.295] Initializing built-in extension XFree86-DGA
[633217.295] Initializing built-in extension XFree86-DRI
[633217.295] Initializing built-in extension DRI2
[633217.295] (II) LoadModule: "glx"
[633217.308] (II) Loading /usr/lib/nvidia-bumblebee/xorg/modules/extensions/libglx.so
[633217.680] (II) Module glx: vendor="NVIDIA Corporation"
[633217.680] 	compiled for 4.0.2, module version = 1.0.0
[633217.681] 	Module class: X.Org Server Extension
[633217.681] (II) NVIDIA GLX Module  313.26  Wed Feb 27 13:10:40 PST 2013
[633217.681] Loading extension GLX
[633217.681] (II) LoadModule: "nvidia"
[633217.705] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[633217.731] (II) Module nvidia: vendor="NVIDIA Corporation"
[633217.731] 	compiled for 4.0.2, module version = 1.0.0
[633217.731] 	Module class: X.Org Video Driver
[633217.731] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 19.1, need < 19.0).  The driver will continue to load, but may behave strangely.

[633217.732] (II) NVIDIA dlloader X Driver  313.26  Wed Feb 27 12:52:26 PST 2013
[633217.732] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[633217.732] (--) using VT number 7

[633217.733] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[633217.733] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[633217.733] (==) NVIDIA(0): RGB weight 888
[633217.733] (==) NVIDIA(0): Default visual is TrueColor
[633217.733] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[633217.733] (**) NVIDIA(0): Option "NoLogo" "true"
[633217.733] (**) NVIDIA(0): Option "UseEDID" "false"
[633217.733] (**) NVIDIA(0): Option "ConnectedMonitor" "CRT-0"
[633217.734] (**) NVIDIA(0): Enabling 2D acceleration
[633217.734] (**) NVIDIA(0): ConnectedMonitor string: "CRT-0"
[633217.734] (**) NVIDIA(0): Ignoring EDIDs
[633218.796] (II) NVIDIA(0): Implicitly enabling NoScanout
[633218.796] (WW) NVIDIA(0): Failed to enable display hotplug notification
[633218.799] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 660M (GK107) at PCI:1:0:0 (GPU-0)
[633218.799] (--) NVIDIA(0): Memory: 2097152 kBytes
[633218.799] (--) NVIDIA(0): VideoBIOS: 80.07.27.00.05
[633218.799] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[633218.799] (--) NVIDIA(0): Valid display device(s) on GeForce GTX 660M at PCI:1:0:0
[633218.799] (--) NVIDIA(0):     none
[633218.799] (II) NVIDIA(0): Validated MetaModes:
[633218.799] (II) NVIDIA(0):     "nvidia-auto-select"
[633218.799] (II) NVIDIA(0): Virtual screen size determined to be 640 x 480
[633218.799] (WW) NVIDIA(0): Unable to get display device for DPI computation.
[633218.799] (==) NVIDIA(0): DPI set to (75, 75); computed from built-in default
[633218.799] (--) Depth 24 pixmap format is 32 bpp
[633218.799] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[633218.799] (II) NVIDIA:     access.
[633218.805] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[633218.805] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[633218.805] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[633218.805] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[633218.805] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[633218.805] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[633218.805] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[633218.805] (II) NVIDIA(0):     Config Options in the README.
[633218.806] (II) NVIDIA(0): Setting mode "nvidia-auto-select"
[633218.857] Loading extension NV-GLX
[633218.865] (==) NVIDIA(0): Disabling shared memory pixmaps
[633218.865] (==) NVIDIA(0): Backing store disabled
[633218.865] (==) NVIDIA(0): Silken mouse enabled
[633218.866] (==) NVIDIA(0): DPMS enabled
[633218.866] Loading extension NV-CONTROL
[633218.866] (II) Loading sub module "dri2"
[633218.866] (II) LoadModule: "dri2"
[633218.866] (II) Module "dri2" already built-in
[633218.866] (II) NVIDIA(0): [DRI2] Setup complete
[633218.866] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[633218.866] (--) RandR disabled
[633218.879] (II) Initializing extension GLX

Any ideas?

PS: In this light I was wondering whether the https://wiki.archlinux.org/index.php/Bumblebee article is still up to date or might need reworking of some sort (I don't have any actual ideas to base this on though, was just a thought)

PPS: https://bbs.archlinux.org/viewtopic.php?pid=1264430

Last edited by Jindur (2013-04-27 18:10:21)

Offline

#2 2013-04-26 11:48:06

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

Offline

#3 2013-04-26 11:48:47

iambig
Member
Registered: 2012-08-21
Posts: 25

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

Hi,
i haved some trouble too, from what i understood

nvidia-bumblebee

is deprecated, you should install

nvidia

.
otherwise i am not still able to use optirun/primus.
And the reason is this

primus: fatal: failed to load any of the libraries: /usr/lib/nvidia-bumblebee/libGL.so.1:/usr/lib32/nvidia-bumblebee/libGL.so.1
/usr/lib/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory
/usr/lib32/nvidia-bumblebee/libGL.so.1: cannot open shared object file: No such file or directory 

bumblebee try to use nvidia-bumblebee instead of nvidia.
When I will find the solution I am going ot update you.


Carthago delenda est

Offline

#4 2013-04-26 11:58:33

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

That error message is a bit different from mine, but I still tried it:
1) I deleted the busid.conf file
2) I did sytemctl restart bumblebeed.service
but it didn't change anything.

However, that thread gave me the idea to check Xorg.8.log, I posted a suspicious line in my reply in the next posting below.^^

Last edited by Jindur (2013-04-26 12:09:34)

Offline

#5 2013-04-26 12:00:20

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

iambig wrote:

Hi,
i haved some trouble too, from what i understood

nvidia-bumblebee

is deprecated, you should install

nvidia

.
otherwise i am not still able to use optirun/primus.

Hm, so far it was emphasized NOT to install nvidia, because that would actually break it, but to use nvidia-bumblebee instead.
Do you maybe have a link to information saying that it is now exactly the other way round?
Has 'nvidia' been confirmed to work with bumblebee by anyone? Does it work for you?

Edit: I just saw in my Xorg.8.log:

[633217.731] (WW) NVIDIA: This server has an unsupported input driver ABI version (have 19.1, need < 19.0).  The driver will continue to load, but may behave strangely.

Maybe this has to do with it? It seems there might be a version conflict between X and nvidia drivers?

If anyone can confirm that the basic 'nvidia' packages are indeed replacing 'nvidia-bumblebee' now, instead of the other way round, I'll give them a try wink

Last edited by Jindur (2013-04-26 12:30:37)

Offline

#6 2013-04-26 12:46:52

iambig
Member
Registered: 2012-08-21
Posts: 25

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

I fixed my problem:
-delete bumblebee.conf,
-reinstall bumblebee,
-readding me to the group,
-rebooting.
oh i have better perfomance with nvidia instead of nvidia-bumblebee.


Carthago delenda est

Offline

#7 2013-04-27 18:08:24

Jindur
Member
Registered: 2011-09-29
Posts: 184

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

Ok, I deleted+reinstalled bumblebee, readded me to the group and rebooted, and that did not help.

However, I then replaced all the *-bumblebee packages (AUR) by the official * packages from the repos, a step that was so far marked as wrong and bad. Too bad there was no note put up anywhere about this suddenly changing into exactly the opposite. Thanks for mentioning it in this thread though, iambig, so this problem ended up pretty easy to solve.
Now it works again, whoo!

Offline

#8 2013-04-27 19:55:51

iambig
Member
Registered: 2012-08-21
Posts: 25

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

I am happy that u fixed, I'm not a pro, so I can suggest what I did, but I can't sell certifed truth big_smile


Carthago delenda est

Offline

#9 2013-05-02 13:50:51

robrigo
Member
Registered: 2013-05-02
Posts: 2

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

Hello,

I am encountering the same primus error as above:

primus: fatal: Bumblebee daemon reported: error: Could not load GPU driver

So I removed all of the *-bumblebee packages and tried to install the regular packages. I noticed that even with multilib repo enabled there is no longer a "lib32-nvidia-utils". To clarify, were you guys able to get bumblebee working with lib32-primus-git with the * packages? I am at work atm but I will try to get more details in a bit.

Edit: NM I'm an idiot. I left a comment in the multilib heading in /etc/pacman.conf. Oops!

Last edited by robrigo (2013-05-03 15:36:00)

Offline

#10 2015-05-17 02:14:00

thebunnyrules
Member
Registered: 2015-05-11
Posts: 6

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

multilib repo and the 32bit libraries are not  prerequists for running bumblebee. Not unless you're trying to run a 32bit application, like Steam for Linux where some of the games only run on 32bit.

In my case, I got the "failed to connect to Bumblebee daemon" erro because I hadn't added myself to the bumblebee usergroup. As soon as I did that, I no longer got the error.

sudo nano /etc/group and add make sure your user name is in the bumblebee group. If it isn't, then you've found what the problem is. Add it, save, reboot and optirun/primusrun should work

Last edited by thebunnyrules (2015-05-17 02:17:21)

Offline

#11 2015-05-18 20:15:32

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,468
Website

Re: primus: fatal: failure contacting bumblebee daemon [SOLVED]

Hi thebunnyrules, I've asked you not to necrobump topics before. Please don't do it again.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB