12.4 is probably your problem.
> pixman is 0.42.2
>
> Any suggestions?
Switch to 13 or 14 if you can, maintaining packages on 12.4 while trying
to drive a AMD Radeon GPU sounds like a world of pain, graphics/drm-510-
kmod is only compatible with FreeBSD => 13.1, and the for time being, the
latest GPU kernel drivers are in Ports.