Closed somewhatfrog closed 6 months ago
Try without mangohud,
Also make sure you have 32bit obs-vkcapture installed.
installed lib32-obs-vkcapture 1.4.7-1 tried without mangohud, same result same stuff in log
This would suggest you're missing 32bit lib, or for some reason it can't find it.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
Does env LD_PRELOAD=/usr/lib32/libobs_glcapture.so
work?
/bin/sh\0-c\0env LD_PRELOAD=/usr/lib32/libobs_glcapture.so obs-gamecapture taskset -c 0-11 /home/hello/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=108600 -- /home/hello/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/hello/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/hello/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 -- '/home/hello/.local/share/Steam/steamapps/common/ProjectZomboid/projectzomboid.sh' -Xmx24g\0
chdir "/home/hello/.local/share/Steam/steamapps/common/ProjectZomboid"
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.545.29.06 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/usr/lib/libfakeroot:/opt/intel/oneapi/compiler/latest/linux/lib:/opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64_lin:/opt/intel/oneapi/tbb/latest/lib/intel64/gcc4.8:/usr/lib32:/usr/lib/opencollada:/usr/lib:/home/hello/.local/share/Steam/steamapps/common/ProjectZomboid:/usr/$LIB", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
64-bit java detected
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/run/host/usr/lib32/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[S_API] SteamAPI_Init(): Loaded '/home/hello/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 108600
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561198044148998 [API loaded no]
what is weird though prior to last update it did work with this game even without the lib32-obs-vkcapture (not sure if matters but game is 64bit)
Edit: just tried with another native OGL game, same thing
Well if the game is 64bit then it doesn't matter if you have 32bit installed ans it shouldn't be used. Hard to say from the log which errors are actually from the game process.
/bin/sh\0-c\0obs-gamecapture taskset -c 0-11 /home/hello/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1055540 -- /home/hello/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/hello/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/hello/.local/share/Steam/steamapps/common/SteamLinuxRuntime'/scout-on-soldier-entry-point-v2 -- '/home/hello/.local/share/Steam/steamapps/common/A Short Hike/AShortHike.x86_64'\0
chdir "/home/hello/.local/share/Steam/steamapps/common/A Short Hike"
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/hello/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[2023-12-12 19:07:27] Manifest download: finished
[2023-12-12 19:07:27] Download skipped: /steam_client_ubuntu12?t=374259371 version 1702079146, installed version 1702079146, existing pending version 0
[2023-12-12 19:07:27] Nothing to do
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.545.29.06 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/usr/lib/libfakeroot:/opt/intel/oneapi/compiler/latest/linux/lib:/opt/intel/oneapi/compiler/latest/linux/compiler/lib/intel64_lin:/opt/intel/oneapi/tbb/latest/lib/intel64/gcc4.8:/usr/lib32:/usr/lib/opencollada:/usr/lib:/home/hello/.local/share/Steam/steamapps/common/A Short Hike:/usr/$LIB", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
pid 6441 != 6437, skipping destruction (fork without exec?)
pid 6446 != 6437, skipping destruction (fork without exec?)
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object 'libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
[UnityMemory] Configuration Parameters - Can be set up in boot.config
"memorysetup-bucket-allocator-granularity=16"
"memorysetup-bucket-allocator-bucket-count=8"
"memorysetup-bucket-allocator-block-size=4194304"
"memorysetup-bucket-allocator-block-count=1"
"memorysetup-main-allocator-block-size=16777216"
"memorysetup-thread-allocator-block-size=16777216"
"memorysetup-gfx-main-allocator-block-size=16777216"
"memorysetup-gfx-thread-allocator-block-size=16777216"
"memorysetup-cache-allocator-block-size=4194304"
"memorysetup-typetree-allocator-block-size=2097152"
"memorysetup-profiler-bucket-allocator-granularity=16"
"memorysetup-profiler-bucket-allocator-bucket-count=8"
"memorysetup-profiler-bucket-allocator-block-size=4194304"
"memorysetup-profiler-bucket-allocator-block-count=1"
"memorysetup-profiler-allocator-block-size=16777216"
"memorysetup-profiler-editor-allocator-block-size=1048576"
"memorysetup-temp-allocator-size-main=4194304"
"memorysetup-job-temp-allocator-block-size=2097152"
"memorysetup-job-temp-allocator-block-size-background=1048576"
"memorysetup-job-temp-allocator-reduction-small-platforms=262144"
"memorysetup-temp-allocator-size-background-worker=32768"
"memorysetup-temp-allocator-size-job-worker=262144"
"memorysetup-temp-allocator-size-preload-manager=262144"
"memorysetup-temp-allocator-size-nav-mesh-worker=65536"
"memorysetup-temp-allocator-size-audio-worker=65536"
"memorysetup-temp-allocator-size-cloud-worker=32768"
"memorysetup-temp-allocator-size-gfx=262144"
here's with another game
update: it starts to work if I run the second game "A short hike" without using compatibility tool "steam linux runtime 1.0 (scout)", but without it the first game in question "Project Zomboid" will constantly reset itself to using proton, because valve decided so it seems.
Fixed by using https://github.com/Scrumplex/Steam-Play-None instead of Steam Linux Runtime 1.0 (scout)
Can be closed I guess? Though I still don't understand why it stopped working at some point. Anyway, thank you!
Maybe the scout runtime overrides library path, try env LD_PRELOAD=/usr/lib/libobs_glcapture.so
i did it as well when you suggested to try env LD_PRELOAD=/usr/lib32/libobs_glcapture.so
to no success
Strange, but mangohud works? So it should be possible to make this work too.
yep
It works if you do cp /usr/lib32/libobs_glcapture.so /tmp
and then use env LD_PRELOAD=/tmp/libobs_glcapture.so %command%
.
obs-gamecapture works for glxgears as expected but stopped to work for the steam game
System (please complete the following information):
OBS log:
Game log: