Comments

8 Comments

@corsepiu https://download1.rpmfusion.org/free/fedora/updates/40/x86_64/repoview/mesa-va-drivers-freeworld.html Download the new builds manually from here or wait for it to reach your local mirrors.

karma

Giving good karma now since its already fixed on RPMFusion's end. I have installed the freeworld va driver packages locally and am using this build of mesa. We just need to wait for those freeworld packages to propagate to all mirrors. Thanks again Jose!

As there has been an official reply from mesa dev too, I assume that the patches aren't getting pulled from here. I will proceed to create a bugzilla in RPMFusion to prompt a rebuild with these patches.

@jexposit The build is fine actually. The error happens because I assume that mesa-va-drivers-freeworld from RPMFusion doesn't carry the patch and there is a mismatch between how the two handle stuff. If I uninstall mesa-va-drivers-freeworld or use mesa-va-drivers from Fedora's repos. I can open Spectacle fine but with no VAAPI.

@jexposit one thing i forgot to mention is that this issue doesn't happen for me on mesa-git. For posterity this is the mesa-git build i used that had no issues.

P.S. The log I shared is actually someone from the Nobara community and not mine. However, I can also reproduce it with my integrated AMD graphics (Radeon 660M from a Ryzen 5 6600HS)

It looks like you have already mentioned the issue in the related issue pages and MRs. I will chime in there when there is more development on the issue. Thanks

Yes, I have downgraded to 24.1.2-2.fc40 and everything works as intended.

karma

    sacredsin@CtrlAltReboot ~ [SIGABRT]> spectacle
    libva info: VA-API version 1.21.0
    libva info: Trying to open /usr/lib64/dri-nonfree/radeonsi_drv_video.so
    libva info: Trying to open /usr/lib64/dri-freeworld/radeonsi_drv_video.so
    libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
    libva info: Found init function __vaDriverInit_1_21
    libva info: va_openDriver() returns 0
    kpipewire_vaapi_logging: VAAPI: Mesa Gallium driver 24.1.2 for AMD Radeon RX 6600 XT (radeonsi, navi23, LLVM 18.1.6, DRM 3.57, 6.8.12-201.fsync.fc40.x86_64) in use for device "/dev/dri/renderD128"
    LLVM failed to compile a shader correctly: SGPR:VGPR usage is 32:8, but the hw limit is 16:2048
    LLVM failed to compile a shader correctly: SGPR:VGPR usage is 88:12, but the hw limit is 16:2048
    LLVM failed to compile a shader correctly: SGPR:VGPR usage is 32:16, but the hw limit is 16:2048
    fish: Job 1, 'spectacle' terminated by signal SIGABRT (Abort)

Breaks LLVM shader compilation in a few apps. Here is the relevant log from Spectacle.