unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jacob Hrbek <kreyren@rixotstudio.cz>
To: 57206@debbugs.gnu.org
Cc: Jacob Hrbek <kreyren@rixotstudio.cz>
Subject: [bug#57206] [PATCH 3/3] mesa: Bump 21.3.8->22.1.3 * Needed to use newer DXVK<https://github.com/doitsujin/dxvk/issues/2822#issuecomment-1214256276>
Date: Sun, 14 Aug 2022 15:52:09 +0000	[thread overview]
Message-ID: <20220814155121.19195-3-kreyren@rixotstudio.cz> (raw)
In-Reply-To: <20220814155121.19195-1-kreyren@rixotstudio.cz>


[-- Attachment #1.1: Type: text/plain, Size: 2726 bytes --]

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>
---
 gnu/packages/gl.scm | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/gl.scm b/gnu/packages/gl.scm
index c740c087dd..b47b8564eb 100644
--- a/gnu/packages/gl.scm
+++ b/gnu/packages/gl.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2021 Ivan Gankevich <i.gankevich@spbu.ru>
 ;;; Copyright © 2021 John Kehayias <john.kehayias@protonmail.com>
 ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
+;;; Copyright © 2022 Jacob Hrbek <kreyren@rixotstudio.cz>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -261,7 +262,7 @@ (define libva-without-mesa
 (define-public mesa
   (package
     (name "mesa")
-    (version "21.3.8")
+    (version "22.1.3")
     (source
       (origin
         (method url-fetch)
@@ -273,12 +274,11 @@ (define-public mesa
                                   version "/mesa-" version ".tar.xz")))
         (sha256
          (base32
-          "19wx5plk6z0hhi0zdzxjx8ynl3lhlc5mbd8vhwqyk92kvhxjf3g7"))
-        (patches
-         (search-patches "mesa-skip-tests.patch"))))
+          "1qwky31vdqh3y6i0mxqnrbq7jc39kjcyndpv4mbzz8d2gax353xr"))))
     (build-system meson-build-system)
     (propagated-inputs
-      (list ;; The following are in the Requires.private field of gl.pc.
+     (list ;; The following are in the Requires.private field of gl.pc.
+      ;; NOTE(Krey): Since version 22.1.3 it requires libdrm_amdgpu[>=2.4.110]
             libdrm
             libvdpau
             libx11
@@ -295,6 +295,7 @@ (define-public mesa
                    libxrandr
                    libxvmc
                    wayland
+                   ;; NOTE(Krey): Since 22.1.3 requires wayland-protocols[>=1.24]
                    wayland-protocols)
              ;; TODO: Resort alphabetically.
              ;; Note: update the 'clang' input of mesa-opencl when bumping this.
@@ -355,17 +356,7 @@ (define-public mesa
          "-Dvulkan-layers=device-select,overlay"
 
          ;; Also enable the tests.
-         "-Dbuild-tests=true"
-
-         ;; on non-intel systems, drop i915 and i965
-         ;; from the default dri drivers
-         ,@(match (%current-system)
-             ((or "x86_64-linux" "i686-linux")
-              '("-Ddri-drivers=i915,i965,nouveau,r200,r100"))
-             (_
-              '("-Ddri-drivers=nouveau,r200,r100")))
-
-                "-Dllvm=enabled")       ; default is x86/x86_64 only
+         "-Dbuild-tests=true")
 
        ;; XXX: 'debugoptimized' causes LTO link failures on some drivers.  The
        ;; documentation recommends using 'release' for performance anyway.
-- 
2.37.1


[-- Attachment #1.2: publickey - kreyren@rixotstudio.cz - 1677db82.asc --]
[-- Type: application/pgp-keys, Size: 713 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

  parent reply	other threads:[~2022-08-14 15:53 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-14 15:51 [bug#57204] [PATCH 1/3] wayland-protocols: Bump to 1.24 * Needed to bump mesa to 22.1.3 Jacob Hrbek
2022-08-14 15:51 ` [bug#57205] [PATCH 2/3] libdrm: Bump 2.4.107->2.4.110 * Needed to bump mesa on 22.1.3 Jacob Hrbek
2022-08-14 15:52 ` Jacob Hrbek [this message]
2022-08-14 16:25   ` [bug#57206] [PATCH 3/3] mesa: Bump 21.3.8->22.1.3 * Needed to use newer DXVK<https://github.com/doitsujin/dxvk/issues/2822#issuecomment-1214256276> Maxime Devos
2022-08-14 16:23 ` [bug#57204] [PATCH 1/3] wayland-protocols: Bump to 1.24 * Needed to bump mesa to 22.1.3 Maxime Devos
2022-08-14 16:26 ` bug#57204: " Maxime Devos

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=20220814155121.19195-3-kreyren@rixotstudio.cz \
    --to=kreyren@rixotstudio.cz \
    --cc=57206@debbugs.gnu.org \
    /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).