From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 4AJqNVEXi2RDBQEASxT56A (envelope-from ) for ; Thu, 15 Jun 2023 15:51:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2CJXNVEXi2RE9AAAauVa8A (envelope-from ) for ; Thu, 15 Jun 2023 15:51:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8985A1F189 for ; Thu, 15 Jun 2023 15:51:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q9nNQ-0005P6-U3; Thu, 15 Jun 2023 09:51:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9nNO-0005Ob-Ql for bug-guix@gnu.org; Thu, 15 Jun 2023 09:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9nNO-0000bj-Hr for bug-guix@gnu.org; Thu, 15 Jun 2023 09:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q9nNO-0005P9-3H for bug-guix@gnu.org; Thu, 15 Jun 2023 09:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63197: video acceleration/libva segfaults caused by stale mesa shader cache Resent-From: Giovanni Biscuolo Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Jun 2023 13:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63197 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 63197@debbugs.gnu.org Received: via spool by 63197-submit@debbugs.gnu.org id=B63197.168683700320689 (code B ref 63197); Thu, 15 Jun 2023 13:51:02 +0000 Received: (at 63197) by debbugs.gnu.org; 15 Jun 2023 13:50:03 +0000 Received: from localhost ([127.0.0.1]:46487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9nMQ-0005Nd-SW for submit@debbugs.gnu.org; Thu, 15 Jun 2023 09:50:03 -0400 Received: from ns13.heimat.it ([46.4.214.66]:39190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9nMO-0005N3-EY for 63197@debbugs.gnu.org; Thu, 15 Jun 2023 09:50:01 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id D264730085C; Thu, 15 Jun 2023 13:49:53 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cu-XGMB0_Srq; Thu, 15 Jun 2023 13:49:52 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.217]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id E1C6A30022F; Thu, 15 Jun 2023 13:49:51 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 7D42726FC51C; Thu, 15 Jun 2023 15:49:51 +0200 (CEST) Received: (nullmailer pid 25331 invoked by uid 1000); Thu, 15 Jun 2023 13:49:50 -0000 From: Giovanni Biscuolo In-Reply-To: <871qk07o7a.fsf@gmail.com> Organization: Xelera.eu References: <875y9c7owu.fsf@gmail.com> <871qk07o7a.fsf@gmail.com> Date: Thu, 15 Jun 2023 15:49:50 +0200 Message-ID: <87pm5w3ke9.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686837073; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=C4GsBlKMZfyrKElPNOHGrKtLDHgz5v9G8HZ2cZ9BwQs=; b=tu8LjyuV6XyPukNRe1Fd6WYFVz1FeEeRTGYMd7aI6Y1t3giVzEx1CL1nHzjUlqhQ6FWesd oSKL3SJvrY+pjGM86IcR0v/mLj3K+q39M8B6cwUU5tp8Zwgrzt6glzK1fLfp1tfOiv5/Hu L8Mjkq1TRbaG2dkn3CFDkIPuCU7p02ddjvAox9292eh3qmFqfnhq7ZbN6NkQNnlfXKMSIP FXxm12dm3s4tLqhkf878JoAp+O3X3xCP6TpK5ZNegv5KUhAsY9Ld3ldu/oIHX7vrOJ+L8M aFAPpLUC5feIPQi7WX46MOOekwS79ynwALtYlcZ568s6my0JZ+4GfCL+A7pYQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686837073; a=rsa-sha256; cv=none; b=iEbhs1SZ5OUUyeNjxn4fb7p4XaB1A/jjY4pftGykdK4fP0oWqBXqMcsgvS740B4NQJlb9i vItGyBbnL9UU8AHMW353x34MeWwH9uZyndYRBAaJ0ja964Zf1bovTdAy4WDxJv3AL7SGjX +sDSyVzhBMC/gt7Q9nSGi8FvufV5MPO41JGpVIewfhiXlt5sxi66XFHkAwD/MgGxAAxunn Y5zJoekUioiroEnu3dUOtXXOwoFrStA0b0MvuEa7Q1CIYxmwNv/0nkAsMXBrYc9S3LuNPt oDC0xki+NtMWiJsmCmCnijYoY1O6LAhgIwQHpkCoyv1xW9xgFsI+4ArMIvW8sA== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -4.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 8985A1F189 X-Spam-Score: -4.83 X-TUID: OugIkYs4hSTt --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Maxim, I learned about this issue today Maxim Cournoyer writes: [...] >> After tracing the process, I noticed that the last thing it did was >> loading its mesa shader cache, stored under: >> >> ~/.cache/mesa_shader_cache >> >> Deleting that directory resolved the issue. >> >> It seems that'd be a bug in Mesa (for failing to determine that it >> should have invalidated its cache going from version 21 to 22 post >> core-updates merge). AFAIU this issue is still present using mesa 23 since Guillaume Le Vaillant had to use this workaround yesterday [1] and reported his backtrace upstream [2] If I'm not wrong (i.e. vlc et al are now using mesa 23) this should also be reported upstream (I can do it if needed). AFAIU the only thing we can do to fix this bug is to disable the shader cache (MESA_SHADER_CACHE_DISABLE=3Dtrue) until a proper fix is found upstream. ...or apply a patch to rename "~/.cache/mesa_shader_cache" to "~/.cache/mesa_shader_cache" Alternatively, we should find a way to make Guix users aware of this kind of problems and possible workarounds they can apply (it's not related to this specific bug) WDYT? Thanks! Gio' [1] id:871qify1i8.fsf@kitej [2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/8937#note_1960628 =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmSLFv4MHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSTjoP/0sKj3O19gl03wR0XkkGOOqUucQKXM9UxMT8mcl4 bh+4KOVWjD7n+zpu85fzNN3Qo4Hy3gg6febZ/3A6hGImoNewrpax5b+J5DhUht8X Qy3rYuKrbyWGKQ9XWD4koIFDW7rhp05FBPmK6hFTQfVBF8HwTZywfsAPuRgeHsGH Q2O0Wl+AJjtjoq/qD5veD6XoVKwCg6D3vovqobszFjb5vt5jAkfR2J0D6yHoUWFR uHDpqCqGY8Al/J9JFePwZpwIDPZdaGYVvjrisi414SaRCrT/kj+HEfwNB4lxwYmh 8Lk3rfEY/oxaW3aJRP09swr7kA6ok0U7uWBQAAOQf44TZmxuGxGGYUHTmCnzmsKL QbBOetJrY1k+k/epMgI1Dzu99uEbTMVgV/1cyB7DfFr1JFdtPsBAzDEEfKmr3kNr +R/Ri9dZgN4rvOTB9Bk3WxnwVpQirOgU7wwDT6VHSVsM+IYyOtAkoyuYrW3Bsdds 7hFtbcw/lwn0MP8uA6wL0NVhxXE8bt3uHNxkALa9wWlYMCqKt39TXhz16+kvCLH5 WBhJA7ACTFJ1AwkmfYHELedv+D2QQKKsORLdwZe4MHeh4We6dMqABSmxZ4d3saGr J7k7BCitpfGQA8+s+Xv/SXG93+NbyDawDIIAdgXqGiUsWd7IYbN4bC/xHHCSbL6F yzhU =i+eD -----END PGP SIGNATURE----- --=-=-=--