Last updates. Primus (Bumblebee) and Civ6 (Steam)

Hi,

After last updates have been installed the Civ6 (Steam version) stops to run.

The outputs:

inxi -G
Graphics:  Device-1: Intel 4th Gen Core Processor Integrated Graphics driver: i915 v: kernel
           Device-2: NVIDIA GK208M [GeForce GT 740M] driver: nvidia v: 390.144
           Device-3: Realtek Integrated Camera type: USB driver: uvcvideo
           Display: server: X.Org 1.21.1.1 driver: loaded: nvidia note: n/a (using device driver) failed: nvidia
           resolution: 1920x1080
           OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) v: 4.5 Mesa 21.2.5

optirun -b none nvidia-settings -c :8
[ 2675.332305] [ERROR]Cannot access secondary GPU - error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

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

$ primusrun steam steam://rungameid/289070
steam.sh[3438]: Running Steam on manjarolinux 21.2.0 64-bit
steam.sh[3438]: STEAM_RUNTIME is enabled automatically
setup.sh[3511]: Steam runtime environment up-to-date!
run.sh[3538]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 139
steam.sh[3438]: Steam client's requirements are satisfied
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2021-11-21 12:51:22] Startup - updater built Nov 19 2021 20:59:37
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-21 12:51:22] Loading cached metrics from disk (/home/gray/.local/share/Steam/package/steam_client_metrics.bin)
[2021-11-21 12:51:22] Using the following download hosts for Public, Realm steamglobal
[2021-11-21 12:51:22] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-21 12:51:22] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-21 12:51:22] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-21 12:51:22] Verifying installation...
[2021-11-21 12:51:22] Verification complete
Failed to load steamui.so - dlerror(): /usr/lib32/primus/libGL.so.1: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEjjPKcj, version GLIBCXX_3.4.21
[2021-11-21 12:51:48] Shutdown

$ primusrun glxgears
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

Hi @gray380,

As per the latest update notifications:

Hope this helps.

Thank you for the hint, I’ll try it.
Meanwhile I’ve restored system (thanks to Timeshift) to 21.1.6 and now can run the Civ6.

Seems that workaround has been applied within updates:

$ cat /etc/X11/xorg.conf.d/30-nvidia-ignoreabi.conf
Section "ServerFlags"
        Option "IgnoreABI" "true"
EndSection

but still:

$ primusrun glxgears
primus: fatal: Bumblebee daemon reported: error: [XORG] (EE) NVIDIA: Use the -ignoreABI option to override this check.

Try

Option "IgnoreABI" "1"

As per the post.

Edit:

Or,

primusrun -ignoreABI glxgears

If that doesn’t work, I have no idea.

“true” and “1” has the same results.

$ primusrun -ignoreABI glxgears
/usr/bin/primusrun: line 43: exec: -i: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]

should be the other way to pass argument.

For the heck of it, because there is nothing to lose here, at this moment, try

primusrun --ignoreABI glxgears
$ primusrun --ignoreABI glxgears
/usr/bin/primusrun: line 43: exec: --: invalid option
exec: usage: exec [-cl] [-a name] [command [argument ...]] [redirection ...]

BTW, I’ve added ignoreABI to the /etc/bumblebee/xorg.conf.nvidia :

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

Section "Device"
    Identifier  "Device1"
    Driver      "nvidia"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
EndSection

Section "ServerFlags"
        Option "IgnoreABI" "1"
EndSection

and lost the device :wink:

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

Well, it’s a good thing I’m not a cricket player, because I’m stumped. Sorry.

Hope you manage, though.

After adding BusID:

$ cat  /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"
    VendorName "NVIDIA Corporation"
    Option "NoLogo" "true"
    Option "UseEDID" "false"
    Option "ConnectedMonitor" "DFP"
    BusID "PCI:01:00:0"
EndSection

Section "ServerFlags"
        Option "IgnoreABI" "true"
EndSection

I can successfully run primusrun glxgears.

But still have an issue with Steam:

$ LD_PRELOAD=/usr/lib/libfreetype.so.6   primusrun steam steam://rungameid/289070
steam.sh[2600]: Running Steam on manjarolinux 21.2.0 64-bit
steam.sh[2600]: STEAM_RUNTIME is enabled automatically
setup.sh[2673]: Steam runtime environment up-to-date!
run.sh[2700]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 139
grepgrep: : grep/home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libz.so.1/home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libz.so.1: : awk: /home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libz.so.1version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16): version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16): 
/home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu/libz.so.1
version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16): 
version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
/home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/steam-runtime-check-requirements: /home/gray/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/../lib/x86_64-linux-gnu/steam-runtime-tools-0/libz.so.1: version `ZLIB_1.2.9' not found (required by /usr/lib/libpng16.so.16)
steam.sh[2600]: steam-runtime-check-requirements failed with an unexpected nonzero exit status. Trying to continue
ERROR: ld.so: object '/usr/lib/libfreetype.so.6' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
WARNING: setlocale('en_US.UTF-8') failed, using locale: 'C'. International characters may not work.
[2021-11-21 14:59:22] Startup - updater built Nov 19 2021 20:59:37
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-21 14:59:22] Loading cached metrics from disk (/home/gray/.local/share/Steam/package/steam_client_metrics.bin)
[2021-11-21 14:59:22] Using the following download hosts for Public, Realm steamglobal
[2021-11-21 14:59:22] 1. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-21 14:59:22] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2021-11-21 14:59:22] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1637358733)
[2021-11-21 14:59:22] Verifying installation...
[2021-11-21 14:59:22] Verification complete
Failed to load steamui.so - dlerror(): /usr/lib32/primus/libGL.so.1: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEjjPKcj, version GLIBCXX_3.4.21
[2021-11-21 14:59:28] Shutdown

This is weird but I’ve started it with:

LD_PRELOAD=/usr/lib/libfreetype.so.6  optirun steam steam://rungameid/289070
1 Like

Well that’s good then!

you did have an issue … but …
you should not run steam with optirun, prime-run, whatever.
such things should be put in a game launch options exactly like this, assuming no other options:

optirun %command%

Same issue here after the last update. I have the Option "IgnoreABI" "true" in
30-nvidia-ignoreabi.conf as well as BusID in xorg.conf.nvidia already but primusrun glxgears does not work. Note however that the error speaks of “ignoreABI” whereas the “i” is capitalized in the file above. I tried changing case with no luck.

Please start a separate thread and provide the required information to get assistance. If applicable, see [HowTo] post screenshots and links.