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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 35669 in the body.
You can then email your comments to 35669 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#35669; Package guix. (Fri, 10 May 2019 14:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Joshua Branson <jbranso <at> dismail.de>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 10 May 2019 14:56:02 GMT) Full text and rfc822 format available.

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

From: Joshua Branson <jbranso <at> dismail.de>
To: bug-guix <at> gnu.org
Subject: Mesa is failing an assertion
Date: Fri, 10 May 2019 10:55:06 -0400
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?

Thanks,

--
Joshua Branson
Sent from Emacs and Gnus




Information forwarded to bug-guix <at> gnu.org:
bug#35669; Package guix. (Fri, 10 May 2019 18:02:01 GMT) Full text and rfc822 format available.

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)]

Information forwarded to bug-guix <at> gnu.org:
bug#35669; Package guix. (Mon, 13 May 2019 15:30:02 GMT) Full text and rfc822 format available.

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

From: Joshua Branson <jbranso <at> dismail.de>
To: 35669 <at> debbugs.gnu.org
Subject: Re: bug#35669: Mesa is failing an assertion
Date: Mon, 13 May 2019 11:29:40 -0400
This did indeed solve my problem.  Thanks!

-- 
Joshua Branson
Sent from Emacs and Gnus




Reply sent to Royce Strange <royball <at> disroot.org>:
You have taken responsibility. (Wed, 10 Jun 2020 14:30:02 GMT) Full text and rfc822 format available.

Notification sent to Joshua Branson <jbranso <at> dismail.de>:
bug acknowledged by developer. (Wed, 10 Jun 2020 14:30:02 GMT) Full text and rfc822 format available.

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

From: Royce Strange <royball <at> disroot.org>
To: 35669-done <at> debbugs.gnu.org
Subject: Re: bug#35669: Mesa is failing an assertion
Date: Wed, 10 Jun 2020 09:29:00 -0500
Hello.

Joshua Branson reported the fix provided by Marius Bakke solved 
his issue.

Closing.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 09 Jul 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 284 days ago.

Previous Next


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