Commit graph

1117 commits

Author SHA1 Message Date
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
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
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
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
Dave Airlie
6ef0267943 update SPDX license 2023-09-15 16:59:07 +10:00
Adam Jackson
2f9a0d2a48 Build a few more drivers for RHEL 2023-09-07 14:19:23 -04:00
Pete Walter
30c882a9e6 Update to 23.2.0-rc3 2023-09-06 08:07:58 +01:00
Neal Gompa
9f2ae177dd Enable GLESv1 support
This is required for being able to pass the CTS for OpenGL ES and
ensures our GLES support is fully conformant.
2023-08-22 17:17:04 -04:00
Neal Gompa
9c488ba4ae Enable all aarch64 drivers for x86 for x86 emulation on aarch64
In order to enable hardware acceleration when running x86 applications
on AArch64, the drivers that are typically only enabled on AArch64
need to be built for x86 architectures too.

This allows us to set up x86 containers on AArch64 that can correctly
interface with hardware properly.
2023-08-14 23:28:53 +00:00
Neal Gompa
8265d5b42b Bump Meson minimum build dependency to 1.2.0
Meson >= 1.2.0 is required for building rusticl, so let's ensure
we have the correct dependency noted here.
2023-08-12 09:11:13 -04:00
Pete Walter
7f5da23d5f Update to 23.2.0-rc2 2023-08-10 14:04:17 +01:00
Pete Walter
4cec132c7b Update to 23.1.5 2023-08-03 12:06:52 +01:00
Pete Walter
c2035bde9a Update to 23.1.4 2023-07-22 23:34:10 +01:00
Yaakov Selkowitz
e495878d06 Disable libunwind, lm_sensors in RHEL builds 2023-07-16 06:14:45 +00:00
91adfd5fe1 Prevent partial updates (rhbz#2193135)
This is another attempt to prevent partial updates, where important mesa
subpackages get desynchronized with mesa-dri-drivers, and things crash because
of version mismatch.

According to Michel Dänzer [1], libglapi and libgbm should always match in
version to dri-drivers. So the conditional requirement was added there, and it
will help guard dependants (e.g. libGL, libEGL) versions in the future.

This is the Rawhide-version of PR 24 [2].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=2187726#c4
[2] https://src.fedoraproject.org/rpms/mesa/pull-request/24
2023-07-13 17:41:36 +00:00
Nicolas Chauvet
e29f42927b Update to 23.1.3 2023-06-30 08:25:17 +02:00
Pete Walter
9995b3e4e0 Update to 23.1.2 2023-06-11 13:52:30 +01:00
Neal Gompa
7beab697c6 Enable stack trace and HUD sensor support
Stack trace support is obviously quite useful for debugging, but
HUD sensor support is useful for gaming and benchmarking tools.
2023-06-07 08:01:07 -04:00
Dave Airlie
c4b1f2e455 update to 23.1.1 2023-05-26 07:27:17 +10:00
Dave Airlie
160abcd807 removed unused BR 2023-05-23 16:37:28 +10:00
Dave Airlie
b1a856e42d Update to mesa 23.1.0 2023-05-23 16:31:55 +10:00
Dave Airlie
1af7218528 Update to mesa 23.1.0 2023-05-23 14:45:55 +10:00
Michel Dänzer
c9de8a8e50 Do not enable intel-clc for ELN/RHEL
libclc isn't available there.

Fixes build failure on ELN.
2023-05-03 11:44:09 +02:00
Michel Dänzer
42315d0973 Enable intel-clc for ANV ray tracing support 2023-05-01 12:01:32 +02:00
Michel Dänzer
b23cdacd5d Remove superfluous meson parameters for rusticl
-Dllvm=enabled is already there unconditionally further down.

-Drust_std=2021 isn't needed when creating a new build directory from
scratch.
2023-04-28 17:47:59 +02:00
Pete Walter
7dd8d183e1 Update to 23.0.3 2023-04-25 19:04:05 +01:00