Opened 13 months ago

Closed 10 months ago

Last modified 8 months ago

#22155 closed enhancement (fixed)

mesa-25.3.1 (remove VDPAU)

Reported by: Bruce Dubbs Owned by: zeckma
Priority: normal Milestone: 13.0
Component: BOOK Version: git
Severity: medium Keywords:
Cc:

Description (last modified by zeckma)

New minor version.

Change History (25)

comment:1 by zeckma, 13 months ago

Owner: changed from blfs-book to zeckma
Status: new → assigned
Summary: mesa-25.2.3 → mesa-25.2.3 (Wait until final point release)

comment:2 by zeckma, 13 months ago

Milestone: 12.5 → 99-Waiting

comment:3 by zeckma, 12 months ago

Summary: mesa-25.2.3 (Wait until final point release) → mesa-25.2.4 (Wait until final point release)

Now 25.2.4.

comment:4 by zeckma, 12 months ago

Summary: mesa-25.2.4 (Wait until final point release) → mesa-25.2.5 (Wait until final point release)

Now 25.2.5.

comment:5 by Xi Ruoyao, 11 months ago

Summary: mesa-25.2.5 (Wait until final point release) → mesa-25.2.6 (Wait until final point release)

Now 25.2.6.

comment:6 by zeckma, 11 months ago

Thanks for adjusting, Xi!

comment:7 by zeckma, 11 months ago

Summary: mesa-25.2.6 (Wait until final point release) → mesa-25.2.7 (Wait until final point release)

Now 25.2.7. 25.2.8 has been added to the release calendar, I believe some time after 25.3.0.

comment:8 by Xi Ruoyao, 11 months ago

Summary: mesa-25.2.7 (Wait until final point release) → mesa-25.2.7/25.3.0 (Wait until final point release or 25.3.1)

25.3.0 is released.

comment:9 by zeckma, 11 months ago

Description: modified (diff)
Summary: mesa-25.2.7/25.3.0 (Wait until final point release or 25.3.1) → mesa-25.3.0 (Wait until 25.3.1; remove VDPAU)

25.3.0 removes VDPAU support. On my Intel system, I went VDPAU-less. For NVIDIA GPUs, it won't matter regardless and would only be useful for the NVIDIA proprietary driver. In regards to BLFS, I think it will be safe axing VDPAU from the book (libvdpau and libvdpau-va-gl).

libvdpau-va-gl is a bit of a special case as it is a driver layering on top of VA-API and OpenGL. The use for VDPAU however instead of directly using VA-API seems slim. The project mentions a usecase being that you can offload work to the GPU in Flash Player. Ruffle is a very good replacement, utilizing WebGL/WebGPU.

Other packages in the book are good settling with VA-API, and some software outright require that support. But VDPAU mainly acts as a bridge for that optional support to use VDPAU drivers if they exist.

Since VA-API support in Mesa covers most GPUs, the decision is clear. If NVIDIA users aren't using Mesa, all that stuff is covered in GLFS+SLFS. VA-API in Mesa supports NVIDIA GPUs, so they aren't left stranded.

comment:11 by zeckma, 11 months ago

Hopefully will get fixed in 25.3.1/25.3.2. Thanks for reporting the issue upstream!

in reply to:  12 comment:13 by zeckma, 11 months ago

Replying to Xi Ruoyao:

It turns out to be a GTK issue, the fix is ​https://gitlab.gnome.org/GNOME/gtk/-/commit/fc6581cf3be54d8a578f83f1fee71d63a779a8bf.patch.

I can add this in when I do the Mesa update.

comment:14 by Xi Ruoyao, 11 months ago

It should be included in gtk-4.20.3 (#22424) now.

comment:15 by zeckma, 10 months ago

Thanks for letting me know.

comment:16 by zeckma, 10 months ago

Mesa-25.3 now depends on libdisplay-info. I see it as either recommended or optional. Its main purpose in Mesa is to parse EDIDs for HDR information for the Vulkan WSI. In short, exposes HDR information for Vulkan drivers in Mesa. This dependency does not lead to an extra driver, just enhances already existing Vulkan drivers.

in reply to:  16 comment:17 by Bruce Dubbs, 10 months ago

Replying to zeckma:

Mesa-25.3 now depends on libdisplay-info. I see it as either recommended or optional.

It's used in 5 other places. Lets make it recommended.

comment:18 by zeckma, 10 months ago

An additional note on the libdisplay-info dependency, I'm now on the side of optional since Vulkan HDR works without it. The main use case is to expose the EDID information to VR headsets running off of an AMD GPU via Monado.

From ​https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35461:

> in what cases could be useful this extension to be merged?

Assuming you're asking for possible uses for the MR, this MR is a pre-requisite for getting HDR VR up and running on AMD GPUs with Monado (an open source OpenXR runtime). While there isn't a significant amount of VR gear that supports HDR, the relatively popular PSVR2 supports it, and through some initial testing, this MR does seem to work with the PSVR2 on my 6900XT.

Before that comment, it was mentioned that mpv can use Vulkan HDR on Wayland no problem without the MR.

Last edited 10 months ago by zeckma (previous) (diff)

comment:19 by Bruce Dubbs, 10 months ago

I'll note that libdisplay-info is only 0.1 SBU and only needs hwdata that is also needed in several other places.

comment:20 by zeckma, 10 months ago

Yeah. It doesn't matter much either way. Making it recommended will be safe too, as it may get increased importance in Mesa.

comment:21 by zeckma, 10 months ago

Another note too about installed contents, /usr/lib/dri has increased the contents to:

apple_dri.so       imx-lcdif_dri.so    nouveau_drv_video.so   st7735r_dri.so
armada-drm_dri.so  ingenic-drm_dri.so  panel-mipi-dbi_dri.so  sti_dri.so
crocus_dri.so      iris_dri.so         pl111_dri.so           stm_dri.so
exynos_dri.so      kirin_dri.so        r300_dri.so            sun4i-drm_dri.so
gm12u320_dri.so    kms_swrast_dri.so   r600_dri.so            swrast_dri.so
hdlcd_dri.so       komeda_dri.so       r600_drv_video.so      udl_dri.so
hx8357d_dri.so     libdril_dri.so      radeonsi_dri.so        virtio_gpu_dri.so
i915_dri.so        mali-dp_dri.so      radeonsi_drv_video.so  virtio_gpu_drv_video.so
ili9163_dri.so     mcde_dri.so         rcar-du_dri.so         vkms_dri.so
ili9225_dri.so     mediatek_dri.so     repaper_dri.so         vmwgfx_dri.so
ili9341_dri.so     meson_dri.so        rockchip_dri.so        zink_dri.so
ili9486_dri.so     mi0283qt_dri.so     rzg2l-du_dri.so        zynqmp-dpsub_dri.so
imx-dcss_dri.so    mxsfb-drm_dri.so    ssd130x_dri.so
imx-drm_dri.so     nouveau_dri.so      st7586_dri.so

libdril_dri.so is still a regular library, the _drv files are symlinks to libgallium, and the rest are symlinks to libdril_dri.so. I don't know why the amount of symlinks increased, especially when most of them aren't applicable to us.

comment:22 by zeckma, 10 months ago

Milestone: 99-Waiting → 12.5
Summary: mesa-25.3.0 (Wait until 25.3.1; remove VDPAU) → mesa-25.3.1 (remove VDPAU)

Now 25.3.1.

comment:23 by zeckma, 10 months ago

Currently under active testing. Zink+NVK have gotten more stable. Hardware cursors have a tough time working correctly, however, and I have submitted an issue upstream for that. See ​https://gitlab.freedesktop.org/mesa/mesa/-/issues/14425 for more information.

A previous issue (see ​https://gitlab.freedesktop.org/mesa/mesa/-/issues/13047) doesn't seem to be the case anymore for now, and will close that issue if it does not happen again in a day or two. That means this package will be in testing for a day or two before I start running stats and making changes, axing VDPAU in the process.

This issue can be expected to be resolved in half a week or so.

comment:24 by zeckma, 10 months ago

Resolution: → fixed
Status: assigned → closed

comment:25 by Bruce Dubbs, 8 months ago

Milestone: 12.5 → 13.0

Milestone renamed

Note: See TracTickets for help on using tickets.