FS#76860 - [libx11] As of x11 1.8.3, programs such as Godot and vkDoom do not function properly

Attached to Project: Arch Linux
Opened by Jimmy Johnsson (khhs) - Saturday, 17 December 2022, 14:34 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 21 January 2023, 10:34 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 12
Private No



Programs such as Godot(the only one I've personally tested) do not function as of X11 1.8.3.
This also appplies to the packages 1.8.3-1 release, and seems to be fixed in OpenSUSE

Additional info:

- https://github.com/godotengine/godot/issues/69352
- https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/170
- https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/157
Hopefully appropriate links

Small log:

[xcb] Unknown sequence number while processing queue
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.

First time using this please tell me how I can improve if that is deemed appropriate
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 21 January 2023, 10:34 GMT
Reason for closing:  Fixed
Comment by Jimmy Johnsson (khhs) - Saturday, 17 December 2022, 14:36 GMT
Minor issue in the title: vkQuake not vkDOOM
Comment by lindevel (lindevel) - Saturday, 17 December 2022, 15:24 GMT
Dota 2 totally frozen some seconds after starting game with libX11 1.8.3
Comment by Jimmy Johnsson (khhs) - Saturday, 17 December 2022, 16:55 GMT
Issue seems to be in the works, with a new PR that seems to fix the issue at least withing godot was opened just an hour ago
Comment by Jimmy Johnsson (khhs) - Saturday, 17 December 2022, 16:59 GMT
Adding on the fact that there are more issues with the new X11 version and some discussion is really building up
Comment by David V (davidovitch) - Saturday, 17 December 2022, 21:50 GMT
Another issue with Steam game CSGO, see https://bbs.archlinux.org/viewtopic.php?pid=2074188. Downgrading to libx11 to 1.8.2-2 fixes at least that specific issue.
Comment by Andreas Radke (AndyRTR) - Saturday, 17 December 2022, 22:47 GMT
Please try 1.8.3-2 from testing repo.
Comment by Maxim (kerneliq) - Sunday, 18 December 2022, 08:30 GMT
try 1.8.3-2
CSGO frozen
Comment by kool dude (lekooldude) - Sunday, 18 December 2022, 12:46 GMT
any idea when the update will be available ?
Comment by Gary (GaryOderNichts) - Sunday, 18 December 2022, 17:41 GMT
> CSGO frozen

This seems to be another unrelated issue introduced in 1.8.3.
Tried to fix this with: https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/177
Comment by Andreas Radke (AndyRTR) - Sunday, 18 December 2022, 19:10 GMT
Please try 1.8.3-3.
Comment by Jimmy Johnsson (khhs) - Sunday, 18 December 2022, 20:35 GMT
Godot appears to be fixed in 1.8.3-3, holding off a closure request until I know it is fully resolved
Comment by David V (davidovitch) - Sunday, 18 December 2022, 20:43 GMT
Cool, 1.8.3-3 also fixes the CSGO issue.
Comment by Daria (farfalleflickan) - Sunday, 01 January 2023, 22:15 GMT
Not sure how to debug the issue, but it seems to be broken again in csgo despite 1.8.3-3, downgrading to 1.8.2-2 fixes it again...
Comment by Bastien Durel (bastiendurel) - Monday, 02 January 2023, 16:49 GMT
emacs affected too: debian "fixed" the bug by reverting commit d6d6cba90215d323567fef13d6565756c9956f60, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1026809
Comment by Christopher Snowhill (kode54) - Thursday, 05 January 2023, 03:56 GMT
Upstream Xlib merged the revert: https://gitlab.freedesktop.org/xorg/lib/libx11/-/merge_requests/180 - this replaces 177

These should probably also be applied to the multilib variant as well?
Comment by Andreas Radke (AndyRTR) - Friday, 06 January 2023, 10:51 GMT
Please check 1.8.3-4 in testing repo.
Comment by Bastien Durel (bastiendurel) - Friday, 06 January 2023, 11:43 GMT
Cannot say for godot or vkdoom, but it fixes emacs at least :)
Comment by Jimmy Johnsson (khhs) - Sunday, 08 January 2023, 21:07 GMT
Godot still regularly crashes, even in revision 5
Comment by Henri (Valta) Osmankäämi (cgx) - Monday, 09 January 2023, 04:07 GMT
Relevant godot bug entry:

I'm too getting random godot4 crashes with -5 package. -4 was completely broken (startup hang on crash). -3 was similar to -5
Comment by Flori (bitfl0wer) - Monday, 09 January 2023, 13:43 GMT
Team Fortress 2 also seems to be affected by this. can confirm that this hasn't been fixed by -5
EDIT: lib32-libx11 is also affected.
Comment by Andreas Radke (AndyRTR) - Thursday, 19 January 2023, 11:50 GMT
Please try libx11-1.8.3-6 - the 176.diff is now the an updated version that was committed into upstream git master.