"X11 connection broke with certain web browsers + window managers"

Bug #2025743 reported by Tyler Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mesa (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have two browsers that I normally love: Pale Moon and Basilisk. Unfortunately, both trigger a bug in Xorg, where the server just crashes, and returns me to the login screen. The problem does not affect the XFCE4 desktop environment, but it does affect Cinnamon. I have a first-gen Intel Core i5 mobile processor, and while I'm running Linux Mint 21, I believe the problem affects Ubuntu 22.04.

For more info, please see the bug reports I filed for Mint, from the following URLs:

https://github.com/linuxmint/mint21-beta/issues/148
https://github.com/linuxmint/cinnamon/issues/10972

Please note, I just recently tested a daily build of Ubuntu 23.10 with Gnome, and had the same issue. Debian 12 also has the same problem, although I have not filed a bug report there.

How to reproduce: use either of the previously-mentioned web browsers, and open literally any webpage, except those build in to the browser. (Eg, this very page will crash X, but "about:" pages won't.) X will crash within seconds.

I will attach the output of "inxi -Fxxxrz" below (as "info.txt").

PS: IDK if "mesa" is the right package for this bug report. Perhaps it should be an Xorg package?

Revision history for this message
Tyler Johnson (tsjswimmer) wrote :
description: updated
description: updated
description: updated
Revision history for this message
Oibaf (oibaf) wrote :

I read the linked bugs.
What's interesting from your Xorg.0.log.old is below.
As noted, please report a new bug here:
https://gitlab.freedesktop.org/mesa/mesa/-/issues/new
And attach (plain file, not compressed) an updated Xorg.0.log were you can see the following information.

[ 782.401] (II) modeset(0): [DRI2] DRI driver: crocus
[...]
[ 838.386] Failed to compile FS: 0:1(10): error: GLSL 1.30 is not supported. Supported versions are: 1.10, 1.20, and 1.00 ES

[ 838.386] Program source:
#version 130
#ifdef GL_ES
precision mediump float;
#endif
#define RepeatNone 0
#define RepeatNormal 1
#define RepeatPad 2
#define RepeatReflect 3
#define RepeatFix 10
uniform int source_repeat_mode;
uniform int mask_repeat_mode;
vec2 rel_tex_coord(vec2 texture, vec4 wh, int repeat)
{
        vec2 rel_tex;
        rel_tex = texture * wh.xy;
        if (repeat == RepeatFix + RepeatNone)
                return rel_tex;
        else if (repeat == RepeatFix + RepeatNormal)
                rel_tex = floor(rel_tex) + (fract(rel_tex) / wh.xy);
        else if (repeat == RepeatFix + RepeatPad) {
                if (rel_tex.x >= 1.0)
                        rel_tex.x = 1.0 - wh.z * wh.x / 2.;
                else if (rel_tex.x < 0.0)
                        rel_tex.x = 0.0;
                if (rel_tex.y >= 1.0)
                        rel_tex.y = 1.0 - wh.w * wh.y / 2.;
                else if (rel_tex.y < 0.0)
                        rel_tex.y = 0.0;
                rel_tex = rel_tex / wh.xy;
        } else if (repeat == RepeatFix + RepeatReflect) {
                if ((1.0 - mod(abs(floor(rel_tex.x)), 2.0)) < 0.001)
[ 838.386] (EE)
Fatal server error:
[ 838.387] (EE) GLSL compile failure
[ 838.387] (EE)
[ 838.387] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[ 838.387] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 838.387] (EE)
[ 838.387] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 838.447] (EE) Server terminated with error (1). Closing log file.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.