Skip to content

Running the Live ISO

Bruh edited this page Nov 27, 2026 · 1 revision

Running the Live ISO

Applies to: materialized-0.2.1-amd64.iso (Alpha 0.2.1) and later.

The ISO is a Debian 13 (trixie) x86_64 live image with a hybrid GRUB 2 boot record (UEFI and legacy BIOS). No installation is performed - everything runs live from the ISO. Download: the Alpha 0.2.1 release attaches materialized-0.2.1-amd64.iso with its .sha256 and package manifest, or build it yourself with Building from Source. Checksums and manifests are also committed under docs/releases.

The desktop is a real wlroots compositor (matcomp) rendering with the pixman software renderer onto a DRM/KMS output. That single fact determines most of the guidance below.

Requirements

Requirement Why
x86_64 guest Kernel and userspace are amd64 only
Virtual GPU with a DRM/KMS kernel driver matcomp uses the wlroots DRM backend. virtio-gpu (virtio_gpu), VMware/VBox SVGA (vmwgfx) and Hyper-V (hyperv_drm, kernel >= 5.14) qualify. Pure framebuffer devices (Hyper-V Gen 1 hyperv_fb, VBoxVGA, plain -device VGA) do not
Secure Boot OFF The GRUB images in the ISO are unsigned
>= 2 vCPUs, >= 3 GB RAM The acceptance harness uses -smp 2 -m 3072; Firefox ESR plus the QML shell need the headroom. 2 GB boots but is tight
3D acceleration not required Rendering is software (pixman + Qt QT_QUICK_BACKEND=software). Leave 3D off; it only adds driver variance
UEFI or BIOS firmware Both boot paths are tested. UEFI needs OVMF/EDK2 or the hypervisor's EFI

The session auto-logins on tty1 as materialized / materialized (a public evaluation credential - VM use only).

QEMU / KVM - verified (UEFI and BIOS)

This is exactly what tests/vm/run-qemu.sh runs.

UEFI (OVMF)

# One-time: private copy of the UEFI variable store
cp /usr/share/OVMF/OVMF_VARS_4M.fd ./OVMF_VARS.fd

qemu-system-x86_64 \
  -machine q35,accel=kvm -cpu host -m 3072 -smp 2 \
  -cdrom materialized-0.2.1-amd64.iso -boot d \
  -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE_4M.fd \
  -drive if=pflash,format=raw,file=./OVMF_VARS.fd \
  -device virtio-vga -device virtio-rng-pci \
  -netdev user,id=n0 -device e1000e,netdev=n0

Legacy BIOS

Same command without the two -drive if=pflash... lines (SeaBIOS is the default firmware). The BIOS boot path is verified too.

Without KVM (TCG)

Replace -machine q35,accel=kvm -cpu host with -machine q35,accel=tcg -cpu max. It works but is roughly 10x slower; give the session 3-5 minutes to reach the desktop.

Display notes

  • Use -device virtio-vga (verified). Plain -device VGA has produced "Guest has not initialized the display" captures with this compositor; avoid it.
  • Headless acceptance: -display none -serial file:boot.log plus a QEMU monitor socket for screendump. The shell prints Materialized session started on the serial console only after the QML window is genuinely exposed.

Windows hosts

Recommended: run the harness inside WSL2:

wsl -d Ubuntu -u root -- bash tests/vm/run-qemu.sh --iso ... --mode uefi

For KVM speed, enable nested virtualization in %USERPROFILE%\.wslconfig:

[wsl2]
nestedVirtualization=true

then wsl --shutdown. Without it QEMU falls back to TCG (slow but fine). Native QEMU for Windows can use -accel whpx with -cpu qemu64 and the same device set (not harness-verified).

VirtualBox - expected to work (VMSVGA)

VirtualBox's VMSVGA controller exposes a vmwgfx DRM device. Do not use VBoxVGA (framebuffer only) and do not enable 3D acceleration.

Setting Value
Type / Version Linux / Debian (64-bit)
Base memory 3072 MB
Processors 2
Motherboard Enable I/O APIC; EFI optional (both firmware paths boot); Secure Boot off if present
Graphics Controller VMSVGA
Video Memory 128 MB
3D Acceleration unchecked
Storage ISO on the IDE/optical drive, boot order optical first
Network NAT (Intel PRO/1000 or virtio-net both work with NetworkManager)

Equivalent CLI:

VBoxManage createvm --name materialized --ostype Debian_64 --register
VBoxManage modifyvm materialized --memory 3072 --cpus 2 --ioapic on \
  --graphicscontroller vmsvga --vram 128 --firmware efi   # or: --firmware bios
VBoxManage storagectl materialized --name IDE --add ide
VBoxManage storageattach materialized --storagectl IDE --port 0 --device 0 \
  --type dvddrive --medium materialized-0.2.1-amd64.iso
VBoxManage startvm materialized

If the desktop never appears, check the guest console (Ctrl+Alt+F2) for matcomp errors: a missing DRM node means the wrong graphics controller.

VMware Workstation / Player / Fusion (Intel hosts)

VMware's SVGA II device is driven by vmwgfx in the guest - a real DRM driver. Alpha 0.2.1 boot and hotkey input were verified on Workstation Pro 25H2. Create a "Linux / Debian 12.x 64-bit" VM, or use this .vmx baseline:

guestOS = "debian12-64"
firmware = "efi"                  # or "bios"; both boot paths work
uefi.secureBoot.enabled = "FALSE"
memsize = "3072"
numvcpus = "2"
svga.present = "TRUE"
svga.vramSize = "134217728"       # 128 MB
mks.enable3d = "FALSE"            # software rendering; 3D not needed
ethernet0.virtualDev = "e1000e"
cdrom0.imageType = "cdrom-image"
cdrom0.fileName = "materialized-0.2.1-amd64.iso"
cdrom0.startConnected = "TRUE"
  • Keep Accelerate 3D graphics off (VM Settings, Display).
  • VMware Tools / open-vm-tools are not required for the desktop.
  • VMware on Apple Silicon cannot run x86_64 guests - use UTM there.

Hyper-V (Windows) - Generation 2 only

Debian 13's kernel (6.12) includes hyperv_drm, a DRM driver for the Hyper-V synthetic video device. Generation 1 exposes only hyperv_fb (framebuffer) and will not run the desktop.

New-VM -Name materialized -Generation 2 -MemoryStartupBytes 3GB `
  -NewVHDPath "$env:PUBLIC\Documents\Hyper-V\materialized.vhdx" -NewVHDSizeBytes 8GB `
  -SwitchName "Default Switch"
Set-VMProcessor -VMName materialized -Count 2
Set-VMFirmware  -VMName materialized -EnableSecureBoot Off      # unsigned GRUB
Add-VMDvdDrive  -VMName materialized -Path .\materialized-0.2.1-amd64.iso
$dvd = Get-VMDvdDrive -VMName materialized
Set-VMFirmware  -VMName materialized -FirstBootDevice $dvd
Start-VM        -VMName materialized
vmconnect       localhost materialized
  • Secure Boot must be Off; the "Microsoft UEFI Certificate Authority" template will also reject the ISO.
  • Enhanced Session Mode is irrelevant (it is an RDP channel); use the basic console window.
  • If hyperv_drm fails to bind on your build, fall back to QEMU/WSL2, the verified path on Windows.

GNOME Boxes / virt-manager (libvirt)

Boxes: create a VM from the ISO with >= 3 GB RAM; the defaults (virtio video + UEFI) match the requirements. Leave any 3D acceleration toggle off.

virt-manager / raw libvirt: firmware UEFI (OVMF), q35, and virtio video:

<os firmware='efi'>
  <type arch='x86_64' machine='q35'>hvm</type>
  <boot dev='cdrom'/>
</os>
<cpu mode='host-passthrough'/>
<memory unit='GiB'>3</memory>
<vcpu>2</vcpu>
<devices>
  <video><model type='virtio' heads='1' primary='yes'/></video>
  <graphics type='spice' autoport='yes'/>
  <rng model='virtio'><backend model='random'>/dev/urandom</backend></rng>
</devices>

Do not select QXL/VGA-only models: they lack the DRM path this compositor needs.

UTM on Apple Silicon (macOS) - emulation, slow

UTM can emulate x86_64 with QEMU TCG:

  1. New VM, Emulate, Linux.
  2. Architecture x86_64, machine q35, >= 3072 MB RAM, 2 CPUs.
  3. Boot ISO: the Materialized ISO.
  4. Display: virtio-gpu-pci; leave GPU acceleration (virgl/ANGLE) off.
  5. UEFI boot is the default for x86_64 emulation; keep Secure Boot off.

Expect a very slow boot (several minutes) and sluggish Firefox - inherent to x86-on-ARM emulation, not a bug in the image. Parallels Desktop on Apple Silicon runs ARM guests only and cannot run this ISO.

Inside the VM (all hypervisors)

  • Autologin: tty1 starts the session automatically; no login needed.
  • Credentials (recovery TTYs): materialized / materialized (public evaluation credential).
  • Hotkeys: Ctrl+Alt+T terminal, Ctrl+Alt+B Firefox ESR with Material-themed chrome. Apps open only on user action (launcher or hotkeys).
  • Recovery: Ctrl+Alt+F2 ... F6 give login TTYs. The GRUB "safe graphics" entry (nomodeset) is a recovery shell only: with nomodeset there is no DRM output, so the desktop intentionally does not start.
  • Serial diagnostics: with a serial console attached (console=ttyS0), the kernel, compositor and an in-guest watchdog report state; the shell prints Materialized session started once the QML window is exposed.
  • Network: DHCP via NetworkManager on NAT/user-mode networking; Firefox works out of the box.

Verification matrix

Hypervisor / config Firmware Graphics Status
QEMU q35 + KVM UEFI (OVMF 4M) virtio-vga Verified by harness 2026-11-21
QEMU q35 + KVM BIOS (SeaBIOS) virtio-vga Verified by harness 2026-11-21
QEMU q35 + TCG UEFI / BIOS virtio-vga Same image, slow path
VirtualBox 7.x EFI or BIOS VMSVGA, 3D off Expected to work, untested
VMware Workstation/Player/Fusion (Intel) EFI or BIOS SVGA II, 3D off 0.2.1 boot + VNC hotkey input verified 2026-11-21 (Workstation Pro 25H2); typed-text gate inconclusive there (serial flush on hard stop)
Hyper-V Gen 2, Secure Boot off UEFI hyperv_drm Expected to work, untested
GNOME Boxes / virt-manager UEFI virtio video Expected to work, untested
UTM (Apple Silicon, emulate x86_64) UEFI virtio-gpu-pci Expected to work, untested, slow
Secure Boot on, or fbdev-only video any any Unsupported

Reproduce the verified rows with:

bash tests/vm/run-qemu.sh --iso build/iso/materialized-0.2.1-amd64.iso --mode uefi
bash tests/vm/run-qemu.sh --iso build/iso/materialized-0.2.1-amd64.iso --mode bios

Problems? See Troubleshooting. Full source: docs/RUNNING-ON-VMS.md.

Clone this wiki locally