Could be some 32 bit NVIDIA files missing, steam is 32 bit. Regards, Christian
On 2022-03-27 13:03 UTC+0200, Jonathan Marquardt wrote: > Hi! > > I have a Dell XPS 15 with a dedicated NVIDIA GPU and I have a working > bumblebee setup. It works with all kinds of games, except for steam ones. > I'm trying to run Proton games with primusrun but it somehow doesn't work. > Here's an example with Battlefield V: > > Game process added : AppID 1238810 "primusrun > /home/parckwart/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch > AppId=1238810 -- > '/home/parckwart/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point > --verb=waitforexitandrun -- > '/home/parckwart/.steam/debian-installation/steamapps/common/Proton > 7.0'/proton waitforexitandrun > 'link2ea://launchgame/1238810?platform=steam&theme=bfv'", ProcID 30792, IP > 0.0.0.0:0 > chdir /home/parckwart/.steam/debian-installation/steamapps/common/Battlefield > V > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_64/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored. > GameAction [AppID 1238810, ActionID 1] : LaunchApp changed task to > WaitingGameWindow > with "" > GameAction [AppID 1238810, ActionID 1] : LaunchApp changed task to Completed > with "" > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. > ERROR: ld.so: object > '/home/parckwart/.steam/debian-installation/ubuntu12_32/gameoverlayrenderer.so' > from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. > pid 30807 != 30804, skipping destruction (fork without exec?) > primus: fatal: failed to load any of the libraries: > /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1:/usr/lib/i386-linux-gnu/nvidia/libGL.so.1:/usr/lib/x86_64-linux-gnu/libGL.so.1:/usr/lib/i386-linux-gnu/libGL.so.1 > /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: > No such > file or directory > /usr/lib/i386-linux-gnu/nvidia/libGL.so.1: cannot open shared object file: No > such file or directory > /usr/lib/x86_64-linux-gnu/libGL.so.1: cannot open shared object file: No such > file or directory > /usr/lib/i386-linux-gnu/libGL.so.1: cannot open shared object file: No such > file or directory > Game process removed: AppID 1238810 "primusrun > /home/parckwart/.steam/debian-installation/ubuntu12_32/reaper SteamLaunch > AppId=1238810 -- > '/home/parckwart/.steam/debian-installation/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point > --verb=waitforexitandrun -- > '/home/parckwart/.steam/debian-installation/steamapps/common/Proton > 7.0'/proton waitforexitandrun > 'link2ea://launchgame/1238810?platform=steam&theme=bfv'", ProcID 30792 > ThreadGetProcessExitCode: no such process 30805 > ThreadGetProcessExitCode: no such process 30804 > ThreadGetProcessExitCode: no such process 30795 > > > This happens regardless if I run Steam with primusrun or set the launch > options of the game itself in Steam to use primusrun. > > I don't really know why Steam is complaining about these missing shared > object files since two of them clearly exist on my system: > > $ ls -al /usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1 > /usr/lib/i386-linux-gnu/nvidia/libGL.so.1 > /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so.1 > ls: cannot access '/usr/lib/x86_64-linux-gnu/nvidia/libGL.so.1': No such file > or directory > ls: cannot access '/usr/lib/i386-linux-gnu/nvidia/libGL.so.1': No such file > or directory > lrwxrwxrwx 1 root root 48 Mar 23 13:06 /usr/lib/i386-linux-gnu/libGL.so.1 -> > /etc/alternatives/glx--libGL.so.1-i386-linux-gnu > lrwxrwxrwx 1 root root 50 Mar 23 12:49 /usr/lib/x86_64-linux-gnu/libGL.so.1 > -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu > > Can someone tell me a solution? > > Thank you very much! > -- http://www.cb-fraggle.de