Optirun cannot access secondary GPU

After updating I can no longer use my Nvidia GPU. I get [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

/var/log/Xorg.8.log says

[ 31.873]
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 GitPage for git access instructions.
[ 31.873]
X.Org X Server 1.21.1.1
X Protocol Version 11, Revision 0
[ 31.873] Current Operating System: Linux thinkpad 5.4.159-1-MANJARO #1 SMP PREEMPT Fri Nov 12 20:25:49 UTC 2021 x86_64
[ 31.873] Kernel command line: BOOT_IMAGE=/@/boot/vmlinuz-5.4-x86_64 root=UUID=[UUID] rw rootflags=subvol=@ cryptdevice=UUID=[UUID]cryptroot quiet udev.log_priority=3
[ 31.873]
[ 31.873] Current version of pixman: 0.40.0
[ 31.873] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 31.873] Markers: (–) probed, (*) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 31.873] (==) Log file: “/var/log/Xorg.8.log”, Time: Sat Nov 27 12:34:18 2021
[ 31.873] (++) Using config file: “/etc/bumblebee/xorg.conf.nvidia”
[ 31.873] (++) Using config directory: “/etc/bumblebee/xorg.conf.d”
[ 31.873] (==) Using system config directory “/usr/share/X11/xorg.conf.d”
[ 31.874] (==) ServerLayout “Layout0”
[ 31.874] (*
) |–>Screen “Screen0” (0)
[ 31.874] (*) | |–>Monitor “”
[ 31.874] (*
) | |–>Device “DiscreteNvidia”
[ 31.874] (==) No monitor specified for screen “Screen0”.
Using a default monitor configuration.
[ 31.874] (*) Option “AutoAddDevices” “true”
[ 31.874] (*
) Option “AutoAddGPU” “false”
[ 31.874] (*) Automatically adding devices
[ 31.874] (==) Automatically enabling devices
[ 31.874] (*
) Not automatically adding GPU devices
[ 31.874] (==) Automatically binding GPU devices
[ 31.874] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 31.874] (WW) The directory “/usr/share/fonts/Type1” does not exist.
[ 31.874] Entry deleted from font path.
[ 31.874] (WW) The directory “/usr/share/fonts/100dpi” does not exist.
[ 31.874] Entry deleted from font path.
[ 31.874] (WW) The directory “/usr/share/fonts/75dpi” does not exist.
[ 31.874] Entry deleted from font path.
[ 31.874] (==) FontPath set to:
/usr/share/fonts/misc,
/usr/share/fonts/TTF,
/usr/share/fonts/OTF
[ 31.874] (++) ModulePath set to “/usr/lib/nvidia/xorg,/usr/lib/xorg/modules”
[ 31.874] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 31.874] (II) Module ABI versions:
[ 31.874] X.Org ANSI C Emulation: 0.4
[ 31.874] X.Org Video Driver: 25.2
[ 31.874] X.Org XInput driver : 24.4
[ 31.874] X.Org Server Extension : 10.0
[ 31.875] (–) using VT number 1
[ 31.875] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 31.876] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 31.876] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 31.878] (–) PCI: (1@0:0:0) 10de:0dfa:17aa:21d1 rev 161, Mem @ 0xf0000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x???/524288
[ 31.878] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 31.878] (II) LoadModule: “glx”
[ 31.879] (II) Loading /usr/lib/nvidia/xorg/libglx.so
[ 31.931] (II) Module glx: vendor=“NVIDIA Corporation”
[ 31.931] compiled for 4.0.2, module version = 1.0.0
[ 31.931] Module class: X.Org Server Extension
[ 31.931] (II) NVIDIA GLX Module 390.144 Wed Jun 2 23:02:00 UTC 2021
[ 31.937] (II) LoadModule: “nvidia”
[ 31.937] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 31.951] (II) Module nvidia: vendor=“NVIDIA Corporation”
[ 31.951] compiled for 4.0.2, module version = 1.0.0
[ 31.951] Module class: X.Org Video Driver
[ 31.951] ================ WARNING WARNING WARNING WARNING ================
[ 31.951] 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.
[ 31.951] =================================================================
[ 31.951] (EE) NVIDIA: Use the -ignoreABI option to override this check.
[ 31.951] (II) UnloadModule: “nvidia”
[ 31.951] (II) Unloading nvidia
[ 31.951] (EE) Failed to load module “nvidia” (unknown error, 0)
[ 31.951] (EE) No drivers available.
[ 31.951] (EE)
Fatal server error:
[ 31.951] (EE) no screens found(EE)
[ 31.951] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 31.951] (EE) Please also check the log file at “/var/log/Xorg.8.log” for additional information.
[ 31.951] (EE)
[ 31.951] (EE) Server terminated with error (1). Closing log file.

In /etc/bumblebee/xorg.conf.nvidia I added BusID "PCI:01:00:0" to Section "Device" which seems to have solved the problem for everyone else, but not for me.

Add:

Section “ServerFlags”
Option “IgnoreABI” “1”
EndSection

to /etc/bumblebee/xorg.conf.nvidia file.

That did the trick. Why is this option required now when it worked fine before?

see :https://forum.manjaro.org/t/stable-update-2021-11-19-kernels-gnome-41-1-plasma-5-23-3-frameworks-5-88-lxqt-1-0-xorg-server-21-1-mesa/91001#known-issues-and-solutions-1

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