Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 Feb 2020 02:02:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 243887] Fatal server error: GLSL compile failure: Failed to compile VS: 0:13(43): error: `pos' undeclared
Message-ID:  <bug-243887-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D243887

            Bug ID: 243887
           Summary: Fatal server error: GLSL compile failure: Failed to
                    compile VS: 0:13(43): error: `pos' undeclared
           Product: Ports & Packages
           Version: Latest
          Hardware: i386
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: freebsd_noob@web.de

Hi,

i am using FreeBSD 12.1-RELEASE (i386) with the i915kms driver and the
xorg-server sometimes crashes with the following error:

[   324.818] Failed to compile VS: 0:13(43): error: `pos' undeclared
0:13(14): error: operands to arithmetic operators must be numeric
0:13(13): error: operands to arithmetic operators must be numeric

[   324.818] Program source:
#define ATLAS_DIM_INV 0.000976562500000000
attribute vec2 primitive;
attribute vec2 source;
varying vec2 glyph_pos;
uniform vec2 fill_offset;
uniform vec2 fill_size_inv;
varying vec2 fill_pos;
uniform vec4 v_matrix;
void main() {
       gl_Position.xy =3D primitive.xy * v_matrix.xz + v_matrix.yw;
       gl_Position.zw =3D vec2(0.0,1.0);
       glyph_pos =3D source.xy * ATLAS_DIM_INV;
       fill_pos =3D (fill_offset + primitive.xy + pos) * fill_size_inv;
}
[   324.818] (EE)=20
Fatal server error:
[   324.818] (EE) GLSL compile failure
[   324.818] (EE)=20
[   324.818] (EE)=20
Please consult the The X.Org Foundation support=20
         at http://wiki.x.org
 for help.=20
[   324.818] (EE) Please also check the log file at "/var/log/Xorg.0.log" f=
or
additional information.
[   324.818] (EE)=20
[   324.832] (II) AIGLX: Suspending AIGLX clients for VT switch
[   324.847] (EE) Server terminated with error (1). Closing log file.


I reliablely can reproduce the problem by clicking this link in Firefox 72.=
0.2:
https://download.freebsd.org/ftp/releases/i386/i386/ISO-IMAGES/12.1/CHECKSU=
M.SHA256-FreeBSD-12.1-RELEASE-i386

This bug has been fixed in xorg-server in 2016, and a patch is available.=20
See https://bugs.freedesktop.org/show_bug.cgi?id=3D97300 and
https://patchwork.freedesktop.org/patch/105827/ for more info.

Could you please integrate this patch (or update xorg-server altogether, si=
nce
it's pretty old)?

If you need more info, i am happy to help.

Regards
freebsd_noob

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243887-7788>