all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#35669: Mesa is failing an assertion
@ 2019-05-10 14:55 Joshua Branson
  2019-05-10 18:01 ` Marius Bakke
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Branson @ 2019-05-10 14:55 UTC (permalink / raw)
  To: 35669


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35669: Mesa is failing an assertion
  2019-05-10 14:55 bug#35669: Mesa is failing an assertion Joshua Branson
@ 2019-05-10 18:01 ` Marius Bakke
  2019-05-13 15:29   ` Joshua Branson
  0 siblings, 1 reply; 4+ messages in thread
From: Marius Bakke @ 2019-05-10 18:01 UTC (permalink / raw)
  To: Joshua Branson, 35669

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35669: Mesa is failing an assertion
  2019-05-10 18:01 ` Marius Bakke
@ 2019-05-13 15:29   ` Joshua Branson
  2020-06-10 14:29     ` Royce Strange
  0 siblings, 1 reply; 4+ messages in thread
From: Joshua Branson @ 2019-05-13 15:29 UTC (permalink / raw)
  To: 35669


This did indeed solve my problem.  Thanks!

-- 
Joshua Branson
Sent from Emacs and Gnus

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35669: Mesa is failing an assertion
  2019-05-13 15:29   ` Joshua Branson
@ 2020-06-10 14:29     ` Royce Strange
  0 siblings, 0 replies; 4+ messages in thread
From: Royce Strange @ 2020-06-10 14:29 UTC (permalink / raw)
  To: 35669-done

Hello.

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

Closing.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-10 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-10 14:55 bug#35669: Mesa is failing an assertion Joshua Branson
2019-05-10 18:01 ` Marius Bakke
2019-05-13 15:29   ` Joshua Branson
2020-06-10 14:29     ` Royce Strange

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.