Steam launching and closing within a few seconds and doing it on loop

When launching steam from the terminal, the logs that I can read indicate there are no obvious errors. The key factor here is that the window works as intended within XFCE and this error only occurs in hyprland so I assume it must be related to the Wayland. That being said I have tried to launch it forcing x11, and removing various caches from the app with no results. I have also already tried uninstalling and reinstalling the package.

*Edit an additional problem that I have noticed is the Heroic Games Launcher not launching, the specific package is the heroic-launcher-bin package in the chaotic-aur. I feel as this problem may be related to the steam issue

Steam and games work perfectly for me in Hyprland, while games may not launch or play correctly in x11, so not a Wayland issue.

You said you tried forcing x11? Do you mean in Hyprland? How?

How is Steam installed for you? Official Repo, AUR, Flatpak, Snap?

I can confirm that Wayland + Steam works on my machine also. Running EOS with Gnome.

By the way, why are you running Steam from terminal? Did you do so only for testing purposes or do you intend to do so everytime you run it?

I am using the official arch repo package. I did try to force x11 using the terminal with no change to the bug. I say that ai believe it to be something going on with hyprland/wayland because i tried logging out and testing it in xfce and worked as intended.

I was running from the terminal to get a better look at debugging logs and see if i could start it in a cpuple ways to alleviate the issue.

I am little bit lost. So did you try forcing X11 on Wayland? Because I am pretty sure that wont work.

Yes, it did not work

Err… Let’s see what you got installed. Please post the outputs of the following commands:

inxi -Fxxc0z
pacman -Q | grep -A 0 -E "(steam|mango|game|vulk|vlk|nvidia|amd|hypr|wayland|linux|headers)"

Thing is, that is not supposed to work, so there is no error there. What I’m wondering, is where you got that idea from, because that is impossible to achieve. X11 and Wayland are completely different systems.

export STEAM_RUNTIME_FORCE_X11=1
steam

this is how I did it

here are the relevant packages

amd-ucode 20241210.b00a7f7e-1
amdvlk 2024.Q4.3-1
--
archlinux-keyring 20241203-1
--
gamehub 0.16.3.2-2.5
--
heroic-games-launcher-bin 2.15.2-1
--
hyprcursor 0.1.11-1
hyprgraphics 0.1.1-3
hypridle 0.1.5-2
hyprland 0.46.2-5
hyprland-qtutils 0.1.2-1
hyprlang 0.6.0-3
hyprlock 0.6.1-1
hyprutils 0.3.3-1
hyprwayland-scanner 0.4.4-1
--
lib32-amdvlk 2024.Q4.3-1
--
lib32-util-linux 2.40.2-1
lib32-vulkan-icd-loader 1.4.303-1
lib32-wayland 1.23.1-1
--
linux 6.12.8.arch1-1
linux-api-headers 6.10-1
linux-firmware 20241210.b00a7f7e-1
linux-firmware-whence 20241210.b00a7f7e-1
linux-headers 6.12.8.arch1-1
linux-lts 6.6.69-1
linux-lts-headers 6.6.69-1
--
python-steam 1.6.1-1.1
python-steamgriddb 1.0.5-4
--
qt6-wayland 6.8.1-1
--
rofi-wayland 1.7.7.1-1
--
steam 1.0.0.81-2
--
util-linux 2.40.2-3
util-linux-libs 2.40.2-3
--
vulkan-headers 1:1.4.303-1
vulkan-icd-loader 1.4.303-1
vulkan-radeon 1:24.3.3-1
--
wayland 1.23.1-1
wayland-protocols 1.39-1
--
xdg-desktop-portal-hyprland 1.3.9-3
--
xf86-video-amdgpu 23.0.0-2
--
xorg-xwayland 24.1.4-1

system information

System:
  Kernel: 6.12.8-arch1-1 arch: x86_64 bits: 64 compiler: gcc
    v: 14.2.1
  Desktop: Hyprland v: 0.46.2 dm: 1: LightDM note: stopped
    2: SDDM Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: Gigabyte model: A620I AX v: x.x
    serial: <superuser required> UEFI: American Megatrends LLC.
    v: F2 date: 06/06/2023
CPU:
  Info: 6-core model: AMD Ryzen 5 7600 bits: 64 type: MT MCP
    arch: Zen 4 rev: 2 cache: L1: 384 KiB L2: 6 MiB L3: 32 MiB
  Speed (MHz): avg: 3541 min/max: 400/5170 boost: enabled
    cores: 1: 3541 2: 3541 3: 3541 4: 3541 5: 3541 6: 3541
    7: 3541 8: 3541 9: 3541 10: 3541 11: 3541 12: 3541
    bogomips: 91056
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2
    sse4a ssse3 svm
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 32 [Radeon
    RX 7700 XT / 7800 XT] vendor: Tul / PowerColor
    driver: amdgpu v: kernel arch: RDNA-3 pcie: speed: 16 GT/s
    lanes: 16 ports: active: DP-2 empty: DP-1, DP-3,
    HDMI-A-1, Writeback-1 bus-ID: 03:00.0 chip-ID: 1002:747e
  Device-2: Advanced Micro Devices [AMD/ATI] Raphael
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 pcie:
    speed: 16 GT/s lanes: 16 ports: active: none empty: DP-4,
    DP-5, DP-6, HDMI-A-2, Writeback-2 bus-ID: 11:00.0
    chip-ID: 1002:164e temp: 45.0 C
  Device-3: Logitech QuickCam Pro 9000
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 7-1:2 chip-ID: 046d:0990
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland
    v: 24.1.4 compositor: Hyprland v: 0.46.2 driver: X:
    loaded: amdgpu unloaded: modesetting,radeon
    alternate: fbdev,vesa dri: radeonsi gpu: amdgpu
    display-ID: 1
  Monitor-1: DP-2 model: Viewteck GNV34DB res: 3440x1440
    dpi: 111 diag: 856mm (33.7")
  API: EGL v: 1.5 platforms: device: 0 drv: radeonsi
    device: 1 drv: radeonsi device: 2 drv: swrast gbm:
    drv: kms_swrast surfaceless: drv: radeonsi wayland:
    drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa
    v: 24.3.3-arch1.1 glx-v: 1.4 direct-render: yes renderer: AMD
    Radeon RX 7700 XT (radeonsi navi32 LLVM 18.1.8 DRM 3.59
    6.12.8-arch1-1) device-ID: 1002:747e
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Navi 31 HDMI/DP
    Audio driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s
    lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab30
  Device-2: Advanced Micro Devices [AMD/ATI] Rembrandt
    Radeon High Definition Audio driver: snd_hda_intel
    v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 11:00.1
    chip-ID: 1002:1640
  Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah
    HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 11:00.6
    chip-ID: 1022:15e3
  Device-4: Focusrite-Novation Scarlett Solo USB
    driver: snd-usb-audio type: USB rev: 2.0 speed: 480 Mb/s
    lanes: 1 bus-ID: 1-4:4 chip-ID: 1235:8205
  Device-5: Logitech QuickCam Pro 9000
    driver: snd-usb-audio,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 7-1:2 chip-ID: 046d:0990
  API: ALSA v: k6.12.8-arch1-1 status: kernel-api
  Server-1: sndiod v: N/A status: off
  Server-2: PipeWire v: 1.2.7 status: active with:
    1: pipewire-pulse status: active 2: wireplumber
    status: active 3: pipewire-alsa type: plugin 4: pw-jack
    type: plugin
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Gigabyte
    driver: r8169 v: kernel pcie: speed: 5 GT/s lanes: 1
    port: d000 bus-ID: 08:00.0 chip-ID: 10ec:8125
  IF: enp8s0 state: down mac: <filter>
  Device-2: Realtek RTL8852CE PCIe 802.11ax Wireless Network
    driver: rtw89_8852ce v: kernel pcie: speed: 5 GT/s lanes: 1
    port: c000 bus-ID: 09:00.0 chip-ID: 10ec:c852
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8
    type: USB rev: 1.0 speed: 12 Mb/s lanes: 1 bus-ID: 1-10:6
    chip-ID: 0bda:0852
  Report: btmgmt ID: hci0 rfk-id: 0 state: up
    address: <filter> bt-v: 5.3 lmp-v: 12
Drives:
  Local Storage: total: 5.46 TiB used: 1.17 TiB (21.4%)
  ID-1: /dev/nvme0n1 vendor: A-Data model: LEGEND 800
    size: 1.82 TiB speed: 63.2 Gb/s lanes: 4 serial: <filter>
    temp: 35.9 C
  ID-2: /dev/sda vendor: Seagate model: ST4000DM004-2CV104
    size: 3.64 TiB speed: 6.0 Gb/s serial: <filter>
Partition:
  ID-1: / size: 1.77 TiB used: 204.65 GiB (11.3%) fs: ext4
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 16.26 GiB
    used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 48.8 C mobo: 35.0 C
  Fan Speeds (rpm): N/A
  GPU: device: amdgpu temp: 45.0 C device: amdgpu
    temp: 47.0 C mem: 56.0 C fan: 0
Info:
  Memory: total: 16 GiB note: est. available: 14.78 GiB
    used: 4.28 GiB (29.0%)
  Processes: 334 Power: uptime: 13m wakeups: 0 Init: systemd
    v: 257 default: graphical
  Packages: pm: pacman pkgs: 1355 Compilers: clang: 18.1.8
    gcc: 14.2.1 Shell: Bash v: 5.2.37 running-in: kitty
    inxi: 3.3.36

Apart from your BIOS possibly needing an update, I can’t see anything wrong with your system or apps at the moment.

So, a suggestion would be to update your BIOS and/or try using linux-lts in Hyprland instead of the current kernel.


Another option, is to not just uninstall Steam, but to also rename/remove the Steam folder.
Once you do this, you’d launch and sign in to Steam again.

mv .local/share/Steam .local/share/Steam-bkp

And a third option is to create a new user account, log in to it, launch and sign in to Steam, then see if you have the same issue. If you don’t have the issue anymore, then your current user settings is causing some unknown issue.



PS: I just updated my device and launched Steam just fine like before. Currently playing a game. Toodles. :wink: :video_game: :gun:

lts kernel had the same results,
I tried removing it previously with pacman -Rns for the steam package previously but I will also try your method.
When I tried your above command to delete the files and reinstalling the package, it showed promise where the login window did the loop once before sticking around to be logged into as normal, and then the standard client window did the exact same behavior as before.
As I said in the above steam and heroic work as intended in an XFCE session so I don’t think it should be the steam package itself. The only other thing I can think of is using a timeshift rollback I have for the 3rd.

Try updating your BIOS then: https://www.gigabyte.com/Motherboard/A620I-AX-rev-10/support#support-dl-bios

Latest available update is Dec. 19 2024.

Arch Wiki: https://wiki.archlinux.org/title/Flashing_BIOS_from_Linux
Fwupd: https://wiki.archlinux.org/title/Fwupd

BIOS updates for the most part help your device internals and peripherals to work better with the Linux kernel, but of course, help with security as well.

I was able to flash the new bios

Okay. Now try it with both kernels and/or a combination of the other suggestions.

Not sure if you tried the new user suggestion, but that one lets you know if something is wrong with your whole setup, like a package issue, or if it’s just your user settings.

After trying everything I found the load-bearing wire, I had changed my gtk theme from adwaita to kali dark. I am not kidding I changed it back to adwaita and this fixed it.

1 Like

That’s a Gnome-like error. Do you have it installed?

I don’t use Adwaita anything and I don’t have this issue.

I have gtk theming installed for my hyprland setup