Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Apr 2019 02:32:54 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-ports@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   xorg with i915kms crashes with GLSL compile failure when xsane starts
Message-ID:  <20190426013254.GE1898@rpi3.zyxst.net>

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

--JBi0ZxuS5uaEhkUZ
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I'm not sure whether this should go here or should I raise a bug or=20
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=3D834=
054
my issue is slightly different in that I'm using FreeBSD and it happens onl=
y=20
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.=
=20
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

[  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() {
       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;
}
[  1338.766] (EE)=20
Fatal server error:
[  1338.766] (EE) GLSL compile failure
[  1338.766] (EE)=20
[  1338.766] (EE)=20
Please consult the The X.Org Foundation support=20
         at http://wiki.x.org
         for help.
[  1338.766] (EE) Please also check the log file at
"/var/log/Xorg.0.log" for additional information.
[  1338.767] (EE)=20
[  1338.767] (II) AIGLX: Suspending AIGLX clients for VT switch
[  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,
--=20
J.

--JBi0ZxuS5uaEhkUZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAlzCX7oACgkQs8o7QhFz
NAXIEA/9H0uJ9wOHVeerbuOGQu/UwO+hNDXXb3ML1oyg6sBQSEmkec9HfoMVPh1f
Ve+n/5ZLOsW3k33G7KukWBnkos5qkiIBI3E6gytyQrAfy7ZhIOHMhux/i66NSb2J
lnXbktqOyj3pMswRBetavMGJKdqx1SyOpD8EpANAzWnK7qPQsQkoqjRqZXuxVJLE
VZMXsViSmDwSQr4MZM/0j5ok6KZOU6cBM1ye4FGuDr5qNiN8OgH/ZlZG2UvrqDj5
+62SSY09U3TW356LzclOQj8nx/3Pq3i/GDaVaY7x6RGeE6nTlhk/f/RSX6L4vnCr
NzgYgg3cvzDvyBko8F33ewi/SyXhWPHNm65C9wc9d0aMfxMsk7LWL4wHuuo1Qt8Y
4n5jK7B+IvB4tIHcEWdJa9xbSmOInRzJBVgBd6grUctHd3f7K1D6nGo5z4LBxcAd
Ck9UjSP93JNPAKKAPdDfzQUwt4fsdzBlzk/eNf5VTKZvLSsFAhOP88Uq2vNnMfwd
EIT/ENxiMRPVuUISLofbqsrbsM4dWe3Bu/5tRXUYal+2Gb6smDBFiufEypv0YjT0
jkD/2tiba6gurN1/ubtrbvooz5krufKvi5deK0z/gJrr3Y5essRXOrOSR8uXcVRq
P//ia2dqvvI47nAUvVCKNQXex2cfsXND4Ba3OUxP9/LNpEPmbvE=
=rWwk
-----END PGP SIGNATURE-----

--JBi0ZxuS5uaEhkUZ--



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