Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 07:41:34 -0700
From:      Johannes Lundberg <johalun@FreeBSD.org>
To:        freebsd-x11@freebsd.org
Subject:   Re: xorg with i915kms crashes with GLSL compile failure when xsane starts
Message-ID:  <084c21d2-176e-dd2e-8076-ba27c80d0ea9@FreeBSD.org>
In-Reply-To: <20190426013254.GE1898@rpi3.zyxst.net>
References:  <20190426013254.GE1898@rpi3.zyxst.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi

Our xorg-server is quite old. An update which probably would fix this is
being worked on and it shouldn't be long now.

By the way, graphics related issues can be sent to freebsd-x11@freebsd.or=
g.

/Johannes


On 4/25/19 6:32 PM, tech-lists wrote:
> Hi,
>
> I'm not sure whether this should go here or should I raise a bug or
> directly raise the issue with xorg?
>
> This almost exact bug (xorg/i915kms) was patched/resolved in 2016 on
> debian according to
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D834054
> my issue is slightly different in that I'm using FreeBSD and it
> happens only when xsane starts and regardless of whether the scanner
> is even plugged in.
>
> context:
>
> 12.0-STABLE r346338 GENERIC amd64
>
> packages installed via pkg from default freebsd repos
> nothing xorg related has been manually defined
>
> drm-kmod-g20181126 (which has installed
> drm-fbsd12.0-kmod-4.16.g20190305)
> x11/xorg
> x11/mate
> graphics/xsane
>
> The machine itself is quite old (c. 2010) but xorg/i915kms works fine
> on it
> otherwise for stuff like firefox/libreoffice. It has 8GB ram and runs
> zfs. The crash happens shortly after xsane is started.
>
> xorg error:
>
> 0:13(14): error: operands to arithmetic operators must be numeric
> 0:13(13): error: operands to arithmetic operators must be numeric
>
> [=A0 1338.766] 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() {
> =A0=A0=A0=A0=A0 gl_Position.xy =3D primitive.xy * v_matrix.xz + v_matri=
x.yw;
> =A0=A0=A0=A0=A0 gl_Position.zw =3D vec2(0.0,1.0);
> =A0=A0=A0=A0=A0 glyph_pos =3D source.xy * ATLAS_DIM_INV;
> =A0=A0=A0=A0=A0 fill_pos =3D (fill_offset + primitive.xy + pos) * fill_=
size_inv;
> }
> [=A0 1338.766] (EE) Fatal server error:
> [=A0 1338.766] (EE) GLSL compile failure
> [=A0 1338.766] (EE) [=A0 1338.766] (EE) Please consult the The X.Org
> Foundation support =A0=A0=A0=A0=A0=A0=A0 at http://wiki.x.org
> =A0=A0=A0=A0=A0=A0=A0 for help.
> [=A0 1338.766] (EE) Please also check the log file at
> "/var/log/Xorg.0.log" for additional information.
> [=A0 1338.767] (EE) [=A0 1338.767] (II) AIGLX: Suspending AIGLX clients=

> for VT switch
> [=A0 1338.772] (EE) Server terminated with error (1). Closing log file.=

>
> in the meantime I'm going to try building xorg/xsane from the ports
>
> thanks,




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?084c21d2-176e-dd2e-8076-ba27c80d0ea9>