protonscr

Game fail to launch : X Error of failed request: BadWindow (invalid Window parameter)

steamclosed 3rd party gameDistro Family: Ubuntu
ValveSoftware/steam-for-linux#10030 · opened 2023-08-30 by Ruff9 · updated 2023-10-09 · 2 comments · github
RRuff9 2023-08-30 github

Your system information

  • Steam client version (build number / date): 1690583737 / Fri, Jul 28 8:44 PM
  • Distribution : Ubuntu 22.04
  • Opted into Steam client beta?: No
  • Have you checked for system updates?: Yes
  • GPU: AMD Ryzen 9 6900HX with Radeon Graphics

Please describe your issue in as much detail as possible:

Since start of july, some games stopped working. I don't know if it was a Ubuntu update or a Steam update.

I reinstalled Steam today, and if I launch the client via console and try to launch a game, I get this return.
The game start to load, but fail to launch.

/bin/sh\0-c\0/home/remy/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2231010 -- /home/remy/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/remy/.local/share/Steam/steamapps/common/Fetish Locator Week Three/FetishLocatorWeek3.sh'\0
chdir "/home/remy/.local/share/Steam/steamapps/common/Fetish Locator Week Three"
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/remy/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
[S_API] SteamAPI_Init(): Loaded '/home/remy/.local/share/Steam/linux64/steamclient.so' OK.
Setting breakpad minidump AppID = 2231010
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198062621593 [API loaded no]
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  40 (X_TranslateCoords)
  Resource id in failed request:  0x800596
  Serial number of failed request:  537
  Current serial number in output stream:  537
Game 2231010 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 2231010 created interface SteamUser022 / User
Game 2231010 created interface SteamUtils010 / 
Game 2231010 method call count for IClientUserStats::RequestCurrentStats : 1
Game 2231010 method call count for IClientUtils::RecordSteamInterfaceCreation : 4
Game 2231010 method call count for IClientUtils::SetOverlayNotificationPosition : 1
Game 2231010 method call count for IClientUtils::GetAppID : 5
Game 2231010 method call count for IClientUser::GetSteamID : 1
Uploaded AppInterfaceStats to Steam

I read this thread : https://github.com/ValveSoftware/steam-for-linux/issues/9164 but the issue reported was only about excessive logs, not games crashing.

I read about potential missing 32bits OpenGL libraries, but I can't find which libraries are missing, if any.

Update : Steam Runtime Diagnostics https://gist.github.com/Ruff9/711092b81428b05fef12dd9089f8e943

Kkisak-valve maintainer 2023-08-30 github

Hello @Ruff9, please copy the contents of Steam Runtime Diagnostics from Steam (Steam -> Help -> Steam Runtime Diagnostics) and put it in a gist, then include a link to the gist in this issue report.

RRuff9 2023-10-09 github

I got it to work by forcing the Proton version to Proton experimental. Never understood it, but now it's working.

Proton versions

Upstream links