Skip to content

Troubleshooting

Bruh edited this page Nov 27, 2026 · 1 revision

Troubleshooting

VM boot and display problems

Symptom Cause Fix
GRUB refuses to load / "Security violation" Secure Boot enabled Disable Secure Boot (all hypervisors). The ISO's GRUB is unsigned
Boots to login prompt, desktop never appears Virtual GPU without a DRM driver (VBoxVGA, Hyper-V Gen 1, plain fbdev) Switch to virtio-vga / VMSVGA / VMware SVGA / Hyper-V Gen 2
QEMU capture: "Guest has not initialized the display" -device VGA instead of virtio-vga Use -device virtio-vga
Extremely slow boot / UI TCG emulation (no KVM/WHPX/nested virt) Enable KVM, WHPX, or WSL2 nestedVirtualization=true; or accept slowness on UTM
Black screen but serial shows Materialized session started Capture taken before first modeset, or wrong display device Wait a few seconds, re-capture, verify the video model
Firefox exits immediately in a restrictive sandbox User namespaces blocked by hypervisor/guest policy The live matbrowser wrapper already relaxes the content sandbox for evaluation; check /tmp/matbrowser.log in a recovery TTY
Only 1024x768 resolution Compositor picks the connector's preferred mode Expected for the alpha; mode selection is on the roadmap
Dead keyboard/pointer or invisible cursor on 0.2.0 libinput backend missing; no focus-on-map; hardware cursor planes Fixed in 0.2.1 - use the 0.2.1 ISO
"safe graphics" GRUB entry gives no desktop nomodeset removes the DRM output Intentional: that entry is a recovery shell only

Recovery TTYs: Ctrl+Alt+F2 ... F6, login materialized / materialized (public evaluation credential). With a serial console attached (console=ttyS0), the kernel, compositor and an in-guest watchdog report state.

See Running the Live ISO for the per-hypervisor requirements behind most of these.

WSL / build problems

Symptom Cause Fix
APT: Release file ... is not valid yet WSL2 clock drift after host sleep sudo bash build/fix-wsl-clock.sh
Ninja repeatedly re-runs CMake Source mtimes drifted with the WSL clock sudo bash build/normalize-source-times.sh
Debian package signatures fail on older Ubuntu Stale archive keyring sudo bash build/refresh-debian-keyring.sh before platform/iso/build.sh
ISO build fails on /mnt/c Windows-mounted filesystems cannot host Linux device nodes Keep the ISO work dir on a Linux filesystem (/var/tmp/materialized-iso by default; override with MAT_ISO_WORK)
QEMU VM test is very slow No /dev/kvm (TCG fallback) Enable nested virtualization in %USERPROFILE%\.wslconfig ([wsl2] nestedVirtualization=true), then wsl --shutdown; or run the harness with sudo / add your user to the kvm group; or raise --timeout

More build detail: Building from Source. Test harness behavior: Testing.

Clone this wiki locally