It seems that Firefox running under Debian Bookworm arm64 on Parallels has issues rendering certain web pages. In particular https://duckduckgo.com/?t=h_&q=foo&iaxm=maps is a reliable reproducer. Trying to open it freezes the Firefox UI, and the page is not rendered.
This happens only if drm hardware acceleration with virgl is enabled (the default):
Code:
$ sudo dmesg | grep virgl
[ 2.452214] [drm] features: +virgl -edid -resource_blob -host_visible
Disabling virgl hardware acceleration (Hardware -> Graphics -> Advanced -> toggle Enable 3D acceleration), the page is rendered correctly and the UI does not freeze.
The bug seems to be specific to the way Parallels uses virgl, and not a general problem with virgl itself. Under UTM using qemu and Display Card virtio-gpu-gl-pci, which enables virgl, there are no issues.
A fix for running Bookworm under Parallels is to upgrade mesa and dependencies from bookworm-backports. See https://backports.debian.org/Instructions/.
Code:
$ sudo apt install --dry-run -t bookworm-backports mesa-vulkan-drivers
Inst libdrm-common [2.4.114-1] (2.4.123-1~bpo12+1 Debian Backports:stable-backports [all])
Inst libdrm2 [2.4.114-1+b1] (2.4.123-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst libdrm-amdgpu1 [2.4.114-1+b1] (2.4.123-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst libdrm-nouveau2 [2.4.114-1+b1] (2.4.123-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst libdrm-radeon1 [2.4.114-1+b1] (2.4.123-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst libgl1-mesa-dri [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst libglx-mesa0 [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64]) []
Inst libegl-mesa0 [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64]) []
Inst libglapi-mesa [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64]) []
Inst mesa-libgallium (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64]) []
Inst libgbm1 [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst mesa-va-drivers [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst mesa-vdpau-drivers [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64])
Inst mesa-vulkan-drivers [22.3.6-1+deb12u1] (24.2.8-1~bpo12+1 Debian Backports:stable-backports [arm64])