From owner-freebsd-ports@freebsd.org Fri Apr 26 01:33:00 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 450051583EAC; Fri, 26 Apr 2019 01:33:00 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 408FE74819; Fri, 26 Apr 2019 01:32:58 +0000 (UTC) (envelope-from tech-lists@zyxst.net) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id A70F221BBE; Thu, 25 Apr 2019 21:32:57 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 25 Apr 2019 21:32:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zyxst.net; h= date:from:to:cc:subject:message-id:mime-version:content-type; s= fm2; bh=k4ltgyZNNEePXV4Wndoa4P4rUNv0LUEhHyGjePlbUss=; b=lgVhR5zm zPsqIPScGzU8ym8LfBW53CTAw6Mr5H8csxyJOMGRIHACA38pQlnZ0hCnrFwIicYO nwdzcEgE+kOd4AoyRj2akL2S0/9kKAl1PoRVWPGSNOrIaTUpv4bo5o2qQFWUBMtK GiQjY82s2SqsqOtH0QtnyDXrX0b2lVYEHvRuDd4QZ6Ds4WD0oncS1q1g5ZjewTya DA1FOB2Ep3MrBh2OxuoD3Fw8UJYjdkirNqUAb2+P21L4KLtqbd/HokGj3otpeLCy wMCoEOfIsxBPoUDW3RaWaNXWhIITuVSWQa1C64LCZg7XQx6D+F8mmAH8fs1E/xhd R6BYJHdWgylVeA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=k4ltgyZNNEePXV4Wndoa4P4rUNv0L UEhHyGjePlbUss=; b=wUNBGMdaPnQ6Pfry8pStNOuHdgEzOSdR1FkRYlq+3carG l/Y3uT69CSBQhfpjOWWKZnN3dLagb90qfClokjFzz9rTZRZl6zjmnLwjoGY6GKNO GWtp39LmCCtuKSBduGmDwun5/4MOr2JJxiI6j7bo00le4/NQvx65xdbHK0hQgCHo 1O5XBACsTf/E9UuqFYkKF4b6c03Ev84tuJ1FsDSRhhI1sM03btSaokhAaiJmPxMs mmkwAOSNMjnlF0xtx2S1H4U/lQrJElALmX4ODU4gm3dDRouP5QWHmmJfghy2B+wy wTXxSvASybqDmrlyOb1baKDlUlVyWnPThLJXb5LLA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrheehgdegjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfggtggufgesghdtreertd ervdenucfhrhhomhepthgvtghhqdhlihhsthhsuceothgvtghhqdhlihhsthhsseiihiig shhtrdhnvghtqeenucffohhmrghinhepgidrohhrghdpuggvsghirghnrdhorhhgnecukf hppeekvddrjedtrdeluddruddtudenucfrrghrrghmpehmrghilhhfrhhomhepthgvtghh qdhlihhsthhsseiihiigshhtrdhnvghtnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from rpi3.zyxst.net (rpi3.zyxst.net [82.70.91.101]) by mail.messagingengine.com (Postfix) with ESMTPA id C7443103CC; Thu, 25 Apr 2019 21:32:56 -0400 (EDT) Date: Fri, 26 Apr 2019 02:32:54 +0100 From: tech-lists 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="JBi0ZxuS5uaEhkUZ" Content-Disposition: inline User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 408FE74819 X-Spamd-Bar: --------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=zyxst.net header.s=fm2 header.b=lgVhR5zm; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=wUNBGMda; spf=pass (mx1.freebsd.org: domain of tech-lists@zyxst.net designates 66.111.4.27 as permitted sender) smtp.mailfrom=tech-lists@zyxst.net X-Spamd-Result: default: False [-9.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[zyxst.net:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.27]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[zyxst.net]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[zyxst.net:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.991,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; IP_SCORE(-3.45)[ip: (-9.37), ipnet: 66.111.4.0/24(-4.55), asn: 11403(-3.29), country: US(-0.06)]; RCVD_IN_DNSWL_LOW(-0.10)[27.4.111.66.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Apr 2019 01:33:00 -0000 --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--