[SOLVED] Primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) No devices detected

Hey there, first of all I know my problem is kinda similar to another recent topic, but unfortunately the mentioned resolve didn’t work for me. So here is my issue. I used to have hybrid graphic drivers using bumblebee for my laptop (Lenovo Z50) and easily use Intel graphic for all the time and only the non-free Nvidia driver for playing game. I used the suggested way in Configure NVIDIA in Bumblebee and Steam section. I know it said it’s outdated but it was working fine for me.

But now it’s kinda broken, I can’t make any program to work with nonfree Nvidia driver using primus I get the (EE) No devices detected. error. Here is the info I can provide.

primusrun glxgears:
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) No devices detected.

The sudo systemctl status bumblebeed output is:

    [XORG] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
    [XORG] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [XORG] (EE) No devices detected.
    [XORG] (EE)
    [XORG] (EE) no screens found(EE)
    [XORG] (EE)
    [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [XORG] (EE)
    [XORG] (EE) Server terminated with error (1). Closing log file.
    X did not start properly

My inxi -G output is:

    Graphics:  Device-1: Intel Haswell-ULT Integrated Graphics driver: i915 v: kernel 
               Device-2: NVIDIA GM108M [GeForce 840M] driver: nvidia v: 430.64 
               Device-3: Syntek Lenovo EasyCamera type: USB driver: uvcvideo 
               Display: x11 server: X.Org 1.20.9 driver: nvidia resolution: 1920x1080~60Hz 
               OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) v: 4.5 Mesa 20.1.8 

My mhwd -li is:

Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI
video-hybrid-intel-nvidia-430xx-bumblebee            2019.10.25               false            PCI

The /var/log/Xorg.8.log contains:

    [  1168.056] Current version of pixman: 0.40.0
    [  1168.056] 	Before reporting problems, check 
    	to make sure that you have the latest version.
    [  1168.056] Markers: (--) probed, (**) from config file, (==) default setting,
    	(++) from command line, (!!) notice, (II) informational,
    	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [  1168.056] (==) Log file: "/var/log/Xorg.8.log", Time: Sun Oct 18 02:34:34 2020
    [  1168.056] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
    [  1168.056] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
    [  1168.056] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    [  1168.056] (==) ServerLayout "Layout0"
    [  1168.056] (==) No screen section available. Using defaults.
    [  1168.056] (**) |-->Screen "Default Screen Section" (0)
    [  1168.056] (**) |   |-->Monitor "<default monitor>"
    [  1168.057] (==) No device specified for screen "Default Screen Section".
    	Using the first device section listed.
    [  1168.057] (**) |   |-->Device "DiscreteNvidia"
    [  1168.057] (==) No monitor specified for screen "Default Screen Section".
    	Using a default monitor configuration.
    [  1168.057] (**) Option "AutoAddGPU" "false"
    [  1168.057] (==) Automatically adding devices
    [  1168.057] (==) Automatically enabling devices
    [  1168.057] (**) Not automatically adding GPU devices
    [  1168.057] (==) Automatically binding GPU devices
    [  1168.057] (==) Max clients allowed: 256, resource mask: 0x1fffff
    [  1168.057] (WW) The directory "/usr/share/fonts/OTF" does not exist.
    [  1168.057] 	Entry deleted from font path.
    [  1168.057] (WW) The directory "/usr/share/fonts/Type1" does not exist.
    [  1168.057] 	Entry deleted from font path.
    [  1168.057] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi".
    [  1168.057] 	Entry deleted from font path.
    [  1168.057] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi").
    [  1168.057] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi".
    [  1168.057] 	Entry deleted from font path.
    [  1168.057] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi").
    [  1168.057] (==) FontPath set to:
    	/usr/share/fonts/misc,
    	/usr/share/fonts/TTF
    [  1168.057] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
    [  1168.057] (II) The server relies on udev to provide the list of input devices.
    	If no devices become available, reconfigure udev or disable AutoAddDevices.
    [  1168.057] (II) Module ABI versions:
    [  1168.057] 	X.Org ANSI C Emulation: 0.4
    [  1168.057] 	X.Org Video Driver: 24.1
    [  1168.057] 	X.Org XInput driver : 24.1
    [  1168.057] 	X.Org Server Extension : 10.0
    [  1168.058] (--) using VT number 1
    [  1168.058] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
    [  1168.059] (II) xfree86: Adding drm device (/dev/dri/card0)
    [  1168.059] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
    [  1168.060] (--) PCI: (3@0:0:0) 10de:1341:17aa:380d rev 162, Mem @ 0xc2000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00003000/128
    [  1168.060] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [  1168.060] (II) LoadModule: "glx"
    [  1168.060] (II) Loading /usr/lib/nvidia/xorg/libglx.so
    [  1168.064] (II) Module glx: vendor="NVIDIA Corporation"
    [  1168.064] 	compiled for 1.6.99.901, module version = 1.0.0
    [  1168.064] 	Module class: X.Org Server Extension
    [  1168.064] (II) NVIDIA GLX Module  430.64  Sun Oct 27 11:10:22 UTC 2019
    [  1168.064] (II) LoadModule: "nvidia"
    [  1168.064] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [  1168.064] (II) Module nvidia: vendor="NVIDIA Corporation"
    [  1168.064] 	compiled for 1.6.99.901, module version = 1.0.0
    [  1168.064] 	Module class: X.Org Video Driver
    [  1168.064] (II) NVIDIA dlloader X Driver  430.64  Sun Oct 27 11:10:43 UTC 2019
    [  1168.064] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [  1168.064] (EE) No devices detected.
    [  1168.064] (EE) 
    Fatal server error:
    [  1168.064] (EE) no screens found(EE) 
    [  1168.064] (EE) 
    Please consult the The X.Org Foundation support 
    	 at 
     for help. 
    [  1168.064] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
    [  1168.064] (EE) 
    [  1168.064] (EE) Server terminated with error (1). Closing log file.
1 Like

The GeForce 840M is supported by the 440 series driver.

Is there a compelling reason why are you still on BumbleBee instead of Prime?

:thinking:

If not:

  • remove the bumblebee driver
  • install the prime driver
  • use prime-run to run any applications on the nVidia card.
1 Like

Thanks for your answer. I tried 440 prime series about a year ago and my system had problem booting up. So I didn’t try it anymore and used bumblebee instead. I’ll try 440 and will tell the update.

UPDATE: I installed 440xx-prime and here is the output of mhwd -li:

Installed PCI configs:

 NAME                                       VERSION                   FREEDRIVER           TYPE
 network-r8168                              2016.04.20                true                 PCI
 video-modesetting                          2020.01.13                true                 PCI
 video-hybrid-intel-nvidia-440xx-prime      2020.10.04                false                PCI

But there is no change in fps of the game I’m playing. Should I somehow tell Steam to use the non-free driver?

1 Like

Thanks to @Fabby’s suggestion I installed 440xx-prime driver. So got rid of 430xx, BumbleBee and Primus and all of their dependencies. Now it’s installed. The last step was to use prime-run for telling the system to use the non-free driver. You can try prime-run glxspheres64 and of course prime-run steam. However I personally prefer to add prime-run %command% in SET LAUNCH OPTION for each game.

1 Like