[Bug 275388] graphics/mesa-dri: 23.1.8 breaks some radeon cards

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 27 Nov 2023 20:41:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275388

            Bug ID: 275388
           Summary: graphics/mesa-dri: 23.1.8 breaks some radeon cards
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: freebsd.68fba@nospam.spacesurfer.com
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

I have a FreeBSD 13.2 machine with an AMD Radeon RX 550 / 550 running X11 with
the amdgpu driver

Upgrading

mesa-dri: 22.3.7_3 -> 23.1.8_1
mesa-libs: 22.3.7_2 -> 23.1.8

breaks X11. The display is a just a mess of randomly coloured pixel. Apps such
as chrome/firefox/thunderbord have new log lines reporting

ac_rtld error: !data || data->d_size != shdr->sh_size
LLVM failed to upload shader

My Xorg log reports
[66.956] (II) AMDGPU(0): glamor X acceleration enabled on AMD Radeon RX 550 /
550 Series (polaris12, LLVM 16.0.6, DRM 3.40, 13.2-RELEASE-p2)

I have another machine with an onboard intel graphics cards with exactly the
same kernel and set of ports and it works fine after the upgrade.

Other people have reported similar issues at:

https://forums.freebsd.org/threads/mesa-dri-23-1-8-and-radeon-570-and-failed-to-build-shader-variant.91095/

Other people have reported
RX 6700 XT: working
Radeon RX 6800: broken
Radeon 570: broken

-- 
You are receiving this mail because:
You are the assignee for the bug.