[Bug 240761] graphics/mesa-dri: Segmentation fault occurs while executing atexit handlers (affects lang/clover: Segmentation fault in OpenCL programs)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 01 Mar 2025 09:23:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240761

C. Leu <kle@bluewin.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kle@bluewin.ch

--- Comment #14 from C. Leu <kle@bluewin.ch> ---
Hi all, as of 2025 here follows some additional information about the "clover"
topic and Linux.

Regrading Mesa 25.0 and LLVM 19 clover seems to perform quite well in
conjunction with a Radeon RX 580 GPU (mentioned by the OP) which is GCN4
hardware.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/12332#note_2712711
https://gitlab.freedesktop.org/mesa/mesa/-/issues/12404

However, it should be added that clover suffers regularly of breakages mostly
because of new or removed LLVM features. This seems to be again the case for
LLVM 20.x and 21.x.
https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33805#note_2802600

Finally, clover is in general not operational on GCN5 and newer Radeon class
hardware including the RDNA series. Most likely this is because of some not
properly set-up stuff at the LLVM side.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/4189

So it is currently not possible to use clover at an Radeon RX5700XT graphics
card. But there exist as an alternative rusticl which should be also an option
on BSD. ;-)

Note, this information is predominately GCN Radeon hardware and radeonsi driver
related. In contrast, older TeraScale Radeon hardware and the r600 Mesa driver
have additional problems most likely because of some TeraScale specific LLVM
flaws.

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