Xorg crash - GLSL compile failure

Hi all,

I've got an new install of FreeBSD (that I just upgraded to the latest 14.1-RELEASE-p5) and all configuration went well until it came to configuring my desktop environment. I can start an X session fine (using startx) and fluxbox loads ok. However when I try to open a rxvt terminal X (version 1.21.1.13) promptly crashes.

This happens every time so I was able to capture a log:

Code:
for translation, using default messages.
unable to connect to the rxvt-unicode daemon: Connection refused
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

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)
(EE)
Fatal server error:
(EE) GLSL compile failure
(EE)
(EE)
Please consult the The X.Org Foundation support
     at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
X connection to :0 broken (explicit kill or server shutdown).
Fluxbox: XIOError: lost connection to display.
X connection to :0 broken (explicit kill or server shutdown).
X connection to :0 broken (explicit kill or server shutdown).
X connection to :0 broken (explicit kill or server shutdown).
X connection to :0 broken (explicit kill or server shutdown).
X connection to :0 broken (explicit kill or server shutdown).
urxvt: X connection to ':0.0' broken, unable to recover, exiting.
protocol error: unexpected eof from server.
xinit: connection to X server lost

I notice the error "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" and was wondering if something went wrong during the package updates and some packages didn't get properly updated?

Anyone seen this before and can recommend a fix? I found this forum post and I can confirm the workaround of adding Option "AccelMethod" "none" has allowed me to use my desktop and terminals, but the expense of no acceleration.
 
Back
Top