Xorg crashes when opening certain programs
Olivier Fourdan
fourdan at gmail.com
Fri Apr 15 08:32:57 UTC 2022
Hi,
On Fri, 15 Apr 2022 at 10:09, DdP Lombard <ddp at lombards.xyz> wrote:
> Hey,
> I'm currently using the new "Crocus" driver for my GMA4500MHD, but
> unfortunately Xorg crashes, when I open certain images, display certain
> websites or simply open some programs. I think some GLSL functions
> are being called that my GPU can't offer. Here is my xorg.log
>
>
>
> [ 3751.392] 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
>
> [ 3751.392] 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)
> [ 3751.392] (EE)
> Fatal server error:
> [ 3751.395] (EE) GLSL compile failure
> [ 3751.395] (EE)
> [ 3751.395] (EE)
> Please consult the The X.Org Foundation support
> at http://wiki.x.org
> for help.
> [ 3751.395] (EE) Please also check the log file at
> "/home/lombard/.local/share/xorg/Xorg.0.log" for additional
> information. [ 3751.395] (EE) [ 3751.396] (II) AIGLX: Suspending
> AIGLX clients for VT switch [ 3751.444] (EE) Server terminated with
> error (1). Closing log file.
>
That's glamor (in glamor_create_composite_fs() function), please file an
issue in gitlab [1] and attach the relevant logs
("/home/lombard/.local/share/xorg/Xorg.0.log").
I suspect this is with the latest xserver 21.1? I wonder if commit
a9552868 [2] could possibly be related, maybe try with xserver 1.20 to see
if it has the same issue?
Meanwhile, as a workaround, you may want to disable glamor in your
xorg.conf, it will be slower but it shouldn't crash.
HTH
Cheers
Olivier
[1] https://gitlab.freedesktop.org/xorg/xserver/-/issues
[2] https://gitlab.freedesktop.org/xorg/xserver/-/commit/a95528686
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20220415/2775efb1/attachment.htm>
More information about the xorg
mailing list