From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 08 01:17:05 2023 Received: (at submit) by debbugs.gnu.org; 8 Jul 2023 05:17:05 +0000 Received: from localhost ([127.0.0.1]:44121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qI0Jc-0002gH-St for submit@debbugs.gnu.org; Sat, 08 Jul 2023 01:17:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:53856) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qI0JZ-0002fo-O9 for submit@debbugs.gnu.org; Sat, 08 Jul 2023 01:17:03 -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 1qI0JT-0005Uj-9A for guix-patches@gnu.org; Sat, 08 Jul 2023 01:16:56 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qI0JP-0002Zp-9E for guix-patches@gnu.org; Sat, 08 Jul 2023 01:16:53 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=f9uis9FZbWxW73KcBPm05mecL0DOu+ENllyJPX2Fcf/vYiNdpSikYtPvxFT8KgkvPq4kgrwUbzQ1CfwirCoBticSqX3b2X2VDcWtc0gToqMZPrZSd283udEKguxui8P44OSlrg02srRnT1JKdxpgGhyWjws79FLYijPBLsVjLLSas/6bxcBpBX/1diUYnv43afN6Z1NLjOMQsfYZ9nC59EvOITNUBD7irgW3toqkxvRG/hx+iwhsCRDt7FZEByNre3STNlfjCbu0GzaM4ZxuOg+1y/pZmUu0ZG5BxPQP9T6489xEQfeJncMoPtJA2hSbkY6UA+80whRKLKmzzaSH3g==; s=purelymail3; d=lunabee.space; v=1; bh=a4rk8hRJ6nM3CWpCnlMqDhorpFwc0AAIpMJyUN4IeDw=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=gFUF9ANIODZPQ7aOaw7rZI5uZQ6hPRmi5HHYdJjKwyRU0lcwB80DdPWa+WN+1QmRI/FbI2UFp6miortaqDzWQ/hODyOtB+kFsDBY5R+FmCszEU9z2TxYV+/A76SabH0y3xae1lMTsJxlZu/EbwjqsNWmIm9W8d6BjuvWshh5c8Pbpwj1tYELRMgWeN1Pk0yRUVFncuXlK2LVgHZfsOXP7aPDAXcz7sA3y6DMJNK+hln9BW2LjV/zscOYbABPp1RU34p0YdDOAZ+lJ0XzPr38YtpMSh2M3/sfUA7gLhwB5UHELqC/W+qQpDAWZWC4GOWZ5VtYP05j6rrQh2NOQopt4A==; s=purelymail3; d=purelymail.com; v=1; bh=a4rk8hRJ6nM3CWpCnlMqDhorpFwc0AAIpMJyUN4IeDw=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: guix-patches@gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -2107317596; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 08 Jul 2023 05:16:42 +0000 (UTC) From: Lilah Tascheter To: guix-patches@gnu.org Subject: [PATCH] gnu: mesa: Fix Vulkan on older Intel GPUs. Date: Sat, 8 Jul 2023 00:16:34 -0500 Message-Id: <60cf22ecd3b501d0c75dab931f1d018f4dd23843.1688793383.git.lilah@lunabee.space> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 Received-SPF: pass client-ip=34.202.193.197; envelope-from=lilah@lunabee.space; helo=sendmail.purelymail.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Lilah Tascheter , liliana.prikler@gmail.com, iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Mesa split the Vulkan intel driver into two: intel and intel_hasvk. Enables intel_hasvk so vulkan functions on older intel GPUs again, and swrast for lavapipe as a fallback. --- gnu/packages/gl.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 9885bde712..b84b856c25 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -345,7 +345,7 @@ (define-public mesa ;; Explicitly enable Vulkan on some architectures. #$@(match (%current-system) ((or "i686-linux" "x86_64-linux") - '("-Dvulkan-drivers=3Dintel,amd")) + '("-Dvulkan-drivers=3Dintel,intel_hasvk,amd,swrast")) ((or "powerpc64le-linux" "powerpc-linux") '("-Dvulkan-drivers=3Damd,swrast")) ("aarch64-linux" base-commit: 3db685cb2e2ce2a4b29c62d28a66201b2eba018f --=20 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 08 11:46:46 2023 Received: (at 64528) by debbugs.gnu.org; 8 Jul 2023 15:46:46 +0000 Received: from localhost ([127.0.0.1]:45060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIA90-0007AU-9I for submit@debbugs.gnu.org; Sat, 08 Jul 2023 11:46:46 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:44288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qIA8x-00079q-VK for 64528@debbugs.gnu.org; Sat, 08 Jul 2023 11:46:44 -0400 Received: by mail-ed1-f68.google.com with SMTP id 4fb4d7f45d1cf-51d80d81d6eso3864773a12.1 for <64528@debbugs.gnu.org>; Sat, 08 Jul 2023 08:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688831198; x=1691423198; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=jhLMhZ2KKzNGkGyEppRdw4I2f/GfKa4VQVC63L7Xr2U=; b=qRwx6qFQbfZVvSKR+MeELxGcnZ7rcO4IQh1lqZj1hDzdCdaj1gARe1TR8RPobAWikM Brqkl5HtW46bnWzju1xIVnITbE2UR6cH6W6hBsiBDx2tIHgtWwIWqzgZLxUhW8x+UMwP upJV5aPXQm1onH3bgrDwy5Y2878UAZStBkN3GIV/c9SU8x+iu/Xp2tFNzZmXJRmMS3gk WCTai47M8rcuXtffEIM7SkUBQ4szYuLjKxgvlJitxh4cO3IGXpyE9NIUAElmSmc63lDM +bgx/FYZsQgHOTGi2tVJaLVxrw8ZaWHjtZNfiW8izo8efzbnqwcHsD72+RET1h4ex8ZI PTtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688831198; x=1691423198; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=jhLMhZ2KKzNGkGyEppRdw4I2f/GfKa4VQVC63L7Xr2U=; b=TItbrwqh8SS9aoZfXDyaREIOJNIwJJzdRl/eJ9h+W+4N0OVlJxn4PrUFA2OdlAp/LK r/oNVhPMD7oa9ZokcbQT47nNEGrmZnVPn12GUcCMAOEXoCTJ070WKyz244dAIOoAe5hs tfkPaQ3XQvpsBxZe3PGSI+KMHLcqVn6o9J9VkTs6dtkQonSFiUs2BuYagP+q3rE8qP3A H13KfeqiiVay7RUzqg73tluJdv6qRodcnrKAQcxCdHM31jf5zhXXFhHA+VE73ZlScUfW /yi9LuDDXut7epxL0PgljcI35gnruwRmoL1qTJk0yyDY0vNLqwKyojCDqjIheJrjEzRD g38w== X-Gm-Message-State: ABy/qLaCimaNSy5WtULNonNaLrxr1Ik7N/HxJZJGilAhi5QzyoB7Pkmx 63ZVoTPuJx79W8fdAMuhcok= X-Google-Smtp-Source: APBJJlFsBveRnADRbAw2YGuRtNL9yp3gDIq6dtkrdmqzc4D/vOFrd+f5abQr0MoPFDXpUlrzIQd0Hg== X-Received: by 2002:aa7:c042:0:b0:51e:be0:d2ea with SMTP id k2-20020aa7c042000000b0051e0be0d2eamr6068309edo.9.1688831197856; Sat, 08 Jul 2023 08:46:37 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id u18-20020aa7d892000000b0051e0cb4692esm3390146edq.17.2023.07.08.08.46.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Jul 2023 08:46:37 -0700 (PDT) Message-ID: <367c4fd42cb0d264fe19252352b2cafa229059dc.camel@gmail.com> Subject: Re: [PATCH] gnu: mesa: Fix Vulkan on older Intel GPUs. From: Liliana Marie Prikler To: Lilah Tascheter , 64528@debbugs.gnu.org Date: Sat, 08 Jul 2023 17:46:36 +0200 In-Reply-To: <60cf22ecd3b501d0c75dab931f1d018f4dd23843.1688793383.git.lilah@lunabee.space> References: <60cf22ecd3b501d0c75dab931f1d018f4dd23843.1688793383.git.lilah@lunabee.space> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 64528 Cc: iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) QW0gU2Ftc3RhZywgZGVtIDA4LjA3LjIwMjMgdW0gMDA6MTYgLTA1MDAgc2NocmllYiBMaWxhaCBU YXNjaGV0ZXI6Cj4gTWVzYSBzcGxpdCB0aGUgVnVsa2FuIGludGVsIGRyaXZlciBpbnRvIHR3bzog aW50ZWwgYW5kIGludGVsX2hhc3ZrLgo+IEVuYWJsZXMgaW50ZWxfaGFzdmsgc28gdnVsa2FuIGZ1 bmN0aW9ucyBvbiBvbGRlciBpbnRlbCBHUFVzIGFnYWluLAo+IGFuZCBzd3Jhc3QgZm9yIGxhdmFw aXBlIGFzIGEgZmFsbGJhY2suCj4gLS0tCj4gwqBnbnUvcGFja2FnZXMvZ2wuc2NtIHwgMiArLQo+ IMKgMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspLCAxIGRlbGV0aW9uKC0pCj4gCj4gZGlm ZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9nbC5zY20gYi9nbnUvcGFja2FnZXMvZ2wuc2NtCj4gaW5k ZXggOTg4NWJkZTcxMi4uYjg0Yjg1NmMyNSAxMDA2NDQKPiAtLS0gYS9nbnUvcGFja2FnZXMvZ2wu c2NtCj4gKysrIGIvZ251L3BhY2thZ2VzL2dsLnNjbQo+IEBAIC0zNDUsNyArMzQ1LDcgQEAgKGRl ZmluZS1wdWJsaWMgbWVzYQo+IMKgwqDCoMKgwqDCoMKgwqDCoCA7OyBFeHBsaWNpdGx5IGVuYWJs ZSBWdWxrYW4gb24gc29tZSBhcmNoaXRlY3R1cmVzLgo+IMKgwqDCoMKgwqDCoMKgwqDCoCAjJEAo bWF0Y2ggKCVjdXJyZW50LXN5c3RlbSkKPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoKG9y ICJpNjg2LWxpbnV4IiAieDg2XzY0LWxpbnV4IikKPiAtwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgJygiLUR2dWxrYW4tZHJpdmVycz1pbnRlbCxhbWQiKSkKPiArwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqAgJygiLUR2dWxrYW4tZHJpdmVycz1pbnRlbCxpbnRlbF9oYXN2ayxhbWQsc3dyYXN0 IikpCj4gwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKChvciAicG93ZXJwYzY0bGUtbGludXgi ICJwb3dlcnBjLWxpbnV4IikKPiDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICcoIi1EdnVs a2FuLWRyaXZlcnM9YW1kLHN3cmFzdCIpKQo+IMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICgi YWFyY2g2NC1saW51eCIKPiAKPiBiYXNlLWNvbW1pdDogM2RiNjg1Y2IyZTJjZTJhNGIyOWM2MmQy OGE2NjIwMWIyZWJhMDE4ZgpJcyB0aGlzIGFpbWVkIGF0IG1hc3Rlcj8gIElmIHNvLCBpdCBuZWVk cyBhIGdyYWZ0LgoKQ2hlZXJzCg== From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 08 14:29:59 2023 Received: (at 64528) by debbugs.gnu.org; 8 Jul 2023 18:29:59 +0000 Received: from localhost ([127.0.0.1]:45189 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICgw-0001S4-Tc for submit@debbugs.gnu.org; Sat, 08 Jul 2023 14:29:59 -0400 Received: from sendmail.purelymail.com ([34.202.193.197]:38886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qICgu-0001Rl-8e for 64528@debbugs.gnu.org; Sat, 08 Jul 2023 14:29:56 -0400 Authentication-Results: purelymail.com; auth=pass DKIM-Signature: a=rsa-sha256; b=Dw/Y/yCua8uFdKAjMMXaqOf6r8uOmg8bfrsF3RlfJxZIrDDQZXANCaQyOhBTQGyotz3XdUrGsMMAYsyNgPWFpvIX2+1ixJETaxQIUVIp8+TFGedyIcwNArWwrxmavTicP73ASDEP+sLNMeY3H7JaAGXsn4jUUcVwf+Kwf1mNMTQg/iLhmnbP8b+AOO7VVdZTpn/DAKx3zyz1YtjimoDALpRZ2/quznvIbUgyV6dGsZG5x006A6IT26JLiJsFeqipLbJRMUpXsY2S/QAMrd2wMEGWgCOIJdvyOclKJ3S4z58vrOk+yOEyjhkien641dVAjy8EOhfFiTLEUXavsxhA1g==; s=purelymail3; d=lunabee.space; v=1; bh=ut6joLrajVzVBGjsqpp+2gXh54RNk8/LjDMsVP6ZAe0=; h=Received:From:To:Subject; DKIM-Signature: a=rsa-sha256; b=WTUR+3QRqpNz3tPCdIE7bh4JM+kkbuiGgI4ALWw0HPJ8Hb0k8JKsBjTI/C2Usrkpz+6CMqVRVMFAhEwc8fT6n5fEC9oKotJO4M6RZwBC1Kw5c6MojdcMJZT9DzCRbYlHG0xoJF8LMuMomZ6S76TvbLAnNMAMJm0uS4Mxx64aLj09RerBhQ3diUWdZKQBWaV32nAzlejulvBBZIhI+SGUUGJsikPrTrYaXzfBRYmDV9GNp9rBV65NUqs3K7jlsTSYCBQfa82NbBGumDqLDIQyZMO+9e3dWRkkm82ZZzCALS55HZrKrdqRAI/+R+8nxWVoziT22ExfU4v8I22k4nc82Q==; s=purelymail3; d=purelymail.com; v=1; bh=ut6joLrajVzVBGjsqpp+2gXh54RNk8/LjDMsVP6ZAe0=; h=Feedback-ID:Received:From:To:Subject; Feedback-ID: 8937:2070:null:purelymail X-Pm-Original-To: 64528@debbugs.gnu.org Received: by smtp.purelymail.com (Purelymail SMTP) with ESMTPSA id -1773032586; (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Sat, 08 Jul 2023 18:29:45 +0000 (UTC) From: Lilah Tascheter To: 64528@debbugs.gnu.org Subject: [PATCH v2] gnu: mesa: Fix Vulkan on older Intel GPUs. Date: Sat, 8 Jul 2023 13:29:28 -0500 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by Purelymail Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64528 Cc: Lilah Tascheter , liliana.prikler@gmail.com, iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mesa split the Vulkan intel driver into two: intel and intel_hasvk. Enables intel_hasvk so vulkan functions on older intel GPUs again, and swrast for lavapipe as a fallback. * gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable. (mesa): Graft with mesa-vulkan-hasvk. --- gnu/packages/gl.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm index 9885bde712..1691086e1a 100644 --- a/gnu/packages/gl.scm +++ b/gnu/packages/gl.scm @@ -279,6 +279,7 @@ (define-public mesa (base32 "1mcjf41x2bhxs6yxars7nh2vfryfw50g6rvbcfbb1wqdv2jn4qrq")))) (build-system meson-build-system) + (replacement mesa-vulkan-hasvk) (propagated-inputs ;; The following are in the Requires.private field of gl.pc. (list libdrm @@ -526,6 +527,21 @@ (define-public mesa from software emulation to complete hardware acceleration for modern GPUs.= ") (license license:x11))) =20 +(define mesa-vulkan-hasvk + (let ((graft mesa) + (vulk "-Dvulkan-drivers=3Dintel,amd")) + (package + (inherit graft) + (arguments + (substitute-keyword-arguments (package-arguments graft) + ((#:configure-flags flags) + #~(begin + (use-modules (ice-9 match)) + (map (match-lambda + (#$vulk (string-append #$vulk ",intel_hasvk,swrast")= ) + (x x)) + #$flags)))))))) + (define-public mesa-opencl (package/inherit mesa (name "mesa-opencl") base-commit: 3db685cb2e2ce2a4b29c62d28a66201b2eba018f --=20 2.40.1 From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 03:26:55 2023 Received: (at 64528-done) by debbugs.gnu.org; 16 Jul 2023 07:26:56 +0000 Received: from localhost ([127.0.0.1]:46591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKw9f-0006qP-Ii for submit@debbugs.gnu.org; Sun, 16 Jul 2023 03:26:55 -0400 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]:46456) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKw9d-0006qB-7R for 64528-done@debbugs.gnu.org; Sun, 16 Jul 2023 03:26:53 -0400 Received: by mail-ej1-x643.google.com with SMTP id a640c23a62f3a-993a37b79e2so476652166b.1 for <64528-done@debbugs.gnu.org>; Sun, 16 Jul 2023 00:26:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689492407; x=1692084407; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=WAm877n6XjvGqIH0rFRw5LEdZ7yHuLtDmGn9fTfL5Iw=; b=S11irAHdEgNTzK2exO3qAJU/mrTisDlT3XteQHRtB1kVRdEOnh5lSfiEUbt4bqCq9W gQSq5VkKkyiKOoSmEGmhoV1CUmkTgNpfNF6rW/FO6JGTzNqXH33T8WgLTmzMz53ZM3QY Pp8870CQGdIa+OSg+b+0EKCjfIcJ6hRkaT3rq12Y6IAhfgdVxIWpMDZAlppIy49l2VKM CmKnM8Ye6p7U8XQ99cOsR0wCWJtXZcOVkinGhrThgBJb6CZZikXK6rioSSSf+Y9+TAWm pfZ0KoYQpauyNW6vAbnlJK4TZpFhBs8n9jaQ4JOHtwOqfwLk5d07y8uWz2mb0NflmBvZ yS0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689492407; x=1692084407; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=WAm877n6XjvGqIH0rFRw5LEdZ7yHuLtDmGn9fTfL5Iw=; b=DgpiwymdLr28VU+L0sdqlAfmAtDdhHMt7Q4f5L8JyoZuQbs3lIIPxa0B5fKjo1Tmhr avM//QOqt9QrepXB3kPXbbDpoA3bgm0JZnzWs7WYyiEy1BTFQAW+kcK3y7Qy7NlYLrnH 7rKU0YALpQPq5lHnZCGLNTqIbAieoBN31A909/pmMnOAEU7nwudqGW417Ek76ICkv/MJ fCIbNNesomrWU8nU3x2hiHLA25YXZ7qQbA93g/BEObjxvI0MQGZVy/bFM3jkRULCGYll aPLD7pK69hVYh32+L5CaLnU072vPTATThFAMIUR0KzlCux5jdRRDJYwSYwr7IN6MV2Eh vSdQ== X-Gm-Message-State: ABy/qLaox2fNY7cb/jiBKNNkA/mSgh3b0GLf3/nZQh2bCaWDbjyAvQ4P VC1LXSuSFYpP/UPD2s4AQEH4YelzOL1NGw== X-Google-Smtp-Source: APBJJlFAj7A4eahHgn7SAFqxyYmfsiSeOMhXONtTGbwOSyCIbdaoTb9Obw47Obrg1mE35fu5qOMx5g== X-Received: by 2002:a17:906:104e:b0:988:fb2f:274e with SMTP id j14-20020a170906104e00b00988fb2f274emr9108512ejj.27.1689492407414; Sun, 16 Jul 2023 00:26:47 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id f26-20020a1709062c5a00b0098242730348sm7662131ejh.72.2023.07.16.00.26.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jul 2023 00:26:47 -0700 (PDT) Message-ID: <957bd55eddfe9f81f08ebb5b7733c8ce49570612.camel@gmail.com> Subject: Re: [PATCH v2] gnu: mesa: Fix Vulkan on older Intel GPUs. From: Liliana Marie Prikler To: Lilah Tascheter , 64528-done@debbugs.gnu.org Date: Sun, 16 Jul 2023 09:26:45 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64528-done Cc: iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Am Samstag, dem 08.07.2023 um 13:29 -0500 schrieb Lilah Tascheter: > Mesa split the Vulkan intel driver into two: intel and intel_hasvk. > Enables intel_hasvk so vulkan functions on older intel GPUs again, > and swrast for lavapipe as a fallback. >=20 > * gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable. > =C2=A0 (mesa): Graft with mesa-vulkan-hasvk. > --- Pushed. From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 14:07:18 2023 Received: (at 64528) by debbugs.gnu.org; 16 Jul 2023 18:07:18 +0000 Received: from localhost ([127.0.0.1]:48523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL69O-0005rL-3E for submit@debbugs.gnu.org; Sun, 16 Jul 2023 14:07:18 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:14221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL69G-0005qo-Ni for 64528@debbugs.gnu.org; Sun, 16 Jul 2023 14:07:17 -0400 Date: Sun, 16 Jul 2023 18:06:56 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1689530824; x=1689790024; bh=j+nx9jcxdeOrf1BYY55MC0N4Jj34gjuM5CtCxFZ3IG0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=cBAvKZWnrsdR4CoZNDNK3YyJ20MneyJJfa8YFQ7sVS9dLPVfPa0nutYRFm/yYV91l M9lWz8fHdUvbnWQSkLBFcQ4CNOV2cRzTjzWpp0rmjd5DmzAM0Iwg5ghFTszC9SLRQL Fiqt9aHdjdR8dKI1C+KciA95Yuqpnoc3xlq5eSrG7FUwDEXYa/rtK+gTCTeb3XCrYV R21avOQqW3rAHZB2ii6bAXimnwvenrobGF1ltX2IBSvgfFYjWzAomccJkT7IASvJv+ JjmYx5fxyvbJrXelda6E5nDmH3aCE8QkAH+S/nMuAuBtkVLA9lq5I0EJPGXK8cPxYi ZBx6F9fFHm8SA== To: Liliana Marie Prikler From: John Kehayias Subject: Re: [PATCH v2] gnu: mesa: Fix Vulkan on older Intel GPUs. Message-ID: <87wmyzzq6e.fsf_-_@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64528 Cc: Lilah Tascheter , 64528@debbugs.gnu.org, iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Liliana Prikler wrote: >Am Samstag, dem 08.07.2023 um 13:29 -0500 schrieb Lilah Tascheter: >> Mesa split the Vulkan intel driver into two: intel and intel_hasvk. >> Enables intel_hasvk so vulkan functions on older intel GPUs again, >> and swrast for lavapipe as a fallback. >> >> * gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable. >> =C2=A0 (mesa): Graft with mesa-vulkan-hasvk. >> --- >Pushed. Ah, sorry I didn't see and respond earlier as we have a mesa-updates branch that I'm just waiting for the go ahead to merge to master. It updates mesa and is already built on Cuirass. How can we ensure that upon merging we don't cause the full rebuild? Should I revert this, apply the updates, and then do this graft? Or will applying the update on top of this graft commit be okay too? My original thought was that this shouldn't be grafted but can just be applied directly to mesa-updates with the next round of patches there, as this one is already built. This could be done pretty quickly, though I expect a new mesa version soon that I would group this with, along with some other mass rebuild changes waiting. I think on the order of a couple or few weeks. What do we all think? (Sorry there is no mesa team as of yet, not sure how to set that up without it applying to a too large scope of packages by default.) Thanks, John From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 16 14:28:43 2023 Received: (at 64528) by debbugs.gnu.org; 16 Jul 2023 18:28:43 +0000 Received: from localhost ([127.0.0.1]:48540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL6U7-0000j2-9V for submit@debbugs.gnu.org; Sun, 16 Jul 2023 14:28:43 -0400 Received: from mail-ed1-x542.google.com ([2a00:1450:4864:20::542]:50434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qL6U5-0000ip-KZ for 64528@debbugs.gnu.org; Sun, 16 Jul 2023 14:28:42 -0400 Received: by mail-ed1-x542.google.com with SMTP id 4fb4d7f45d1cf-5216f44d881so3036010a12.1 for <64528@debbugs.gnu.org>; Sun, 16 Jul 2023 11:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689532116; x=1692124116; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=vHi5yGOuwAMBcztKK5VFL08tiHGehYQYqDJ5mOiW+lA=; b=CPOM5vup4BIukzhLkfYNoOV2GLDY8nvK3WhNghJF/TqLI5OswBs52kzQKPz34p2YfU ylRkcCRsUVpb0pUhHqhvrw+7awjAxgKzVSnzVZ1zOXQcMIzKWqLW5ty+mTDp5lVEDfQ1 BbeiWcUZd/wl1xm6sW/e4PpRd6Rs4adHy0kOXcWJL+gMBpma8JP5EIPSSnqu+Mm/4V06 GdEw923I34CVeJblUmus/xOAAM6n5/y9EVVvGtnIzuoz3k/COB9HN2cegIOMqLP616oH sOSQSHUtr9rjxkvrYBQ6/RBQK6WzGUvqoFWjHp5ujAx3Fd5DRe9qRKVuaEFAHAPzu1jO hplQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689532116; x=1692124116; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vHi5yGOuwAMBcztKK5VFL08tiHGehYQYqDJ5mOiW+lA=; b=E4xjS2OQBG7A86+5RTFPPLnS4qkCThmaB+ZKg3ZbFykMm7Vrf4f+ivGBipqns+ganF QU+2Wb9huO695xiW3dRzkTDTTccIotS8hD8ycopcL106NcQepKHhtpzq9or2DFf2oq7W KosWNPZcb2ZDZiwhD8zo8XJ+SG7xNZqaWFsxLY5ry1l9xtiig0koDmvzi8uPHmAGk59m Unc2jZbjOW2YZGEPZ/o5ifZmd4tmFjHsybBxEUb5RCODSBIHHFgY3k7bG/EGxeehy3sf LnwdTL8EItViD+LbVqXqwetu9AHQ6TRmGHjHrTRZJfSzGUeIpYXR5SA39pR6o21aLlJe E/9Q== X-Gm-Message-State: ABy/qLbJSN4W5hBiqPzuiYzMjGdeNUdHvTQCpBy1FXV5pniiwH3YXjQ5 srTzFl2FsAo7bmByiZfcpnI= X-Google-Smtp-Source: APBJJlGGv6v0wCKeYXeZ9DulUQl20EymDabDr4Me44w9yXGRaoY3kBMHhXs2ei84rubEic2QbPK4Xw== X-Received: by 2002:a17:906:255b:b0:992:7594:e6b2 with SMTP id j27-20020a170906255b00b009927594e6b2mr7901046ejb.77.1689532115416; Sun, 16 Jul 2023 11:28:35 -0700 (PDT) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id se18-20020a170906ce5200b0099329b3ab67sm8183820ejb.71.2023.07.16.11.28.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Jul 2023 11:28:34 -0700 (PDT) Message-ID: Subject: Re: [PATCH v2] gnu: mesa: Fix Vulkan on older Intel GPUs. From: Liliana Marie Prikler To: John Kehayias Date: Sun, 16 Jul 2023 20:28:33 +0200 In-Reply-To: <87wmyzzq6e.fsf_-_@protonmail.com> References: <87wmyzzq6e.fsf_-_@protonmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4 MIME-Version: 1.0 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64528 Cc: Lilah Tascheter , 64528@debbugs.gnu.org, iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi John, Am Sonntag, dem 16.07.2023 um 18:06 +0000 schrieb John Kehayias: > Ah, sorry I didn't see and respond earlier as we have a mesa-updates > branch that I'm just waiting for the go ahead to merge to master. It > updates mesa and is already built on Cuirass. >=20 > How can we ensure that upon merging we don't cause the full rebuild? > Should I revert this, apply the updates, and then do this graft? Or > will applying the update on top of this graft commit be okay too? Since this graft is phrased as more or less a package transformation, I would expect it to still apply (more or less) on top of any update you do on mesa-updates. If you already fixed the package on mesa-updates, then you can simply drop the replacement during your regular merge of master into mesa-updates. Similarly, if you want to do away with the graft, but haven't done so yet, you can inline the changes after the merge. In either case, it should be done before mesa-updates gets pushed to master. > My original thought was that this shouldn't be grafted but can just > be applied directly to mesa-updates with the next round of patches > there, as this one is already built. This could be done pretty > quickly, though I expect a new mesa version soon that I would group > this with, along with some other mass rebuild changes waiting. I > think on the order of a couple or few weeks. >=20 > What do we all think? (Sorry there is no mesa team as of yet, not > sure how to set that up without it applying to a too large scope of > packages by default.) I think grafting this for now, but undoing the graft on mesa-updates is the way to go. In my humble opinion we should fix bugs on master as they arise while doing long-term solutions in teams where we have more resources for big builds. Cheers From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 25 17:26:28 2023 Received: (at 64528) by debbugs.gnu.org; 25 Jul 2023 21:26:28 +0000 Received: from localhost ([127.0.0.1]:47151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOPY3-0005WL-VC for submit@debbugs.gnu.org; Tue, 25 Jul 2023 17:26:28 -0400 Received: from mail-4322.protonmail.ch ([185.70.43.22]:14545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOPY1-0005W7-FZ for 64528@debbugs.gnu.org; Tue, 25 Jul 2023 17:26:26 -0400 Date: Tue, 25 Jul 2023 21:25:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1690320379; x=1690579579; bh=BZnwGvQdkw3e+6eu7AVv2Sqw8tx4lM+R+VMZqKL+wH8=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=j5fDE20N7iDgxNHNxx7WAKftaTqFdrFPtmDKJbjoNxmTziYQukgXjMW/m65JW1fdA RFDSazrclkI7Pu6v910nWPrxHXMrSZcXD8samLxZU1w9OhnrlAFPH7vBYyU1LssX4J 6nEmiDglAHVLcZdfVswsBluX4OU+4Fe/nAga9+vY/aYsHRMov9VxVN4nUY5184dwBJ 6+HvVS7gIBdQ9H7JI7rKmUu2uz3M6ppvjoN1YQWCp2dydu4n4GzZNNhtFGKhHfe8hI jgsefnlZ9CtJM5/2bwx9m6FmH3tIUhHBGu4w3svpf1KiLsMaJbCReuupxcknvNnehu 1y3Kxu8kDbdNg== To: Liliana Marie Prikler From: John Kehayias Subject: Re: [PATCH v2] gnu: mesa: Fix Vulkan on older Intel GPUs. Message-ID: <87sf9bisyo.fsf@protonmail.com> In-Reply-To: References: <87wmyzzq6e.fsf_-_@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 64528 Cc: Lilah Tascheter , 64528@debbugs.gnu.org, iyzsong@envs.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Liliana, On Sun, Jul 16, 2023 at 08:28 PM, Liliana Marie Prikler wrote: > Hi John, > > Am Sonntag, dem 16.07.2023 um 18:06 +0000 schrieb John Kehayias: >> Ah, sorry I didn't see and respond earlier as we have a mesa-updates >> branch that I'm just waiting for the go ahead to merge to master. It >> updates mesa and is already built on Cuirass. >> >> How can we ensure that upon merging we don't cause the full rebuild? >> Should I revert this, apply the updates, and then do this graft? Or >> will applying the update on top of this graft commit be okay too? > Since this graft is phrased as more or less a package transformation, I > would expect it to still apply (more or less) on top of any update you > do on mesa-updates. If you already fixed the package on mesa-updates, > then you can simply drop the replacement during your regular merge of > master into mesa-updates. Similarly, if you want to do away with the > graft, but haven't done so yet, you can inline the changes after the > merge. In either case, it should be done before mesa-updates gets > pushed to master. > I added a new commit on mesa-updates (after rebasing on master) to ungraft, incorporating this change in mesa directly now. >> My original thought was that this shouldn't be grafted but can just >> be applied directly to mesa-updates with the next round of patches >> there, as this one is already built. This could be done pretty >> quickly, though I expect a new mesa version soon that I would group >> this with, along with some other mass rebuild changes waiting. I >> think on the order of a couple or few weeks. >> >> What do we all think? (Sorry there is no mesa team as of yet, not >> sure how to set that up without it applying to a too large scope of >> packages by default.) > I think grafting this for now, but undoing the graft on mesa-updates is > the way to go. In my humble opinion we should fix bugs on master as > they arise while doing long-term solutions in teams where we have more > resources for big builds. > Sure, sounds good. I ended up updating mesa again along with a few other patches and somewhat related updates; letting things rebuild now and hope to merge to master once that looks good. Thanks! John From unknown Fri Aug 15 17:19:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Aug 2023 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator