unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: Joshua Branson <jbranso@dismail.de>, 35669@debbugs.gnu.org
Subject: bug#35669: Mesa is failing an assertion
Date: Fri, 10 May 2019 20:01:12 +0200	[thread overview]
Message-ID: <87tve2b34n.fsf@fastmail.com> (raw)
In-Reply-To: <87ef56741h.fsf@dismail.de>

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-05-10 18:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-10 14:55 bug#35669: Mesa is failing an assertion Joshua Branson
2019-05-10 18:01 ` Marius Bakke [this message]
2019-05-13 15:29   ` Joshua Branson
2020-06-10 14:29     ` Royce Strange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tve2b34n.fsf@fastmail.com \
    --to=mbakke@fastmail.com \
    --cc=35669@debbugs.gnu.org \
    --cc=jbranso@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).