Skip to content

Boot the live session on Wayland only - #21

Merged
bigbruno merged 20 commits into
mainfrom
dev-bigbruno
Nov 29, 2026
Merged

bigbruno merged 20 commits into
mainfrom
dev-bigbruno

Conversation

@bigbruno

@bigbruno bigbruno commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Summary

BigLinux KDE boots its live session on Wayland only, and the build engine gains a smaller live initrd and opt-in persistence. XivaStudio's own files are untouched: it keeps the common boot menu and SDDM files, and changes only through the KDE package list it appends.

Live session (KDE)

  • Plasma has no X11 session left, so the boot menu's Xorg entries led to a live session that cannot start. The menu is rebuilt for current hardware: 3 top-level entries and 13 under "More options for problems", each named by the problem a person sees, plus the firmware setup entry where fwsetup --is-supported. The installer copies the chosen entry's parameters to the installed system, where clearcpuid=514 tainted the kernel, nomce hid hardware errors, intremap=off weakened the IOMMU, and skew_tick=1 and rcu_expedited cost power.
  • The live autologin uses livecdWayland.desktop directly; the [X11] sections of the live and installed sddm.conf are removed, and the installed system takes the sddm package's PAM file.
  • These files live in sources/editions/kde/overlays, copied by the KDE special-commands.sh, which also raises the biglinux-livecd floor to 26.11.25-2022 (the build that starts boot modes in kwin_wayland and leaves live-only parameters off the installed command line).
  • wacomtablet and kgamma leave the KDE desktop list.
  • The profile generator grafts Manjaro's new ## Graphics section: Manjaro removed the two Xorg sections on 2026-11-23, and every regeneration since stopped at the missing section.

Build engine (every edition)

  • The live initrd drops the kms, miso_kms and PXE hooks and uses zstd; Plymouth draws on simpledrm and the GPU drivers load from the root image.
  • miso-persistence.patch keeps the live session on the filesystem named by cow_label, only when asked: a plain boot uses none, even with a vtoycow filesystem attached. Ventoy passes the label when its persistence menu selects a backend; build-iso/README.md documents a Ventoy configuration that starts without persistence after a three-second timeout. One system layer per ISO build, @home shared by all, a fallback to RAM when the filesystem cannot hold the layer or the home.
  • The container gets loop device nodes past the host's own.
  • build-local.sh runs on docker or root podman with the work and cache directories on volumes, skips the output directory when copying the checkout, and builds at the lowest CPU weight.
  • The openQA report renderer moves to fpdf2 2.8.8 and Pillow 13.0.0.

Merge order

biglinux/sddm-theme-biglinux#51, biglinux/biglinux-livecd#43 and biglinux/big-first-boot#2 are merged, and biglinux-livecd 26.11.25-2022 is in biglinux-stable. After merging, wait for the bot commit that regenerates biglinux/. #22 follows this one.

Testing

  • pytest build-iso/tests/ (201) and pytest openqa/report (100) pass.
  • The profiles regenerate from today's Manjaro upstream; the KDE profile matches the one this branch shipped before the move to editions/kde.
  • miso-persistence.patch applies with --fuzz=0 to manjaro-tools-iso-git 0.15.13.r82, and the hook's persistence paths run under mkinitcpio's busybox in the tests.
  • Not tested: an ISO build, a live boot of any entry, persistence on Ventoy or a partition, fwsetup on real firmware, or the openQA gate.

Plasma has no X11 session left, so the Xorg boot entries and their
advanced submenus led to a session that cannot start. They are gone, the
remaining advanced submenus are numbered 3 and 4, and the labels that
still named Xorg are reworded.

The live autologin uses livecdWayland.desktop directly instead of relying
on big-first-boot to switch to it, and the X11 sections of both SDDM
configurations are removed.
@coderabbitai

coderabbitai Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The live boot configuration replaces the previous Wayland and Xorg menu choices with recommended, free-driver, safe-video, and troubleshooting entries. SDDM selects the Wayland autologin session and removes X11 settings. The livecd dependency minimum increases, and the Xivastudio edition updates the text-mode password.

Changes: Live boot and session configuration

Layer / File(s) Summary
SDDM live session settings
sources/common/overlays/live/etc/sddm.conf, sources/common/overlays/root/etc/sddm.conf, sources/common/Live-add
Live SDDM autologin now selects livecdWayland.desktop. Both SDDM configurations remove their [X11] sections. The minimum biglinux-livecd version increases to 26.11.25-2022.
GRUB boot options
sources/common/overlays/live/usr/share/grub/cfg/kernels.cfg, sources/common/overlays/live/usr/share/grub/cfg/grub.cfg, sources/editions/xivastudio/special-commands.sh
The kernel menu adds recommended nonfree, free-driver, safe-video, and troubleshooting options, and removes the previous boot-option trees and memtest detection. The reboot menu adds a firmware-settings entry when EFI is active and firmware setup is supported. The Xivastudio command changes the password on matching text-mode entries.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Change: Bug fix

Suggested reviewers: talesam

Merge Risk: Minimal · up to f3c48

The change switches live autologin to the Wayland session and simplifies the boot menu. No concrete merge-blocking defect was established in the reviewed changes. An ISO build and live boot remain untested, as the author notes.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "Boot the live session on Wayland only" matches the main change. The PR removes the Xorg boot entries from the GRUB menu, switches SDDM autologin to livecdWayland.desktop, and removes the [X…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title "Boot the live session on Wayland only" matches the main change. The PR removes the Xorg boot entries from the GRUB menu, switches SDDM autologin to livecdWayland.desktop, and removes the [X11] sections from both SDDM configs. The title is short, specific, and states the primary intent from the developer's perspective. Its scope is narrower than the full changeset (boot menu redesign, bumped biglinux-livecd dependency, XivaStudio text-mode tweak), but that is acceptable for a title.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a7a32667-7727-42a0-b308-442788ca76a6
Commits

Reviewing files that changed from the base of the PR and between ee7c917 and f3c48c6.

Files selected for processing: 4

  • sources/common/Live-add
  • sources/common/overlays/live/usr/share/grub/cfg/grub.cfg
  • sources/common/overlays/live/usr/share/grub/cfg/kernels.cfg
  • sources/editions/xivastudio/special-commands.sh

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

rxvt-unicode is in none of the package lists, so the urxvt boot mode refused to start; only-konsole opens Konsole full screen, which the ISO ships.
The boot menu's installer and terminal entries show a window only with a biglinux-livecd that starts them in kwin_wayland.
bigbruno and others added 4 commits November 25, 2026 21:14
The installer copies the boot entry's parameters to the installed
system, where clearcpuid=514 tainted the kernel, nomce hid hardware
errors, intremap=off weakened the IOMMU and skew_tick=1 and
rcu_expedited cost power. The 51 entries, duplicated for both driver
sets and partly without effect on x86_64, become 16 named by the
problem a person sees, in plain English. Firmware that can boot to its
setup screen also gets an entry for it.
The text-mode and media-check entries pass systemd.unit and checksum,
which the installer copied to the installed system before this build.
Manjaro dropped "## Xorg Server and Graphics" and "## Xorg Input
Drivers" from its KDE package list, and the profile generator stopped
at the missing section. The VA-API drivers it still wants moved to
"## Graphics". xorg-server stays as an sddm dependency; xorg-xinit,
xorg-twm, xorg-xkill, numlockx, xorg-mkfontscale and the evdev and
elographics input drivers leave the image with the old sections.
bigbruno and others added 13 commits November 28, 2026 19:58
The overlay covered less than the packaged file: it loaded pam_kwallet5
without the leading dash, so a missing module logged an error, and it
left out pam_keyinit and the GNOME Keyring lines.
losetup takes the first free loop device. On a host whose loop devices
are all busy that is one created during the build, and the container,
which had nodes only for loop0 to loop7, could not open it.
GRUB reads the initrd through the firmware, slowly on USB sticks. The kms
and miso_kms hooks packed every DRM driver with its firmware, and the PXE
hooks every network driver, for boot modes the menu does not offer.
Plymouth draws on simpledrm and the GPU drivers load from the root image.
Rootless podman cannot mount devtmpfs in the chroots buildiso creates,
and the container's overlay root cannot be an overlay upperdir, so the
build died at the desktop image. The work and cache directories become
anonymous volumes, as in gitrepo. The copy of the checkout leaves out
the output directory, and the build runs at the lowest CPU weight.
Ventoy exposes its persistence backend under that label for Arch-based
systems, so the ISO needs no boot option; a partition with the label
works as well. The system layer is kept per ISO build and the home is
shared by all of them, so each home the image holds is copied in when
missing. A filesystem that cannot hold the overlay leaves the session
in RAM, and persist=home keeps only the home.
Both work only on X11: wacomtablet drives xsetwacom and kgamma the
XF86VidMode extension. Plasma's own Drawing Tablet settings cover
tablets on Wayland.
The boot menu, the SDDM configurations, the PAM file and the
biglinux-livecd floor move from sources/common to the KDE edition, whose
special-commands.sh copies its own overlays over the common ones. The
XivaStudio command for the reworded menu goes away, and its Desktop-add
keeps the packages that left the KDE list it appends, so its generated
profile matches the one main ships.
A filesystem labelled vtoycow no longer turns persistence on by itself:
the hook uses one only when cow_label names it. Ventoy passes the label
when its menu selects the backend, which the README example leaves
unselected after a three-second timeout.
This pull request changes only BigLinux KDE. XivaStudio appends the KDE
package list, so it no longer gets wacomtablet, kgamma, numlockx and the
Xorg tools and input drivers that list dropped; keeping them is its own
edition's choice.
@bigbruno
bigbruno merged commit f9161af into main Nov 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant