Turing-Complete-Game / Suggestions-and-Issues

0 stars 0 forks source link

[Bug]: unable to start the game in steam flatpak #11

Open ShatteredMINT opened 1 month ago

ShatteredMINT commented 1 month ago

Discord Thread

https://discord.com/channels/828292123936948244/1264155101971480576

What happened?

game does not progress past opening the main window (without any content displayed) this is most likely due to the game trying to start terminals, which are not available in the steam flatpak

relevant part of steam log:

Godot Engine v3.4.2.stable.custom_build - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES Batching: ON

Setting breakpad minidump AppID = 1444480
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198382488459 [API loaded no]
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
sh: line 1: gnome-terminal: command not found
Adding process 495 for gameID 1444480

complete steam log:

INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/shatteredmint/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Europe/Berlin
DEBUG:root:Addding /usr/lib/extensions/vulkan/gamescope/bin to PATH
steam.sh[2]: Running Steam on org.freedesktop.platform 23.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[75]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2024-07-20 13:23:43] Startup - updater built Jul 16 2024 23:21:18
[2024-07-20 13:23:43] Startup - Steam Client launched with: '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-srt-logger-opened' '-no-cef-sandbox'
07/20 13:23:43 minidumps folder is set to /tmp/dumps
07/20 13:23:43 Init: Installing breakpad exception handler for appid(steam)/version(1721173382)/tid(136)
[2024-07-20 13:23:43] Loading cached metrics from disk (/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2024-07-20 13:23:43] Using the following download hosts for Public, Realm steamglobal
[2024-07-20 13:23:43] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2024-07-20 13:23:43] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2024-07-20 13:23:43] 3. https://cdn.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
[2024-07-20 13:23:43] Verifying installation...
[2024-07-20 13:23:43] Verification complete
UpdateUI: skip show logo
Steam logging initialized: directory: /home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/logs

(process:136): GLib-GIO-WARNING **: 13:23:43.448: Can't find module 'dconf' specified in GSETTINGS_BACKEND
XRRGetOutputInfo Workaround: initialized with override: 0 real: 0xf0af68f0
XRRGetCrtcInfo Workaround: initialized with override: 0 real: 0xf0af51c0
CAppInfoCacheReadFromDiskThread took 36 milliseconds to initialize
Steam Runtime Launch Service: starting steam-runtime-launcher-service
Steam Runtime Launch Service: steam-runtime-launcher-service is running pid 170
bus_name=com.steampowered.PressureVessel.LaunchAlongsideSteam
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
DRM kernel driver 'nvidia-drm' in use. NVK requires nouveau.
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 157 apps
RegisterForAppOverview 1: 11ms
RegisterForAppOverview 2: 11ms
chdir "/home/shatteredmint/games/steam/SteamLibrary/steamapps/common/Turing Complete"
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
Adding process 482 for gameID 1444480
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Adding process 483 for gameID 1444480
WARNING: discarding _NET_WM_PID 1284 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 7 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 1284 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
WARNING: discarding _NET_WM_PID 7 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
Godot Engine v3.4.2.stable.custom_build - https://godotengine.org
pid 485 != 483, skipping destruction (fork without exec?)
Godot Engine v3.4.2.stable.custom_build - https://godotengine.org
pid 486 != 483, skipping destruction (fork without exec?)
GameOverlay: started '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayui' (pid 492) for game process 483
07/20 13:24:18 minidumps folder is set to /tmp/dumps
07/20 13:24:18 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20240716232148)/tid(492)
07/20 13:24:18 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(492)
[S_API] SteamAPI_Init(): Loaded '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/linux64/steamclient.so' OK.
Godot Engine v3.4.2.stable.custom_build - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 2060/PCIe/SSE2
OpenGL ES Batching: ON

Setting breakpad minidump AppID = 1444480
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198382488459 [API loaded no]
ERROR: ld.so: object '/home/shatteredmint/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
sh: line 1: gnome-terminal: command not found
Adding process 495 for gameID 1444480
[2024-07-20 13:25:44] Background update loop checking for update. . .
[2024-07-20 13:25:44] Checking for available updates...
[2024-07-20 13:25:44] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12?t=1056471883
[2024-07-20 13:25:44] Manifest download: send request
[2024-07-20 13:25:44] Manifest download: waiting for download to finish
[2024-07-20 13:25:45] Manifest download: finished
[2024-07-20 13:25:45] Download skipped: /steam_client_ubuntu12?t=1056471883 version 1721173382, installed version 1721173382, existing pending version 0
[2024-07-20 13:25:45] Nothing to do
SIGINT: Interrupted by Ctrl-C.
Game 1444480 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 1444480 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 1444480 created interface SteamFriends017 / 
Game 1444480 created interface SteamUser021 / 
Game 1444480 created interface SteamUser021 / User
Game 1444480 created interface SteamUtils010 / 
Game 1444480 method call count for IClientUserStats::RequestCurrentStats : 1
Game 1444480 method call count for IClientUtils::RecordSteamInterfaceCreation : 7
Game 1444480 method call count for IClientUtils::GetSteamUILanguage : 1
Game 1444480 method call count for IClientUtils::GetAppID : 9
Game 1444480 method call count for IClientFriends::GetPersonaName : 1
Game 1444480 method call count for IClientUser::BIsSubscribedApp : 1
Game 1444480 method call count for IClientUser::GetAuthSessionTicket : 1
Game 1444480 method call count for IClientUser::GetSteamID : 2
Game 1444480 method call count for IClientUser::BLoggedOn : 1
Uploaded AppInterfaceStats to Steam
Removing process 495 for gameID 1444480
Removing process 483 for gameID 1444480
Removing process 482 for gameID 1444480

(process:492): GLib-GObject-CRITICAL **: 13:57:47.762: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[2024-07-20 13:57:51] Shutdown

Version

branch save_breaker (main menu is not accessible)

What OSes are you seeing the problem on?

Linux

Relevant debug.log output, search next to the exectuable

Godot Engine v3.4.2.stable.custom_build - https://godotengine.org
Godot Engine v4.4.2.stable.custom_build - https://godotengine.org
ShatteredMINT commented 1 month ago

currently installing gnome-terminal to test if that solves the issue

ShatteredMINT commented 1 month ago

installing gnome-terminal does not fix the issue, since system applications are inaccessible from inside the flatpak sandbox

McModknower commented 1 month ago

Copied my message from the discord thread:

im running steam on linux mint via apt and it also does not start for me. The debug.log also just contains the two lines. In the steam log it looks like the ld.so object errors alse were there in the normal version of tc. However sh: 1: gnome-terminal: not found only appeared later, probably when i finally got the right beta.

After installing gnome-terminal i get two interesting messages in there:

./simulator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./simulator)
./simulator: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./simulator)

my libc version is 2.31 (i'm on mint 20.3, which is based on ubuntu 20.04 and probably won't be updating it in the near future because university)

It might work if similator is compiled on a system with glibc <= 2.31 for me.

on ubuntu you can see the glibc version by checking the package version of libc6, for example via apt show libc6

McModknower commented 1 month ago

Copied my message from the discord thread:

Also it looks like simulator is the only file that needs that glibc version, the output of ldd for libbackend.so, libsteam_api.so, and Turing Complete.x86_64 does not contain these two messages.