linuxmint / mint21-beta

BETA Bug Squash Rush
16 stars 3 forks source link

[Cinnamon] "X11 connection broke" #148

Open tsjnachos117 opened 2 years ago

tsjnachos117 commented 2 years ago

Describe the bug My Cinnamon session keeps dying, bringing me back to the LightDM login screen. The only real clue as to why this happens is this line at the end of my ~/.xsession-errors log: The X11 connection broke (error 1). Did the X11 server die?

To Reproduce Steps to reproduce the behavior:

  1. Open Pale Moon (my web browser of choice)
  2. Open pretty much any webpage. IDK if there are any pages that don't trigger this bug, but here's one known "bad" page.

Expected behavior Not crashing, or entering into the Mate-like fallback mode.

Hardware and mintUpdate

Additional context Here's my ~/.xsession-errors file PS: I typed this with Pale Moon on XFCE4. I've also been using XFCE4 for a frew days, without issue, so this is clearly a Cinnamon bug. I'll also be testing other apps to see if I can keep reproducing this crash.

tsjnachos117 commented 2 years ago

This issue doesn't appear to affect Firefox1, Ungoogled Chromium2, or Brave3. I guess Pale Moon does something different, which Cinnamon doesn't link?

1: Installed via tarball, which I downloaded from Mozilla. 2: Installed via tarball, which I downloaded from the original developers' website. 3: Installed via apt, from the original developers' repo.

PS: I probably should've mentioned that I'm using the GTK3 build of Pale Moon from the developer's website.

mtwebster commented 2 years ago

I can't reproduce this (or at least the few minutes of testing I did, including your example) - using the gtk3 version from that link.

Can you try this in the live cd session? Or maybe create another user to test, in case there's been some configuration issue.

ALTracer commented 2 years ago

@tsjnachos117 I guess your X server is crashing on specific webpages in a specific browser, as it seems you're using Cinnamon (and definitely not Wayland etc.) Can you extract your /var/log/Xorg.0.log, Xorg.1.log etc. and read them yourself or paste somewhere here/gist/pastebin? In case of gpu-related errors I'd also read dmesg aka kernel log.

Additionally, do tarball Firefox and Chromium use hardware acceleration / WebRender / libva (search yourself how to verify)? When hwaccel enabled, do they crash Xorg as well? I'm a Firefox Quantum daily driver and they have made progress to offload rendering to GPU in the last couple years, though my i915 BYT is often blacklisted as underperforming.