Overview

Request 961641 accepted

- U_meson-restore-private-requires-to-libdrm-in-dri.pc-f.patch
* Due to a typo the private requires to libdrm were lost in dri.pc.
Fixed another typo (only comment).

- enabled "i915" Gallium-based Intel Gen3 driver

- fixed llvm/clang buildrequires for sle15-sp4/Leap 15.4

- no longer try to build classic non-Gallium OpenGL drivers
i915, i965, nouveau, r100 and r200, which have been dropped with
Mesa 22.0.0; see also some documentation on Phoronix
https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired

- update to 22.0.0
* lavapipe,radv,anv KHR_dynamic_rendering
* radv EXT_image_view_min_lod
* VK_KHR_synchronization2 on RADV.
* OpenSWR has been moved to the Amber branch
* radeonsi, zink ARB_sparse_texture
* d3d12 GLES3.1 (shader storage buffers, images, compute, indirect draw, draw params,
ARB_framebuffer_no_attachments, ARB_sample_shading, and GLSL400)
* radeonsi, zink ARB_sparse_texture2
* zink EXT_memory_object, EXT_memory_object_fd, EXT_semaphore, EXT_semaphore_fd
* anv VK_VALVE_mutable_descriptor_type
* Vulkan 1.3 on RADV,Anv.
* radeonsi, zink ARB_sparse_texture_clamp

Loading...

Dominique Leuenberger's avatar

Breaks Firefox and Thunderbird:

@wrosenauer

[   66s]  0:04.73 ERROR: Package libdrm was not found in the pkg-config search path.
[   66s]  0:04.73 ERROR: Perhaps you should add the directory containing `libdrm.pc'
[   66s]  0:04.73 ERROR: to the PKG_CONFIG_PATH environment variable
[   66s]  0:04.73 ERROR: Package 'libdrm', required by 'virtual:world', not found
[   66s]  Config object not found by mach.

Firefox relied apparently on Mesa-dri-devel to bring in libdrm, which is no longer the case. As FF asks for it in the build system, it should declare the dependency in the spec file


Stefan Dirsch's avatar

I don't see where I changed package deps here


Dominique Leuenberger's avatar

the dri.pc shipped as part of MEsa changed:

> diff -ur /usr/lib64/pkgconfig/dri.pc dri.pc 
--- /usr/lib64/pkgconfig/dri.pc 2022-03-05 15:25:19.000000000 +0100
+++ dri.pc  2022-03-12 21:32:38.000000000 +0100
@@ -5,7 +5,6 @@
 dridriverdir=/usr/lib64/dri

 Name: dri
-Description: Direct Rendering Infrastructure
-Version: 21.3.7
-Requires.private: libdrm >=  2.4.81
+Description: Direct Rendering Infastructure
+Version: 22.0.0
 Cflags: -I${includedir}

i.e. the Requires on libdrm by Mesa was dropped. This is not an issue at all. As far as I can tell, Firefox is in the wrong to not request its dependencies in the build root


Dominique Leuenberger's avatar

Apropos: there is a new typo in the .pc file - 'infastructure' (non fatal of course, but if not already fixed upstream, I'm sure this would be appreciated)


Dominique Leuenberger's avatar

the actual error exposed in FF is also in Mesa - another typo:

https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/gallium/frontends/dri/meson.build#L71

dir_req_private = ['libdrm >= [@0](https://build.opensuse.org/users/0)@'.format(_drm_ver)]

this should be dri_req_private


Dominique Leuenberger's avatar

The variable is used a few lines further down, in line 80


Stefan Dirsch's avatar

Thanks. Good catch!

Request History
Stefan Dirsch's avatar

sndirsch created request

- U_meson-restore-private-requires-to-libdrm-in-dri.pc-f.patch
* Due to a typo the private requires to libdrm were lost in dri.pc.
Fixed another typo (only comment).

- enabled "i915" Gallium-based Intel Gen3 driver

- fixed llvm/clang buildrequires for sle15-sp4/Leap 15.4

- no longer try to build classic non-Gallium OpenGL drivers
i915, i965, nouveau, r100 and r200, which have been dropped with
Mesa 22.0.0; see also some documentation on Phoronix
https://www.phoronix.com/scan.php?page=news_item&px=Mesa-Classic-Retired

- update to 22.0.0
* lavapipe,radv,anv KHR_dynamic_rendering
* radv EXT_image_view_min_lod
* VK_KHR_synchronization2 on RADV.
* OpenSWR has been moved to the Amber branch
* radeonsi, zink ARB_sparse_texture
* d3d12 GLES3.1 (shader storage buffers, images, compute, indirect draw, draw params,
ARB_framebuffer_no_attachments, ARB_sample_shading, and GLSL400)
* radeonsi, zink ARB_sparse_texture2
* zink EXT_memory_object, EXT_memory_object_fd, EXT_semaphore, EXT_semaphore_fd
* anv VK_VALVE_mutable_descriptor_type
* Vulkan 1.3 on RADV,Anv.
* radeonsi, zink ARB_sparse_texture_clamp


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:L as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:L"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked "openSUSE:Factory:Staging:L"


Saul Goodman's avatar

licensedigger accepted review

The legal review is accepted preliminary. The package may require actions later on.


Dominique Leuenberger's avatar

dimstar accepted review


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:L got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:L got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:L got accepted.

openSUSE Build Service is sponsored by