From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id YJYALJ+lKmZzBAAAe85BDQ:P1 (envelope-from ) for ; Thu, 25 Apr 2024 20:49:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id YJYALJ+lKmZzBAAAe85BDQ (envelope-from ) for ; Thu, 25 Apr 2024 20:49:03 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mprB2lPv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714070943; 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: content-transfer-encoding:content-transfer-encoding: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:dkim-signature; bh=VfmNVcBktN0RsJj+QTxSEZ01r2J/+aKNIFYa5+6u6Rw=; b=WC5kn87OdQ2cqp2T8KKhvQVwo68quIqlgbvEpeXi/ZVruiVa9FZZ3GxBi8OBgIxYPfQhUg 8PwM/O8XAy8uf+kQRb81xuCfzWNFEKXWJEveablSqm0V5TwN1xgy1nhEi6/2cLlnPfoEdF E9T5iBhbP8ws9+IwnwbO+fV17cTSfo0x26tf3TO91M7xKn0K81tgE0x/VGNj5uOd6ge+SY Vo6Vj/8OiOkWLqNXO4Eg8Ovs6QgC9wEXA6Ygh4A8xJMNKwRUTOH6FmlJw0oxeX9EYHexyX jyIGJYgLwGD5OybvwEDmEVjKzSk8866NNSFWWQ7eYIKwJjWYGmZ0+JeLmD7a+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=mprB2lPv; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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=1714070943; a=rsa-sha256; cv=none; b=PrtTMWlbEzoyRehOiA8TrtVKuYHmwDv0DPqyZ3hdcJLnj+XDhYfJl6NKcRu4sCd9YxuPii 91/y7ZSgkeYoRNk1R3FjDrfTXSkiEPF3srzssv3pui2/sY1hVzgDd6xTCwyB6VWvKGJrMD hwC8O6rV12qGy/hPaj1xPEu+b7wiDIlbLcLRNcoKxtsIipvJ/vd2Q8IGFzsOVVClqokPZh BAcHOw8tgBqTx+1KHSl1VHdY1m6xEwP6QPO+s/V6oXTP9ORDEFp+nM8tEz98+CCT5r3yTk 4fMYKuc3+cIo4w9x7yCeJI5hgPwn35QAVtjKAdwmle0gl0oiM4l//Fg59v8WOw== 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 5FA18C697 for ; Thu, 25 Apr 2024 20:49:02 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s049M-0003ie-L9; Thu, 25 Apr 2024 14:48:53 -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 1s049K-0003iO-MG for bug-guix@gnu.org; Thu, 25 Apr 2024 14:48:50 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s049K-0008Le-EL for bug-guix@gnu.org; Thu, 25 Apr 2024 14:48:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s049b-0004mj-He for bug-guix@gnu.org; Thu, 25 Apr 2024 14:49:07 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63197: video acceleration/libva segfaults caused by stale mesa shader cache Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Apr 2024 18:49:07 +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: 63197@debbugs.gnu.org Received: via spool by 63197-submit@debbugs.gnu.org id=B63197.171407090917913 (code B ref 63197); Thu, 25 Apr 2024 18:49:07 +0000 Received: (at 63197) by debbugs.gnu.org; 25 Apr 2024 18:48:29 +0000 Received: from localhost ([127.0.0.1]:33266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s048v-0004eQ-FE for submit@debbugs.gnu.org; Thu, 25 Apr 2024 14:48:28 -0400 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]:48561) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s048o-0004c3-54 for 63197@debbugs.gnu.org; Thu, 25 Apr 2024 14:48:22 -0400 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-434d0f63c31so8400431cf.1 for <63197@debbugs.gnu.org>; Thu, 25 Apr 2024 11:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714070874; x=1714675674; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VfmNVcBktN0RsJj+QTxSEZ01r2J/+aKNIFYa5+6u6Rw=; b=mprB2lPvla4bbYvGdxhjSNfmZOq2CpJsL3LF5ywCJpz5B0DqQivcsNUy9qeLm9ZkoN k+wjWiP56KwtbVOLWgqE/4r7vzE+S14gltDSfTMtnRyDBodI8W45AtRKT1qou30gK4CV olAdvn2ufY3GHKqJHg/KAs96W/3JwG0mPW9FsV33DUfHtMFAUNeaAtISqqjHznON5fo2 DEk5Pso/evJva6X8iB5ElF8GoT0Y+rmh37W5qx63EOKmdMeMGzHVim9aRMxFFw0FWart kZRXhsg9+SCKEas0AGScea6dISbCngRTXAlm38PLbj4S+8YHvchkF0x2SyI/BG0j7/Z5 gvwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714070874; x=1714675674; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=VfmNVcBktN0RsJj+QTxSEZ01r2J/+aKNIFYa5+6u6Rw=; b=c83Saj/MGCM/phF5CmKM4GkcpRQBxDaWUQCZqGgaz3P4uBkWt/+Ve+4NvxmOXpJjyA vXRJbrecQUDhTgFiUpvzFwqVzUByhIw0zDOD8tUrdSNx+2G/XbqCnJR/kFgObpaTQUru q/iKGdyKLzNbZW7fnR4PbvlWKoCf/znoef7J4xTEjMbHf2byVXPPiv9y1/xaHMvaw4uG CjpBxMJcFexu1JoSf/Bq4WLZ041hWauJptKNCcDm1ls8u19jPqlr+dTTcy8yNMmCBH6G 4/Y+PAQ7anYaMoghDhxumr2vheURO5g4AxncVgYVJFXqfZAw1zU7dTUNRyCpZdhGsZ3i PvTA== X-Gm-Message-State: AOJu0Yxc5WPqD6IBSVGM90A6Q83RjV97eFgC+wqtLVQPDJdLaUGe8UKN Io3bJgrA5cniUIoMFmA39MBvGqFBY2uwdni5o2CcJ4wOqzbST9+iT4TE7Q== X-Google-Smtp-Source: AGHT+IHq8jntElDGuACVvM8SNfVTKFtNeICbgKRKrXzzKusWTYNiosxMkoLE0ZE4ufF+vOqg7ooS8g== X-Received: by 2002:a05:622a:19a4:b0:434:cfe4:90fe with SMTP id u36-20020a05622a19a400b00434cfe490femr617439qtc.38.1714070874243; Thu, 25 Apr 2024 11:47:54 -0700 (PDT) Received: from hurd (dsl-205-233-124-191.b2b2c.ca. [205.233.124.191]) by smtp.gmail.com with ESMTPSA id a5-20020ac81085000000b00434a165d45asm7179117qtj.38.2024.04.25.11.47.53 for <63197@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 11:47:53 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <875y9c7owu.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 30 Apr 2023 22:42:41 -0400") References: <875y9c7owu.fsf@gmail.com> Date: Thu, 25 Apr 2024 14:47:52 -0400 Message-ID: <875xw5ffdz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.15 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -5.15 X-Migadu-Queue-Id: 5FA18C697 X-TUID: 5mjS9yS8KXO2 Hi, Maxim Cournoyer writes: > Hi, > > After reinstalling someone's desktop which has support for VA-API, > 'vainfo' from 'libva-utils' would consume all the memory then crash. > Other applications relying on libva would crash as well, e.g. ffmpeg (or > its users, such as vlc/jami). Here's a sample output from VLC: > > vlc received_605209834855384.mp4=20 > VLC media player 3.0.18 Vetinari (revision 3.0.13-8-g41878ff4f2) > [000000000109d770] main libvlc: Lancement de vlc avec l'interface par d= =C3=A9faut. Utiliser =C2=AB cvlc =C2=BB pour d=C3=A9marrer VLC sans interfa= ce. > libva info: VA-API version 1.17.0 > libva info: Trying to open /gnu/store/9pypr3c3y379shbwm9ilb4pik9mkfd83-me= sa-22.2.4/lib/dri/radeonsi_drv_video.so > libva info: Found init function __vaDriverInit_1_17 > Erreur de segmentation The same issue was reproduced with vlc and Totem after the latest upgrades, which brought mesa from version 23 to 24. The same solution: --8<---------------cut here---------------start------------->8--- $ rm -rf ./.cache/mesa_shader_cache --8<---------------cut here---------------end--------------->8--- still works. I've sent upstream a fresh snapshot of the 23 -> 24 corrupted cache [0]. [0] https://gitlab.freedesktop.org/mesa/mesa/-/issues/8937#note_2388471 --=20 Thanks, Maxim