GNU bug report logs - #35669
Mesa is failing an assertion

Previous Next

Package: guix;

Reported by: Joshua Branson <jbranso <at> dismail.de>

Date: Fri, 10 May 2019 14:56:01 UTC

Severity: normal

Done: Royce Strange <royball <at> disroot.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 35669 <at> debbugs.gnu.org (full text, mbox):

From: Marius Bakke <mbakke <at> fastmail.com>
To: Joshua Branson <jbranso <at> dismail.de>, 35669 <at> debbugs.gnu.org
Subject: Re: bug#35669: Mesa is failing an assertion
Date: Fri, 10 May 2019 20:01:12 +0200
[Message part 1 (text/plain, inline)]
Joshua Branson <jbranso <at> dismail.de> 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:
<https://bugs.freedesktop.org/show_bug.cgi?id=110608>.

...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.
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 5 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.