[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#35669: Mesa is failing an assertion

From: Marius Bakke
Subject: bug#35669: Mesa is failing an assertion
Date: Fri, 10 May 2019 20:01:12 +0200
User-agent: Notmuch/0.28.3 (https://notmuchmail.org) Emacs/26.2 (x86_64-pc-linux-gnu)

Joshua Branson <address@hidden> 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.

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]