Bug 453202 - (WAYLAND) Native Steam games won't launch if Steam is launched used keyboard shortcut
Summary: (WAYLAND) Native Steam games won't launch if Steam is launched used keyboard ...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keys (show other bugs)
Version: 5.24.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 18:33 UTC by lucascoelho07
Modified: 2024-01-09 11:56 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lucascoelho07 2022-04-29 18:33:43 UTC
STEPS TO REPRODUCE
1. Set keyboard shortcut for Steam
2. Use keyboard shortcut to open Steam
3. Try to open any native game

OBSERVED RESULT
Proton games work, Native games don't (includes Luxtorpeda engines)

EXPECTED RESULT
Games would launch as normal
Comment 1 Nate Graham 2022-05-03 17:20:07 UTC
How did you set a shortcut to launch Steam? Using the "Custom Shortcuts" page, or the "Shortcuts" page?
Comment 2 lucascoelho07 2022-05-03 18:02:15 UTC
(In reply to Nate Graham from comment #1)
> How did you set a shortcut to launch Steam? Using the "Custom Shortcuts"
> page, or the "Shortcuts" page?

I used "Shortcuts" page
Comment 3 Nate Graham 2022-05-04 17:32:26 UTC
Thanks. And in step 3, how do you open the games? From within the Steam window itself? Or another method?
Comment 4 lucascoelho07 2022-05-04 18:21:54 UTC
(In reply to Nate Graham from comment #3)
> Thanks. And in step 3, how do you open the games? From within the Steam
> window itself? Or another method?

Yes, it's from within the Steam window
Comment 5 David Edmundson 2022-05-04 23:03:15 UTC
Please can you compare the output of :

/proc/`pidof steam`/environ | tr '\0' '\n'

where `pidof steam` is your steam binary for bother working and non-working cases
Comment 6 lucascoelho07 2022-05-06 01:19:36 UTC
(In reply to David Edmundson from comment #5)
> Please can you compare the output of :
> 
> /proc/`pidof steam`/environ | tr '\0' '\n'
> 
> where `pidof steam` is your steam binary for bother working and non-working
> cases

they are indeed different
should I upload the outputs or there is something specific I should look for?
Comment 7 Nate Graham 2022-05-06 03:57:18 UTC
Paste them here please
Comment 8 David Edmundson 2022-05-06 09:34:18 UTC
Yeah, I don't know exactly what I'm looking for. Just pasting the differences would help. Save me doing it.
Comment 9 lucascoelho07 2022-05-06 13:42:22 UTC
Lines present in "normal" but missing in "shortcut"

SESSION_MANAGER=local/arch:@/tmp/.ICE-unix/439,unix/arch:/tmp/.ICE-unix/439
GTK_RC_FILES=/etc/gtk/gtkrc:/home/lucas/.gtkrc:/home/lucas/.config/gtkrc
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/lucas/.gtkrc-2.0:/home/lucas/.config/gtkrc-2.0
INVOCATION_ID=b37c91ec88754abeaa9d2348dc9d4b3d
MANAGERPID=335
XDG_ACTIVATION_TOKEN=kwin-1
JOURNAL_STREAM=8:19328

####################################

Lines present in "shortcut" but missing in "normal"

KGLOBALACCELD_PLATFORM=org.kde.kwin
QSG_RENDER_LOOP=basic

####################################

This one is present in both but with different values:

SYSTEMD_EXEC_PID=980 (normal)
SYSTEMD_EXEC_PID=335 (shortcut)

####################################
Full output for both here:

NORMAL

SHELL=/bin/bash
SESSION_MANAGER=local/arch:@/tmp/.ICE-unix/439,unix/arch:/tmp/.ICE-unix/439
XDG_CONFIG_DIRS=/home/lucas/.config/kdedefaults:/etc/xdg
GDK_DPI_SCALE=1
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
LANGUAGE=
SDL_VIDEO_X11_DGAMOUSE=0
STEAM_RUNTIME_HEAVY=0
TEXTDOMAINDIR=/usr/share/locale
STEAM_RUNTIME=0
SYSTEM_LD_LIBRARY_PATH=/usr/lib/steam:/usr/lib32/steam
DESKTOP_SESSION=plasmawayland
GTK_RC_FILES=/etc/gtk/gtkrc:/home/lucas/.gtkrc:/home/lucas/.config/gtkrc
XCURSOR_SIZE=24
XDG_SEAT=seat0
PWD=/home/lucas/.local/share/Steam
XDG_SESSION_DESKTOP=KDE
LOGNAME=lucas
STEAM_ZENITY=/usr/bin/zenity
XDG_SESSION_TYPE=wayland
SYSTEM_PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
SYSTEMD_EXEC_PID=980
XAUTHORITY=/run/user/1000/xauth_XQwyUW
STEAMSCRIPT_VERSION=1.0.0.74
MOTD_SHOWN=pam
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/lucas/.gtkrc-2.0:/home/lucas/.config/gtkrc-2.0
HOME=/home/lucas
LANG=pt_BR.UTF-8
XDG_CURRENT_DESKTOP=KDE
WAYLAND_DISPLAY=wayland-0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
INVOCATION_ID=b37c91ec88754abeaa9d2348dc9d4b3d
MANAGERPID=335
KDE_SESSION_UID=1000
XDG_ACTIVATION_TOKEN=kwin-1
DBUS_FATAL_WARNINGS=0
XDG_SESSION_CLASS=user
USER=lucas
PLASMA_USE_QT_SCALING=1
KDE_SESSION_VERSION=5
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
QT_WAYLAND_FORCE_DPI=96
DISPLAY=:1
SHLVL=1
XDG_VTNR=2
XDG_SESSION_ID=1
LD_LIBRARY_PATH=/home/lucas/.local/share/Steam/ubuntu12_32:/home/lucas/.local/share/Steam/ubuntu12_32/panorama:/usr/lib/steam:/usr/lib32/steam
XDG_RUNTIME_DIR=/run/user/1000
QT_AUTO_SCREEN_SCALE_FACTOR=0
STEAMSCRIPT=/usr/lib/steam/steam
JOURNAL_STREAM=8:19328
XCURSOR_THEME=Adwaita
XDG_DATA_DIRS=/home/lucas/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
KDE_FULL_SESSION=true
SYSTEM_ZENITY=/usr/bin/zenity
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDK_SCALE=1
GTK_USE_PORTAL=1
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/lucas
OLDPWD=/home/lucas/.local/share/Steam
TEXTDOMAIN=steam
_=/home/lucas/.local/share/Steam/ubuntu12_32/steam

####################################

SHORTCUT

SHELL=/bin/bash
XDG_CONFIG_DIRS=/home/lucas/.config/kdedefaults:/etc/xdg
GDK_DPI_SCALE=1
KGLOBALACCELD_PLATFORM=org.kde.kwin
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
LANGUAGE=
SDL_VIDEO_X11_DGAMOUSE=0
STEAM_RUNTIME_HEAVY=0
TEXTDOMAINDIR=/usr/share/locale
STEAM_RUNTIME=0
SYSTEM_LD_LIBRARY_PATH=/usr/lib/steam:/usr/lib32/steam
DESKTOP_SESSION=plasmawayland
XCURSOR_SIZE=24
XDG_SEAT=seat0
PWD=/home/lucas/.local/share/Steam
XDG_SESSION_DESKTOP=KDE
LOGNAME=lucas
STEAM_ZENITY=/usr/bin/zenity
XDG_SESSION_TYPE=wayland
SYSTEM_PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
SYSTEMD_EXEC_PID=335
XAUTHORITY=/run/user/1000/xauth_XQwyUW
STEAMSCRIPT_VERSION=1.0.0.74
MOTD_SHOWN=pam
HOME=/home/lucas
LANG=pt_BR.UTF-8
XDG_CURRENT_DESKTOP=KDE
WAYLAND_DISPLAY=wayland-0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
KDE_SESSION_UID=1000
DBUS_FATAL_WARNINGS=0
XDG_SESSION_CLASS=user
USER=lucas
PLASMA_USE_QT_SCALING=1
KDE_SESSION_VERSION=5
PAM_KWALLET5_LOGIN=/run/user/1000/kwallet5.socket
QT_WAYLAND_FORCE_DPI=96
DISPLAY=:1
SHLVL=1
XDG_VTNR=2
XDG_SESSION_ID=1
LD_LIBRARY_PATH=/home/lucas/.local/share/Steam/ubuntu12_32:/home/lucas/.local/share/Steam/ubuntu12_32/panorama:/usr/lib/steam:/usr/lib32/steam
XDG_RUNTIME_DIR=/run/user/1000
QT_AUTO_SCREEN_SCALE_FACTOR=0
STEAMSCRIPT=/usr/lib/steam/steam
XCURSOR_THEME=Adwaita
XDG_DATA_DIRS=/home/lucas/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share
KDE_FULL_SESSION=true
QSG_RENDER_LOOP=basic
SYSTEM_ZENITY=/usr/bin/zenity
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
GDK_SCALE=1
GTK_USE_PORTAL=1
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
KDE_APPLICATIONS_AS_SCOPE=1
MAIL=/var/spool/mail/lucas
OLDPWD=/home/lucas/.local/share/Steam
TEXTDOMAIN=steam
_=/home/lucas/.local/share/Steam/ubuntu12_32/steam