Open DFelten opened 2 years ago
I remember seeing a similar issue months ago on Discord, we found out there was an unquoted $@
in ~/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh
and it was quickly fixed, maybe there's a similar issue in a script used by RA on the SteamDeck?
Thanks for the hint. Where can I find the associated scripts for the Steam version of RetroArch in the repository? Maybe someone will find a possible bug there.
That's a good question! I have absolutely no idea :x
Thanks to an answer on Reddit I also tried it with another core and there it worked. Then I noticed that my example rom has another problem.
It really wasn't the spaces, but another character in the rom name. I took a game with an apostrophe for testing. So the problem seems to be apostrophes and not spaces.
This seems to be an issue with Steam itself on linux. A ticket has been opened here for this purpose: https://github.com/ValveSoftware/steam-for-linux/issues/8662
I remember seeing a similar issue months ago on Discord, we found out there was an unquoted
$@
in~/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh
and it was quickly fixed, maybe there's a similar issue in a script used by RA on the SteamDeck?
RetroArch on the Steam Deck is not a special variant, it's just the Linux version. The issue occurs on a "regular" Linux install.
This seems to be an issue with Steam itself on linux. A ticket has been opened here for this purpose: https://github.com/ValveSoftware/steam-for-linux/issues/8662
I'm not so sure anymore. Running a simple executable like /home/silejonu/test'.sh
as a non-Steam game works as expected.
Here is the output from steam -applaunch 1118310 -L "/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so" "/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link's Awakening (France).zip"
:
steam.sh[93833]: Running Steam on arch rolling 64-bit
steam.sh[93833]: STEAM_RUNTIME is enabled automatically
setup.sh[93907]: Steam runtime environment up-to-date!
steam.sh[93833]: Steam client's requirements are satisfied
[2022-07-01 20:00:15] Startup - updater built Jun 7 2022 03:18:19
Installing breakpad exception handler for appid(steam)/version(1654574690)
[2022-07-01 20:00:15] Loading cached metrics from disk (/home/silejonu/.local/share/Steam/package/steam_client_metrics.bin)
[2022-07-01 20:00:15] Using the following download hosts for Public, Realm steamglobal
[2022-07-01 20:00:15] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-07-01 20:00:15] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-07-01 20:00:15] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1654574690)
[2022-07-01 20:00:15] Verifying installation...
[2022-07-01 20:00:15] Verification complete
Loaded SDL version 2.0.22-7215337
(steam:93968): Gtk-WARNING **: 20:00:15.324: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita-dark/gtk-2.0/main.rc:733: error: unexpected identifier 'direction', expected character '}'
(steam:93968): Gtk-WARNING **: 20:00:15.324: Unable to locate theme engine in module_path: "adwaita",
/usr/share/themes/Adwaita-dark/gtk-2.0/hacks.rc:28: error: invalid string constant "normal_entry", expected valid string constant
ComputeStartupMode: found registry default startup mode: 0steamwebhelper.sh[94013]: Runtime for steamwebhelper: defaulting to /home/silejonu/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1654574690)
steamwebhelper.sh[94013]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
CAppInfoCacheReadFromDiskThread took 181 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1654574690)
(steam:93968): Gtk-WARNING **: 20:00:16.159: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1654574690)
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
*** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
*** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
Installing breakpad exception handler for appid(steam)/version(1654574690)
roaming config store loaded successfully - 1723 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1654574690)
BRefreshApplicationsInLibrary 1: 41ms
Installing breakpad exception handler for appid(steam)/version(1654574690)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/silejonu/.local/share/Steam/ubuntu12_32/steam' '-applaunch' '1118310' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\''s Awakening (France).zip'"
System startup time: 3.44 seconds
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.739: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.740: Trying to remove a child that doesn't believe we're it's parent.
(steam:93968): LIBDBUSMENU-GLIB-WARNING **: 20:00:18.740: Trying to remove a child that doesn't believe we're it's parent.
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
BuildCompleteAppOverviewChange: 1113
(steam:93968): Gtk-WARNING **: 20:00:19.357: gtk_disable_setlocale() must be called before gtk_init()
RegisterForAppOverview 1: 82ms
RegisterForAppOverview 2: 84ms
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1118310, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1118310, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'\0
Game process added : AppID 1118310 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'", ProcID 94318, IP 0.0.0.0:0
chdir /home/silejonu/.local/share/Steam/steamapps/common/RetroArch
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip''
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
Game process removed: AppID 1118310 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'", ProcID 94318
Uploaded AppInterfaceStats to Steam
GameAction [AppID 1118310, ActionID 1] : LaunchApp changed task to Completed with ""
Installing breakpad exception handler for appid(steam)/version(1654574690)
Installing breakpad exception handler for appid(steam)/version(1654574690)
ExecuteSteamURL: "steam://open/games"
(steam:93968): Gtk-WARNING **: 20:00:41.340: gtk_disable_setlocale() must be called before gtk_init()
(steam:93968): Gtk-WARNING **: 20:00:41.365: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1654574690)
(steam:93968): Gtk-WARNING **: 20:00:43.126: gtk_disable_setlocale() must be called before gtk_init()
(steam:93968): Gtk-WARNING **: 20:00:43.130: gtk_disable_setlocale() must be called before gtk_init()
CAPIJobRequestUserStats - Server response failed 2
GameAction [AppID 4016342058, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
(steam:93968): Gtk-WARNING **: 20:00:50.422: gtk_disable_setlocale() must be called before gtk_init()
GameAction [AppID 4016342058, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 4016342058, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 4016342058, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 4016342058, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=4016342058 -- steam -applaunch 1118310 -L "/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so" "/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link's Awakening (France).zip"\0
Game process added : AppID 0 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=4016342058 -- steam -applaunch 1118310 -L "/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so" "/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link's Awakening (France).zip"", ProcID 94359, IP 0.0.0.0:0
chdir /home/silejonu/ROM/Game Boy/
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 4016342058, ActionID 2] : LaunchApp changed task to Completed with ""
(steam:93968): Gtk-WARNING **: 20:00:50.719: gtk_disable_setlocale() must be called before gtk_init()
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
(steam:93968): Gtk-WARNING **: 20:00:50.722: gtk_disable_setlocale() must be called before gtk_init()
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94361 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94365 != 94360, skipping destruction (fork without exec?)
pid 94367 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94369 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94372 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94378 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94377 != 94360, skipping destruction (fork without exec?)
pid 94376 != 94360, skipping destruction (fork without exec?)
pid 94381 != 94360, skipping destruction (fork without exec?)
pid 94380 != 94360, skipping destruction (fork without exec?)
pid 94375 != 94360, skipping destruction (fork without exec?)
pid 94383 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94382 != 94360, skipping destruction (fork without exec?)
pid 94386 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94385 != 94360, skipping destruction (fork without exec?)
pid 94389 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94388 != 94360, skipping destruction (fork without exec?)
pid 94393 != 94360, skipping destruction (fork without exec?)
pid 94392 != 94360, skipping destruction (fork without exec?)
pid 94391 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94397 != 94360, skipping destruction (fork without exec?)
pid 94396 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94420 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94419 != 94360, skipping destruction (fork without exec?)
pid 94418 != 94360, skipping destruction (fork without exec?)
pid 94423 != 94360, skipping destruction (fork without exec?)
pid 94422 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94424 != 94360, skipping destruction (fork without exec?)
pid 94417 != 94360, skipping destruction (fork without exec?)
steam.sh[94360]: Running Steam on arch rolling 64-bit
steam.sh[94360]: STEAM_RUNTIME has been set by the user to: /home/silejonu/.local/share/Steam/ubuntu12_32/steam-runtime
pid 94426 != 94360, skipping destruction (fork without exec?)
pid 94427 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94430 != 94429, skipping destruction (fork without exec?)
pid 94431 != 94429, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94434 != 94429, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ThreadGetProcessExitCode: no such process 94399
ThreadGetProcessExitCode: no such process 94398
ThreadGetProcessExitCode: no such process 94395
ThreadGetProcessExitCode: no such process 94394
ThreadGetProcessExitCode: no such process 94390
ThreadGetProcessExitCode: no such process 94387
ThreadGetProcessExitCode: no such process 94384
ThreadGetProcessExitCode: no such process 94379
ThreadGetProcessExitCode: no such process 94374
ThreadGetProcessExitCode: no such process 94373
ThreadGetProcessExitCode: no such process 94371
ThreadGetProcessExitCode: no such process 94370
ThreadGetProcessExitCode: no such process 94368
ThreadGetProcessExitCode: no such process 94366
ThreadGetProcessExitCode: no such process 94364
ThreadGetProcessExitCode: no such process 94363
ThreadGetProcessExitCode: no such process 94362
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ThreadGetProcessExitCode: no such process 94411
ThreadGetProcessExitCode: no such process 94410
ThreadGetProcessExitCode: no such process 94409
ThreadGetProcessExitCode: no such process 94408
ThreadGetProcessExitCode: no such process 94407
ThreadGetProcessExitCode: no such process 94406
ThreadGetProcessExitCode: no such process 94405
ThreadGetProcessExitCode: no such process 94404
ThreadGetProcessExitCode: no such process 94403
ThreadGetProcessExitCode: no such process 94402
ThreadGetProcessExitCode: no such process 94401
ThreadGetProcessExitCode: no such process 94400
setup.sh[94429]: Steam runtime environment up-to-date!
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94455 != 94454, skipping destruction (fork without exec?)
pid 94456 != 94454, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94460 != 94459, skipping destruction (fork without exec?)
pid 94461 != 94459, skipping destruction (fork without exec?)
pid 94464 != 94459, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94463 != 94459, skipping destruction (fork without exec?)
pid 94467 != 94459, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94466 != 94459, skipping destruction (fork without exec?)
pid 94470 != 94459, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 94469 != 94459, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ThreadGetProcessExitCode: no such process 94436
ThreadGetProcessExitCode: no such process 94435
ThreadGetProcessExitCode: no such process 94433
ThreadGetProcessExitCode: no such process 94432
ThreadGetProcessExitCode: no such process 94429
ThreadGetProcessExitCode: no such process 94428
ThreadGetProcessExitCode: no such process 94425
ThreadGetProcessExitCode: no such process 94421
ThreadGetProcessExitCode: no such process 94416
ThreadGetProcessExitCode: no such process 94415
ThreadGetProcessExitCode: no such process 94414
ThreadGetProcessExitCode: no such process 94413
pid 94472 != 94360, skipping destruction (fork without exec?)
pid 94487 != 94360, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
steam.sh[94360]: Steam client's requirements are satisfied
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ExecCommandLine: "'/home/silejonu/.local/share/Steam/ubuntu12_32/steam' '-applaunch' '1118310' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\''s Awakening (France).zip'"
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
ThreadGetProcessExitCode: no such process 94448
ThreadGetProcessExitCode: no such process 94447
ThreadGetProcessExitCode: no such process 94446
ThreadGetProcessExitCode: no such process 94445
ThreadGetProcessExitCode: no such process 94444
ThreadGetProcessExitCode: no such process 94443
ThreadGetProcessExitCode: no such process 94442
ThreadGetProcessExitCode: no such process 94441
ThreadGetProcessExitCode: no such process 94440
ThreadGetProcessExitCode: no such process 94439
ThreadGetProcessExitCode: no such process 94438
ThreadGetProcessExitCode: no such process 94437
ThreadGetProcessExitCode: no such process 94360
Game process removed: AppID 0 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=4016342058 -- steam -applaunch 1118310 -L "/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so" "/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link's Awakening (France).zip"", ProcID 94359
Uploaded AppInterfaceStats to Steam
(steam:93968): Gtk-WARNING **: 20:00:52.282: gtk_disable_setlocale() must be called before gtk_init()
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 1118310, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 1118310, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'\0
Game process added : AppID 1118310 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'", ProcID 94490, IP 0.0.0.0:0
chdir /home/silejonu/.local/share/Steam/steamapps/common/RetroArch
ERROR: ld.so: object '/home/silejonu/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip''
Game process removed: AppID 1118310 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'", ProcID 94490
Uploaded AppInterfaceStats to Steam
GameAction [AppID 1118310, ActionID 3] : LaunchApp changed task to Completed with ""
Maybe I'm wrong, but the double \
don't seem right in Game process added : AppID 1118310 "/home/silejonu/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1118310 -- '/home/silejonu/.local/share/Steam/steamapps/common/RetroArch/retroarch.sh' '-L' '/home/silejonu/.steam/steam/steamapps/common/RetroArch/cores/sameboy_libretro.so' '/home/silejonu/ROM/Game Boy/Legend of Zelda, The - Link'\\''s Awakening (France).zip'", ProcID 94490, IP 0.0.0.0:0
Is it trying to escape the single quote twice?
RetroArch on the Steam Deck is not a special variant, it's just the Linux version. The issue occurs on a "regular" Linux install.
At least the Flatpak version seems to behave differently than the Steam version of RetroArch. With the Flatpak variant the same rom can be started despite the apostrophe:
"/usr/bin/flatpak" run org.libretro.RetroArch -L /snes9x_libretro.so "/run/media/mmcblk0p1/Emulation/roms/snes/Super Mario World 2 - Yoshi's Island (USA).sfc"
Description
Currently it seems not to be possible to run roms via terminal or as a non steam game on the StamDeck when the rom name contains an apostrophe.
Working with a rom without an apostrophe (
Super_Mario_World_2_-_Yoshis_Island_(USA).sfc
):Not working with a rom with an apostrophe (
Super Mario World 2 - Yoshi's Island (USA).sfc
):The same behavior occurs with all roms that contain apostrophes. Related discussion on Reddit.
Expected behavior
Rom should start via Steam with RetroArch.
Actual behavior
Steam starts, but nothing happens. RetroArch does not start and therefore the game does not start.
Output in the terminal:
Steps to reproduce the bug
steam -applaunch 1118310 -L "/run/media/mmcblk0p1/steamapps/common/RetroArch/cores/snes9x\_libretro.so" "/run/media/mmcblk0p1/Emulation/roms/snes/Super Mario World 2 - Yoshi's Island (USA).sfc"
Version/Commit
You can find this information under Information/System Information
Environment information