You are not logged in.

#1 2024-11-06 11:58:57

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

[SOLVED] Steam opens and immediately closes constantly

Post is kinda lengthy, sorry for that
I am using Arch Linux with Hyprland WM.

I installed Steam via pacman and when running it for the 1st time it opened up completely fine, was able to play a game and all.
After a reboot, though, when I ran steam it opened up and immediately closed, but not crashed: it kept relaunching and closing until I killed the process manually.
XWayland is installed
Liberation font is installed

I tried native and a flatpak versions, but they did the same thing. There's a forum post (https://bbs.archlinux.org/viewtopic.php?id=294018) with such a problem, but it had no help for me, unfortunately (nor its sequel: https://bbs.archlinux.org/viewtopic.php?id=294041 )

I checked the missing runtime libraries and that was the output:
d-arrow@DiamondArrow  ~  cd ~/.steam/root/ubuntu12_32 && file * | grep ELF | cut -d: -f1 | LD_LIBRARY_PATH=. xargs ldd | grep 'not found' | sort | uniq
    libgtk-x11-2.0.so.0 => not found
    libnm.so.0 => not found
    libopenal.so.1 => not found
    libpipewire-0.3.so.0 => not found
    libpulse.so.0 => not found
    libSM.so.6 => not found
    libva.so.2 => not found
    libvdpau.so.1 => not found
    libXinerama.so.1 => not found
    libXtst.so.6 => not found

Though when I went to install (most of) these libs, I got this:
d-arrow@DiamondArrow  ~  sudo pacman -S libnm openal libpipewire libpulse libsm libva libvdpau libxtst
    warning: libnm-1.50.0-1 is up to date -- reinstalling
    warning: openal-1.23.1-2 is up to date -- reinstalling
    warning: libpipewire-1:1.2.6-1 is up to date -- reinstalling
    warning: libpulse-17.0-3 is up to date -- reinstalling
    warning: libsm-1.2.4-2 is up to date -- reinstalling
    warning: libva-2.22.0-1 is up to date -- reinstalling
    warning: libvdpau-1.5-3 is up to date -- reinstalling
    warning: libxtst-1.2.5-1 is up to date -- reinstalling

Here's the fetch of my system:
OS: Arch Linux x86_64
Bios (UEFI): 1.00 (1.0)
Bootmgr: arch - grubx64.efi
Board: BRN-FXXC-PCB (M1030)
Kernel: Linux 6.11.6-arch1-1
Init System: systemd 256.7-1-a
Packages: 1114 (pacman), 12 (flatpak)
Shell: zsh 5.9
Display (BOE0C5F): 1920x1200 @ 60 Hz in 16" [Built-in]
Monitor (BOE0C5F): 1920x1200 px @ 60.002 Hz - 350x220 mm (16.28 inches, 139.11 ppi)
WM: Hyprland (Wayland)
CPU: 12th Gen Intel(R) Core(TM) i5-12450H (8+4) @ 4.40 GHz - 37.0°C
GPU: Intel UHD Graphics (48) @ 1.20 GHz [Integrated]
Locale: en_US.UTF-8
Vulkan: 1.3.289 - Intel open-source Mesa driver [Mesa 24.2.6-arch1.1]
OpenGL: 4.6 (Compatibility Profile) Mesa 24.2.6-arch1.1
Sound: Alder Lake PCH-P High Definition Audio Controller Speaker (50%)

Paste with the output of using " steam-runtime --reset ": https://pastebin.com/8gQwJVsy

Please let me know if you need more info

Last edited by Diamond Arrow (2024-11-08 10:40:41)

Offline

#2 2024-11-06 13:24:29

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

https://bbs.archlinux.org/viewtopic.php … 5#p2206875

Though there's nothing like "assert_20241103174644_30.dmp[4020]: Uploading dump (out-of-process)" in your journal.

Offline

#3 2024-11-06 15:14:27

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

Okay, my bad

I did the "DEBUGGER=gdb steam" command and the logs at the Steam directory got something stored in them (they did not have anything previously, last time I checked)

I'll upload them when I'm done looking at them

UPD: nope, they definitely had information in them before...

Last edited by Diamond Arrow (2024-11-06 15:17:03)

Offline

#4 2024-11-06 16:12:28

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

So... I haven't found anything similar to the "assert_20241103174644_30.dmp[4020]: Uploading dump (out-of-process)". My Steam does not crash, it... well, bootloops, I guess, and I have to pull another terminal to kill it


I looked at the logs and found the more interesting (and probably the more relevant) ones:

DEBUGGER=gdb steam output: https://pastebin.com/2v4mZb2A
cef_log.txt: https://pastebin.com/d54W163C
webhelper.txt: https://pastebin.com/AfwzpEEb
webhelper-linux.txt: https://pastebin.com/JS87wuKK
systemmanager.txt: https://pastebin.com/wCYwqcGr

Offline

#5 2024-11-06 16:49:27

dercommander323
Member
Registered: 2024-11-06
Posts: 2

Re: [SOLVED] Steam opens and immediately closes constantly

Having pretty much the exact same issue. Also Arch with Hyprland, steamwebhelper does not want to start, and produces the same log output as linked in the original post. However I am on and AMD APU (Steam Deck) and using linux-zen 6.11.6, and running the command for missing libraries prints nothing (there are none missing).

Offline

#6 2024-11-07 19:21:15

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

https://github.com/ValveSoftware/steam- … sues/10560
Are there any symlinks involved?

https://www.reddit.com/r/hyprland/comme … _floating/
Do you have the issue w/ any non-tiling WM (openbox? weston? https://bbs.archlinux.org/viewtopic.php … 3#p2206503 only checked i3 and sway what't not helpful itr)

https://forums.gentoo.org/viewtopic-p-8 … 64#8810968
https://github.com/ValveSoftware/steam- … sues/10554

printenv | grep -E '(SDL|DISPLAY)'
pacman -Qs xwayland

Last edited by seth (2024-11-08 08:26:25)

Offline

#7 2024-11-08 07:55:30

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

I don't use any other disks, only the SSD my laptop has, there should be no problem with symlinks... Right?

I tried with the XFCE desktop environment and it bootlooped there as well (pretty nice DE, btw, should try it at some point).

The "printenv | grep '(SDL|DISPLAY)' " returned nothing to console


I'll try that config change from the Gentoo post, I'll see if it changes anything

UPD: it didn't work, sadly

Last edited by Diamond Arrow (2024-11-08 08:07:21)

Offline

#8 2024-11-08 08:26:10

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

don't use any other disks, only the SSD my laptop has, there should be no problem with symlinks... Right?

I don't think this is about device crossing, the implementation apparently cannot follow symlinks at all, so even just  ~/.steam being a symlink to the nex-door  ~/.steam.old or so would throw it off.

The "printenv | grep '(SDL|DISPLAY)' " returned nothing to console

This is relevant in the GUI context (hyprland, xfce) and, my bad:

printenv | grep -E '(SDL|DISPLAY)'

But it's not an xwayland problem if you fail on xfce as well

Edit: just a hunch, https://bbs.archlinux.org/viewtopic.php … 5#p2207315

Last edited by seth (2024-11-08 09:08:05)

Offline

#9 2024-11-08 09:08:04

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

So, I looked at the symlinks via "ls" and I got no .steam.old directory. Kinda concerning...

This is all in the home directory:

d-arrow@DiamondArrow  ~  ls -la | grep -iE steam
drwxr-xr-x  3 d-arrow d-arrow   4096 Nov  8 15:13 .steam
lrwxrwxrwx  1 d-arrow d-arrow     32 Nov  8 15:12 .steampath -> /home/d-arrow/.steam/sdk32/steam
lrwxrwxrwx  1 d-arrow d-arrow     30 Nov  8 15:12 .steampid -> /home/d-arrow/.steam/steam.pid

This is in /usr/bin one:

d-arrow@DiamondArrow  /usr/bin  ls -la | grep -iE steam
lrwxrwxrwx 1 root root          22 Aug 22 16:52 steam -> /usr/bin/steam-runtime
-rwxr-xr-x 1 root root         745 Nov  1 05:16 steamcmd
lrwxrwxrwx 1 root root          13 Aug 22 16:52 steamdeps -> /usr/bin/true
-rwxr-xr-x 1 root root          41 Aug 22 16:52 steam-runtime

And just in case, the printenv thing:

d-arrow@DiamondArrow  ~  printenv | grep -E '(SDL|DISPLAY)'
WAYLAND_DISPLAY=wayland-1
DISPLAY=:0

Offline

#10 2024-11-08 09:11:38

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

Kinda concerning...

No, that was just some very random example to point out that it's not about device crossings. The symlink would not have to be immediately in $HOME either but could be inside ~/.steam.

Because of the cross-talk:

Offline

#11 2024-11-08 09:47:34

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

Checked the entire FF problem thread

I had the Bottles installed, but deleting them did not fix the problem

I have the Graphite-purple-Dark GTK theme by default. Changing it to another one (Adwatia-dark) did not do anything

I have observed an interesting behaviour, though. When I am not focused on the Steam window after it bootlooped once (it's a choose account one, where it says "Who's playing?", but it did with any other Steam window anyway), it doesn't close, but as I focus on the window, it quickly starts the bootlooping process again.

xwininfo is an X11 utility, so I'll have to look at how hyprctl works, so I'll post about whatever happens later

Offline

#12 2024-11-08 09:56:19

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

Focus w/ the mouse?
https://bbs.archlinux.org/viewtopic.php … 1#p2082761
The normal adwaita cursor theme is explicitly incomplete, don't is equivalent but used to be complete.

Offline

#13 2024-11-08 10:08:20

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

seth wrote:

Focus w/ the mouse?

I focused with the mouse and with the keyboard, but since it just moves the cursor to the window, I'll presume it's the same function. Yes, with the mouse.

Checked the GTK settings, yes, it's the Adwatia cursor.


...If that will be the culprit, then I never thought that riced desktop is so essential to some programs

Offline

#14 2024-11-08 10:36:32

Diamond Arrow
Member
From: Siberia
Registered: 2024-11-03
Posts: 8

Re: [SOLVED] Steam opens and immediately closes constantly

IT IS FREAKING IMPOSSIBE. I REFUSE TO BELIEVE THAT.

Sorry for loudness, I kept myself from swearing... I switched an Xcursor theme, and it works now. Steam doesn't bootloop anymore.

Huge thanks to you, comrade, I was not ready for such an Average Linux Experience (just a joke, Linux is pretty nice). Now I know that ricing isn't just for cool looks.

While all these logs were completely useless after all, it was a nice learning experience and my entry to Arch forums as well.

Going to mark this as [SOLVED], thank you again.

If anything else happens again to my steam, I'll post it in more relevant Multimedia and Games topic...

Though, it's still a mystery why it was able to boot for the 1st time... Whatever, if it works, don't touch it.

Last edited by Diamond Arrow (2024-11-08 10:37:55)

Offline

#15 2024-11-08 13:44:10

seth
Member
Registered: 2012-09-03
Posts: 59,328

Re: [SOLVED] Steam opens and immediately closes constantly

It's either a "regression" in steam for selecting the "wrong" cursor shape or Adwaita removed more variants.
The insanity to deliberately break the Adwaita cursor theme compatibility because "we don't care about anything that's not a gnome core application" is a relatively recent brain-malfunction in the gnome bubble…

Offline

#16 2024-11-08 14:01:08

dercommander323
Member
Registered: 2024-11-06
Posts: 2

Re: [SOLVED] Steam opens and immediately closes constantly

Problem solved for me: Apparently, SDL decided it no longer wants to accept a comma-separated list as the value for SDL_VIDEODRIVER, and I had it set to 'windows,wayland,x11' for games to load correctly, which caused Steam's window creation to fail completely.

Edit: I meant to post this 2 days ago. Woops.

Last edited by dercommander323 (2024-11-08 14:03:16)

Offline

#17 2024-11-17 15:11:11

fewless
Member
Registered: 2024-11-17
Posts: 1

Re: [SOLVED] Steam opens and immediately closes constantly

dercommander323 wrote:

Problem solved for me: Apparently, SDL decided it no longer wants to accept a comma-separated list as the value for SDL_VIDEODRIVER, and I had it set to 'windows,wayland,x11' for games to load correctly, which caused Steam's window creation to fail completely.

Edit: I meant to post this 2 days ago. Woops.

where do you find this SDL_VIDEODRIVER parameter?

Offline

#18 2024-11-17 15:12:58

seth
Member
Registered: 2012-09-03
Posts: 59,328

Offline

#19 Yesterday 22:41:31

EOSRX24
Member
Registered: Yesterday
Posts: 1

Re: [SOLVED] Steam opens and immediately closes constantly

I was having this same issue for a long time, and finding this and trying it out myself on my computer(changing mouse themes on hyprland with hyprcursor and setting the equivalent for xcursor too), and seeing that it worked made me extremely happy. Thank you so much, and I'll admit that I would never have thought that mouse theming would make steam continuously crash. I feel like this should be mentioned on the wiki though.

Last edited by EOSRX24 (Yesterday 22:43:04)

Offline

Board footer

Powered by FluxBB