ValveSoftware / gamescope

SteamOS session compositing window manager
Other
3.13k stars 211 forks source link

Cannot launch game when running steam with -e/--steam and -gamepadui option #770

Open K1ngst0m opened 1 year ago

K1ngst0m commented 1 year ago

Cannot launch the game when running steam with -e/--steam and -gamepadui option

running without gamescope or gamescope with steam bigpicture mode (-tenfoot option) is working fine.

  1. launch steam with the following commands
    AMD_VULKAN_ICD=RADV gamescope -e -w 1920 -h 1080 -f -- steam -gamepadui
  2. into the game library, launch any games (no matter the native or proton), it will case endless loading and get stuck on this.

image

console output after launch baldur's gate (linux native)

/bin/sh\0-c\0/home/npchitman/.config/local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=228280 -- /home/npchitman/.config/local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/mnt/ssd1/games/steamapps/common/Baldur'\''s Gate Enhanced Edition/BaldursGate'\0
Game process added : AppID 228280 "/home/npchitman/.config/local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=228280 -- /home/npchitman/.config/local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/mnt/ssd1/games/steamapps/common/Baldur'\''s Gate Enhanced Edition/BaldursGate'", ProcID 11324, IP 0.0.0.0:0
chdir /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition
ERROR: ld.so: object '/home/npchitman/.config/local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/npchitman/.config/local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/npchitman/.config/local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/npchitman/.config/local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 228280, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
INFO: status: 0
INFO: Creating DPWrapper
[S_API] SteamAPI_Init(): Loaded '/home/npchitman/.config/local/share/Steam/linux64/steamclient.so' OK.
Game process updated : AppID 228280 "/home/npchitman/.config/local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=228280 -- /home/npchitman/.config/local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/mnt/ssd1/games/steamapps/common/Baldur'\''s Gate Enhanced Edition/BaldursGate'", ProcID 11325, IP 0.0.0.0:0
Setting breakpad minidump AppID = 228280
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198087927187 [API loaded no]
INFO: scanning:(0) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/override
INFO: scanning:(1) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/scripts
INFO: scanning:(2) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/sounds
INFO: scanning:(3) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/sounds
INFO: scanning:(4) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/portraits
INFO: scanning:(5) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/characters
INFO: scanning:(6) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/movies
INFO: scanning:(7) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/movies
INFO: scanning:(8) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: mounting archive: sod-dlc.zip
GameAction [AppID 228280, ActionID 1] : LaunchApp changed task to Completed with ""
INFO: scanning:(0) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/override
INFO: scanning:(1) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/scripts
INFO: scanning:(2) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/sounds
INFO: scanning:(3) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/sounds
INFO: scanning:(4) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/portraits
INFO: scanning:(5) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/characters
INFO: scanning:(6) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/movies
INFO: scanning:(7) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/movies
INFO: scanning:(8) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: scanning:(0) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/override
INFO: scanning:(1) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/scripts
INFO: scanning:(2) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/sounds
INFO: scanning:(3) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/sounds
INFO: scanning:(4) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/portraits
INFO: scanning:(5) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/characters
INFO: scanning:(6) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/movies
INFO: scanning:(7) /mnt/ssd1/games/steamapps/common/Baldur's Gate Enhanced Edition/lang/en_US/movies
INFO: scanning:(8) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/override
INFO: scanning:(9) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/scripts
INFO: scanning:(10) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/sounds
INFO: scanning:(11) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/portraits
INFO: scanning:(12) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/characters
INFO: scanning:(13) /home/npchitman/.local/share/Baldur's Gate - Enhanced Edition/movies
INFO: LUA: UI string not found: Recent events text will go here.
INFO: LUA: Initializing Quests
wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x5626094df200 (res 0x562609994780)
INFO: gl.useShaders: 1
gl.has_s3tc: 1
gl.has_pvrtc: 0
gl.has_atc: 0
gl.postprocessing: 0
gl.uploadFormat: 0x80E1
gl.uploadType: 0x8367
gl.versionstring: 4.6 (Compatibility Profile) Mesa 22.3.3
gl.majorVersion: 4
gl.minorVersion: 6
INFO: Font: loaded font STONESML
[ALSOFT] (EE) Could not query RTKit: No such file or directory (2)
[ALSOFT] (EE) Could not query RTKit: No such file or directory (2)
INFO: Baldur's Gate - Enhanced Edition v2.6.6.0
INFO: sAchieveID=NONE,m_sGlobalName=GameDifficulty,m_nValue=3
INFO: Font: loaded font NORMAL
Installing breakpad exception handler for appid(steam)/version(1674790765)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
INFO: Font: Added point size (24) for font NORMAL
Installing breakpad exception handler for appid(steam)/version(1674790765)
Installing breakpad exception handler for appid(steam)/version(1674790765)
Samsagax commented 1 year ago

I ran into this myself. Try adding xwayland servers with the option --xwayland-count 2.

K1ngst0m commented 1 year ago

I ran into this myself. Try adding xwayland servers with the option --xwayland-count 2.

I tried this but it still not working, whatever server count I've tried.

Samsagax commented 1 year ago

Are you running it embedded or nested in another compositor?

misyltoad commented 1 year ago

Are you running Steam Beta or Stable?

Samsagax commented 1 year ago

Using both it works for me.

K1ngst0m commented 1 year ago

Are you running Steam Beta or Stable?

stable.

K1ngst0m commented 1 year ago

Are you running it embedded or nested in another compositor?

yeah, I run the gamescope on picom in the X server.