Issue with Bumblebee

inxi -Gazy:

Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
  vendor: Acer Incorporated ALI driver: i915 v: kernel bus-ID: 00:02.0
  chip-ID: 8086:0116 class-ID: 0300
  Device-2: NVIDIA GF108M [GeForce GT 540M] vendor: Acer Incorporated ALI
  driver: nvidia v: 390.144 alternate: nouveau,nvidia_drm bus-ID: 01:00.0
  chip-ID: 10de:0df4 class-ID: 0300
  Device-3: Alcor Micro USB 2.0 PC Camera type: USB driver: uvcvideo
  bus-ID: 1-1.3:3 chip-ID: 058f:3821 class-ID: 0e02
  Display: x11 server: X.Org 1.21.1.1 compositor: xfwm4 v: 4.16.1 driver:
  loaded: nvidia note: n/a (using device driver) failed: nvidia
  display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0")
  s-diag: 414mm (16.3")
  Monitor-1: LVDS1 res: 1366x768 dpi: 102 size: 340x190mm (13.4x7.5")
  diag: 389mm (15.3")
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2)
  v: 3.3 Mesa 21.2.5 compat-v: 3.0 direct render: Yes

Whenever I check the status of bumblebee it gives me these errors:
systemctl status bumblebeed:

● bumblebeed.service - Bumblebee C Daemon
     Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled; vendor preset: disabled)
     Active: active (running) since Fri 2021-12-03 22:03:54 +0330; 20min ago
   Main PID: 308 (bumblebeed)
      Tasks: 1 (limit: 9345)
     Memory: 35.0M
        CPU: 329ms
     CGroup: /system.slice/bumblebeed.service
             └─308 /usr/bin/bumblebeed --use-syslog

Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE) Failed to load module "nvidia" (unknown error, 0)
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (WW) Warning, couldn't open module mouse
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE) No drivers available.
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE)
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE) no screens found(EE)
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE)
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE) Please also check the log file at "/var/log/Xorg.8.log">
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE)
Dec 03 22:11:14 mehdi bumblebeed[308]: [XORG] (EE) Server terminated with error (1). Closing log file.
Dec 03 22:11:14 mehdi bumblebeed[308]: X did not start properly

optirun glxgears -info:

[ 1319.886263] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

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

/var/log/Xorg.8.log:

[  1319.872] 
This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.
[  1319.872] 
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[  1319.872] Current Operating System: Linux mehdi 5.14.18-1-MANJARO #1 SMP PREEMPT Fri Nov 12 20:24:59 UTC 2021 x86_64
[  1319.872] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-5.14-x86_64 root=UUID=378ff22a-701d-4127-8ffa-a3d7fa78e1a4 rw quiet apparmor=1 security=apparmor udev.log_priority=3
[  1319.872]  
[  1319.872] Current version of pixman: 0.40.0
[  1319.873] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  1319.873] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1319.873] (==) Log file: "/var/log/Xorg.8.log", Time: Fri Dec  3 22:25:49 2021
[  1319.873] (++) Using config file: "/etc/bumblebee/xorg.conf.nvidia"
[  1319.873] (++) Using config directory: "/etc/bumblebee/xorg.conf.d"
[  1319.873] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  1319.873] (==) ServerLayout "Layout0"
[  1319.873] (==) No screen section available. Using defaults.
[  1319.873] (**) |-->Screen "Default Screen Section" (0)
[  1319.873] (**) |   |-->Monitor "<default monitor>"
[  1319.873] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[  1319.873] (**) |   |-->Device "Device1"
[  1319.873] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[  1319.873] (**) Option "AutoAddDevices" "false"
[  1319.873] (**) Not automatically adding devices
[  1319.873] (==) Automatically enabling devices
[  1319.873] (==) Automatically adding GPU devices
[  1319.873] (==) Automatically binding GPU devices
[  1319.873] (==) Max clients allowed: 256, resource mask: 0x1fffff
[  1319.873] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[  1319.873] 	Entry deleted from font path.
[  1319.873] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[  1319.873] 	Entry deleted from font path.
[  1319.873] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[  1319.873] 	Entry deleted from font path.
[  1319.873] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[  1319.873] (++) ModulePath set to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules"
[  1319.873] (==) |-->Input Device "<default pointer>"
[  1319.873] (==) |-->Input Device "<default keyboard>"
[  1319.873] (==) The core pointer device wasn't specified explicitly in the layout.
	Using the default mouse configuration.
[  1319.873] (==) The core keyboard device wasn't specified explicitly in the layout.
	Using the default keyboard configuration.
[  1319.873] (II) Module ABI versions:
[  1319.873] 	X.Org ANSI C Emulation: 0.4
[  1319.873] 	X.Org Video Driver: 25.2
[  1319.873] 	X.Org XInput driver : 24.4
[  1319.873] 	X.Org Server Extension : 10.0
[  1319.875] (--) using VT number 7

[  1319.875] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[  1319.876] (II) xfree86: Adding drm device (/dev/dri/card0)
[  1319.876] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[  1319.879] (--) PCI: (1@0:0:0) 10de:0df4:1025:0505 rev 161, Mem @ 0xd0000000/16777216, 0xa0000000/268435456, 0xb0000000/33554432, I/O @ 0x00002000/128, BIOS @ 0x????????/524288
[  1319.879] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1319.879] (II) LoadModule: "glx"
[  1319.879] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[  1319.883] (II) Module glx: vendor="NVIDIA Corporation"
[  1319.883] 	compiled for 4.0.2, module version = 1.0.0
[  1319.883] 	Module class: X.Org Server Extension
[  1319.883] (II) NVIDIA GLX Module  390.144  Wed Jun  2 23:02:00 UTC 2021
[  1319.883] (II) LoadModule: "nvidia"
[  1319.883] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[  1319.883] (II) Module nvidia: vendor="NVIDIA Corporation"
[  1319.883] 	compiled for 4.0.2, module version = 1.0.0
[  1319.883] 	Module class: X.Org Video Driver
[  1319.883] ================ WARNING WARNING WARNING WARNING ================
[  1319.883] This server has a video driver ABI version of 25.2 that this
driver does not officially support.  Please check
http://www.nvidia.com/ for driver updates or downgrade to an X
server with a supported driver ABI.
[  1319.884] =================================================================
[  1319.884] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[  1319.884] (II) UnloadModule: "nvidia"
[  1319.884] (II) Unloading nvidia
[  1319.884] (EE) Failed to load module "nvidia" (unknown error, 0)
[  1319.884] (II) LoadModule: "mouse"
[  1319.884] (WW) Warning, couldn't open module mouse
[  1319.884] (EE) Failed to load module "mouse" (module does not exist, 0)
[  1319.884] (II) LoadModule: "kbd"
[  1319.884] (WW) Warning, couldn't open module kbd
[  1319.884] (EE) Failed to load module "kbd" (module does not exist, 0)
[  1319.884] (EE) No drivers available.
[  1319.884] (EE) 
Fatal server error:
[  1319.884] (EE) no screens found(EE) 
[  1319.884] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  1319.884] (EE) Please also check the log file at "/var/log/Xorg.8.log" for additional information.
[  1319.884] (EE) 
[  1319.884] (EE) Server terminated with error (1). Closing log file.

Any suggestions?

Probably just this.

Which can be handled by xorg conf like this:

Section "ServerFlags"
     Option "ignoreABI" "true"
EndSection

I am guessing you have the bumbeblee xorg conf file (/etc/bumblebee/xorg.conf.nvidia).
In which case you can add the option there.

echo -e '\nSection "ServerFlags"\n     Option "ignoreABI" "true"\nEndSection' | sudo tee -a /etc/bumblebee/xorg.conf.nvidia

Something like the above should append it to the file for you :slight_smile:

1 Like

I don’t have any Section “ServerFlags”
My /etc/bumblebee/xorg.conf.nvidia:

##
## Generated by mhwd - Manjaro Hardware Detection
##


Section "ServerLayout"
    Identifier "Layout0"
    Option "AutoAddDevices" "false"
EndSection


Section "Device"
    Identifier  "Device1"
    Driver      "nvidia"
    BusID       "PCI:1:0:0"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
EndSection

I know … I want you to create it.
(the command above will do it for you … but you can copy/paste the text and do it yourself too)

Thanks a lot
optirun glxgears -info
Is now working well

Great. Happy penguin tidings :penguin:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.