Testing on real hardware
What to try when Luft goes on a new computer. Use luft-nightly.iso for the newest build, or luft-latest.iso for the last release. Write down the computer’s model, its graphics, and whether Windows is on it.
Installing
Section titled “Installing”- Secure Boot enrollment. Leave Secure Boot on. After the restart, the blue screen takes the code Install Luft showed, and Luft starts.
mokutil --sb-statesays it’s enabled, andtrustctl statusshows Luft’s key as enrolled. - Alongside Windows. Windows still starts from the firmware’s boot menu, keeps its files, and Luft’s startup partition sits next to Windows’ EFI system partition when that one is small. With Fast Startup offered and on, it’s off in Windows afterwards.
- Graphics handover and the splash. From the firmware logo to the login screen there’s no flash, no black gap and no text, and the logo doesn’t jump. Same when restarting and shutting down. On NVIDIA,
bootc statusshows the-nvidiaimage.
Every day
Section titled “Every day”- Sleep.
cat /sys/power/mem_sleepshows which modes the computer has; the one in brackets is used. Close the lid for a few minutes and open it again, in s2idle and, when it’s listed, in deep (echo deep | sudo tee /sys/power/mem_sleep). The battery should barely drop overnight. - Suspend and resume screen. Waking up shows the lock screen straight away, on every connected display, without the desktop showing first.
- Sound. Speakers, headphones, the microphone and HDMI or DisplayPort audio. Then start Windows, shut it down normally (with Fast Startup on), start Luft and check again.
- Wi-Fi and Bluetooth. Connect, sleep, wake and reconnect. Devices paired in Windows before installing connect in Luft without pairing again, and so do ones brought over later from Settings.
- Touchpad and fingerprint. Tap to click, two-finger scrolling and gestures work. When there’s a reader, add a finger in Settings, Users, and unlock with it.
- Display scaling. The picked scale looks right on the built-in screen and on an external monitor, and nothing is blurry after changing it.
- Brightness keys and battery. The keys change brightness and show the indicator. The battery percentage and time left look plausible, and charging is noticed when plugging in.
- Video playback. A 4K H.264, HEVC and AV1 video plays smoothly in the browser and in the video player.
vainfolists the codecs; while playing, the processor stays mostly idle. - Anti-cheat readiness. Settings, Security says “Ready for games with anti-cheat”, and
trustctl anti-cheatpasses every requirement. If not, note the first one missing.
Updates and unlock
Section titled “Updates and unlock”- Updates and rollback. Settings finds an update, downloads it and restarts to install it.
bootc statusshows the new version. Then go back with Settings orsudo bootc rollback, and once more from SushiBoot’s Previous versions menu (hold a key while starting). - NVIDIA driver switch. On a computer with an NVIDIA card installed with the standard image, for example with
sudo bootc switch ghcr.io/lantharos/luft:45, a notification after signing in offers NVIDIA’s driver. Switch in Settings, Updates, and restart.bootc statusshows the-nvidiaimage,nvidia-smisees the card with Secure Boot on, and going back with Settings starts the standard image again. - TPM unlock. Turn on encryption in Settings, Security. After it finishes, restarts open the disk without a passphrase, also after an update. Keep the recovery key; turning Secure Boot off should make Luft ask for it.
When something fails
Section titled “When something fails”Note what you did, what you expected and what happened, with a photo if it’s on screen before the desktop. Then collect, right after it happens:
| Command | Shows |
|---|---|
journalctl -b > boot.log |
Everything since this start |
journalctl -b -1 > previous-boot.log |
The start before, for crashes, freezes and failed resumes (restart first) |
trustctl status |
Secure Boot, keys, the TPM and encryption |
trustctl anti-cheat |
Each anti-cheat requirement |
bootc status |
The installed versions and which one is running |
sudo dmesg > kernel.log |
Kernel messages, for graphics, sleep and devices |
lspci -nnk and lsusb |
The hardware and the drivers it uses |
cat /sys/power/mem_sleep |
The sleep modes |
vainfo |
Video decoding |
vulkaninfo --summary and eglinfo -B |
The graphics drivers apps draw with |
wpctl status |
Sound devices |
For problems in one app, journalctl -b --user has the session’s own messages.