Commit graph

1254 commits

Author SHA1 Message Date
Dave Airlie
ecf5683442 Update to 24.1.0-rc3 2024-05-09 13:26:50 +10:00
Peter Robinson
f05abc7efe Minor feature enable cleanups 2024-05-08 10:34:18 +01:00
José Expósito
e92fecd8ca Disable intel-rt on non x86_64 architectures 2024-05-06 17:41:33 +02:00
José Expósito
bf1fec6dbb Update to 24.1.0-rc2 2024-05-06 16:53:26 +02:00
Peter Robinson
dfd0e10064 Workaround rhbz#2277018 while awaiting upstream fix 2024-04-25 12:56:43 +01:00
Peter Robinson
7980c7d4f3 Update to 24.0.6 2024-04-25 11:02:25 +01:00
José Expósito
06834ca2a3 Fix rendering issues using GTK's GSK_RENDERER=ngl on Raspberry Pi
Backport of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28740

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2269412
2024-04-16 16:02:01 +02:00
José Expósito
9c49b0842d Update to 24.0.5 2024-04-11 11:27:29 +02:00
José Expósito
1604f1b352 Update to 24.0.4 2024-04-01 13:19:11 +02:00
Adam Williamson
5c31c47163 Backport MR #28414 to fix GTK 4 app rendering on rpi (#2269412) 2024-03-28 14:03:48 -07:00
José Expósito
b676f3ea1f Backport fix for crash in radeon_bo_can_reclaim_slab
Apply the patch proposed in [1] to solve the crash.

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28240
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2267124
2024-03-19 09:11:06 +00:00
José Expósito
677be1b5a3 Update to 24.0.3 2024-03-14 11:42:51 +01:00
Nikita Popov
a2caaaa276 Backport fix for LLVM 18 assertion failure (rhbz#2268800) 2024-03-11 17:33:04 +01:00
José Expósito
cdaa0ba269 Update to 24.0.2 2024-03-06 17:28:44 +01:00
Neal Gompa
6000f6223a Drop modprobe config file to enable GSP on Turing/Ampere NVIDIA GPUs
This is no longer needed since the kernel now turns this on by default.

This reverts commit c4f549cdb1.
2024-02-26 23:03:40 -05:00
Neal Gompa
c4f549cdb1 Add a modprobe config file to enable GSP on Turing and Ampere with NVK
There are basically no situations where we want NVK running on Turing
and Ampere without GSP firmware, so we override the upstream default of
not enabling GSP with a modprobe config file until upstream enables it
by default.
2024-02-09 03:02:40 -05:00
José Expósito
f596d934e3 Update to 24.0.0 2024-02-01 10:30:25 +01:00
Yaakov Selkowitz
11daf3f5dd Disable NVK for now in ELN builds
While it is possible that we may eventually want to enable this for
RHEL, in its current form it is pulling in OpenCL dependencies (e.g.
libclc, SPIRV) and uses Fedora rust-packaging and crates.  Because it
does not use the usual %cargo_* macros, it is not clear how to go about
vendoring the rust dependencies for ELN and RHEL builds.
2024-01-31 20:19:59 +00:00
José Expósito
49e0793310 Revert "Enable LTO"
This reverts commit f30b507b28.

Disabling LTO again as it is causing issues:

 - https://bugzilla.redhat.com/show_bug.cgi?id=2261845
 - https://bugzilla.redhat.com/show_bug.cgi?id=2262065
2024-01-31 10:17:23 +01:00
José Expósito
f30b507b28 Enable LTO
LTO was disabled 3 years ago because it was causing issues with certain
applications and games:
https://bugzilla.redhat.com/show_bug.cgi?id=1862771

Since then, support for LTO has improved upstream. Re-enable it.
2024-01-26 12:42:02 +01:00
Neal Gompa
ae25160064 Enable NVK to support the new Nouveau driver in Linux 6.7+
With new nouveau driver coming with Linux 6.7, NVK will be able to
be used for Turing+ GPUs (GTX 16/RTX 20+), and it will be used by
default for Ada Lovelace+ GPUs (RTX 40+).
2024-01-25 08:49:11 -05:00
Fedora Release Engineering
74d08f0c6b Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 06:13:12 +00:00
Javier Martinez Canillas
0e9100b78f
Fix build due a clang bug on nested macros
Prior to GCC14, the `__arm_streaming` macro was not spelled as an attribute
using the CXX11 syntax (e.g: [[arm::streaming]]) and so clang expanded that
macro macro.

But since GCC14, it's spelled as `[[arm::streaming]]` which makes clang to
try expanding the attribute again and generating an invalid preprocessing
token due the nested macro usage:

/usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token
    9 | KEYWORD_ATTRIBUTE(__arm_streaming)

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
2024-01-19 14:20:19 +01:00
Javier Martinez Canillas
3f054a8ee8
Update to 24.0.0-rc2
Also fix a package build issue on s390x due the PowerVR vulkan driver
and ICD loader not being built on that arch. Only incluse those for
aarch64 and x86 where are built.
2024-01-19 09:01:51 +01:00
Javier Martinez Canillas
7f3a9f9609
Update to 24.0.0-rc1
This new release contains among other things, initial support in powervr
for the upstream imagination/powervr DRM driver and kmsro handling for a
bunch of display drivers.
2024-01-16 15:46:09 +01:00
José Expósito
b998a951c3 Update to 23.3.0
Fix: https://bugzilla.redhat.com/show_bug.cgi?id=2254415
2024-01-11 12:20:36 +01:00
Alessandro Astone
53f97b7f12 Fix zink crash and re-enable the automatic fallback 2024-01-10 19:37:18 +01:00
Florian Weimer
beecf70924 Fix C compatibility issue in Meson probe
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2024-01-08 13:33:26 +01:00
José Expósito
7483b83539 fix compiler backport 2024-01-08 12:12:43 +01:00
José Expósito
07ce0166ac Update patch "intel/compiler: reemit boolean resolve for inverted if on gen5"
The patch has been accepted upstream with some minor changes.

Update it to match the version upstream.
2024-01-08 10:59:58 +01:00
Alessandro Astone
c5c4360da7 Disable zink fallback in EGL
In mesa 23.3.x zink broke on nvidia, crashing in eglCreateContext.
In the same release, zink was added as a fallback between the
hardware drivers and swrast.
Any application that was previously falling back to swrast
now instead crashes, when using the nvidia vulkan driver.

How exactly do you reach zink or previously swrast when using
nvidia you may ask?
One common path may be EGL applications using EGL_EXT_platform_xcb.
The nvidia driver does not support it, thus GLVND tries the next
driver which is mesa, mesa doesn't find any suitable hardware driver
and thus falls back to zink or swrast.

Until zink is stable again on nvidia, we should disable the zink
fallback to prevent applications crashing instead of falling back
to swrast.

There should be no need to also disable the GLX fallback to zink
as i'm not aware of a call path that would lead to using mesa when
the nvidia drivers are installed.

RHBZ 2255599
RHBZ 2255768
MESA 10340
MESA 10341
2024-01-03 20:50:24 +01:00
Dave Airlie
65240c8b17 fix compiler backport more 2024-01-03 17:08:49 +10:00
Dave Airlie
61f7786802 fix intel compiler change for 23.3 2024-01-03 16:55:18 +10:00
Dave Airlie
e50d06341c add fix for intel compiler unused variable in release builds 2024-01-03 16:35:06 +10:00
Dave Airlie
56426c8077 Update to 23.3.2 and better fix for gen5 intel. 2024-01-03 16:20:36 +10:00
Dave Airlie
49240cd70e Fix gtk4-demo regression on older Intel 2023-12-21 10:49:38 +10:00
Dave Airlie
86694dabe1 fix a crocus regression in intel compiler for gtk4/gnome-shell 2023-12-18 16:55:52 +10:00
Dave Airlie
08b93756d5 drop zink patch 2023-12-18 13:42:11 +10:00
Dave Airlie
8c8f9ac1cf Update to 23.3.1 2023-12-18 13:34:17 +10:00
José Expósito
14dea65a08 Update to 23.3.0 2023-11-30 10:24:16 +01:00
José Expósito
34791f7ba8 Update to 23.3.0-rc5 2023-11-29 16:34:26 +01:00
José Expósito
61968b4cba Set glx-read-only-text on i386
An update on the linker will now refuse to create binaries with a
loadable memory segment that has read, write and execute permissions
set.
mesa creates one unless "glx-read-only-text" is enabled.

Revert commit e2acc882a1 ("Disable rwx segment linker error") and set
"glx-read-only-text" instead.

See Nick's comment for more information about the revert:
https://bugzilla.redhat.com/show_bug.cgi?id=2250927#c10

Fix: https://bugzilla.redhat.com/show_bug.cgi?id=2250927
2023-11-23 14:35:01 +01:00
José Expósito
e2acc882a1 Disable rwx segment linker error
An update on the linker will now refuse to create binaries with a
loadable memory segment that has read, write and execute permissions
set.
mesa creates one unless "glx-read-only-text" is enabled, however, the
documentation for "glx-read-only-text" reads:

  "Disable writable .text section on x86 (decreases performance)"

In order to avoid possible performance regressions, disable the linker
error.

Fix: https://bugzilla.redhat.com/show_bug.cgi?id=2250927
2023-11-23 12:50:44 +01:00
José Expósito
0c855a11ab Backport MR #26332 to fix X11 session on VMs
MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26332
Mesa bug: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26332
2023-11-22 13:01:53 +01:00
José Expósito
bdefef8468 Backport MR #26220 to fix GNOME apps crash
MR: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26220
Fedora bug:https://bugzilla.redhat.com/show_bug.cgi?id=2249725
Mesa bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10146
2023-11-17 10:41:43 +01:00
José Expósito
105bbeabc1 Backport MR #26029 to fix installer crash
Found by CI:
https://bodhi.fedoraproject.org/updates/FEDORA-2023-c39f82c465
2023-11-03 14:38:57 +01:00
José Expósito
933ae55743 Update to 23.3.0-rc2
Add a patch from upstream [1] fixing a compile error with LLVM 17 [2].

[1] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25536
[2] https://gitlab.freedesktop.org/mesa/mesa/-/issues/9791
2023-11-02 09:55:15 +01:00
José Expósito
5272167257 Update to 23.3.0-rc1
Remove patch added by commit d0377e3d3b ("Backport MR #24045 to fix
Iris crashes (#2238711)") as it was fixed by upstream mesa commit
9590bce3e249 ("radeonsi: prefix function with si_ to prevent name
collision"), which is  included in 23.3.0-rc1:

    $ git tag --contains=9590bce3e249
    mesa-23.3.0-rc1
2023-10-26 11:03:05 +02:00
Adam Williamson
d0377e3d3b Backport MR #24045 to fix Iris crashes (#2238711) 2023-10-05 10:45:16 -07:00
Pete Walter
4c4c1d76cc Update to 23.2.1 2023-09-29 15:02:42 +01:00