From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: bug#35669: Mesa is failing an assertion Date: Fri, 10 May 2019 20:01:12 +0200 Message-ID: <87tve2b34n.fsf@fastmail.com> References: <87ef56741h.fsf@dismail.de> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37927) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP9qN-0000ye-Ie for bug-guix@gnu.org; Fri, 10 May 2019 14:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP9qM-0003aF-Ef for bug-guix@gnu.org; Fri, 10 May 2019 14:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53723) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hP9qM-0003a4-97 for bug-guix@gnu.org; Fri, 10 May 2019 14:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hP9qM-0006mD-1Q for bug-guix@gnu.org; Fri, 10 May 2019 14:02:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87ef56741h.fsf@dismail.de> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Joshua Branson , 35669@debbugs.gnu.org --=-=-= Content-Type: text/plain Joshua Branson writes: > Hello I am getting a weird mesa assertion when I try to start sway. > > sway: ../mesa-18.3.5/src/mesa/program/prog_parameter.c:247: > _mesa_add_parameter: Assertion `0 < size && size <=4' failed. > Aborted. > > Is anyone else getting this issue? I've seen this too and went as far as bisecting Mesa: . ...after bisecting Guix to e6a668ec7303a71f87e4c9354b1458e555058c63. (Guix makes this process surprisingly easy btw, someone should write a blog post about it.) The fix is to wipe Mesas shader cache: $ rm -rf "$HOME/.cache/mesa_shader_cache" You may also need to do the same for your display manager, if any: $ sudo rm -rf "/var/lib/{sddm,gdm}/.cache/mesa_shader_cache" I don't know why Mesa fails to do that on its own. I can't find a lot on the internet about this issue, so I suspect it is a problem specific to Guix. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlzVvGgACgkQoqBt8qM6 VPqXjgf/QKrLia1oSN22G88jul1bXuPNmbjRG9HwfoLUY9Dzhgk5CvIyePf132IN cYwxesLSQdc5k4mQkfjIgdgdAnsJ119hkji5vPUXmxSJ8WuAXOD0MXAXw8gz2CfV f1MibRP7+24ikyoCFdA8QGBURk3Nmkf1GenGlz/lTysDB7uhwvDblLIOYWzYUlFt XawY/oKC77OzODl7WN1vbzmKS0ElJ1St+AOgwiJxQ3rgBBn8FkrUH9+SbsA4ovQy pWKD1kOVxxZbQxfMF7cBPHb2xNkbdjIsiFYSYivXoZ/YlpRAs9ORbBAsKyY2cNoB +nCRO7oTszRwMlN1WIw7tir2E6Pypw== =SLCi -----END PGP SIGNATURE----- --=-=-=--