protonscr

Big picture crashes with fatal IO error 11

steamclosed Big PictureDistro Family: Gentoo
ValveSoftware/steam-for-linux#8977 · opened 2022-12-09 by lytenyn · updated 2023-03-01 · 12 comments · github
Llytenyn 2022-12-09 github

Your system information

  • Steam client version (build number or date): Dec 1 2022 or Dec 8 2022
  • Distribution (e.g. Ubuntu): Gentoo
  • Opted into Steam client beta?: [Yes/No] I tested both
  • Have you checked for system updates?: [Yes/No] Yes

Please describe your issue in as much detail as possible:

When launching Big Picture mode from sway (hence in Xwayland=, steam crashes immediately or after a while with:

Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

When doing the same from a gamescope session, I get slighly different output from the crash:

xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 128894
xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 128897
[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
gamescope: /var/tmp/portage/x11-libs/libX11-1.8.2-r1/work/libX11-1.8.2/src/xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Caching cursor image for , serial 1, cache size = 6
GameScope focus changed to appID 751780
SynchronizeClientState(): setting cursor visible
SynchronizeClientState(): setting cursor to 1
ThreadGetProcessExitCode: no such process 186793
CLIENT: Got control packet k_EStreamControlSetCursor
SynchronizeClientState(): setting cursor to 6
CLIENT: Got control packet k_EStreamControlSetCursor
ThreadGetProcessExitCode: no such process 186738
ThreadGetProcessExitCode: no such process 186724
ThreadGetProcessExitCode: no such process 186716
ThreadGetProcessExitCode: no such process 186690
ThreadGetProcessExitCode: no such process 186684
ThreadGetProcessExitCode: no such process 186678
ThreadGetProcessExitCode: no such process 186674
(EE) failed to read Wayland events: Connection reset by peer
zsh: IOT instruction (core dumped) gamescope -f -e -w 1920 -W 1920 -H 1080 -h 1080 -- steam -tenfoot -nointro
Fatal IO error 11 (Resource temporarily unavailable) on X server :1.

This has started after a recent steam update. I was on the beta before, so I tried stable, but the result is the same.

Steps for reproducing this issue:

  1. Launch big picture mode
  2. Wait, sometimes a few minutes, often less
  3. Steam crashes

Please tell me if any additional input would help

Llytenyn 2022-12-09 github

Still researching, this may be related to https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/170 which would indicate it could be a libX11 bug. I'm on libX11-1.8.2.

Llytenyn 2022-12-09 github

OK, so I confirm that downgrading to libX11-1.8.1 solves the issue.

However, if I understand https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/170 and https://github.com/godotengine/godot/issues/69352 correctly, it's not completely clear whether this is a libX11 bug or godot and steam ones, so maybe this should be kept open for the time being?

Ppatrick-g-p 2022-12-10 github
RRiven-Spell 2023-01-26 github

I have the same issue here on Arch Linux, KDE Wayland. Dec 15, 2022 version.

RRiven-Spell 2023-01-26 github

Still reproduces on libx11 1.8.1.

Kkisak-valve maintainer 2023-01-26 github

Hello @Riven-Spell, just to check, you tested with both 32 bit and 64 bit libx11 downgraded? (libx11 and lib32-libx11)

RRiven-Spell 2023-01-26 github

Hello @Riven-Spell, just to check, you tested with both 32 bit and 64 bit libx11 downgraded? (libx11 and lib32-libx11)

Guh, should've thought of the multilib packages! It seems to work for this moment (or at least not crash as quickly), but I'll leave it running and see if it crashes.

MMetal-spoon 2023-01-31 github

Same issue but does not seem related to big picture as i do not use it.
Steam just crashes after longer periods of being open.
KDE wayland as well.
Fedora 37, RX7900XT mesa-git.

Edit, libX11 version:
both 64 and 32 bit are on version 1.8.1-2

Llytenyn 2023-01-31 github

After upgrade to libx11-1.8.3-r1, the problem is gone. Not sure whether this includes Gentoo-specific patches relevant to this issue.

Nnotpentadactyl 2023-02-04 github

Steam Beta crashes with up to date Arch Linux:

lib32-libx11 1.8.3-1
libx11 1.8.3-6
Xlib: sequence lost (0x10000 > 0x2403) in reply type 0xc!
[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
steam: xcb_io.c:278: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Fatal IO error 11 (Resource temporarily unavailable) on X server :0.

edit: to reproduce: Steam -> Settings -> Controller -> General Controller Settings -> Xbox 360 Controller -> Preference -> trying to rename it -> Crashes

Zzimward 2023-02-08 github

With the new Big picture mode the problem seems to be gone. I also tried the old Big picture mode which almost immediately crashed with
Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
The controller configuration for example still uses old Big picture mode UI which also crashes steam. (but one can configure the controller now through the new Big picture mode UI which i would consider a viable workaround)

Im on up to date Arch linux:
lib32-libx11 1.8.3-1
libx11 1.8.3-6

Llytenyn 2023-03-01 github

The problem remains gone for me after the upgrade to libx11-1.8.4.
From my point of view, it can be closed.