steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Big picture crashes with fatal IO error 11

Open lytenyn opened this issue 3 years ago • 12 comments

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

lytenyn avatar Dec 09 '22 19:12 lytenyn

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.

lytenyn avatar Dec 09 '22 19:12 lytenyn

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?

lytenyn avatar Dec 09 '22 22:12 lytenyn

These issue may be related? https://github.com/ValveSoftware/steam-for-linux/issues/8916

patrick-g-p avatar Dec 10 '22 00:12 patrick-g-p

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

Riven-Spell avatar Jan 26 '23 20:01 Riven-Spell

Still reproduces on libx11 1.8.1.

Riven-Spell avatar Jan 26 '23 20:01 Riven-Spell

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

kisak-valve avatar Jan 26 '23 20:01 kisak-valve

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.

Riven-Spell avatar Jan 26 '23 20:01 Riven-Spell

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

Metal-spoon avatar Jan 31 '23 13:01 Metal-spoon

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

lytenyn avatar Jan 31 '23 13:01 lytenyn

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

notpentadactyl avatar Feb 04 '23 19:02 notpentadactyl

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

zimward avatar Feb 08 '23 07:02 zimward

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

lytenyn avatar Mar 01 '23 14:03 lytenyn