[Bug 243887] Fatal server error: GLSL compile failure: Failed to compile VS: 0:13(43): error: `pos' undeclared

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 5 02:02:26 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243887

            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 at FreeBSD.org
          Reporter: freebsd_noob at 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 = primitive.xy * v_matrix.xz + v_matrix.yw;
       gl_Position.zw = vec2(0.0,1.0);
       glyph_pos = source.xy * ATLAS_DIM_INV;
       fill_pos = (fill_offset + primitive.xy + pos) * fill_size_inv;
}
[   324.818] (EE) 
Fatal server error:
[   324.818] (EE) GLSL compile failure
[   324.818] (EE) 
[   324.818] (EE) 
Please consult the The X.Org Foundation support 
         at http://wiki.x.org
 for help. 
[   324.818] (EE) Please also check the log file at "/var/log/Xorg.0.log" for
additional information.
[   324.818] (EE) 
[   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/CHECKSUM.SHA256-FreeBSD-12.1-RELEASE-i386

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

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

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

Regards
freebsd_noob

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


More information about the freebsd-ports-bugs mailing list