You are not logged in.

#1 2025-11-26 23:11:33

ascendedturtle
Member
Registered: 2025-11-26
Posts: 4

Steam xwayland issues

Good day; I've been using my current arch install for ~half a year with hyprland. Until recently, I've had virtually no issues with steam, but I've lately been having problems when attempting to run steam and steam games.

Here is my neofetch:

OS : Arch Linux
Kernel : 6.17.9-arch1-1
Packages : 1537 (pacman)
Display : 1920x1080 @ 100Hz [External]
Display : 1920x1080 @ 60Hz [Built-in]
Terminal : kitty 0.44.0
WM : Hyprland
GPU : NVIDIA GeForce GTX 1650 Ti Mobile
CPU : Intel(R) Core(TM) i5-10300H @ 4.50 GHz

Specifically, when I run steam from the command line or rofi, a "login" window will open, it will display "loading user data" and close, but no steam window is spawned. This is the output I get after the window closes:

crash_20251126162934_32.dmp[355926]: Uploading dump (out-of-process)
/tmp/dumps/crash_20251126162934_32.dmp
crash_20251126162934_32.dmp[355926]: Finished uploading minidump (out-of-process): success = yes
crash_20251126162934_32.dmp[355926]: response: CrashID=bp-deac0e22-badd-4ccb-ab60-05fbf2251126
crash_20251126162934_32.dmp[355926]: file ''/tmp/dumps/crash_20251126162934_32.dmp'', upload yes: ''CrashID=bp-deac0e22-badd-4ccb-ab60-05fbf2251126''
/home/grae/.local/share/Steam/steam.sh: line 928: 355569 Segmentation fault         (core dumped) "$STEAMROOT/$STEAMEXEPATH" "$@"

Here are some if the readable contents of the .dmp file. If the entire file would be more helpful, I can attach it in a reply; most of it is gibberish, though, as the file is corrupted for some reason.

Name:	steam
Umask:	0022
State:	t (tracing stop)
Tgid:	635907
Ngid:	0
Pid:	635907
PPid:	635801
TracerPid:	636524
Uid:	1000	1000	1000	1000
Gid:	984	984	984	984
FDSize:	256
Groups:	957 961 984 998 
NStgid:	635907
NSpid:	635907
NSpgid:	635801
NSsid:	355077
Kthread:	0
VmPeak:	 692996 kB
VmSize:	 685960 kB
VmLck:	      0 kB
VmPin:	      0 kB
VmHWM:	 187500 kB
VmRSS:	 187500 kB
RssAnon:	  51172 kB
RssFile:	 127168 kB
RssShmem:	   9160 kB
VmData:	 151672 kB
VmStk:	    136 kB
VmExe:	   7444 kB
VmLib:	 195140 kB
VmPTE:	    784 kB
VmSwap:	      0 kB
HugetlbPages:	      0 kB
CoreDumping:	0
THP_enabled:	1
untag_mask:	0xffffffffffffffff
Threads:	30
SigQ:	2/62585
SigPnd:	0000000000000000
ShdPnd:	0000000000010000
SigBlk:	00000000000104e8
SigIgn:	0000000000001000
SigCgt:	00000001000044ea
CapInh:	0000000800000000
CapPrm:	0000000000000000
CapEff:	0000000000000000
CapBnd:	000001ffffffffff
CapAmb:	0000000000000000
NoNewPrivs:	0
Seccomp:	0
Seccomp_filters:	0
Speculation_Store_Bypass:	thread vulnerable
SpeculationIndirectBranch:	conditional enabled
Cpus_allowed:	ff
Cpus_allowed_list:	0-7
Mems_allowed:	00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
Mems_allowed_list:	0
voluntary_ctxt_switches:	3428
nonvoluntary_ctxt_switches:	177
x86_Thread_features:	
x86_Thread_features_locked:	
DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
/home/grae/.local/share/Steam/ubuntu12_32/steam-srt-logger-openedSHELL=/usr/bin/bashCOLORTERM=truecolorHYPRLAND_CMD=hyprlandSRT_LOG_TERMINAL=/dev/pts/2CLUTTER_BACKEND=waylandXDG_BACKEND=waylandQT_WAYLAND_DISABLE_WINDOWDECORATION=1SDL_VIDEO_X11_DGAMOUSE=0TEXTDOMAINDIR=/usr/share/localeSTEAM_RUNTIME=/home/grae/.local/share/Steam/ubuntu12_32/steam-runtimeSYSTEM_LD_LIBRARY_PATH=PYENV_VIRTUALENV_DISABLE_PROMPT=1ELECTRON_OZONE_PLATFORM_HINT=waylandHL_INITIAL_WORKSPACE_TOKEN=e155342b-160e-4d02-821c-44e3b8cc5dcaKITTY_PID=354904XCURSOR_SIZE=24XDG_SEAT=seat0PWD=/home/grae/.local/share/SteamXDG_SESSION_DESKTOP=HyprlandLOGNAME=graeQT_QPA_PLATFORMTHEME=qt5ctSTEAM_ZENITY=/usr/bin/zenityXDG_SESSION_TYPE=waylandSYSTEM_PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/grae/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/home/grae/.local/bin:/home/grae/.local/bin:/home/grae/.local/binKITTY_PUBLIC_KEY=1:Cuf#e@j`78`O`A+np7m-Ke!%SHC6ai-Y4sn^B=ZNSTEAMSCRIPT_VERSION=1.0.0.85POSH_SHELL=bashMOTD_SHOWN=pamHOME=/home/graeLANG=en_US.UTF-8_JAVA_AWT_WM_NONREPARENTING=1XDG_CURRENT_DESKTOP=HyprlandPOSH_SHELL_VERSION=5.3.3(1)-releasePOSH_SESSION_ID=d0e4c8da-3b57-4397-93cd-3769d539131fWAYLAND_DISPLAY=wayland-1VIRTUAL_ENV_DISABLE_PROMPT=1KITTY_WINDOW_ID=1OSTYPE=linux-gnuCONDA_PROMPT_MODIFIER=falseQT_QPA_PLATFORM=wayland;xcbXDG_SESSION_CLASS=userTERM=xterm-kittyTERMINFO=/usr/lib/kitty/terminfoUSER=graeSDL_VIDEODRIVER=wayland,x11OZONE_PLATFORM=waylandHYPRLAND_INSTANCE_SIGNATURE=967c3c7404d4fa00234e29c70df3e263386d2597_1764192947_955201236DISPLAY=:0SHLVL=3MOZ_ENABLE_WAYLAND=1XDG_VTNR=1XDG_SESSION_ID=1LD_LIBRARY_PATH=/home/grae/.local/share/Steam/ubuntu12_32:/home/grae/.local/share/Steam/ubuntu12_32/panorama:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/libfakeroot:/usr/lib:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libXDG_RUNTIME_DIR=/run/user/1000DEBUGINFOD_URLS=https://debuginfod.archlinux.org QT_AUTO_SCREEN_SCALE_FACTOR=1STEAMSCRIPT=/usr/lib/steam/steamXDG_DATA_DIRS=/home/grae/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktopSRT_LOG_LEVEL_PREFIX=1GDK_BACKEND=wayland,x11,*SYSTEM_ZENITY=/usr/bin/zenityPATH=/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/grae/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/home/grae/.local/bin:/home/grae/.local/bin:/home/grae/.local/bin__GLX_VENDOR_LIBRARY_NAME=nvidiaGDK_SCALE=1GBM_BACKEND=nvidia-drmDBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/busMAIL=/var/spool/mail/graePOWERLINE_COMMAND=oh-my-poshKITTY_INSTALLATION_DIR=/usr/lib/kittyOLDPWD=/home/grae/.local/share/SteamSTEAM_RUNTIME_LIBRARY_PATH=/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib32:/usr/lib/libfakeroot:/usr/lib:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib/i386-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/i386-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib/x86_64-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/lib/x86_64-linux-gnu:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/lib:/home/grae/.local/share/Steam/ubuntu12_32/steam-runtime/usr/libTEXTDOMAIN=steam_=/home/grae/.local/share/Steam/ubuntu12_32/steam p!30d4 YV

I was having similar issues with some other xorg applications (discord, spotify, etc.) so I reinstalled xorg-xwayland and enabled it in my hyprland.conf file. This fixed the issue for every application except steam. Also, as pointed out in a previous thread, I made sure that I had all of the requirements for steam. However, the issue has persisted. 

I don't know if this is helpful info, but my current GPU drivers are:

nvidia 580.105.08-4
nvidia-utils 580.105.08-4
lib32-nvidia-utils 580.105.08-1 

Finally, I've done some tinkering with my environment variables (changing some of them from "wayland" to "wayland,x11") but this has had no effect.

Any advice/help/pointers would be appreciated! Thanks :)


math is fun tongue

Offline

#2 2025-11-26 23:23:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: Steam xwayland issues

You generally don't need specific environment variables for wayland and not all of them will properly react to randomly trying to append x11, so since this is a likely cause for issues what environemnt variables have you set?

printenv
systemctl --user status xdg-desktop-portal

Offline

#3 2025-11-26 23:53:48

ascendedturtle
Member
Registered: 2025-11-26
Posts: 4

Re: Steam xwayland issues

Sorry, I didn't fully explain what I did  - earlier, I tried appending x11 but ended up removing it since it didn't cause any changes to the output and seemed to cause issues for other programs

Here is the output for printenv tho, in case there are some other red flags that you find:

SHELL=/usr/bin/bash
COLORTERM=truecolor
HYPRLAND_CMD=hyprland
XDG_BACKEND=wayland
CLUTTER_BACKEND=wayland
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
PYENV_VIRTUALENV_DISABLE_PROMPT=1
ELECTRON_OZONE_PLATFORM_HINT=wayland
KITTY_PID=712955
HL_INITIAL_WORKSPACE_TOKEN=e95d5c0e-ae0d-4b68-b3fd-4c4f0dc63c79
XCURSOR_SIZE=24
XDG_SEAT=seat0
PWD=/home/grae
LOGNAME=grae
XDG_SESSION_DESKTOP=Hyprland
QT_QPA_PLATFORMTHEME=qt5ct
XDG_SESSION_TYPE=wayland
KITTY_PUBLIC_KEY=1:kHG?@0Ef5z*(L(Bic<DEN#x}6Uf$|{$)~d3UOLQP
POSH_SHELL=bash
MOTD_SHOWN=pam
HOME=/home/grae
LANG=en_US.UTF-8
_JAVA_AWT_WM_NONREPARENTING=1
XDG_CURRENT_DESKTOP=Hyprland
POSH_SHELL_VERSION=5.3.3(1)-release
POSH_SESSION_ID=3bcbb20e-0c3e-4afb-997d-7c3d775ab9ba
WAYLAND_DISPLAY=wayland-1
VIRTUAL_ENV_DISABLE_PROMPT=1
KITTY_WINDOW_ID=1
OSTYPE=linux-gnu
CONDA_PROMPT_MODIFIER=false
QT_QPA_PLATFORM=wayland;xcb
XDG_SESSION_CLASS=user
TERMINFO=/usr/lib/kitty/terminfo
TERM=xterm-kitty
USER=grae
SDL_VIDEODRIVER=wayland
OZONE_PLATFORM=wayland
HYPRLAND_INSTANCE_SIGNATURE=967c3c7404d4fa00234e29c70df3e263386d2597_1764192947_955201236
DISPLAY=:0
SHLVL=2
MOZ_ENABLE_WAYLAND=1
XDG_VTNR=1
XDG_SESSION_ID=1
XDG_RUNTIME_DIR=/run/user/1000
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
QT_AUTO_SCREEN_SCALE_FACTOR=1
XDG_DATA_DIRS=/home/grae/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
GDK_BACKEND=wayland,x11,*
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/home/grae/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/home/grae/.local/bin:/home/grae/.local/bin:/home/grae/.local/bin
__GLX_VENDOR_LIBRARY_NAME=nvidia
GDK_SCALE=1
GBM_BACKEND=nvidia-drm
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
MAIL=/var/spool/mail/grae
POWERLINE_COMMAND=oh-my-posh
KITTY_INSTALLATION_DIR=/usr/lib/kitty

and here is my output for

systemctl --user status xdg-desktop-portal
● xdg-desktop-portal.service - Portal service
     Loaded: loaded (/usr/lib/systemd/user/xdg-desktop-portal.service; static)
     Active: active (running) since Wed 2025-11-26 15:35:50 CST; 2h 16min ago
 Invocation: 220a72e7e3ab484fa41437fdb8d9ef54
   Main PID: 4073 (xdg-desktop-por)
      Tasks: 6 (limit: 18775)
     Memory: 5.9M (peak: 7.6M)
        CPU: 600ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/xdg-desktop-portal>
             └─4073 /usr/lib/xdg-desktop-portal

Nov 26 15:35:50 grae-archlinux systemd[3809]: Starting Portal service...
Nov 26 15:35:50 grae-archlinux systemd[3809]: Started Portal service.

math is fun tongue

Offline

#4 2025-12-02 17:54:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,074

Re: Steam xwayland issues

The majority of these environment variables are a recipe for desaster if you uncoditionally set them for the session whenever you run tools that can't actually run with wayland.

The absolute vast majority of applications and toolkits will properly default to wayland when ran in a wayland session without you trying to coerce them into doing so, the ones that can't will break when you coerce them incorrectly.

Get rid of GDK_BACKEND, XDG_BACKEND, QT_QPA_PLATFORM, CLUTTER_BACKEND for a first try and assuming this actually being a hybrid system I could see setting GBM_BACKEND=nvidia-drm and __GLX_VENDOR_LIBRARY_NAME=nvidia to be potentially problematic, but if it isn't a hybrid system and your accel properly going over nvidia, they are at best redundant and I'd first focus on the others that really have no reason to generally be set globally.

Offline

#5 2025-12-08 00:50:44

ascendedturtle
Member
Registered: 2025-11-26
Posts: 4

Re: Steam xwayland issues

I unset the environment variables & restarted but the output stayed the same. (I also unset the GBM_BACKEND) and __GLX_VENDOR_LIBRARY_NAME)


math is fun tongue

Offline

#6 2025-12-08 11:13:28

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,535

Re: Steam xwayland issues

Do you still have

ELECTRON_OZONE_PLATFORM_HINT=wayland
SDL_VIDEODRIVER=wayland
OZONE_PLATFORM=wayland

in there?
Why are you unconditionally exporting all this stuff to the entire session?

Offline

#7 2025-12-17 01:46:19

ascendedturtle
Member
Registered: 2025-11-26
Posts: 4

Re: Steam xwayland issues

I don't have ELECTRON_OZONE_PLATFORM_HINT, SDL_VIDEODRIVER, or OZONE_PLATFORM set.
To be honest, this is the first time I've dealt with environment variables - I don't really know how they were set or by what program. How should I be managing them?

Also, after I removed the aforementioned variables and restarted, the output of running steam from the command line did not change.


math is fun tongue

Offline

#8 2025-12-17 08:25:01

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,535

Re: Steam xwayland issues

I don't have ELECTRON_OZONE_PLATFORM_HINT, SDL_VIDEODRIVER, or OZONE_PLATFORM set.

printenv disagrees with you.

To be honest, this is the first time I've dealt with environment variables - I don't really know how they were set or by what program. How should I be managing them?

https://wiki.archlinux.org/title/Environment_variables
And they don't set them there by themselves. In doubt you blindly copied somebodies dotfiles.

after I removed the aforementioned variables and restarted

And how?
Does printenv still list them?
If you just unset them in some random interactive shell, that applies only to that shell and is also inherently transient.

Offline

Board footer

Powered by FluxBB