docs: mesa virgl status → BUILDS (virtio_gpu_dri.so confirmed)

This commit is contained in:
2026-05-01 00:39:31 +01:00
parent 73877d5a3a
commit 053324f5d0
+1 -1
View File
@@ -113,7 +113,7 @@ The kernel handles 35 syscalls explicitly. Remaining gaps:
| Component | Status | Detail |
|-----------|--------|--------|
| mesa | 🟡 Builds | llvmpipe software renderer; EGL=on, GBM=on, GLES2=on |
| mesa virgl (QEMU 3D) | 🔴 WIP | `-Dgallium-drivers=swrast,virgl` compiles all objects; linker fails with `undefined reference to static_assert` in `virgl_drm_winsys.c` via `libdrm/virtgpu_drm.h` include chain. Root cause: Mesa `util/macros.h` `#define static_assert _Static_assert` not picked up before Linux `drm.h` header uses `static_assert()`. Fix: patch `drm.h` to use `_Static_assert` directly, or add `-include util/macros.h` to CFLAGS for virgl winsys. |
| mesa virgl (QEMU 3D) | 🟢 **BUILDS**`virtio_gpu_dri.so` in `usr/lib/dri/` | `-Dgallium-drivers=swrast,virgl` compiles and links. Fix: `-Dstatic_assert(...)=` nullifies Linux `drm.h` macro conflict with Mesa `util/macros.h`. Durable patch: `local/patches/mesa/P4-virgl-redox-disk-cache.patch`. 80MB pkgar. Hardware-accelerated 3D testable in QEMU with `-device virtio-vga-gl`. |
| radeonsi (AMD HW) | 🔴 Not built | Not cross-compiled for Redox target |
| iris (Intel HW) | 🔴 Not built | Not cross-compiled for Redox target |
| OSMesa | 🟢 Builds | Off-screen software rendering |