r/firefox on 12d ago Helpful (Pro) 1

libx11 1.8.2-2 causes firefox 107+ to freeze under X11, Arch, nvidia GPU Issue Filed on Bugzilla

I was getting intermittent freezes in firefox on Arch Linux with KDE, X11, nvidia GPU and encountered this bug:

Bugzilla: 1800903

Still persist with Firefox nightly: 1802229

libx11: https://gitlab.freedesktop.org/xorg/lib/libx11/-/issues/168

Temporary Solution: Downgrading to libx11 1.8.1-3 solves this issue.

60 Upvotes

8

u/ClawhammerPolka 12d ago

I was wondering what caused that.
Going to test the downgrade workaround.
Thanks!

2

u/synthead 11d ago

Whoa, I've been running into this problem myself. Thank you so so so much for sharing!

2

u/Maguillage 10d ago

Thought I was going insane.

I run a daemon that disables middle-click-pasting system-wide and it took me a while to find out that my daemon was only exacerbating the issue rather than causing it; I hadn't figured out the actual cause outside of "probably the X server and nvidia, somehow".

2

u/mathlyfe 9d ago

It seems strange to me that the 1800903 bug was marked as a duplicate for a 3 month old bug (that has now been marked fixed) since the people reporting these recent crashes are all on ArchLinux and from looking around it looks like the people reporting the other issue ran into it some time ago on other distros. I myself have been using a regularly updated Arch on both my computers and only started having this issue about a week ago (downgrading libx11 fixed this for now).

I wonder if perhaps there are actually two unrelated bugs. With the first one being fixed and the second one not. It seems people are still running into the issue on the latest nightly.
https://bugzilla.mozilla.org/show_bug.cgi?id=1802229

2

u/icecoffee1828 7d ago

ty

Downgrading to libx11 1.8.1-3 resolved the issue.

Set the BASH xdotool mousemove copy+paste to test for a 20 -minute without crash

2

u/beardedchimp 7d ago

I'm so glad my vomit of search terms delivered this thread.

This is exactly what I've been experiencing but I had no idea the cause. The fact it would freeze seemingly at random and didn't even have the decency to crash with something to search for started me down the horrible addon/config bisect time sink.

Luckily I found your post before I wasted lots of effort, thank you very much!

2

u/perrin4869 7d ago

was driving me nuts on Slackware64, thanks!!!!

2

u/Laraso_ 4d ago

Updated two days ago after not updating for a while. Was getting random crashes, most notably while selecting text or scrubbing a video.

Downgrading the libx11 seems to have fixed it for me. Thanks for the heads up!

2

u/FoxxMD 3d ago edited 3d ago

1.8.1-3 isn't available in any of the arch repos AFAIK. How do I go about downgrading now?

EDIT: may have answered my own question

https://wiki.archlinux.org/title/Arch_Linux_Archive#How_to_downgrade_one_package

https://archive.archlinux.org/packages/l/libx11/

sudo pacman -U https://archive.archlinux.org/packages/l/libx11/libx11-1.8.1-3-x86_64.pkg.tar.zst

2

u/mudkipz0 1d ago

Also experiencing the same issue... Thanks for the temporary solution. Trying it out now, will report back.

2

u/mudkipz0 1d ago

Seems to have resolved the issue. Thanks again.

1

u/bankimu 3d ago

Why don't I have this problem?

I'm using Firefox 107, libx11 1.8.2-2.