Xserver crashes when using Glamor on GMA4500MHD
Hey, I'm using the new Crocus driver for my old GMA4500MHD GPU on my Thinkpad T500. Unfortunately my Xserver crashes, when I open certain programs or display images and I'm sure it's an issue with Glamor, because everything works fine, when I use SNA. Here is the code from 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.
Edited by D.d.P.F. Lombard