Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 6114ccba9a | |||
| 0ed31fb29d |
655
Mesa.changes
655
Mesa.changes
@@ -1,664 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 24 07:00:09 UTC 2025 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- U_loader_wayland-Fix-missing-timespec.h-include.patch
|
||||
* fixes build with wayland-protocols 1.45
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 4 08:56:49 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- U_0001-svga-add-svga_resource_create_with_modifiers-functio.patch
|
||||
U_0002-svga-fix-printing-64-bit-value-for-32-bit-build.patch
|
||||
* fixes Wayland session when using SP7 as vmware guest (bsc#1245034)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 24 09:34:58 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- U_gbm-fix-get_back_bo-failure-with-gbm_surface-and-imp.patch
|
||||
* should fix hangup on "Started GNOME Display Manager" in a VM
|
||||
on VMware Fusion Pro (bsc#1241370)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 16 12:22:03 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- aarch64: enable panfrost vulkan driver on Leap 16.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 25 10:39:34 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- U_egl-never-select-swrast-for-vmwgfx.patch
|
||||
* fixes crash in libgallium on virtualbox (bsc#1241701)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 20 14:54:39 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- fixed build on SLE16
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 13:48:38 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Build with GCC 13 on Leap/SLES 15 (bsc#1238713)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 6 01:32:40 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- reverted previous change; n_remove-llvm17-wa-option.patch didn't
|
||||
help at all ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 5 13:33:53 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- n_remove-llvm17-wa-option.patch
|
||||
* no longer use --llvm17-wa option when running intel_clc;
|
||||
hopefully this fixes again Mesa's build after we updated
|
||||
llvm 19.1.5 to 19.1.7 and building it now with gcc13 instead of
|
||||
gcc7 (bsc#1238713)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 4 20:46:28 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to release 24.3.3
|
||||
--> https://docs.mesa3d.org/relnotes/24.3.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 4 20:08:17 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to release 24.3.2
|
||||
--> https://docs.mesa3d.org/relnotes/24.3.2
|
||||
- supersedes the following patches:
|
||||
* 0001-dri-don-t-fetch-X11-modifiers-if-we-don-t-support-th.patch
|
||||
* 0002-egl-wayland-only-supply-LINEAR-modifier-when-support.patch
|
||||
* 0003-egl-wayland-fallback-to-implicit-modifiers-if-advert.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 12 19:59:52 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- require llvm19/clang19 on sle15 >= sp6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 19:04:25 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- aarch64: disable build of etnaviv driver on sle15-sp7 due to
|
||||
python3-pycparser >= 2.20 not available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 9 14:36:46 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- don't apply patches of previous changelog for s390x; Mesa 24.1.7
|
||||
doesn't suffer from this issue, only Mesa 24.3.1 ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 8 21:58:37 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- 0001-dri-don-t-fetch-X11-modifiers-if-we-don-t-support-th.patch
|
||||
0002-egl-wayland-only-supply-LINEAR-modifier-when-support.patch
|
||||
0003-egl-wayland-fallback-to-implicit-modifiers-if-advert.patch
|
||||
* fixes mesa 24.3.1 gallium crash/segfault on GPUs without
|
||||
format modifiers (mesa issue#12253, mesa MR#32535, boo#1234302)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 03:00:23 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to release 24.3.1
|
||||
--> https://docs.mesa3d.org/relnotes/24.3.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 27 23:10:50 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- trying to make buildservice happy by adding both tarballs to
|
||||
specfile ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 26 18:20:06 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- on s390x build Mesa 24.1.7 to fix colors with Xvnc (boo#1233167)
|
||||
- adjusted patches for Mesa 24.1.7:
|
||||
* python36-buildfix1-s390x.patch
|
||||
* u_dep_xcb-s390x.patch
|
||||
* u_mesa-CVE-2023-45913-s390x.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 22 10:35:29 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.3.0
|
||||
--> https://docs.mesa3d.org/relnotes/24.3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 21 05:09:35 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.3.0~rc2
|
||||
--> https://www.phoronix.com/news/Mesa-24.3-rc2
|
||||
- Update to release 24.3.0~rc1
|
||||
--> https://www.phoronix.com/news/Mesa-24.3-rc1-Released
|
||||
- refreshed patches:
|
||||
* n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
||||
* python36-buildfix1.patch
|
||||
* python36-buildfix2.patch
|
||||
* tlsdesc_test.patch
|
||||
* u_mesa-CVE-2023-45913.patch
|
||||
* u_mesa-CVE-2023-45919.patch
|
||||
* u_mesa-CVE-2023-45922.patch
|
||||
* u_dep_xcb.patch
|
||||
- drop no longer supported options:
|
||||
* -Ddri3=enabled
|
||||
* -Ddri-search-path=%{_libdir}/dri
|
||||
- new files added in this update currently packaged as part of
|
||||
Mesa-dri:
|
||||
* %{_libdir}/gbm/dri_gbm.so
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 12:48:59 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to release 24.2.7
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.7
|
||||
- supersedes 0001-dril-Fixup-order-of-pixel-formats-in-drilConfigs.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 6 17:34:15 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- 0001-dril-Fixup-order-of-pixel-formats-in-drilConfigs.patch
|
||||
* fixes colors for 'swrast' driver (boo#1230637, gitlab issue#11840)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 19:35:20 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.2.6
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 19:15:10 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- added -32bit package for Mesa-libva since it's needed by Steam;
|
||||
reported on packman ML:
|
||||
https://lists.links2linux.de/pipermail/packman/2024-October/017985.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 18 11:00:17 UTC 2024 - Andreas Färber <afaerber@suse.de>
|
||||
|
||||
- Enable intel Vulkan backends on riscv64 (boo#1231756)
|
||||
- Enable iris Gallium backend on riscv64, Power and on Arm, too
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 17 10:16:01 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.2.5
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.5
|
||||
- drop u_fix-llvm19-build.patch
|
||||
included in upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 3 19:00:29 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.2.4
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.4
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 1 11:08:36 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
Thu Jul 10 19:44:32 UTC 2025 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- u_mesa-CVE-2023-45913.patch
|
||||
* NULL pointer dereference via dri2GetGlxDrawableFromXDrawableId()
|
||||
(CVE-2023-45913, bsc#1222040)
|
||||
- u_mesa-CVE-2023-45919.patch
|
||||
* buffer over-read in glXQueryServerString()
|
||||
* buffer over-read in glXQueryServerString()
|
||||
(CVE-2023-45919, bsc#1222041)
|
||||
- u_mesa-CVE-2023-45922.patch
|
||||
* segmentation violation in __glXGetDrawableAttribute()
|
||||
(CVE-2023-45922, bsc#1222042)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:56:40 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- libvdpau_gallium was linked directly into libgallium-*.so.*.
|
||||
Drop the subpackage and provides/obsolete it via Mesa-dri which
|
||||
ships libgallium-*.so.*.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:37:33 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- drop u_fix_rust_bindgen.patch
|
||||
included in update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 16:32:05 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.2.3
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.3
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 10:58:19 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- disable build of rusticl on sle15; meson is just too old ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 10:51:31 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- buildrequires: rusticl needs mesa >= 1.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 10:40:35 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- tlsdesc_test.patch: disable LTO in tlsdesc_test to suppress TLS
|
||||
relaxation (patch by Andreas Schwab <schwab@suse.de>); see also
|
||||
https://gitlab.freedesktop.org/mesa/mesa/-/issues/11929
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 10:36:35 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- buildrequire llvm19-devel/clang19-devel on sle15-sp7
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 22 12:02:17 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Add u_fix-llvm19-build.patch to fix build with LLVM 19 on ARM.
|
||||
- Update minimum version requirements based on meson.build.
|
||||
- Fix build on s390x: apparently we don't have libvdpau_gallium.so.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 17:39:59 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- drop U_egl-x11-sw-fix-partial-image-uploads.patch:
|
||||
the code in the function saw further fixes later on in the 24.2
|
||||
branch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 15:42:12 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- U_egl-x11-sw-fix-partial-image-uploads.patch
|
||||
* culprit for the regression in 24.1.4; reverse apply this for
|
||||
now (boo#1228164)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 14:35:00 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- integrated changes by Andreas Schwab <schwab@suse.de>
|
||||
* enable glamor also for driver build
|
||||
* update rust crates
|
||||
+ syn 2.0.39
|
||||
+ proc_macro2 1.0.86
|
||||
* enable valgrind also on riscv64
|
||||
* added libvdpau_gallium package for generic VDPAU state tracker
|
||||
* switch from "swrast" to "softpipe,llvmpipe" drivers
|
||||
* use "-Dllvm-orcjit=true" for riscv64 build
|
||||
* added libgallium to Mesa-dri package
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 13:38:59 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- re-disable llvm for non-driver build by switching from "swrast"
|
||||
to "softpipe" for gallium drivers in that case
|
||||
- make previous changelog a bit nicer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 8 17:39:10 UTC 2024 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- Update to release 24.2.2
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.2
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.1
|
||||
--> https://docs.mesa3d.org/relnotes/24.2.0
|
||||
|
||||
- refreshed the following patches with quilt:
|
||||
* U_fix-mpeg1_2-decode-mesa-20.2.patch
|
||||
* n_add-Mesa-headers-again.patch
|
||||
* n_stop-iris-flicker.patch
|
||||
* u_dep_xcb.patch
|
||||
* u_fix_rust_bindgen.patch
|
||||
- dropped U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch
|
||||
- New BuildRequires:
|
||||
* python3-PyYAML
|
||||
- enable llvm also for non-driver build to fix:
|
||||
"llvmpipe requires LLVM and is enabled, but LLVM is disabled".
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 5 19:20:59 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to bugfix release 24.1.7
|
||||
--> https://docs.mesa3d.org/relnotes/24.1.7
|
||||
- Supersedes the following patch:
|
||||
* U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch
|
||||
- Rebase patches with quilt.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 25 09:04:57 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Fix random GPU crash with AMDGPU (bsc#1229050):
|
||||
U_radeonsi-vcn-Add-decode-DPB-buffers-as-CS-dependency.patch
|
||||
(credits go to Takashi Iwai!)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 21 16:53:28 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- fix build with current rust-bindgen
|
||||
* u_fix_rust_bindgen.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 12:26:06 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.1.3
|
||||
--> https://docs.mesa3d.org/relnotes/24.1.3
|
||||
- supersedes the following patches:
|
||||
* u_dri-Fix-BGR-format-exclusion.patch
|
||||
* u_egl-gbm-Enable-RGBA-configs.patch
|
||||
* u_egl-surfaceless-Enable-RGBA-configs.patch
|
||||
* boo1226725-test-fix1.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 4 09:47:12 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- use gcc-13 on SLE 15/Leap 15.x in order to fix build; credits
|
||||
go to "Friedrich Haubensak" <hsk17@mail.de> to figure this out!
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 28 12:48:56 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- boo1226725-test-fix1.patch
|
||||
* another try to fix coloring on s390x and other platforms
|
||||
- re-enabled patches only applied on s390x with previous change
|
||||
on all platforms again
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 27 08:55:00 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- apply patches below to get GL on s390x working again only on
|
||||
s390x, because they break colors during YaST installation
|
||||
also on x86_64 platform (QT/GTK using GL backend?) (boo#1226725)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 26 08:27:46 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- u_egl-gbm-Enable-RGBA-configs.patch,
|
||||
u_egl-surfaceless-Enable-RGBA-configs.patch
|
||||
* these are needed now after applying previous patch
|
||||
u_dri-Fix-BGR-format-exclusion.patch also on other platforms
|
||||
than s390x? (boo#1226725)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 25 11:14:15 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- u_dri-Fix-BGR-format-exclusion.patch
|
||||
* fixes glxinfo/eglxinfo on s390x (boo#1226725, comment#6)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 23 00:24:07 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- Specfile cleanup
|
||||
* copy rust crate sources into subprojects folder
|
||||
* remove supplements. nvk is still new
|
||||
- Specfile changes for Rust crates. Also added this to README-suse-maintenance.md
|
||||
* Since Rust crates are not installed or discouraged to be installed
|
||||
as system dependencies because of the maintenance burden of being the
|
||||
next crates.io, we will have to download the following crates as vendored
|
||||
dependencies. Hence, do not be scared if the dependencies are done like
|
||||
this To check new crates or update the versions, just go to the subprojects
|
||||
folder and run `grep -r crates .` then set versions appropriately.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 21 08:41:10 UTC 2024 - Soc Virnyl Estela <obs@uncomfyhalomacro.pl>
|
||||
|
||||
- Update baselibs.conf
|
||||
- Build requires rust-cbindgen >= 0.25. However, this means
|
||||
we cannot build libvulkan_nouveau on Leap.
|
||||
- Enable libvulkan_nouveau including the following depencencies
|
||||
* add rust crate paste-1.0.14.tar.gz
|
||||
* add rust crate proc-macro2-1.0.70.tar.gz
|
||||
* add rust crate quote-1.0.33.tar.gz
|
||||
* add rust crate syn-2.0.39.tar.gz
|
||||
* add rust crate unicode-ident-1.0.12.tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 13:39:48 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.1.2
|
||||
--> https://docs.mesa3d.org/relnotes/24.1.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 19 17:31:26 UTC 2024 - Mikhail Paulyshka <me@mixaill.net>
|
||||
|
||||
- Disable LTO on %ix86/x86_64 due to rendering bugs on Radeon
|
||||
graphics (boo#1226462)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 18 06:18:47 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
- BuildRequire python3-pycparser when building drivers on ARM:
|
||||
etnaviv drm module requires this module to build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 18:20:50 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.1.1
|
||||
--> https://docs.mesa3d.org/relnotes/24.1.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 14 09:24:21 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to new feature release 24.1.0
|
||||
--> https://docs.mesa3d.org/relnotes/24.1.0
|
||||
- Some interesting highlights include:
|
||||
* NVIDIA Vulkan driver NVK is now considered ready for prime time.
|
||||
Distro packagers are now recommended to include `nouveau` in the
|
||||
`vulkan-drivers` list so that their users can have the option of using it
|
||||
instead of the proprietary NVIDIA driver.
|
||||
* Intel Vulkan driver Anv switched to truly asynchronous VM bind, and Xe
|
||||
support for error dump to debug GPU hangs was added.
|
||||
* Apple OpenGL driver Asahi has reached OpenGL 4.6 and OpenGL ES 3.2
|
||||
support.
|
||||
* Broadcom Vulkan driver V3DV gained support for VK_KHR_dynamic_rendering.
|
||||
* Arm Mali OpenGL driver Panfrost was prepared for Gen10 (Gxxx), and
|
||||
Vulkan driver PanVK was modernised for better Midgard (Txxx) and
|
||||
Bifrost (Gxxx) support.
|
||||
* All Vulkan drivers have gained support for explicit synchronisation on
|
||||
Wayland and X11.
|
||||
- adjusted patches:
|
||||
* n_stop-iris-flicker.patch
|
||||
* python36-buildfix1.patch
|
||||
- supersedes patches:
|
||||
* 0001-loader-delete-unused-param-from-pipe_loader_sw_probe.patch
|
||||
* 0002-glx-fix-some-indentation.patch
|
||||
* 0003-glx-add-an-implicit-param-to-createScreen.patch
|
||||
* 0004-glx-pass-implicit-load-param-through-allocation.patch
|
||||
* 0005-dri-plumb-a-implicit-param-through-createNewScreen-i.patch
|
||||
* 0006-gbm-plumb-an-implicit-param-through-device-creation.patch
|
||||
* 0007-frontends-dri-plumb-an-implicit-param-through-screen.patch
|
||||
* 0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch
|
||||
* 0009-zink-don-t-print-error-messages-when-failing-an-impl.patch
|
||||
* 0010-glx-silence-more-implicit-load-zink-errors.patch
|
||||
- added libvdpau_d3d12 package
|
||||
- small cleanup in specfile
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 13 13:26:14 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.0.9
|
||||
--> https://docs.mesa3d.org/relnotes/24.0.9.html
|
||||
* This is the last release of the 24.0 series. Users are encouraged
|
||||
to switch to the 24.1 series to continue receiving bugfixes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 2 16:27:55 UTC 2024 - Yunhe Guo <i@guoyunhe.me>
|
||||
|
||||
- Restrict all internal depencency version to match the exact Mesa build,
|
||||
so that users won't install Mesa packages partly from other repos and
|
||||
make the system broken.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 23 11:05:09 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.0.8
|
||||
--> https://docs.mesa3d.org/relnotes/24.0.8.html
|
||||
- refreshed 0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 10:38:33 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.0.7
|
||||
--> https://docs.mesa3d.org/relnotes/24.0.7.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 10:29:38 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.0.6
|
||||
--> https://docs.mesa3d.org/relnotes/24.0.6.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 14 07:22:05 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Enable libvulkan_intel on arm
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Apr 20 12:23:09 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 24.0.5
|
||||
- supersedes mesa-fix-llvm18.patch
|
||||
- adjusted 0004-glx-pass-implicit-load-param-through-allocation.patch,
|
||||
0010-glx-silence-more-implicit-load-zink-errors.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 3 06:55:12 UTC 2024 - Fei Yang <io@feiyang.eu.org>
|
||||
|
||||
- fix missing free codecs in builds with non-free codecs enabled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 26 01:44:52 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- enable vulkan-beta meson flag for vulkan video support (suggested
|
||||
by "llyyr" <llyyr.public@gmail.com>; adding C flag
|
||||
-Wno-error=missing-prototypes for this wasn't necessary)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 25 09:55:48 UTC 2024 - Andreas Schwab <schwab@suse.de>
|
||||
|
||||
- Add zink driver by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 20 07:18:13 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Add patch to fix boo#1221664:
|
||||
* mesa-fix-llvm18.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 12:59:16 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- 0010-glx-silence-more-implicit-load-zink-errors.patch
|
||||
* glx: silence more implicit-load zink errors [gitlab mesa issue #10802]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 02:20:03 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- 0001-loader-delete-unused-param-from-pipe_loader_sw_probe.patch,
|
||||
0002-glx-fix-some-indentation.patch,
|
||||
0003-glx-add-an-implicit-param-to-createScreen.patch,
|
||||
0004-glx-pass-implicit-load-param-through-allocation.patch,
|
||||
0005-dri-plumb-a-implicit-param-through-createNewScreen-i.patch,
|
||||
0006-gbm-plumb-an-implicit-param-through-device-creation.patch,
|
||||
0007-frontends-dri-plumb-an-implicit-param-through-screen.patch,
|
||||
0008-pipe-loader-plumb-a-flag-for-implicit-driver-load-th.patch,
|
||||
0009-zink-don-t-print-error-messages-when-failing-an-impl.patch
|
||||
* get rid of error message:
|
||||
'MESA: error: ZINK: vkEnumeratePhysicalDevices failed
|
||||
(VK_ERROR_INITIALIZATION_FAILED)'
|
||||
[gitlab mesa issue #10802]
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 02:10:26 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- adjusted and re-enabled python36-buildfix1.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 18 23:55:51 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to new feature release 24.0.3
|
||||
* Some interesting highlights include:
|
||||
+ New PowerVR Vulkan driver for Imagination's GPU
|
||||
+ NVIDIA Vulkan driver NVK has seen many improvements
|
||||
+ AMD Vulkan driver RADV ray-tracing performance improvements
|
||||
+ Microsoft OpenGL driver D3D12 has reached OpenGL 4.6 support
|
||||
* New extensions & features (in no particular order):
|
||||
+ VK_EXT_image_compression_control on RADV
|
||||
+ VK_EXT_device_fault on RADV
|
||||
+ OpenGL 3.3 on Asahi
|
||||
+ Geometry shaders on Asahi
|
||||
+ GL_ARB_texture_cube_map_array on Asahi
|
||||
+ GL_ARB_clip_control on Asahi
|
||||
+ GL_ARB_timer_query on Asahi
|
||||
+ GL_EXT_disjoint_timer_query on Asahi
|
||||
+ GL_ARB_base_instance on Asahi
|
||||
+ OpenGL 4.6 (up from 4.2) on d3d12
|
||||
+ VK_EXT_depth_clamp_zero_one on RADV
|
||||
+ GL_ARB_shader_texture_image_samples on Asahi
|
||||
+ GL_ARB_indirect_parameters on Asahi
|
||||
+ GL_ARB_viewport_array on Asahi
|
||||
+ GL_ARB_fragment_layer_viewport on Asahi
|
||||
+ GL_ARB_cull_distance on Asahi
|
||||
+ GL_ARB_transform_feedback_overflow_query on Asahi
|
||||
+ VK_KHR_calibrated_timestamps on RADV
|
||||
+ VK_KHR_vertex_attribute_divisor on RADV
|
||||
+ VK_KHR_maintenance6 on RADV
|
||||
+ VK_KHR_ray_tracing_position_fetch on RADV
|
||||
+ EGL_EXT_query_reset_notification_strategy
|
||||
- supersedes U_fix-ac-llvm-LLVM-18-remove-useless-passes.patch
|
||||
- adjusted n_add-Mesa-headers-again.patch, u_dep_xcb.patch
|
||||
- disabled python36-buildfix1.patch
|
||||
- removed disabled patch u_fix-build-on-ppc64le.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 16 18:44:50 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- get rid of u_zink-dont-print-error-messages-when-failing-an-implicit.patch
|
||||
completely
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 04:48:32 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- buildrequires llvm18-devel/clang18-devel on Leap 15.5/15.6
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 14 04:40:06 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- disabled u_zink-dont-print-error-messages-when-failing-an-implicit.patch
|
||||
for now, since it breaks driver build; this patch needs other patches
|
||||
below to build ...
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 12 20:13:17 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- u_zink-dont-print-error-messages-when-failing-an-implicit.patch
|
||||
* zink: don't print error messages when failing an implicit
|
||||
driver load (Mesa gitlab issue #10802)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 9 22:17:33 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||
|
||||
- Add U_fix-ac-llvm-LLVM-18-remove-useless-passes.patch to fix
|
||||
build with LLVM 18.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 5 04:33:37 UTC 2024 - Jianhua Lu <lujianhua000@gmail.com>
|
||||
|
||||
- Enable zink driver build on aarch64, this is needed for Qualcomm Adreno a7xx
|
||||
to use hw accelerated GL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 4 03:10:33 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- buildrequire llvm17 also on sle15-sp5/Leap15.5
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 17 01:01:22 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 23.3.6
|
||||
--> https://docs.mesa3d.org/relnotes/23.3.6.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 4 21:26:26 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- Update to bugfix release 23.3.5
|
||||
--> https://docs.mesa3d.org/relnotes/23.3.5.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 17:40:11 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- re-enabled rusticl on sle15-sp6 after linkpac'ing rust-bindgen
|
||||
in X11:XOrg project
|
||||
(CVE-2023-45922, bsc#1222042)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 25 05:19:47 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
286
Mesa.spec
286
Mesa.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package Mesa
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,7 @@
|
||||
%global psuffix %{nil}
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} x86_64 armv6l armv6hl
|
||||
%ifarch armv6l armv6hl
|
||||
%define _lto_cflags %{nil}
|
||||
%endif
|
||||
|
||||
@@ -42,11 +42,7 @@
|
||||
|
||||
%define glamor 1
|
||||
%define _name_archive mesa
|
||||
%ifnarch s390x
|
||||
%define _version 24.3.3
|
||||
%else
|
||||
%define _version 24.1.7
|
||||
%endif
|
||||
%define _version 23.3.4
|
||||
%define with_opencl 0
|
||||
%define with_rusticl 0
|
||||
%define with_vulkan 0
|
||||
@@ -61,15 +57,11 @@
|
||||
%define vdpau_nouveau 0
|
||||
%define vdpau_radeon 0
|
||||
%define vdpau_virtio_gpu 0
|
||||
%define vdpau_d3d12 0
|
||||
|
||||
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
|
||||
%define vdpau_nouveau 1
|
||||
%define vdpau_radeon 1
|
||||
%define vdpau_virtio_gpu 1
|
||||
%ifarch %{ix86} x86_64
|
||||
%define vdpau_d3d12 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
@@ -80,31 +72,19 @@
|
||||
%define with_opencl 1
|
||||
%ifarch %{ix86} x86_64
|
||||
%define with_vulkan 1
|
||||
%if 0%{?suse_version} > 1600
|
||||
%define vulkan_drivers swrast,amd,intel,intel_hasvk,nouveau
|
||||
%else
|
||||
%define vulkan_drivers swrast,amd,intel,intel_hasvk
|
||||
%endif
|
||||
%endif
|
||||
%ifarch %{arm} aarch64
|
||||
%define with_vulkan 1
|
||||
%if 0%{?suse_version} > 1600
|
||||
%define vulkan_drivers swrast,amd,broadcom,freedreno,intel,intel_hasvk,nouveau,panfrost
|
||||
%else
|
||||
%if 0%{?suse_version} == 1600 && 0%{?is_opensuse}
|
||||
%define vulkan_drivers swrast,amd,broadcom,freedreno,intel,intel_hasvk,panfrost
|
||||
%else
|
||||
%define vulkan_drivers swrast,amd,broadcom,freedreno,intel,intel_hasvk
|
||||
%endif
|
||||
%endif
|
||||
%define vulkan_drivers swrast,amd,broadcom,freedreno
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
%define with_vulkan 1
|
||||
%define vulkan_drivers swrast,amd,intel,intel_hasvk
|
||||
%define vulkan_drivers swrast,amd
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifarch aarch64 %{arm} ppc64 ppc64le riscv64 s390x %{ix86} x86_64 ix86
|
||||
%ifarch aarch64 %{arm} ppc64 ppc64le riscv64 s390x %{ix86} x86_64
|
||||
%define with_llvm 1
|
||||
%endif
|
||||
|
||||
@@ -115,8 +95,8 @@
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "drivers"
|
||||
%define glamor 1
|
||||
%if 0%{?suse_version} >= 1550 && 0%{with_opencl}
|
||||
%define glamor 0
|
||||
%if 0%{?suse_version} > 1550 && 0%{with_opencl}
|
||||
%define with_rusticl 1
|
||||
%endif
|
||||
%else
|
||||
@@ -138,113 +118,56 @@
|
||||
# Not built because virtio_gpu driver is not built.
|
||||
%define vdpau_virtio_gpu 0
|
||||
|
||||
# Not built because d3d12 driver is not built.
|
||||
%define vdpau_d3d12 0
|
||||
|
||||
# Vulkan includes radv driver which requires llvm
|
||||
%define with_vulkan 0
|
||||
%endif
|
||||
|
||||
# NVK aka Vulkan Nouveau dependencies
|
||||
%global _unicode_ident_crate_ver 1.0.12
|
||||
%global _syn_crate_ver 2.0.68
|
||||
%global _quote_crate_ver 1.0.33
|
||||
%global _proc_macro2_ver 1.0.86
|
||||
%global _paste_crate_ver 1.0.14
|
||||
|
||||
# Leap 15 and SLES 15 defaults to GCC 7, which does not have stable C++17 ABI.
|
||||
# See https://bugzilla.suse.com/show_bug.cgi?id=1235697
|
||||
%if 0%{?suse_version} < 1600
|
||||
%define gcc_version 13
|
||||
%endif
|
||||
|
||||
Name: Mesa%{psuffix}
|
||||
%ifnarch s390x
|
||||
Version: 24.3.3
|
||||
%else
|
||||
Version: 24.1.7
|
||||
%endif
|
||||
Version: 23.3.4
|
||||
Release: 0
|
||||
Summary: System for rendering 3-D graphics
|
||||
License: MIT
|
||||
Group: System/Libraries
|
||||
URL: https://www.mesa3d.org
|
||||
#Git-Clone: git://anongit.freedesktop.org/mesa/mesa
|
||||
Source0: https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz
|
||||
Source: https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz
|
||||
Source1: https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz.sig
|
||||
# NVK aka Vulkan Nouveau dependencies
|
||||
# Explainer:
|
||||
# Since Rust crates are not installed or discouraged to be installed as system
|
||||
# dependencies because of the maintenance burden of being the next crates.io,
|
||||
# we will have to download the following crates as vendored dependencies.
|
||||
# Hence, do not be scared if the dependencies are done like this
|
||||
# To check new crates or update the versions, just go to the subprojects folder and
|
||||
# run `grep -r crates .` then set versions appropriately.
|
||||
Source2: http://crates.io/api/v1/crates/unicode-ident/%{_unicode_ident_crate_ver}/download#/unicode-ident-%{_unicode_ident_crate_ver}.tar.gz
|
||||
Source3: http://crates.io/api/v1/crates/syn/%{_syn_crate_ver}/download#/syn-%{_syn_crate_ver}.tar.gz
|
||||
Source4: http://crates.io/api/v1/crates/quote/%{_quote_crate_ver}/download#/quote-%{_quote_crate_ver}.tar.gz
|
||||
Source5: http://crates.io/api/v1/crates/proc-macro2/%{_proc_macro2_ver}/download#/proc-macro2-%{_proc_macro2_ver}.tar.gz
|
||||
Source6: http://crates.io/api/v1/crates/paste/%{_paste_crate_ver}/download#/paste-%{_paste_crate_ver}.tar.gz
|
||||
Source7: baselibs.conf
|
||||
Source8: README.updates
|
||||
Source9: manual-pages.tar.bz2
|
||||
Source10: Mesa-rpmlintrc
|
||||
Source11: Mesa.keyring
|
||||
Source12: README-suse-maintenance.md
|
||||
Source20: https://archive.mesa3d.org/%{_name_archive}-24.3.3.tar.xz
|
||||
Source21: https://archive.mesa3d.org/%{_name_archive}-24.3.3.tar.xz.sig
|
||||
Source2: baselibs.conf
|
||||
Source3: README.updates
|
||||
Source4: manual-pages.tar.bz2
|
||||
Source6: Mesa-rpmlintrc
|
||||
Source7: Mesa.keyring
|
||||
Patch2: n_add-Mesa-headers-again.patch
|
||||
Patch11: u_0001-intel-genxml-Drop-from-__future__-import-annotations.patch
|
||||
Patch12: u_0002-intel-genxml-Add-a-untyped-OrderedDict-fallback-for-.patch
|
||||
%ifnarch s390x
|
||||
Patch13: python36-buildfix1.patch
|
||||
%else
|
||||
Patch13: python36-buildfix1-s390x.patch
|
||||
%endif
|
||||
Patch14: python36-buildfix2.patch
|
||||
Patch17: tlsdesc_test.patch
|
||||
Patch18: U_loader_wayland-Fix-missing-timespec.h-include.patch
|
||||
# never to be upstreamed
|
||||
Patch54: n_drirc-disable-rgb10-for-chromium-on-amd.patch
|
||||
Patch58: u_dep_xcb.patch
|
||||
Patch100: U_fix-mpeg1_2-decode-mesa-20.2.patch
|
||||
Patch200: u_fix-build-on-ppc64le.patch
|
||||
Patch400: n_stop-iris-flicker.patch
|
||||
%ifnarch s390x
|
||||
Patch500: u_dep_xcb.patch
|
||||
%else
|
||||
Patch500: u_dep_xcb-s390x.patch
|
||||
%endif
|
||||
%ifnarch s390x
|
||||
Patch600: U_egl-never-select-swrast-for-vmwgfx.patch
|
||||
Patch700: U_gbm-fix-get_back_bo-failure-with-gbm_surface-and-imp.patch
|
||||
Patch801: U_0001-svga-add-svga_resource_create_with_modifiers-functio.patch
|
||||
Patch802: U_0002-svga-fix-printing-64-bit-value-for-32-bit-build.patch
|
||||
%endif
|
||||
%ifnarch s390x
|
||||
Patch1222040: u_mesa-CVE-2023-45913.patch
|
||||
%else
|
||||
Patch1222040: u_mesa-CVE-2023-45913-s390x.patch
|
||||
%endif
|
||||
Patch1222041: u_mesa-CVE-2023-45919.patch
|
||||
Patch1222042: u_mesa-CVE-2023-45922.patch
|
||||
|
||||
%ifarch %{ix86} x86_64
|
||||
BuildRequires: DirectX-Headers >= 1.613.0
|
||||
BuildRequires: DirectX-Headers
|
||||
%endif
|
||||
BuildRequires: bison
|
||||
BuildRequires: cmake
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc%{?gcc_version} >= 9
|
||||
BuildRequires: gcc%{?gcc_version}-c++ >= 9
|
||||
%if 0%{?sle_version} >= 150400
|
||||
BuildRequires: gcc12-c++
|
||||
%else
|
||||
BuildRequires: gcc-c++
|
||||
%endif
|
||||
BuildRequires: glslang-devel
|
||||
BuildRequires: imake
|
||||
BuildRequires: libtool
|
||||
BuildRequires: memory-constraints
|
||||
%if 0%{with_rusticl}
|
||||
BuildRequires: meson >= 1.4.0
|
||||
%else
|
||||
BuildRequires: meson >= 1.1.0
|
||||
%endif
|
||||
BuildRequires: meson >= 0.60
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python3-base
|
||||
# dataclasses is in standard library of python >= 3.7
|
||||
@@ -252,24 +175,23 @@ BuildRequires: python3-base
|
||||
BuildRequires: python3-dataclasses
|
||||
%endif
|
||||
BuildRequires: python3-Mako
|
||||
BuildRequires: python3-PyYAML
|
||||
BuildRequires: python3-xml
|
||||
BuildRequires: pkgconfig(dri2proto)
|
||||
BuildRequires: pkgconfig(dri3proto)
|
||||
BuildRequires: pkgconfig(expat)
|
||||
BuildRequires: pkgconfig(glproto)
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.109
|
||||
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.121
|
||||
BuildRequires: pkgconfig(libdrm) >= 2.4.75
|
||||
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.95
|
||||
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.66
|
||||
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.71
|
||||
BuildRequires: pkgconfig(libglvnd) >= 1.3.2
|
||||
%ifarch aarch64 x86_64 ppc64le s390x riscv64
|
||||
BuildRequires: pkgconfig(libglvnd) >= 0.1.0
|
||||
%ifarch aarch64 x86_64 ppc64le s390x
|
||||
BuildRequires: pkgconfig(valgrind)
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libva)
|
||||
BuildRequires: pkgconfig(presentproto)
|
||||
%if "%{flavor}" == "drivers"
|
||||
BuildRequires: pkgconfig(vdpau) >= 1.5
|
||||
BuildRequires: pkgconfig(vdpau) >= 1.1
|
||||
%ifarch %{ix86} x86_64
|
||||
BuildRequires: pkgconfig(vulkan)
|
||||
%endif
|
||||
@@ -306,14 +228,11 @@ Obsoletes: libXvMC_r600 < %{version}
|
||||
Provides: libtxc_dxtn = %{version}
|
||||
Obsoletes: libtxc_dxtn < %{version}
|
||||
%ifarch %{arm} aarch64
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: python3-pycparser >= 2.20
|
||||
BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
|
||||
%endif
|
||||
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
|
||||
BuildRequires: pkgconfig(libelf)
|
||||
%endif
|
||||
%ifarch x86_64 %{ix86} aarch64 %{arm} riscv64
|
||||
%ifarch x86_64 %{ix86}
|
||||
BuildRequires: libelf-devel
|
||||
BuildRequires: pkgconfig(libdrm_intel) >= 2.4.75
|
||||
%else
|
||||
@@ -322,15 +241,15 @@ BuildRequires: libelf-devel
|
||||
%endif
|
||||
%endif
|
||||
# Requirements for wayland bumped up from 17.0
|
||||
BuildRequires: pkgconfig(wayland-client) >= 1.18
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.38
|
||||
BuildRequires: pkgconfig(wayland-server) >= 1.18
|
||||
BuildRequires: pkgconfig(wayland-client) >= 1.11
|
||||
BuildRequires: pkgconfig(wayland-protocols) >= 1.8
|
||||
BuildRequires: pkgconfig(wayland-server) >= 1.11
|
||||
%if 0%{with_llvm}
|
||||
%if 0%{?suse_version} >= 1550
|
||||
BuildRequires: llvm-devel >= 15
|
||||
BuildRequires: llvm-devel
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150600
|
||||
BuildRequires: llvm19-devel
|
||||
BuildRequires: llvm17-devel
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
@@ -340,18 +259,12 @@ BuildRequires: llvm19-devel
|
||||
BuildRequires: clang-devel
|
||||
%else
|
||||
%if 0%{?sle_version} >= 150600
|
||||
BuildRequires: clang19-devel
|
||||
BuildRequires: clang17-devel
|
||||
%endif
|
||||
%endif
|
||||
BuildRequires: libclc
|
||||
BuildRequires: pkgconfig(LLVMSPIRVLib)
|
||||
BuildRequires: pkgconfig(SPIRV-Tools)
|
||||
# For NVK or libvulkan_nouveau.so
|
||||
# Rust Cbindgen >=0.25 is required
|
||||
# but it's only available on tumbleweed
|
||||
%if 0%{?suse_version} > 1600
|
||||
BuildRequires: rust-cbindgen >= 0.25
|
||||
%endif
|
||||
%if 0%{with_rusticl}
|
||||
BuildRequires: rust
|
||||
BuildRequires: rust-bindgen
|
||||
@@ -396,7 +309,7 @@ Requires: Mesa-libGLESv1_CM-devel = %{version}
|
||||
Requires: Mesa-libGLESv2-devel = %{version}
|
||||
Requires: Mesa-libglapi-devel = %{version}
|
||||
Requires: libOSMesa-devel = %{version}
|
||||
Requires: libgbm-devel = %{version}
|
||||
Requires: libgbm-devel
|
||||
Provides: Mesa-devel-static = %{version}
|
||||
Provides: xorg-x11-Mesa-devel = %{version}
|
||||
Requires: libglvnd-devel >= 1.2.0
|
||||
@@ -599,9 +512,6 @@ Group: System/Libraries
|
||||
Requires: Mesa = %{version}
|
||||
Requires: libvulkan1
|
||||
Supplements: Mesa
|
||||
# merged into libgallium in 24.2.3
|
||||
Provides: libvdpau_gallium = %{version}-%{release}
|
||||
Obsoletes: libvdpau_gallium < %{version}-%{release}
|
||||
|
||||
%description -n Mesa-dri
|
||||
This package contains Mesa DRI drivers for 3D acceleration.
|
||||
@@ -725,13 +635,6 @@ Group: System/Libraries
|
||||
%description -n libvdpau_virtio_gpu
|
||||
This package contains the VDPAU state tracker for VirtIO GPU.
|
||||
|
||||
%package -n libvdpau_d3d12
|
||||
Summary: VDPAU state tracker for d3d12
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libvdpau_d3d12
|
||||
This package contains the VDPAU state tracker for d3d12
|
||||
|
||||
%package -n Mesa-libOpenCL
|
||||
Summary: Mesa OpenCL implementation (Clover)
|
||||
Group: System/Libraries
|
||||
@@ -768,7 +671,7 @@ This package contains the Mesa VA-API implementation provided through gallium.
|
||||
Summary: Mesa vulkan driver for Intel GPU
|
||||
Group: System/Libraries
|
||||
Supplements: modalias(pci:v00008086d*sv*sd*bc03sc*i*)
|
||||
Requires: Mesa-vulkan-device-select = %{version}
|
||||
Requires: Mesa-vulkan-device-select
|
||||
# get rid of this package, which is no longer neeeded at all
|
||||
Provides: Mesa-libVulkan-devel = 22.0.0
|
||||
Obsoletes: Mesa-libVulkan-devel < 22.0.0
|
||||
@@ -776,22 +679,11 @@ Obsoletes: Mesa-libVulkan-devel < 22.0.0
|
||||
%description -n libvulkan_intel
|
||||
This package contains the Vulkan parts for Mesa.
|
||||
|
||||
# Only available on Tumbleweed because of rust-cbindgen >= 1.25 requirement
|
||||
%if 0%{?suse_version} > 1600
|
||||
%package -n libvulkan_nouveau
|
||||
Summary: Mesa vulkan driver for NVK (Nouveau Vulkan)
|
||||
Group: System/Libraries
|
||||
Requires: Mesa-vulkan-device-select = %{version}
|
||||
|
||||
%description -n libvulkan_nouveau
|
||||
This package contains the Vulkan parts for Mesa.
|
||||
%endif
|
||||
|
||||
%package -n libvulkan_radeon
|
||||
Summary: Mesa vulkan driver for AMD GPU
|
||||
Group: System/Libraries
|
||||
Supplements: modalias(pci:v00001002d*sv*sd*bc03sc*i*)
|
||||
Requires: Mesa-vulkan-device-select = %{version}
|
||||
Requires: Mesa-vulkan-device-select
|
||||
|
||||
%description -n libvulkan_radeon
|
||||
This package contains the Vulkan parts for Mesa.
|
||||
@@ -799,7 +691,7 @@ This package contains the Vulkan parts for Mesa.
|
||||
%package -n libvulkan_lvp
|
||||
Summary: Mesa vulkan driver for LVP
|
||||
Group: System/Libraries
|
||||
Requires: Mesa-vulkan-device-select = %{version}
|
||||
Requires: Mesa-vulkan-device-select
|
||||
|
||||
%description -n libvulkan_lvp
|
||||
This package contains the Vulkan parts for Mesa.
|
||||
@@ -861,18 +753,10 @@ This package provides the development environment for compiling
|
||||
programs against the XA state tracker.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name_archive}-%{_version} -b9
|
||||
%setup -q -n %{_name_archive}-%{_version} -b4
|
||||
# remove some docs
|
||||
rm -rf docs/README.{VMS,WIN32,OS2}
|
||||
|
||||
# Rust crates to subprojects
|
||||
mkdir -p subprojects/packagecache
|
||||
cp %{SOURCE2} subprojects/packagecache/
|
||||
cp %{SOURCE3} subprojects/packagecache/
|
||||
cp %{SOURCE4} subprojects/packagecache/
|
||||
cp %{SOURCE5} subprojects/packagecache/
|
||||
cp %{SOURCE6} subprojects/packagecache/
|
||||
|
||||
%patch -P 2 -p1
|
||||
# fixes build against python 3.6
|
||||
%patch -P 11 -p1
|
||||
@@ -881,24 +765,18 @@ cp %{SOURCE6} subprojects/packagecache/
|
||||
%if 0%{?suse_version} < 1550
|
||||
%patch -P 14 -p1
|
||||
%endif
|
||||
%patch -P 17 -p1
|
||||
%patch -P 18 -p1
|
||||
# no longer needed since gstreamer-plugins-vaapi 1.18.4
|
||||
%if 0%{?suse_version} < 1550
|
||||
%patch -P 54 -p1
|
||||
%endif
|
||||
%patch -P 58 -p1
|
||||
%patch -P 100 -p1
|
||||
#%patch -P 200 -p1
|
||||
%patch -P 400 -p1
|
||||
%patch -P 500 -p1
|
||||
%ifnarch s390x
|
||||
%patch -P 600 -p1
|
||||
%patch -P 700 -p1
|
||||
%patch -P 801 -p1
|
||||
%patch -P 802 -p1
|
||||
%endif
|
||||
%patch -P 1222040 -p1
|
||||
%patch -P 1222041 -p1
|
||||
%patch -P 1222042 -p1
|
||||
|
||||
# Remove requires to vulkan libs from baselibs.conf on platforms
|
||||
# where vulkan build is disabled; ugly ...
|
||||
%if 0%{?with_vulkan} == 0
|
||||
@@ -911,9 +789,9 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
|
||||
%ifarch ppc64 ppc64le
|
||||
%limit_build -m 1024
|
||||
%endif
|
||||
%if 0%{?sle_version} >= 150400 || 0%{?suse_version} >= 1600
|
||||
export CC=gcc-13
|
||||
export CXX=g++-13
|
||||
%if 0%{?sle_version} >= 150400
|
||||
export CC=gcc-12
|
||||
export CXX=g++-12
|
||||
%endif
|
||||
|
||||
egl_platforms=x11,wayland
|
||||
@@ -940,12 +818,13 @@ egl_platforms=x11,wayland
|
||||
-Dvulkan-drivers= \
|
||||
%endif
|
||||
-Dxlib-lease=enabled \
|
||||
-Dglvnd=enabled \
|
||||
-Dglvnd=true \
|
||||
-Dgles1=enabled \
|
||||
-Dgles2=enabled \
|
||||
-Degl=enabled \
|
||||
-Dallow-kcmp=enabled \
|
||||
-Dplatforms=$egl_platforms \
|
||||
-Ddri3=enabled \
|
||||
-Dshared-glapi=enabled \
|
||||
%if 0%{?with_nine}
|
||||
-Dgallium-nine=true \
|
||||
@@ -963,13 +842,14 @@ egl_platforms=x11,wayland
|
||||
-Drust_std=2021 \
|
||||
%endif
|
||||
%endif
|
||||
-Ddri-search-path=%{_libdir}/dri \
|
||||
%if 0%{with_llvm}
|
||||
-Dllvm=enabled \
|
||||
-Dshared-llvm=enabled \
|
||||
%endif
|
||||
%if "%{flavor}" == "drivers"
|
||||
%if %{video_codecs}
|
||||
-Dvideo-codecs=all \
|
||||
-Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec \
|
||||
%endif
|
||||
%if %{gallium_loader}
|
||||
-Dgallium-vdpau=enabled \
|
||||
@@ -979,40 +859,26 @@ egl_platforms=x11,wayland
|
||||
%if 0%{with_vulkan}
|
||||
-Dvulkan-drivers=%{?vulkan_drivers} \
|
||||
-Dvulkan-layers=device-select,overlay \
|
||||
-Dvulkan-beta=true \
|
||||
%else
|
||||
-Dvulkan-drivers= \
|
||||
%endif
|
||||
%ifarch %{ix86} x86_64
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,svga,virgl,iris,crocus,i915,d3d12,zink \
|
||||
-Dgallium-d3d12-video=enabled \
|
||||
-Dgallium-d3d12-graphics=enabled \
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl,iris,crocus,i915,d3d12,zink \
|
||||
%else
|
||||
%ifarch %{arm} aarch64
|
||||
%if 0%{?suse_version} >= 1550
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,iris,freedreno,vc4,etnaviv,lima,panfrost,v3d,svga,tegra,zink \
|
||||
%else
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,iris,freedreno,vc4,lima,panfrost,v3d,svga,tegra,zink \
|
||||
%endif
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,v3d,svga,tegra \
|
||||
%else
|
||||
%ifarch ppc64 ppc64le riscv64
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,softpipe,llvmpipe,virgl,iris,zink \
|
||||
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl \
|
||||
%else
|
||||
-Dgallium-drivers=swrast \
|
||||
%endif
|
||||
%endif
|
||||
%endif
|
||||
%ifarch riscv64
|
||||
-Dllvm-orcjit=true \
|
||||
%endif
|
||||
%else
|
||||
%ifnarch s390x
|
||||
-Dgallium-drivers=softpipe \
|
||||
%else
|
||||
-Dgallium-drivers=swrast \
|
||||
%endif
|
||||
%endif
|
||||
%ifarch aarch64 x86_64 ppc64le s390x riscv64
|
||||
%ifarch aarch64 x86_64 ppc64le s390x
|
||||
-Dvalgrind=enabled \
|
||||
%endif
|
||||
-Db_ndebug=true \
|
||||
@@ -1026,7 +892,6 @@ egl_platforms=x11,wayland
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
export MESON_PACKAGE_CACHE_DIR="%{_sourcedir}"
|
||||
%meson_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
@@ -1075,18 +940,14 @@ rm %{buildroot}/%{_libdir}/pkgconfig/dri.pc
|
||||
# in KHR-devel
|
||||
rm -rf %{buildroot}/%{_includedir}/KHR
|
||||
|
||||
# in libgbm-devel
|
||||
rm -f %{buildroot}%{_includedir}/gbm.h
|
||||
rm -f %{buildroot}%{_libdir}/libgbm.so*
|
||||
rm -f %{buildroot}%{_libdir}/pkgconfig/gbm.pc
|
||||
# workaround needed since Mesa 19.0.2
|
||||
rm -f %{buildroot}/%{_libdir}/vdpau/libvdpau_gallium.so
|
||||
|
||||
%else
|
||||
# package in Mesa-dri
|
||||
rm -rf %{buildroot}/%{_datadir}/drirc.d
|
||||
|
||||
rm -f %{buildroot}/%{_libdir}/dri/*_dri.so
|
||||
rm -f %{buildroot}%{_libdir}/libgallium-*.so
|
||||
rm -rf %{buildroot}%{_libdir}/gbm/
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/libGLES*
|
||||
# glvnd needs a default provider for indirect rendering where it cannot
|
||||
@@ -1213,7 +1074,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%{_includedir}/xa_*.h
|
||||
%{_libdir}/libxatracker.so
|
||||
%{_libdir}/pkgconfig/xatracker.pc
|
||||
|
||||
%endif
|
||||
|
||||
%if %{vdpau_nouveau}
|
||||
@@ -1230,13 +1090,16 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%{_libdir}/vdpau/libvdpau_r600.so.1
|
||||
%{_libdir}/vdpau/libvdpau_r600.so.1.0
|
||||
%{_libdir}/vdpau/libvdpau_r600.so.1.0.0
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64 riscv64
|
||||
%files -n libvdpau_radeonsi
|
||||
%{_libdir}/vdpau/libvdpau_radeonsi.so
|
||||
%{_libdir}/vdpau/libvdpau_radeonsi.so.1
|
||||
%{_libdir}/vdpau/libvdpau_radeonsi.so.1.0
|
||||
%{_libdir}/vdpau/libvdpau_radeonsi.so.1.0.0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{vdpau_virtio_gpu}
|
||||
%files -n libvdpau_virtio_gpu
|
||||
@@ -1246,15 +1109,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%{_libdir}/vdpau/libvdpau_virtio_gpu.so.1.0.0
|
||||
%endif
|
||||
|
||||
%if %{vdpau_d3d12}
|
||||
%files -n libvdpau_d3d12
|
||||
%{_libdir}/vdpau/libvdpau_d3d12.so
|
||||
%{_libdir}/vdpau/libvdpau_d3d12.so.1
|
||||
%{_libdir}/vdpau/libvdpau_d3d12.so.1.0
|
||||
%{_libdir}/vdpau/libvdpau_d3d12.so.1.0.0
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" != "drivers"
|
||||
%files libglapi0
|
||||
%{_libdir}/libglapi.so.0*
|
||||
@@ -1275,11 +1129,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%ifarch %{arm} aarch64
|
||||
%exclude %{_libdir}/dri/vc4_dri.so
|
||||
%endif
|
||||
%ifnarch s390x
|
||||
%{_libdir}/libgallium-%{_version}.so
|
||||
%dir %{_libdir}/gbm/
|
||||
%{_libdir}/gbm/dri_gbm.so
|
||||
%endif
|
||||
|
||||
%if 0%{with_opencl}
|
||||
# only built with opencl
|
||||
@@ -1359,7 +1208,7 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%endif
|
||||
|
||||
%if 0%{with_vulkan}
|
||||
%ifarch %{ix86} x86_64 aarch64 %{arm} riscv64
|
||||
%ifarch %{ix86} x86_64
|
||||
%files -n libvulkan_intel
|
||||
%dir %{_datadir}/vulkan
|
||||
%dir %{_datadir}/vulkan/icd.d
|
||||
@@ -1369,17 +1218,6 @@ echo "The \"Mesa\" package does not have the ability to render, but is supplemen
|
||||
%{_libdir}/libvulkan_intel_hasvk.so
|
||||
%endif
|
||||
|
||||
%ifarch %{ix86} x86_64 aarch64 %{arm}
|
||||
# Only available on Tumbleweed because of rust-cbindgen >= 1.25 requirement
|
||||
%if 0%{?suse_version} > 1600
|
||||
%files -n libvulkan_nouveau
|
||||
%{_libdir}/libvulkan_nouveau.so
|
||||
%{_datadir}/vulkan/icd.d/nouveau_icd.*.json
|
||||
%dir %{_datadir}/vulkan
|
||||
%dir %{_datadir}/vulkan/icd.d
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files -n libvulkan_radeon
|
||||
%{_libdir}/libvulkan_radeon.so
|
||||
%dir %{_datadir}/vulkan
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
Since Rust crates are not installed or discouraged to be installed
|
||||
as system dependencies because of the maintenance burden of being the
|
||||
next crates.io, we will have to download the following crates as vendored
|
||||
dependencies. Hence, do not be scared if the dependencies are done like
|
||||
this.
|
||||
|
||||
To check new crates or update the versions, just go to the subprojects
|
||||
folder and run `grep -r crates .` then set versions appropriately.
|
||||
@@ -1,55 +0,0 @@
|
||||
From b13e2a495e9e3da56add7d852ca01b2cd7eef52d Mon Sep 17 00:00:00 2001
|
||||
From: Brian Paul <brian.paul@broadcom.com>
|
||||
Date: Thu, 9 Jan 2025 22:45:34 -0700
|
||||
Subject: [PATCH] svga: add svga_resource_create_with_modifiers() function
|
||||
|
||||
The dri_create_image() function returns early if the gallium
|
||||
driver does not implement this function. Surface creation has
|
||||
been broken for some time up to this fix.
|
||||
|
||||
Signed-off-by: Brian Paul <brian.paul@broadcom.com>
|
||||
Reviewed-by: Neha Bhende <neha.Bhende@broadcom.com>
|
||||
Reviewed-by: Neha Bhende <None>
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32976>
|
||||
---
|
||||
src/gallium/drivers/svga/svga_resource.c | 17 +++++++++++++++++
|
||||
1 file changed, 17 insertions(+)
|
||||
|
||||
diff --git a/src/gallium/drivers/svga/svga_resource.c b/src/gallium/drivers/svga/svga_resource.c
|
||||
index 80a4311854e..1775b65fab1 100644
|
||||
--- a/src/gallium/drivers/svga/svga_resource.c
|
||||
+++ b/src/gallium/drivers/svga/svga_resource.c
|
||||
@@ -52,6 +52,22 @@ svga_resource_from_handle(struct pipe_screen * screen,
|
||||
}
|
||||
|
||||
|
||||
+static struct pipe_resource *
|
||||
+svga_resource_create_with_modifiers(struct pipe_screen *screen,
|
||||
+ const struct pipe_resource *templat,
|
||||
+ const uint64_t *modifiers, int count)
|
||||
+{
|
||||
+ /* Not sure, but it seems there's no format modifiers
|
||||
+ * to deal with here.
|
||||
+ */
|
||||
+ if (count > 0 && modifiers != NULL && modifiers[0] != 0) {
|
||||
+ debug_printf("vmware: unexpected format modifier 0x%lx\n",
|
||||
+ modifiers[0]);
|
||||
+ }
|
||||
+ return svga_resource_create(screen, templat);
|
||||
+}
|
||||
+
|
||||
+
|
||||
/**
|
||||
* Check if a resource (texture, buffer) of the given size
|
||||
* and format can be created.
|
||||
@@ -121,6 +137,7 @@ void
|
||||
svga_init_screen_resource_functions(struct svga_screen *is)
|
||||
{
|
||||
is->screen.resource_create = svga_resource_create;
|
||||
+ is->screen.resource_create_with_modifiers = svga_resource_create_with_modifiers;
|
||||
is->screen.resource_from_handle = svga_resource_from_handle;
|
||||
is->screen.resource_get_handle = svga_resource_get_handle;
|
||||
is->screen.resource_destroy = svga_resource_destroy;
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
From 24107f2f67aab1e7304c0bbff77b1cef014673b9 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Paul <brian.paul@broadcom.com>
|
||||
Date: Mon, 13 Jan 2025 06:36:48 -0700
|
||||
Subject: [PATCH] svga: fix printing 64-bit value for 32-bit build
|
||||
|
||||
Closes: #12449, #12451
|
||||
Fixes: b13e2a495e ("svga: add svga_resource_create_with_modifiers() function")
|
||||
Signed-off-by: Brian Paul <brian.paul@broadcom.com>
|
||||
Reviewed-by: Neha Bhende <neha.Bhende@broadcom.com>
|
||||
Reviewed-by: Neha Bhende <None>
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32995>
|
||||
---
|
||||
src/gallium/drivers/svga/svga_resource.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/gallium/drivers/svga/svga_resource.c b/src/gallium/drivers/svga/svga_resource.c
|
||||
index 1775b65fab1..aa145de9ffe 100644
|
||||
--- a/src/gallium/drivers/svga/svga_resource.c
|
||||
+++ b/src/gallium/drivers/svga/svga_resource.c
|
||||
@@ -5,6 +5,7 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
+#include <inttypes.h>
|
||||
#include "util/u_debug.h"
|
||||
|
||||
#include "svga_resource.h"
|
||||
@@ -61,7 +62,7 @@ svga_resource_create_with_modifiers(struct pipe_screen *screen,
|
||||
* to deal with here.
|
||||
*/
|
||||
if (count > 0 && modifiers != NULL && modifiers[0] != 0) {
|
||||
- debug_printf("vmware: unexpected format modifier 0x%lx\n",
|
||||
+ debug_printf("vmware: unexpected format modifier 0x%" PRIx64 "\n",
|
||||
modifiers[0]);
|
||||
}
|
||||
return svga_resource_create(screen, templat);
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -1,30 +0,0 @@
|
||||
From f3b8d7da46a6ab2e63589bede37b35b0ae861af9 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
|
||||
Date: Mon, 20 Jan 2025 09:06:03 -0500
|
||||
Subject: [PATCH] egl: never select swrast for vmwgfx
|
||||
|
||||
ForceSoftware will be true in this case from the high-level fallback,
|
||||
but this isn't really swrast
|
||||
|
||||
Fixes: 1de7c86bc1a ("dri: pass through a type enum for creating screen instead of driver_extensions")
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33123>
|
||||
---
|
||||
src/egl/drivers/dri2/egl_dri2.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c
|
||||
index 6a43ad73d21..e813aa61f52 100644
|
||||
--- a/src/egl/drivers/dri2/egl_dri2.c
|
||||
+++ b/src/egl/drivers/dri2/egl_dri2.c
|
||||
@@ -592,7 +592,7 @@ dri2_load_driver(_EGLDisplay *disp)
|
||||
|
||||
dri2_dpy->kopper = disp->Options.Zink && !debug_get_bool_option("LIBGL_KOPPER_DISABLE", false);
|
||||
dri2_dpy->kopper_without_modifiers = dri2_dpy->kopper && debug_get_bool_option("LIBGL_KOPPER_DRI2", false);
|
||||
- dri2_dpy->swrast = (disp->Options.ForceSoftware && !dri2_dpy->kopper) ||
|
||||
+ dri2_dpy->swrast = (disp->Options.ForceSoftware && !dri2_dpy->kopper && strcmp(dri2_dpy->driver_name, "vmwgfx")) ||
|
||||
!dri2_dpy->driver_name || strstr(dri2_dpy->driver_name, "swrast");
|
||||
dri2_dpy->swrast_not_kms = dri2_dpy->swrast && (!dri2_dpy->driver_name || strcmp(dri2_dpy->driver_name, "kms_swrast"));
|
||||
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
src/gallium/drivers/r600/evergreen_state.c | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||
Index: mesa-23.3.0/src/gallium/drivers/r600/evergreen_state.c
|
||||
===================================================================
|
||||
--- mesa-24.2.2.orig/src/gallium/drivers/r600/evergreen_state.c
|
||||
+++ mesa-24.2.2/src/gallium/drivers/r600/evergreen_state.c
|
||||
@@ -584,7 +584,8 @@ static void *evergreen_create_sampler_st
|
||||
--- mesa-23.3.0.orig/src/gallium/drivers/r600/evergreen_state.c
|
||||
+++ mesa-23.3.0/src/gallium/drivers/r600/evergreen_state.c
|
||||
@@ -598,7 +598,8 @@ static void *evergreen_create_sampler_st
|
||||
: state->max_anisotropy;
|
||||
unsigned max_aniso_ratio = r600_tex_aniso_filter(max_aniso);
|
||||
bool trunc_coord = state->min_img_filter == PIPE_TEX_FILTER_NEAREST &&
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
From 5a19323d0e3969de24ea6bd89ba62f2a5c37296e Mon Sep 17 00:00:00 2001
|
||||
From: Simon Ser <contact@emersion.fr>
|
||||
Date: Thu, 19 Dec 2024 17:35:46 +0100
|
||||
Subject: [PATCH] gbm: fix get_back_bo() failure with gbm_surface and implicit
|
||||
modifiers
|
||||
|
||||
Before 361f3622587e ("dri: Unify createImage and
|
||||
createImageWithModifiers"), gbm_surface_create_with_modifiers() would
|
||||
fail with ENOSYS on drivers missing explicit modifiers support. After
|
||||
that commit, it succeeds and fails later when it tries to allocate a
|
||||
new back buffer.
|
||||
|
||||
Restore the previous behavior.
|
||||
|
||||
Signed-off-by: Simon Ser <contact@emersion.fr>
|
||||
Fixes: 105fcb9cfdb4 ("dri: revert INVALID modifier special-casing")
|
||||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12283
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32726>
|
||||
---
|
||||
src/gbm/backends/dri/gbm_dri.c | 6 ++++++
|
||||
1 file changed, 6 insertions(+)
|
||||
|
||||
diff --git a/src/gbm/backends/dri/gbm_dri.c b/src/gbm/backends/dri/gbm_dri.c
|
||||
index 9e2761c33b0..316b251dd74 100644
|
||||
--- a/src/gbm/backends/dri/gbm_dri.c
|
||||
+++ b/src/gbm/backends/dri/gbm_dri.c
|
||||
@@ -1078,11 +1078,17 @@ gbm_dri_surface_create(struct gbm_device *gbm,
|
||||
uint32_t format, uint32_t flags,
|
||||
const uint64_t *modifiers, const unsigned count)
|
||||
{
|
||||
+ struct gbm_dri_device *dri = gbm_dri_device(gbm);
|
||||
struct gbm_dri_surface *surf;
|
||||
|
||||
if (count)
|
||||
assert(modifiers);
|
||||
|
||||
+ if (count > 0 && !dri->screen->base.screen->resource_create_with_modifiers) {
|
||||
+ errno = ENOSYS;
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
/* It's acceptable to create an image with INVALID modifier in the list,
|
||||
* but it cannot be on the only modifier (since it will certainly fail
|
||||
* later). While we could easily catch this after modifier creation, doing
|
||||
--
|
||||
2.43.0
|
||||
|
||||
@@ -1,38 +0,0 @@
|
||||
From 54928d643ec0d201bf0101d67437b53d7fdbafad Mon Sep 17 00:00:00 2001
|
||||
From: Karmjit Mahil <karmjit.mahil@igalia.com>
|
||||
Date: Thu, 6 Feb 2025 10:34:49 +0100
|
||||
Subject: [PATCH] loader/wayland: Fix missing timespec.h include
|
||||
|
||||
`loader_wayland_dispatch()` also makes use of `timespec` so we
|
||||
need `timespec.h`. Otherwise it fails to build due to
|
||||
`timespec_sub_saturate()` missing.
|
||||
|
||||
Signed-off-by: Karmjit Mahil <karmjit.mahil@igalia.com>
|
||||
Fixes: 90effcceab7 ("wsi/wayland: refactor wayland dispatch")
|
||||
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12580
|
||||
Reviewed-by: Eric Engestrom <None>
|
||||
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33423>
|
||||
---
|
||||
src/loader/loader_wayland_helper.h | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/loader/loader_wayland_helper.h b/src/loader/loader_wayland_helper.h
|
||||
index 45f412a6c7ba1..0d7c49a15f246 100644
|
||||
--- a/src/loader/loader_wayland_helper.h
|
||||
+++ b/src/loader/loader_wayland_helper.h
|
||||
@@ -23,11 +23,10 @@
|
||||
#ifndef LOADER_WAYLAND_HELPER_HEADER_H
|
||||
#define LOADER_WAYLAND_HELPER_HEADER_H
|
||||
|
||||
+#include <util/timespec.h>
|
||||
#include <wayland-client.h>
|
||||
|
||||
#ifndef HAVE_WL_DISPATCH_QUEUE_TIMEOUT
|
||||
-
|
||||
-#include <util/timespec.h>
|
||||
int
|
||||
wl_display_dispatch_queue_timeout(struct wl_display *display,
|
||||
struct wl_event_queue *queue,
|
||||
--
|
||||
GitLab
|
||||
|
||||
@@ -85,10 +85,6 @@ libvulkan_intel
|
||||
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||
provides "Mesa-libVulkan-devel-<targettype> = 22.0.0"
|
||||
obsoletes "Mesa-libVulkan-devel-<targettype> < 22.0.0"
|
||||
libvulkan_nouveau
|
||||
targetarch aarch64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||
targetarch x86_64 +/usr/share/vulkan/icd.d/nouveau_icd.*.json
|
||||
requires "Mesa-vulkan-device-select-<targettype> = <version>"
|
||||
libvulkan_radeon
|
||||
targetarch aarch64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||
targetarch ppc64 +/usr/share/vulkan/icd.d/radeon_icd.*.json
|
||||
@@ -107,4 +103,3 @@ Mesa-dri
|
||||
supplements "Mesa-<targettype> = <version>"
|
||||
Mesa-gallium
|
||||
supplements "Mesa-<targettype> = <version>"
|
||||
Mesa-libva
|
||||
|
||||
Binary file not shown.
BIN
mesa-23.3.4.tar.xz
Normal file
BIN
mesa-23.3.4.tar.xz
Normal file
Binary file not shown.
BIN
mesa-23.3.4.tar.xz.sig
Normal file
BIN
mesa-23.3.4.tar.xz.sig
Normal file
Binary file not shown.
BIN
mesa-24.1.7.tar.xz
LFS
BIN
mesa-24.1.7.tar.xz
LFS
Binary file not shown.
Binary file not shown.
BIN
mesa-24.3.3.tar.xz
LFS
BIN
mesa-24.3.3.tar.xz
LFS
Binary file not shown.
Binary file not shown.
@@ -1,20 +1,15 @@
|
||||
Index: mesa-24.2.2/include/meson.build
|
||||
Index: mesa-23.3.0/include/meson.build
|
||||
===================================================================
|
||||
--- mesa-24.2.2.orig/include/meson.build
|
||||
+++ mesa-24.2.2/include/meson.build
|
||||
@@ -12,7 +12,6 @@ if with_android_stub
|
||||
--- mesa-23.3.0.orig/include/meson.build
|
||||
+++ mesa-23.3.0/include/meson.build
|
||||
@@ -28,10 +28,8 @@ if with_android_stub
|
||||
inc_include += [include_directories('android_stub')]
|
||||
endif
|
||||
|
||||
-if not with_glvnd and host_machine.system() != 'windows'
|
||||
-if not with_glvnd
|
||||
if with_gles1 or with_gles2 or with_opengl or with_egl
|
||||
install_headers('KHR/khrplatform.h', subdir : 'KHR')
|
||||
endif
|
||||
@@ -68,7 +67,6 @@ if not with_glvnd and host_machine.syste
|
||||
subdir : 'EGL',
|
||||
)
|
||||
endif
|
||||
-endif
|
||||
- endif
|
||||
|
||||
# Non-upstream headers
|
||||
if with_egl
|
||||
if with_gles1
|
||||
install_headers(
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
Index: mesa-24.3.0-rc1/src/util/00-mesa-defaults.conf
|
||||
Index: mesa-23.2.0-rc4/src/util/00-mesa-defaults.conf
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/util/00-mesa-defaults.conf
|
||||
+++ mesa-24.3.0-rc1/src/util/00-mesa-defaults.conf
|
||||
@@ -1040,6 +1040,14 @@ TODO: document the other workarounds.
|
||||
--- mesa-23.2.0-rc4.orig/src/util/00-mesa-defaults.conf
|
||||
+++ mesa-23.2.0-rc4/src/util/00-mesa-defaults.conf
|
||||
@@ -956,6 +956,14 @@ TODO: document the other workarounds.
|
||||
<application name="Rocket League" executable="RocketLeague">
|
||||
<option name="radeonsi_zerovram" value="true" />
|
||||
</application>
|
||||
|
||||
@@ -4,15 +4,17 @@ Date: Tue May 24 14:47:53 2022 -0400
|
||||
|
||||
Adjusting 'iris_batch.c' per 'https://gitlab.freedesktop.org/mesa/mesa/-/issues/5731'.
|
||||
|
||||
Index: mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
Index: mesa-23.3.0/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
===================================================================
|
||||
--- mesa-24.2.2.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
+++ mesa-24.2.2/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
@@ -318,7 +318,6 @@ i915_batch_submit(struct iris_batch *bat
|
||||
uint32_t flags = EXEC_OBJECT_SUPPORTS_48B_ADDRESS | EXEC_OBJECT_PINNED;
|
||||
flags |= bo->real.capture ? EXEC_OBJECT_CAPTURE : 0;
|
||||
flags |= bo == batch->screen->workaround_bo ? EXEC_OBJECT_ASYNC : 0;
|
||||
- flags |= iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC;
|
||||
flags |= written ? EXEC_OBJECT_WRITE : 0;
|
||||
|
||||
index_for_handle[bo->gem_handle] = validation_count;
|
||||
--- mesa-23.3.0.orig/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
+++ mesa-23.3.0/src/gallium/drivers/iris/i915/iris_kmd_backend.c
|
||||
@@ -308,8 +308,7 @@ i915_batch_submit(struct iris_batch *bat
|
||||
(struct drm_i915_gem_exec_object2) {
|
||||
.handle = bo->gem_handle,
|
||||
.offset = bo->address,
|
||||
- .flags = bo->real.kflags | (written ? EXEC_OBJECT_WRITE : 0) |
|
||||
- (iris_bo_is_external(bo) ? 0 : EXEC_OBJECT_ASYNC),
|
||||
+ .flags = bo->real.kflags | (written ? EXEC_OBJECT_WRITE : 0),
|
||||
};
|
||||
++validation_count;
|
||||
}
|
||||
|
||||
BIN
paste-1.0.14.tar.gz
LFS
BIN
paste-1.0.14.tar.gz
LFS
Binary file not shown.
BIN
proc-macro2-1.0.86.tar.gz
LFS
BIN
proc-macro2-1.0.86.tar.gz
LFS
Binary file not shown.
@@ -1,67 +0,0 @@
|
||||
Index: mesa-24.1.7/src/nouveau/headers/class_parser.py
|
||||
===================================================================
|
||||
--- mesa-24.1.7.orig/src/nouveau/headers/class_parser.py
|
||||
+++ mesa-24.1.7/src/nouveau/headers/class_parser.py
|
||||
@@ -9,6 +9,16 @@ import sys
|
||||
|
||||
from mako.template import Template
|
||||
|
||||
+def removeprefix(s, prefix):
|
||||
+ if s.startswith(prefix):
|
||||
+ return s[len(prefix):]
|
||||
+ return s
|
||||
+
|
||||
+def removesuffix(s, suffix):
|
||||
+ if s.endswith(suffix):
|
||||
+ return s[:-len(suffix)]
|
||||
+ return s
|
||||
+
|
||||
METHOD_ARRAY_SIZES = {
|
||||
'BIND_GROUP_CONSTANT_BUFFER' : 16,
|
||||
'CALL_MME_DATA' : 256,
|
||||
@@ -293,7 +303,7 @@ def parse_header(nvcl, f):
|
||||
if ":" in list[2]:
|
||||
state = 1
|
||||
elif teststr in list[1]:
|
||||
- curmthd.field_defs[curfield][list[1].removeprefix(teststr)] = list[2]
|
||||
+ curmthd.field_defs[curfield][removeprefix(list[1], teststr)] = list[2]
|
||||
else:
|
||||
state = 1
|
||||
|
||||
@@ -303,7 +313,7 @@ def parse_header(nvcl, f):
|
||||
if ("0x" in list[2]):
|
||||
state = 1
|
||||
else:
|
||||
- field = list[1].removeprefix(teststr)
|
||||
+ field = removeprefix(list[1], teststr)
|
||||
bitfield = list[2].split(":")
|
||||
curmthd.field_name_start[field] = bitfield[1]
|
||||
curmthd.field_name_end[field] = bitfield[0]
|
||||
@@ -324,13 +334,13 @@ def parse_header(nvcl, f):
|
||||
is_array = 0
|
||||
if (':' in list[2]):
|
||||
continue
|
||||
- name = list[1].removeprefix(teststr)
|
||||
+ name = removeprefix(list[1], teststr)
|
||||
if name.endswith("(i)"):
|
||||
is_array = 1
|
||||
- name = name.removesuffix("(i)")
|
||||
+ name = removesuffix(name, "(i)")
|
||||
if name.endswith("(j)"):
|
||||
is_array = 1
|
||||
- name = name.removesuffix("(j)")
|
||||
+ name = removesuffix(name, "(j)")
|
||||
x = method()
|
||||
x.name = name
|
||||
x.addr = list[2]
|
||||
@@ -357,8 +367,8 @@ def main():
|
||||
|
||||
clheader = os.path.basename(args.in_h)
|
||||
nvcl = clheader
|
||||
- nvcl = nvcl.removeprefix("cl")
|
||||
- nvcl = nvcl.removesuffix(".h")
|
||||
+ nvcl = removeprefix(nvcl, "cl")
|
||||
+ nvcl = removesuffix(nvcl, ".h")
|
||||
nvcl = nvcl.upper()
|
||||
nvcl = "NV" + nvcl
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
Index: mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/nouveau/headers/class_parser.py
|
||||
+++ mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
@@ -11,6 +11,16 @@ import subprocess
|
||||
--- mesa-23.3.3/src/nouveau/nvidia-headers/class_parser.py.orig 2024-01-20 12:47:36.464476669 +0100
|
||||
+++ mesa-23.3.3/src/nouveau/nvidia-headers/class_parser.py 2024-01-20 13:04:30.212851443 +0100
|
||||
@@ -9,6 +9,16 @@
|
||||
|
||||
from mako.template import Template
|
||||
|
||||
@@ -17,9 +15,9 @@ Index: mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
+ return s
|
||||
+
|
||||
METHOD_ARRAY_SIZES = {
|
||||
'BIND_GROUP_CONSTANT_BUFFER' : 16,
|
||||
'CALL_MME_DATA' : 256,
|
||||
@@ -425,7 +435,7 @@ def parse_header(nvcl, f):
|
||||
'BIND_GROUP_CONSTANT_BUFFER' : 16,
|
||||
'CALL_MME_DATA' : 256,
|
||||
@@ -273,7 +283,7 @@
|
||||
if ":" in list[2]:
|
||||
state = 1
|
||||
elif teststr in list[1]:
|
||||
@@ -28,7 +26,7 @@ Index: mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
else:
|
||||
state = 1
|
||||
|
||||
@@ -435,7 +445,7 @@ def parse_header(nvcl, f):
|
||||
@@ -283,7 +293,7 @@
|
||||
if ("0x" in list[2]):
|
||||
state = 1
|
||||
else:
|
||||
@@ -37,7 +35,7 @@ Index: mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
bitfield = list[2].split(":")
|
||||
curmthd.field_name_start[field] = bitfield[1]
|
||||
curmthd.field_name_end[field] = bitfield[0]
|
||||
@@ -456,13 +466,13 @@ def parse_header(nvcl, f):
|
||||
@@ -304,13 +314,13 @@
|
||||
is_array = 0
|
||||
if (':' in list[2]):
|
||||
continue
|
||||
@@ -54,7 +52,7 @@ Index: mesa-24.3.0-rc1/src/nouveau/headers/class_parser.py
|
||||
x = method()
|
||||
x.name = name
|
||||
x.addr = list[2]
|
||||
@@ -552,8 +562,8 @@ def main():
|
||||
@@ -336,8 +346,8 @@
|
||||
|
||||
clheader = os.path.basename(args.in_h)
|
||||
nvcl = clheader
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
Index: mesa-24.3.0-rc1/src/freedreno/registers/gen_header.py
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/freedreno/registers/gen_header.py
|
||||
+++ mesa-24.3.0-rc1/src/freedreno/registers/gen_header.py
|
||||
@@ -957,7 +957,7 @@ def main():
|
||||
--- mesa-23.3.3/src/freedreno/registers/gen_header.py.orig 2024-01-20 14:01:30.261999839 +0100
|
||||
+++ mesa-23.3.3/src/freedreno/registers/gen_header.py 2024-01-20 14:01:57.678558692 +0100
|
||||
@@ -781,7 +781,7 @@ def main():
|
||||
parser.add_argument('--rnn', type=str, required=True)
|
||||
parser.add_argument('--xml', type=str, required=True)
|
||||
|
||||
|
||||
BIN
quote-1.0.33.tar.gz
LFS
BIN
quote-1.0.33.tar.gz
LFS
Binary file not shown.
BIN
syn-2.0.68.tar.gz
LFS
BIN
syn-2.0.68.tar.gz
LFS
Binary file not shown.
@@ -1,15 +0,0 @@
|
||||
LTO defeats the -fpic workaround and enables TLS relaxation anyway
|
||||
|
||||
Index: mesa-24.3.0-rc1/meson.build
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/meson.build
|
||||
+++ mesa-24.3.0-rc1/meson.build
|
||||
@@ -516,7 +516,7 @@ if not have_mtls_dialect
|
||||
foreach tlsdesc_arg : ['-mtls-dialect=gnu2', '-mtls-dialect=desc']
|
||||
# -fpic to force dynamic tls, otherwise TLS relaxation defeats check
|
||||
tlsdesc_test = cc.run('int __thread x; int main() { return x; }',
|
||||
- args: [tlsdesc_arg, '-fpic'],
|
||||
+ args: [tlsdesc_arg, '-fpic', '-fno-lto'],
|
||||
name: tlsdesc_arg)
|
||||
if tlsdesc_test.returncode() == 0 and (
|
||||
# check for lld 13 bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/5665
|
||||
@@ -1,16 +0,0 @@
|
||||
Index: mesa-24.2.2/meson.build
|
||||
===================================================================
|
||||
--- mesa-24.2.2.orig/meson.build
|
||||
+++ mesa-24.2.2/meson.build
|
||||
@@ -2145,9 +2145,11 @@ if with_platform_x11
|
||||
endif
|
||||
endif
|
||||
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
|
||||
+ dep_x11_xcb = dependency('x11-xcb')
|
||||
dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8')
|
||||
|
||||
if with_dri3
|
||||
+ dep_xcb = dependency('xcb')
|
||||
dep_xcb_dri3 = dependency('xcb-dri3')
|
||||
dep_xcb_present = dependency('xcb-present')
|
||||
# until xcb-dri3 has been around long enough to make a hard-dependency:
|
||||
@@ -1,15 +1,28 @@
|
||||
Index: mesa-24.3.0/meson.build
|
||||
Index: mesa-23.3.0/meson.build
|
||||
===================================================================
|
||||
--- mesa-24.3.0.orig/meson.build
|
||||
+++ mesa-24.3.0/meson.build
|
||||
@@ -2103,8 +2103,10 @@ if with_platform_x11
|
||||
--- mesa-23.3.0.orig/meson.build
|
||||
+++ mesa-23.3.0/meson.build
|
||||
@@ -2022,9 +2022,11 @@ if with_platform_x11
|
||||
endif
|
||||
endif
|
||||
if with_dri_platform == 'drm'
|
||||
if with_any_vk or with_egl or (with_glx == 'dri' and with_dri_platform == 'drm')
|
||||
+ dep_x11_xcb = dependency('x11-xcb')
|
||||
dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8', required : with_x11_dri2)
|
||||
dep_xcb_dri2 = dependency('xcb-dri2', version : '>= 1.8')
|
||||
|
||||
+ dep_xcb = dependency('xcb')
|
||||
dep_xcb_dri3 = dependency('xcb-dri3', version : '>= 1.13')
|
||||
dep_xcb_present = dependency('xcb-present', version : '>= 1.13')
|
||||
if (dep_xcb_dri3.version().version_compare('>= 1.17') and
|
||||
if with_dri3
|
||||
+ dep_xcb = dependency('xcb')
|
||||
dep_xcb_dri3 = dependency('xcb-dri3')
|
||||
dep_xcb_present = dependency('xcb-present')
|
||||
# until xcb-dri3 has been around long enough to make a hard-dependency:
|
||||
Index: mesa-23.3.0/src/loader/meson.build
|
||||
===================================================================
|
||||
--- mesa-23.3.0.orig/src/loader/meson.build
|
||||
+++ mesa-23.3.0/src/loader/meson.build
|
||||
@@ -47,6 +47,6 @@ libloader = static_library(
|
||||
c_args : loader_c_args,
|
||||
gnu_symbol_visibility : 'hidden',
|
||||
include_directories : [inc_include, inc_src, inc_util],
|
||||
- dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr],
|
||||
+ dependencies : [dep_libdrm, dep_thread, dep_xcb_xrandr, dep_xcb],
|
||||
build_by_default : false,
|
||||
)
|
||||
|
||||
42
u_fix-build-on-ppc64le.patch
Normal file
42
u_fix-build-on-ppc64le.patch
Normal file
@@ -0,0 +1,42 @@
|
||||
Index: mesa-23.0.0/include/CL/cl_platform.h
|
||||
===================================================================
|
||||
--- mesa-23.0.0.orig/include/CL/cl_platform.h
|
||||
+++ mesa-23.0.0/include/CL/cl_platform.h
|
||||
@@ -385,7 +385,9 @@ typedef unsigned int cl_GLenum;
|
||||
/* Define basic vector types */
|
||||
#if defined( __VEC__ )
|
||||
#if !defined(__clang__)
|
||||
+ #ifndef __cplusplus
|
||||
#include <altivec.h> /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
|
||||
+ #endif
|
||||
#endif
|
||||
typedef __vector unsigned char __cl_uchar16;
|
||||
typedef __vector signed char __cl_char16;
|
||||
Index: mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||
===================================================================
|
||||
--- mesa-23.0.0.orig/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||
+++ mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_rast_tri.c
|
||||
@@ -488,7 +488,9 @@ lp_rast_triangle_32_3_4(struct lp_raster
|
||||
|
||||
#if defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||
|
||||
+#ifndef __cplusplus
|
||||
#include <altivec.h>
|
||||
+#endif
|
||||
#include "util/u_pwr8.h"
|
||||
|
||||
static inline void
|
||||
Index: mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||
===================================================================
|
||||
--- mesa-23.0.0.orig/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||
+++ mesa-23.0.0/src/gallium/drivers/llvmpipe/lp_setup_tri.c
|
||||
@@ -46,7 +46,9 @@
|
||||
#if DETECT_ARCH_SSE
|
||||
#include <emmintrin.h>
|
||||
#elif defined(_ARCH_PWR8) && UTIL_ARCH_LITTLE_ENDIAN
|
||||
+#ifndef __cplusplus
|
||||
#include <altivec.h>
|
||||
+#endif
|
||||
#include "util/u_pwr8.h"
|
||||
#endif
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
src/glx/dri2_glx.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
--- a/src/glx/dri2_glx.c
|
||||
+++ b/src/glx/dri2_glx.c
|
||||
@@ -1399,7 +1399,7 @@ dri2GetGlxDrawableFromXDrawableId(Displa
|
||||
struct dri2_display *pdp = (struct dri2_display *) d->dri2Display;
|
||||
__GLXDRIdrawable *pdraw;
|
||||
|
||||
- if (__glxHashLookup(pdp->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
+ if (pdp && __glxHashLookup(pdp->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
return pdraw;
|
||||
|
||||
return NULL;
|
||||
@@ -1,15 +1,13 @@
|
||||
src/glx/dri2_glx.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
Index: mesa-24.3.0-rc1/src/glx/dri2_glx.c
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/glx/dri2_glx.c
|
||||
+++ mesa-24.3.0-rc1/src/glx/dri2_glx.c
|
||||
@@ -756,7 +756,7 @@ dri2GetGlxDrawableFromXDrawableId(Displa
|
||||
struct glx_display *d = __glXInitialize(dpy);
|
||||
--- a/src/glx/dri2_glx.c
|
||||
+++ b/src/glx/dri2_glx.c
|
||||
@@ -1399,7 +1399,7 @@ dri2GetGlxDrawableFromXDrawableId(Displa
|
||||
struct dri2_display *pdp = (struct dri2_display *) d->dri2Display;
|
||||
__GLXDRIdrawable *pdraw;
|
||||
|
||||
- if (__glxHashLookup(d->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
+ if (d && __glxHashLookup(d->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
- if (__glxHashLookup(pdp->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
+ if (pdp && __glxHashLookup(pdp->dri2Hash, id, (void *) &pdraw) == 0)
|
||||
return pdraw;
|
||||
|
||||
return NULL;
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
src/glx/glx_query.c | 13 +++++++++++++
|
||||
1 file changed, 13 insertions(+)
|
||||
Index: mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/glx/glx_query.c
|
||||
+++ mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||
@@ -56,6 +56,13 @@ __glXQueryServerString(Display * dpy, CA
|
||||
--- a/src/glx/glx_query.c
|
||||
+++ b/src/glx/glx_query.c
|
||||
@@ -53,6 +53,13 @@ __glXQueryServerString(Display * dpy, in
|
||||
/* The spec doesn't mention this, but the Xorg server replies with
|
||||
* a string already terminated with '\0'. */
|
||||
uint32_t len = xcb_glx_query_server_string_string_length(reply);
|
||||
@@ -18,7 +16,7 @@ Index: mesa-24.3.0-rc1/src/glx/glx_query.c
|
||||
char *buf = malloc(len);
|
||||
memcpy(buf, xcb_glx_query_server_string_string(reply), len);
|
||||
free(reply);
|
||||
@@ -83,6 +90,12 @@ __glXGetString(Display * dpy, CARD32 con
|
||||
@@ -77,6 +84,12 @@ __glXGetString(Display * dpy, int opcode
|
||||
/* The spec doesn't mention this, but the Xorg server replies with
|
||||
* a string already terminated with '\0'. */
|
||||
uint32_t len = xcb_glx_get_string_string_length(reply);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
src/glx/glx_pbuffer.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
Index: mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||
Index: mesa-24.2.3/src/glx/glx_pbuffer.c
|
||||
===================================================================
|
||||
--- mesa-24.3.0-rc1.orig/src/glx/glx_pbuffer.c
|
||||
+++ mesa-24.3.0-rc1/src/glx/glx_pbuffer.c
|
||||
@@ -338,7 +338,7 @@ __glXGetDrawableAttribute(Display * dpy,
|
||||
--- mesa-24.2.3.orig/src/glx/glx_pbuffer.c
|
||||
+++ mesa-24.2.3/src/glx/glx_pbuffer.c
|
||||
@@ -329,7 +329,7 @@ __glXGetDrawableAttribute(Display * dpy,
|
||||
/* Search the set of returned attributes for the attribute requested by
|
||||
* the caller.
|
||||
*/
|
||||
|
||||
BIN
unicode-ident-1.0.12.tar.gz
LFS
BIN
unicode-ident-1.0.12.tar.gz
LFS
Binary file not shown.
Reference in New Issue
Block a user