colinmarc / magic-mirror

A magical game streaming and remote desktop tool for Linux
83 stars 0 forks source link

Steam refuses to launch with `-steamos` #30

Open purekillma opened 2 weeks ago

purekillma commented 2 weeks ago

Server OS: Ubuntu 24.04.1 Server Version: 0.5

Client Version: 0.3 Client Platform: Mac (M1 Arm)

Timeout trying to launch steam with default steambigpicture toml

Any help would be appreciated, thanks!

magic-mirror-42d969ee-1dbf-4fb2-bb72-d8e712501f47.zip

colinmarc commented 2 weeks ago

Is the timeout on the client or the server? What is exactly the error? How long is the pause while nothing happens?

Do you happen to have a - in your server hostname?

colinmarc commented 2 weeks ago

The warning is coming from here: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gdk/wayland/gdkdisplay-wayland.c#L668

Not clear if it's what's causing the issue, but it's a reasonably easy fix.

colinmarc commented 2 weeks ago

I've pushed a new server (0.5.1) and client (0.4.0), each of which may have the fix for this. Please let me know if that helps.

purekillma commented 2 weeks ago

I have updated to newest server and client.

I am not getting client exited without doing anything

magic-mirror-e2ef6f8e-f614-4584-8049-16cbb652f2a2.zip

colinmarc commented 2 weeks ago

If you look at child.log, your steam install seems unhappy:

steam.sh[1]: Running Steam on ubuntu 24.04 64-bit
steam.sh[1]: STEAM_RUNTIME is enabled automatically
setup.sh[117]: Steam runtime environment up-to-date!
/home/ben/.local/share/Steam/ubuntu12_32/steam-runtime/run.sh: line 85: steam-runtime-identify-library-abi: command not found
run.sh[129]: steam-runtime-identify-library-abi --ldconfig-paths failed, falling back to ldconfig
steam.sh[1]: Couldn't find /home/ben/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin/srt-logger, logging to console-linux.txt
steam.sh[1]: Can't find 'steam-runtime-check-requirements', continuing anyway
[2024-10-18 14:29:39] Startup - updater built Jul 16 2024 23:21:18
[2024-10-18 14:29:39] Startup - Steam Client launched with: '/home/ben/.local/share/Steam/ubuntu12_32/steam'
ILocalize::AddFile() failed to load file "public/steambootstrapper_english.txt".
src/steamexe/updateui_xwin.cpp (1466) : BFileExists( m_FontFileRegular )
src/steamexe/updateui_xwin.cpp (1466) : BFileExists( m_FontFileRegular )
10/18 14:29:39 minidumps folder is set to /tmp/dumps
10/18 14:29:39 Init: Installing breakpad exception handler for appid(steam)/version(1.0)/tid(167)
assert_20241018142939_3.dmp[170]: Uploading dump (out-of-process)
/tmp/dumps/assert_20241018142939_3.dmp
src/steamexe/updateui_xwin.cpp (1467) : BFileExists( m_FontFileLight )
src/steamexe/updateui_xwin.cpp (1467) : BFileExists( m_FontFileLight )
10/18 14:29:39 minidumps folder is set to /tmp/dumps
10/18 14:29:39 Init: Installing breakpad exception handler for appid(steam)/version(1.0)/tid(167)
assert_20241018142939_3.dmp[170]: Finished uploading minidump (out-of-process): success = no
assert_20241018142939_3.dmp[170]: error: libcurl.so: cannot open shared object file: No such file or directory
assert_20241018142939_3.dmp[170]: file ''/tmp/dumps/assert_20241018142939_3.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
assert_20241018142939_6.dmp[173]: Uploading dump (out-of-process)
/tmp/dumps/assert_20241018142939_6.dmp
10/18 14:29:39 minidumps folder is set to /tmp/dumps
10/18 14:29:39 Init: Installing breakpad exception handler for appid(steam)/version(0)/tid(167)
src/steamexe/updateui_xwin.cpp (341) : Could not open connection to X
src/steamexe/updateui_xwin.cpp (341) : Could not open connection to X
10/18 14:29:39 Init: Installing breakpad exception handler for appid(steam)/version(1.0)/tid(167)
execl failed, errno 2
assert_20241018142939_6.dmp[173]: Finished uploading minidump (out-of-process): success = no
assert_20241018142939_6.dmp[173]: error: libcurl.so: cannot open shared object file: No such file or directory
assert_20241018142939_6.dmp[173]: file ''/tmp/dumps/assert_20241018142939_6.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
assert_20241018142939_10.dmp[177]: Uploading dump (out-of-process)
/tmp/dumps/assert_20241018142939_10.dmp
src/steamexe/main.cpp (1299) : failed to initialize update status ui, or create initial window
src/steamexe/main.cpp (1299) : failed to initialize update status ui, or create initial window
10/18 14:29:39 Init: Installing breakpad exception handler for appid(steam)/version(1.0)/tid(167)
assert_20241018142939_10.dmp[177]: Finished uploading minidump (out-of-process): success = no
assert_20241018142939_10.dmp[177]: error: libcurl.so: cannot open shared object file: No such file or directory
assert_20241018142939_10.dmp[177]: file ''/tmp/dumps/assert_20241018142939_10.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''
assert_20241018142939_13.dmp[180]: Uploading dump (out-of-process)
/tmp/dumps/assert_20241018142939_13.dmp
assert_20241018142939_13.dmp[180]: Finished uploading minidump (out-of-process): success = no
assert_20241018142939_13.dmp[180]: error: libcurl.so: cannot open shared object file: No such file or directory
assert_20241018142939_13.dmp[180]: file ''/tmp/dumps/assert_20241018142939_13.dmp'', upload no: ''libcurl.so: cannot open shared object file: No such file or directory''

This is probably somehow related to the new container stuff, though. Are you using isolate_home = false?

colinmarc commented 2 weeks ago

Are you using isolate_home = false?

Sorry, this is actually in the trace log. It looks like it's running out of /home/ben/.local/share/mmserver/homes/steam-bigpicture, but looking for stuff in your real $HOME for some reason.

Does using isolate_home = false fix it? Even if so, this still seems to be a bug somewhere.

EDIT: you could also try deleting /home/ben/.local/share/mmserver/homes/steam-bigpicture and see if that fixes anything.

colinmarc commented 1 week ago

I'm able to reproduce this with the combination of isolate_home = true and the -steamos flag to steam. As a workaround, you should be able to change either and it'll work.

purekillma commented 1 week ago

Unfortunately still not working, the first launch I saw the updating steam on the client, but then I think it timed out (said waiting for server in the bottom right)

Then on launches afterwards I get

server: failed to launch session: client exited without doing anything client: failed to attach to session: ERROR_SESSION_LAUNCH_FAILED

colinmarc commented 1 week ago

You might have to blow away the install directory if it failed to bootstrap (rm -r /home/ben/.local/share/mmserver/homes/steam-bigpicture). If that doesn't work, please upload another bug report zip.