diff --git a/README.md b/README.md index eefab30b..0ac4d70d 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,7 @@ sources/ │ └── overlays/root/ desktop/ live/ files shipped as-is └── editions/ ├── kde/ Desktop-add + special-commands.sh + │ └── overlays/root/ live/ KDE's own files, copied by special-commands.sh └── xivastudio/ same, plus its own trims ``` @@ -225,10 +226,10 @@ There is always one. `Packages-Desktop` has no Manjaro base of its own, so `Desktop-add` is **written over it** rather than appended to it. That is not the whole story either: `editions/kde/special-commands.sh` then -grafts four sections copied verbatim out of Manjaro's own KDE profile — -`## Printing`, `## Xorg Server and Graphics`, `## Xorg Input Drivers` and -`## Misc`. Which means `xorg-server` and the entire printing stack are *not* in -`Desktop-add`, they arrive from upstream. +grafts three sections copied verbatim out of Manjaro's own KDE profile — +`## Printing`, `## Graphics` and `## Misc`. Which means the VA-API drivers and +`mesa-utils` are *not* in `Desktop-add`, they arrive from upstream; `xorg-server` +comes in as a dependency of `sddm`. So before you conclude "this package is missing" and add it: look in `special-commands.sh` first. It is probably already there, twice. @@ -250,6 +251,7 @@ Paths relative to `sources/`. | Change a driver package | `common/Mhwd-add` / `common/Mhwd-remove` | | Ship a file in the installed system | `common/overlays/root/` | | Ship a file only in the live session | `common/overlays/live/` | +| Ship a file in KDE only | `editions/kde/overlays/root/` (or `live/`) | | Add an edition | new dir in `editions/` with `Desktop-add`, then list it in `editions` in the workflow | Then: push → wait for the bot commit → build an ISO. In that order. diff --git a/biglinux/kde/Packages-Desktop b/biglinux/kde/Packages-Desktop index e5597f1e..f8b564f0 100644 --- a/biglinux/kde/Packages-Desktop +++ b/biglinux/kde/Packages-Desktop @@ -6,7 +6,6 @@ kfind kdialog pavucontrol-qt kscreen -wacomtablet plasma-thunderbolt kio-gdrive mintstick @@ -66,7 +65,6 @@ plasma-keyboard bluedevil kde-gtk-config kdeplasma-addons -kgamma kinfocenter kmenuedit kscreenlocker @@ -143,25 +141,13 @@ flatpak-kcm # ou flatseal ## Printing >extra manjaro-printer -## Xorg Server and Graphics +## Graphics >multilib lib32-libva-intel-driver >multilib lib32-libva-mesa-driver libva-intel-driver libva-mesa-driver mesa-utils >multilib lib32-mesa-utils -numlockx -xdg-user-dirs -xorg-server -xorg-twm -xorg-xinit -xorg-xkill -xorg-mkfontscale - -## Xorg Input Drivers -xf86-input-elographics -xf86-input-evdev -xf86-input-libinput ## Misc diff --git a/biglinux/kde/Packages-Live b/biglinux/kde/Packages-Live index 0eb097ab..b9d39b92 100644 --- a/biglinux/kde/Packages-Live +++ b/biglinux/kde/Packages-Live @@ -11,7 +11,7 @@ testdisk timeshift calamares calamares-biglinux -biglinux-livecd>=26.10.19-0000 +biglinux-livecd>=26.11.25-2022 biglinux-grub-restore memtest86+ memtest86+-efi diff --git a/biglinux/kde/live-overlay/etc/sddm.conf b/biglinux/kde/live-overlay/etc/sddm.conf index 95f75520..da2f11fe 100644 --- a/biglinux/kde/live-overlay/etc/sddm.conf +++ b/biglinux/kde/live-overlay/etc/sddm.conf @@ -3,7 +3,7 @@ Relogin=true # Name of session file for autologin session (if empty try last logged in) -Session=livecd.desktop +Session=livecdWayland.desktop # Username for autologin session User=biglinux @@ -78,42 +78,3 @@ SessionDir=/usr/share/wayland-sessions # Path to the user session log file SessionLogFile=.local/share/sddm/wayland-session.log - -[X11] -# Path to a script to execute when starting the display server -DisplayCommand=/usr/share/sddm/scripts/Xsetup - -# Path to a script to execute when stopping the display server -DisplayStopCommand=/usr/share/sddm/scripts/Xstop - -# Enable Qt's automatic high-DPI scaling -EnableHiDPI=true - -# The lowest virtual terminal number that will be used. -MinimumVT=1 - -# Arguments passed to the X server invocation -ServerArguments=-nolisten tcp - -# Path to X server binary -ServerPath=/usr/bin/Xbig - -# Path to a script to execute when starting the desktop session -SessionCommand=/usr/share/sddm/scripts/Xsession - -# Directory containing available X sessions -SessionDir=/usr/share/xsessions - -# Path to the user session log file -SessionLogFile=.local/share/sddm/xorg-session.log - -# Path to the Xauthority file -UserAuthFile=.Xauthority - -# Path to xauth binary -XauthPath=/usr/bin/xauth - -# Path to Xephyr binary -XephyrPath=/usr/bin/Xephyr - - diff --git a/biglinux/kde/live-overlay/usr/share/grub/cfg/grub.cfg b/biglinux/kde/live-overlay/usr/share/grub/cfg/grub.cfg index d35c5c09..7394a0da 100644 --- a/biglinux/kde/live-overlay/usr/share/grub/cfg/grub.cfg +++ b/biglinux/kde/live-overlay/usr/share/grub/cfg/grub.cfg @@ -83,6 +83,12 @@ function boot_defaults { } function grub_reboot { + if is_efi; then + fwsetup --is-supported + if [ "$?" = 0 ]; then + menuentry --class=efi "UEFI firmware settings (BIOS setup)" {fwsetup} + fi + fi menuentry --class=reboot "Restart computer" {reboot} } diff --git a/biglinux/kde/live-overlay/usr/share/grub/cfg/kernels.cfg b/biglinux/kde/live-overlay/usr/share/grub/cfg/kernels.cfg index dabe6011..0336cc20 100644 --- a/biglinux/kde/live-overlay/usr/share/grub/cfg/kernels.cfg +++ b/biglinux/kde/live-overlay/usr/share/grub/cfg/kernels.cfg @@ -1,641 +1,97 @@ -menuentry "1 Wayland with Proprietary Drivers (support for NEW Nvidia GPUs or Broadcom wireless r8168/rt3562sta)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img -} -menuentry "2 Wayland with Open Source Drivers (support for OLD Nvidia GPUs or AMD, Intel and other computers)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img -} - -menuentry "3 Xorg with Proprietary Drivers (support for NEW Nvidia GPUs or Broadcom wireless r8168/rt3562sta)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img -} -menuentry "4 Xorg with Open Source Drivers (support for OLD Nvidia GPUs or AMD, Intel and other computers)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img -} - - -submenu "5 Advanced Wayland options with Proprietary Drivers ->" { - - submenu "5.0.0 Options to Hybrid GPU ->" { - - menuentry "5.0.1 Intel as Primary + Nvidia ModeSetting - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=1 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.2 Intel as Primary + Nvidia ModeSetting + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=2 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.3 Intel ModeSetting as Primary + Nvidia ModeSetting - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=3 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.4 Intel ModeSetting as Primary + Nvidia ModeSetting + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=4 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.5 Nvidia ModeSetting - PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=9 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.6 Nvidia ModeSetting + PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=10 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.0.7 Nvidia ModeSetting - PAT as Primary + Intel ModeSetting" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=11 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - } - - menuentry "5.1 Open in Installer" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.2 Open in Plasma" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=boot-in-plasma - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.3 Open in Terminal" --class=@DIST_NAME@.@ARCH@ { +menuentry "1 Start BigLinux (recommended)" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=urxvt + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.4 without ibt" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash ibt=off - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.5 Remove modeset (without modeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.modeset=0 radeon.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.6 Default power state max latency (nvme_core.default_ps_max_latency_us)=0" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nvme_core.default_ps_max_latency_us=0 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "5.7 Add these switches (nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.8 Disable S-VIDEO and hpet interface (video=SVIDEO-1:d hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 video=SVIDEO-1:d hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.9 Disable S-VIDEO interface (video=SVIDEO-1:d)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 video=SVIDEO-1:d nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.10 Disable hpet interface (hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.11 Enable optimizations with Intel i915 graphics chipset (i915.semaphores=1)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 i915.semaphores=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.12 Fix Xorg consistently freezes on startup (nopat)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nopat nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.13 Boot without splash screen (without splash)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.14 Fix PnP Bios caused a fatal error (pnpbios=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 pnpbios=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.15 Fix PnP Bios caused a fatal error and add switches (pnpbios=off noapic nolapic)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 pnpbios=off noapic nolapic nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.16 Add OS Linux to ACPI BIOS Resource Check (acpi_osi=Linux)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 acpi_osi=Linux nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.17 Add !Windows 2012 to ACPI BIOS Resource Check (acpi_osi=!Windows 2012)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 acpi_osi="!Windows 2012" nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.18 Disable ACPI entirely (acpi=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 noacpi acpi=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.19 Remap memory using software reject buffer (SWIOTLB) prevents hardware IOMMU usage. (iommu=soft)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 iommu=soft nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.20 Disable graphics GPU drivers until graphics mode loads (nomodeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nomodeset nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "5.21 Add multiple switches (nopat noapic noapci nolapic nosplash irqpoll)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nopat noapic noapci nolapic irqpoll nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } } - -submenu "6 Advanced Wayland options with Open Source Drivers ->" { - menuentry "6.1 Open in Installer" --class=@DIST_NAME@.@ARCH@ { +menuentry "2 Start BigLinux with open source drivers (if 1 fails)" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "6.2 Open in Plasma" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=boot-in-plasma - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } +} - menuentry "6.3 Open in Terminal" --class=@DIST_NAME@.@ARCH@ { +menuentry "3 Start in safe video mode (if the screen stays black)" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=urxvt + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nomodeset module_blacklist=nouveau,nova_core,nova_drm,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "6.4 without ibt" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash ibt=off - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "6.5 Remove modeset (without modeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nouveau.modeset=0 i915.modeset=0 radeon.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "6.6 Default power state max latency (nvme_core.default_ps_max_latency_us)=0" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nvme_core.default_ps_max_latency_us=0 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "6.7 Add these switches (nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.8 Disable S-VIDEO and hpet interface (video=SVIDEO-1:d hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free video=SVIDEO-1:d hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.9 Disable S-VIDEO interface (video=SVIDEO-1:d)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free video=SVIDEO-1:d nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.10 Disable hpet interface (hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.11 Enable optimizations with i915 graphics chipset (i915.semaphores=1)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free i915.semaphores=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.12 Fix Xorg consistently freezes on startup (nopat)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nopat nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.13 Boot without splash screen (without splash)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.14 Fix PnP Bios caused a fatal error (pnpbios=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free pnpbios=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.15 Fix PnP Bios caused a fatal error and add switches (pnpbios=off noapic nolapic)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free pnpbios=off noapic nolapic nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.16 Add OS Linux to ACPI BIOS Resource Check (acpi_osi=Linux)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free acpi_osi=Linux nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.17 Add !Windows 2012 to ACPI BIOS Resource Check (acpi_osi=!Windows 2012)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free acpi_osi="!Windows 2012" nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.18 Disable ACPI entirely (acpi=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free noacpi acpi=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.19 Remap memory in apps that don't read over 4GB (iommu=soft)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free iommu=soft nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.20 Disable Intel graphics features (nomodeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nomodeset nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "6.21 Add multiple switches (nopat noapic noapci nolapic nosplash irqpoll)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nopat noapic noapci nolapic irqpoll nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } } - -submenu "7 Advanced Xorg options with Proprietary Drivers ->" { - - submenu "7.0.0 Options to Hybrid GPU ->" { - - menuentry "7.0.1 Intel Xorg as Primary + Nvidia ModeSetting - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=1 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.2 Intel Xorg as Primary + Nvidia ModeSetting + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=2 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.3 Intel ModeSetting as Primary + Nvidia ModeSetting - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=3 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.4 Intel ModeSetting as Primary + Nvidia ModeSetting + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=4 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.5 Intel ModeSetting as Primary + Nvidia Xorg - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=5 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.6 Intel ModeSetting as Primary + Nvidia Xorg + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=6 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.7 Intel Xorg as Primary + Nvidia Xorg - PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=7 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.8 Intel Xorg as Primary + Nvidia Xorg + PAT" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=8 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - - menuentry "7.0.9 Nvidia ModeSetting - PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=9 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.10 Nvidia ModeSetting + PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=10 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.11 Nvidia ModeSetting - PAT as Primary + Intel ModeSetting" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=11 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.12 Nvidia ModeSetting + PAT as Primary + Intel ModeSetting" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=12 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.13 Nvidia Xorg - PAT as Primary + Intel ModeSetting" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=13 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.14 Nvidia Xorg + PAT as Primary + Intel ModeSetting" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=14 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.15 Nvidia Xorg - PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=15 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.0.16 Nvidia Xorg + PAT as Primary + Intel Xorg" --class=@DIST_NAME@.@ARCH@ { +submenu "4 More options for problems ->" { + menuentry "Verify the USB pen drive for errors (slow)" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - } - - menuentry "7.1 Open in Installer" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.2 Open in Plasma" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=boot-in-plasma - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.3 Open in Terminal" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=urxvt - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.4 without ibt" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=1 radeon.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash ibt=off + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off checksum=y initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.5 Remove modeset (without modeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.modeset=0 radeon.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "7.6 Default power state max latency (nvme_core.default_ps_max_latency_us)=0" --class=@DIST_NAME@.@ARCH@ { + menuentry "Show the start messages, to see the errors" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nvme_core.default_ps_max_latency_us=0 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.7 Add these switches (nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.8 Disable S-VIDEO and hpet interface (video=SVIDEO-1:d hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 video=SVIDEO-1:d hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.9 Disable S-VIDEO interface (video=SVIDEO-1:d)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 video=SVIDEO-1:d nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.10 Disable hpet interface (hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.11 Enable optimizations with Intel i915 graphics chipset (i915.semaphores=1)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 i915.semaphores=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.12 Fix Xorg consistently freezes on startup (nopat)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nopat nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.13 Boot without splash screen (without splash)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.14 Fix PnP Bios caused a fatal error (pnpbios=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 pnpbios=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "7.15 Fix PnP Bios caused a fatal error and add switches (pnpbios=off noapic nolapic)" --class=@DIST_NAME@.@ARCH@ { + menuentry "Notebook with 2 video cards freezes: do not use NVIDIA" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 pnpbios=off noapic nolapic nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free module_blacklist=nouveau,nova_core,nova_drm,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=integrated initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.16 Add OS Linux to ACPI BIOS Resource Check (acpi_osi=Linux)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Notebook screen blinks, freezes or stays white" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 acpi_osi=Linux nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off amdgpu.dcdebugmask=0x410 amdgpu.sg_display=0 i915.enable_psr=0 xe.enable_psr=0 initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.17 Add !Windows 2012 to ACPI BIOS Resource Check (acpi_osi=!Windows 2012)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Errors with the NVMe SSD disk" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 acpi_osi="!Windows 2012" nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off nvme_core.default_ps_max_latency_us=0 initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.18 Disable ACPI entirely (acpi=off)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Wi-Fi, disk or USB disconnect: disable energy saving" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 noacpi acpi=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off pcie_aspm.policy=performance pcie_port_pm=off ahci.mobile_lpm_policy=1 usbcore.autosuspend=-1 initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.19 Remap memory using software reject buffer (SWIOTLB) prevents hardware IOMMU usage. (iommu=soft)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Random freezes: disable CPU energy saving" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 iommu=soft nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off intel_idle.max_cstate=1 processor.max_cstate=1 initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.20 Disable graphics GPU drivers until graphics mode loads (nomodeset)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Notebook keyboard does not work" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nomodeset nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off i8042.nopnp=1 i8042.dumbkbd=1 initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "7.21 Add multiple switches (nopat noapic noapci nolapic nosplash irqpoll)" --class=@DIST_NAME@.@ARCH@ { + + menuentry "Freezes at start with DMAR or AMD-Vi errors: disable IOMMU" --class=@DIST_NAME@.@ARCH@ { set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=nonfree nouveau.modeset=0 nopat noapic noapci nolapic irqpoll nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off iommu=off intremap=off initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } -} - - -submenu "8 Advanced Xorg options with Open Source Drivers ->" { - menuentry "8.1 Open in Installer" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "8.2 Open in Plasma" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=boot-in-plasma - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - - menuentry "8.3 Open in Terminal" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=urxvt - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.4 without ibt" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nosoftlockup audit=0 nomce skew_tick=1 intremap=off split_lock_detect=off clearcpuid=514 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash ibt=off + menuentry "Open only the installer (if the desktop does not open)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "8.5 Remove modeset (without modeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nouveau.modeset=0 i915.modeset=0 radeon.modeset=0 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + menuentry "Text mode (user and password: biglinux)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off systemd.unit=multi-user.target initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "8.6 Default power state max latency (nvme_core.default_ps_max_latency_us)=0" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw nvme_core.default_ps_max_latency_us=0 quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + menuentry "Last option: very old computers (uses 1 CPU core)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off nopat noapic nolapic irqpoll hpet=disable initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } - menuentry "8.7 Add these switches (nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nopat noapic noapci nolapic irqpoll iommu=soft hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.8 Disable S-VIDEO and hpet interface (video=SVIDEO-1:d hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free video=SVIDEO-1:d hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.9 Disable S-VIDEO interface (video=SVIDEO-1:d)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free video=SVIDEO-1:d nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.10 Disable hpet interface (hpet=disable)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free hpet=disable nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.11 Enable optimizations with i915 graphics chipset (i915.semaphores=1)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free i915.semaphores=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.12 Fix Xorg consistently freezes on startup (nopat)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nopat nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.13 Boot without splash screen (without splash)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.14 Fix PnP Bios caused a fatal error (pnpbios=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free pnpbios=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.15 Fix PnP Bios caused a fatal error and add switches (pnpbios=off noapic nolapic)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free pnpbios=off noapic nolapic nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.16 Add OS Linux to ACPI BIOS Resource Check (acpi_osi=Linux)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free acpi_osi=Linux nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.17 Add !Windows 2012 to ACPI BIOS Resource Check (acpi_osi=!Windows 2012)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free acpi_osi="!Windows 2012" nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.18 Disable ACPI entirely (acpi=off)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free noacpi acpi=off nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.19 Remap memory in apps that don't read over 4GB (iommu=soft)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free iommu=soft nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.20 Disable Intel graphics features (nomodeset)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nomodeset nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash - initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img - } - menuentry "8.21 Add multiple switches (nopat noapic noapci nolapic nosplash irqpoll)" --class=@DIST_NAME@.@ARCH@ { - set gfxpayload=keep - linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE driver=free nopat noapic noapci nolapic irqpoll nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rcupdate.rcu_expedited=1 rw quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + menuentry "Last option: ACPI disabled (1 CPU core, no energy saving)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off acpi=off initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img } } - - -function memtest_detect { - if ! is_efi; then - if [ -f /boot/memtest ]; then - menuentry "Run Memory Testing Tool (memtest86+)" --class memtest86 --class gnu --class tool {linux16 /boot/memtest} - fi - elif is_efi; then - if [ -f /boot/memtest-efi ]; then - menuentry "Run Memory Testing Tool (memtest86+)" --class memtest86 --class gnu --class tool {linux16 /boot/memtest-efi} - fi - fi -} diff --git a/biglinux/kde/root-overlay/etc/pam.d/sddm b/biglinux/kde/root-overlay/etc/pam.d/sddm deleted file mode 100644 index 1ed30b32..00000000 --- a/biglinux/kde/root-overlay/etc/pam.d/sddm +++ /dev/null @@ -1,8 +0,0 @@ -#%PAM-1.0 - -auth include system-login -auth optional pam_kwallet5.so -account include system-login -password include system-login -session include system-login -session optional pam_kwallet5.so auto_start diff --git a/biglinux/kde/root-overlay/etc/sddm.conf b/biglinux/kde/root-overlay/etc/sddm.conf index 51987a0a..26c8aadc 100644 --- a/biglinux/kde/root-overlay/etc/sddm.conf +++ b/biglinux/kde/root-overlay/etc/sddm.conf @@ -67,40 +67,3 @@ SessionDir=/usr/share/wayland-sessions # Path to the user session log file SessionLogFile=.local/share/sddm/wayland-session.log - -[X11] -# Path to a script to execute when starting the display server -DisplayCommand=/usr/share/sddm/scripts/Xsetup - -# Path to a script to execute when stopping the display server -DisplayStopCommand=/usr/share/sddm/scripts/Xstop - -# Enable Qt's automatic high-DPI scaling -EnableHiDPI=true - -# The lowest virtual terminal number that will be used. -MinimumVT=1 - -# Arguments passed to the X server invocation -ServerArguments=-nolisten tcp -dpi 96 - -# Path to X server binary -ServerPath=/usr/bin/Xbig - -# Path to a script to execute when starting the desktop session -SessionCommand=/usr/share/sddm/scripts/Xsession - -# Directory containing available X sessions -SessionDir=/usr/share/xsessions - -# Path to the user session log file -SessionLogFile=.local/share/sddm/xorg-session.log - -# Path to the Xauthority file -UserAuthFile=.Xauthority - -# Path to xauth binary -XauthPath=/usr/bin/xauth - -# Path to Xephyr binary -XephyrPath=/usr/bin/Xephyr diff --git a/biglinux/xivastudio/Packages-Desktop b/biglinux/xivastudio/Packages-Desktop index 7288d0da..48c7143d 100644 --- a/biglinux/xivastudio/Packages-Desktop +++ b/biglinux/xivastudio/Packages-Desktop @@ -28,7 +28,6 @@ kfind kdialog pavucontrol-qt kscreen -wacomtablet plasma-thunderbolt kio-gdrive mintstick @@ -76,7 +75,6 @@ plasma-keyboard bluedevil kde-gtk-config kdeplasma-addons -kgamma kinfocenter kmenuedit kscreenlocker @@ -153,25 +151,13 @@ flatpak-kcm # ou flatseal ## Printing >extra manjaro-printer -## Xorg Server and Graphics +## Graphics >multilib lib32-libva-intel-driver >multilib lib32-libva-mesa-driver libva-intel-driver libva-mesa-driver mesa-utils >multilib lib32-mesa-utils -numlockx -xdg-user-dirs -xorg-server -xorg-twm -xorg-xinit -xorg-xkill -xorg-mkfontscale - -## Xorg Input Drivers -xf86-input-elographics -xf86-input-evdev -xf86-input-libinput ## Misc diff --git a/build-iso/README.md b/build-iso/README.md index 55aead25..40da07dc 100644 --- a/build-iso/README.md +++ b/build-iso/README.md @@ -17,7 +17,8 @@ mystery divergence to debug at 2 a.m. ### 1. On your machine -Needs `podman` or `docker`. Nothing is installed on your system — the build +Needs `docker`, or `podman` run as root (`sudo`): rootless podman cannot mount +the chroots. Nothing is installed on your system — the build happens inside the official container. From a clone of this repository — yours or upstream's, the commands are the same: @@ -109,7 +110,7 @@ Stage by stage, in the order `main()` runs them: | `resolve_kernel` | turns `lts` / `latest` / `xanmod` into a real package name (`linux612`, `linux-xanmod`) | the profiles carry the placeholder `KERNEL`, not a version, so a kernel bump needs no commit | | `prepare_host` | installs the build tools and keyrings, creates loop devices, writes `manjaro-tools.conf` | the container is disposable and ships none of this | | `configure_build_repos` | adds the BigLinux repositories to the *build* pacman config, drops the profile's `user-repos.conf`, sets the compression | the chroots must be able to install our packages, not only Manjaro's — from one list, since manjaro-tools concatenates the profile's onto this one and pacman rejects the repeats | -| `patch_manjaro_tools` | edits `util-iso.sh` / `util-iso-image.sh`: profile path, volume label, kernel check, image cleanups, live-user fix | none of these have a configuration knob upstream | +| `patch_manjaro_tools` | edits `util-iso.sh` / `util-iso-image.sh`: profile path, volume label, kernel check, image cleanups, live-user fix; applies `miso-persistence.patch` to the live hook | none of these have a configuration knob upstream | | `configure_profile` | rewrites the *profile* in place: branch mirrors, volume label, `KERNEL` placeholders, `/etc/big-release` | the profile in git is branch-agnostic; the build makes it concrete | | `run_build` | `buildiso -p -b -k ` | the actual four hours | | `collect_output` | writes the **published** ISO name, moves it and its `.pkgs` into `WORK_PATH` | every publisher ships the file under this name; see *The published name* below | @@ -144,6 +145,49 @@ unbootable ISO. --- +## Persistent live sessions + +`miso-persistence.patch` keeps the live session on the filesystem named by +`cow_label` on the kernel command line. A plain boot uses none, even with such a +filesystem attached. Ventoy passes `cow_label=vtoycow` only when its persistence +menu selects a backend file; a partition takes `cow_label=` typed at +the boot menu. + +| Path in the filesystem | Holds | Lifetime | +|:---|:---|:---| +| `@home` | `/home`; a user's home the image holds is copied in when missing | shared by every ISO | +| `@sys//` | the overlay `upper` and `work` directories | one per ISO build | + +When the system layer is persistent, the hook writes it to +`/run/miso/cow_directory`. The live setup wizard reads it to offer removing the +layers other builds left. + +`persist=home` on the kernel command line keeps only the home, with the system +in RAM. btrfs is mounted with `compress-force=zstd:5`. A filesystem that is +missing, does not mount or cannot hold an overlay layer (read-only, FAT, +NTFS) leaves the session in RAM. + +On Ventoy, one backend serves every ISO. `autosel` 0 starts without +persistence unless the backend is picked within the three-second `timeout`: + +```json +{ + "persistence": [ + { + "image": "/biglinux_2026-10-03_k618.iso", + "backend": "/persistence/biglinux.dat", + "autosel": 0, + "timeout": 3 + } + ] +} +``` + +Write the backend file in full (not sparse), then create the filesystem with the +label `vtoycow` and, on btrfs, the subvolumes `@home` and `@sys`. + +--- + ## The environment contract `build-iso.sh` runs **as root inside the build container** diff --git a/build-iso/build-iso.sh b/build-iso/build-iso.sh index 5d3f0f4c..d7ba4a38 100755 --- a/build-iso/build-iso.sh +++ b/build-iso/build-iso.sh @@ -310,7 +310,7 @@ prepare_host() { archiso btrfs-progs calamares calamares-tools cdrkit \ manjaro-tools-base-git manjaro-tools-iso-git \ manjaro-tools-pkg-git manjaro-tools-yaml-git \ - mkinitcpio mktorrent squashfs-tools + mkinitcpio mktorrent patch squashfs-tools msg "Installing the pacman keyrings" rm -rf /tmp/biglinux-key @@ -336,8 +336,13 @@ prepare_host() { # Loop and optical device nodes needed by mksquashfs/xorriso. A container # image ships no device nodes, and every one of these may already exist # when the runner passes the host's /dev through -- hence `|| true`. + # losetup takes the first free loop device, which on a host whose loop + # devices are all busy is one created during the build: nodes go past the + # ones the host has, with room for the few the build holds at once. mknod -m 660 /dev/sr0 b 11 0 2>/dev/null || true - for i in $(seq 0 7); do + local host_loops + host_loops=$(find /sys/class/block -maxdepth 1 -name 'loop[0-9]*' | wc -l) + for i in $(seq 0 $((host_loops + 7))); do mknod -m 660 "/dev/loop$i" b 7 "$i" 2>/dev/null || true done mknod -m 660 /dev/loop-control c 10 237 2>/dev/null || true @@ -604,15 +609,28 @@ patch_manjaro_tools() { sed -i "s/iso_label=.*/iso_label=${VOL_ID}/" "$iso" assert_present "iso_label=${VOL_ID}" "$iso" - # Enable plymouth and kms in the live initrd. - sed -i 's/keyboard keymap/keyboard keymap kms plymouth/g' /usr/share/manjaro-tools/mkinitcpio.conf - assert_present 'kms plymouth' /usr/share/manjaro-tools/mkinitcpio.conf + # Live initrd: plymouth draws on the firmware framebuffer (simpledrm), and + # the GPU drivers load from the root image. GRUB reads the initrd through + # the firmware, slowly on USB sticks: kms and miso_kms add every DRM driver + # and their firmware (nouveau alone brings 108 MB), and the PXE hooks every + # network driver, for boot modes the menu does not offer. + # zstd -19 is 2 MB larger than xz -9 and unpacks eight times faster. + sed -i -e 's/^HOOKS=.*/HOOKS=(base udev miso_shutdown miso miso_loop_mnt modconf block filesystems keyboard keymap plymouth)/' \ + -e 's/^COMPRESSION=.*/COMPRESSION="zstd"\nCOMPRESSION_OPTIONS=(-19)/' \ + /usr/share/manjaro-tools/mkinitcpio.conf + assert_present 'keymap plymouth)' /usr/share/manjaro-tools/mkinitcpio.conf + assert_present 'COMPRESSION_OPTIONS=(-19)' /usr/share/manjaro-tools/mkinitcpio.conf add_image_cleanups "$image" "$iso" keep_release_identity "$image" # manjaro-live-setup must produce a usable live home (see the script). bash "$scriptDir/patch-live-setup.sh" + + # Persistent live sessions, on Ventoy or on a labelled partition. buildiso + # copies this hook into the initramfs (prepare_initcpio). + patch --batch --fuzz=0 --no-backup-if-mismatch /etc/initcpio/hooks/miso "$scriptDir/miso-persistence.patch" + assert_present '_mnt_persistent' /etc/initcpio/hooks/miso } #--- profile configuration ---------------------------------------------------- diff --git a/build-iso/build-local.sh b/build-iso/build-local.sh index 7e6e74b6..1cc74ac0 100755 --- a/build-iso/build-local.sh +++ b/build-iso/build-local.sh @@ -69,10 +69,13 @@ else image="${image:-docker.io/xivastudio/biglinux_build_package:latest}" fi -if command -v podman &>/dev/null; then - engine=podman -elif command -v docker &>/dev/null; then +# Docker first: its daemon runs as root. Rootless podman cannot mount devtmpfs +# in the chroots buildiso creates, so it is used only as root. +if command -v docker &>/dev/null; then engine=docker +elif command -v podman &>/dev/null; then + ((EUID == 0)) || die "podman must run as root to build an ISO: use sudo, or install docker" + engine=podman else die "neither podman nor docker found" fi @@ -95,7 +98,11 @@ copyParent=$(cd "$profilesRoot/.." && pwd) tmpDir=$(mktemp -d "$copyParent/.build-iso-local.XXXXXX") trap 'rm -rf "$tmpDir"' EXIT echo "==> Copying the checkout to $tmpDir (your clone stays clean)" -cp -a "$profilesRoot" "$tmpDir/iso-profiles" +# Without the output directory: it holds every ISO built so far, gigabytes the +# engine never reads. +mkdir "$tmpDir/iso-profiles" +tar -C "$profilesRoot" --exclude=./output --exclude="./${outputDir#"$profilesRoot"/}" -cf - . | + tar -C "$tmpDir/iso-profiles" -xf - echo "==> Building $distroname/$edition (kernel=$kernel) with $engine using $image" echo "==> The first build downloads a lot; expect 1-2 hours in total." @@ -104,7 +111,16 @@ echo "==> The first build downloads a lot; expect 1-2 hours in total." # images it builds. Without it the build stops at the engine's first check, # after pulling the whole image. The GitHub workflow gets root from the # container job, and gitrepo passes the same flag. -"$engine" run --rm --privileged --user 0:0 \ +# +# The work and cache directories are anonymous volumes, as in gitrepo: buildiso +# stacks overlay mounts there, and the container's own overlay root cannot be +# an overlay upperdir. --rm removes the volumes with the container. +# +# --cpu-shares 2 is cgroup cpu.weight 1: the build keeps every idle core and +# yields them to whatever the person is using. +"$engine" run --rm --privileged --user 0:0 --cpu-shares 2 \ + --mount type=volume,destination=/var/lib/manjaro-tools/buildiso \ + --mount type=volume,destination=/var/cache/manjaro-tools/iso \ -v "$tmpDir/iso-profiles:/build/iso-profiles" \ -v "$outputDir:/build/output" \ -e EDITION="$edition" \ diff --git a/build-iso/miso-persistence.patch b/build-iso/miso-persistence.patch new file mode 100644 index 00000000..0fb90687 --- /dev/null +++ b/build-iso/miso-persistence.patch @@ -0,0 +1,158 @@ +--- a/miso ++++ b/miso +@@ -39,16 +39,79 @@ + # args: source, newroot, mountpoint + _mnt_overlayfs() { + local src="${1}" + local newroot="${2}" + local mnt="${3}" +- local work_dir="/run/miso/overlay_root/work" +- local upper_dir="/run/miso/overlay_root/upper" ++ local base + +- mkdir -p "${upper_dir}" "${work_dir}" ++ # A persistent upper outlives this boot, and the overlay features turned ++ # off here would tie it to the exact lower layers it was written against. ++ if [[ -n "${cow_device}" && "${persist}" != "home" ]]; then ++ base="/run/miso/cowspace/${cow_directory}" ++ mkdir -p "${base}/upper" "${base}/work" ++ if mount -t overlay overlay -o lowerdir="${src}",upperdir="${base}/upper",workdir="${base}/work",x-initrd.mount,index=off,metacopy=off,redirect_dir=off,xino=off "${newroot}${mnt}"; then ++ # The live session keeps this build's layer when it removes the others. ++ echo "${cow_directory}" > /run/miso/cow_directory ++ return ++ fi ++ # Read-only, or a filesystem that cannot hold an upper layer (FAT, NTFS). ++ msg ":: Persistent storage cannot hold the system, keeping this session in RAM" ++ unset cow_device ++ fi ++ ++ base="/run/miso/overlay_root" ++ mkdir -p "${base}/upper" "${base}/work" ++ mount -t overlay overlay -o lowerdir="${src}",upperdir="${base}/upper",workdir="${base}/work" "${newroot}${mnt}" ++} ++ ++# Mounts the persistent filesystem named by cow_label or cow_device, which ++# Ventoy passes only when its menu selects a backend file. A filesystem that ++# fails to mount leaves the session in RAM rather than stopping the boot. ++_mnt_persistent() { ++ mkdir -p /run/miso/cowspace ++ if ! poll_device "${cow_device}" 10 || ! mount -o "${cow_flags}" "${cow_device}" /run/miso/cowspace; then ++ msg ":: Persistent storage unavailable, keeping this session in RAM" ++ unset cow_device ++ return ++ fi ++ echo $(readlink -f ${cow_device}) >> /run/miso/used_block_devices ++ if grep -q ' /run/miso/cowspace btrfs ' /proc/mounts; then ++ mount -o remount,compress-force=zstd:5,noatime /run/miso/cowspace ++ fi ++ ++ # One system layer per ISO build, identified by the volume UUID (the ISO ++ # modification date). The home is shared by all of them. ++ if [[ -z "${cow_directory}" ]]; then ++ cow_directory="@sys/$(blkid -s UUID -o value "${misodevice}")/${arch}" ++ fi ++} + +- mount -t overlay overlay -o lowerdir="${src}",upperdir="${upper_dir}",workdir="${work_dir}" "${newroot}${mnt}" ++# Home persists across ISO builds. Each home the image holds and @home lacks ++# is copied in, so editions with different live users share one @home. The ++# copy is renamed into place only once written out: a boot cut short retries ++# it. A home that cannot be copied (no space, FAT or NTFS) keeps the image's. ++# args: newroot ++_mnt_persistent_home() { ++ local home="/run/miso/cowspace/@home" ++ local entry name ++ mkdir -p "${home}" ++ for entry in "${1}"/home/*; do ++ [[ -e "${entry}" ]] || continue ++ name="${entry##*/}" ++ if [[ ! -e "${home}/${name}" ]]; then ++ rm -rf "${home}/.${name}.seed" ++ if cp -a "${entry}" "${home}/.${name}.seed"; then ++ sync ++ mv "${home}/.${name}.seed" "${home}/${name}" ++ fi ++ fi ++ if [[ ! -e "${home}/${name}" ]]; then ++ msg ":: Persistent storage cannot hold /home/${name}, not using @home" ++ return ++ fi ++ done ++ mount --bind "${home}" "${1}/home" + } + + # args: /path/to/image_file, mountpoint + _mnt_sfs() { + local img="${1}" +@@ -127,11 +190,11 @@ + [[ "$path" ]] || return 1 + + mkdir -p "${tmp_mnt}" + + for a in 1 2 3; do +- for d in $(awk '{ print "/dev/"$4 }' /proc/partitions); do ++ for d in $(awk '{ print "/dev/"$4 }' /proc/partitions | tac); do + + # If the device is already mounted, it shouldn't be + # unmounted after the check. + + grep -q "^$d " /proc/mounts && { +@@ -162,11 +225,14 @@ + [[ -z "${arch}" ]] && arch="$(uname -m)" + [[ -z "${copytoram_size}" ]] && copytoram_size="75%" + [[ -z "${misobasedir}" ]] && misobasedir="manjaro" + + [[ -z "${dm_snap_prefix}" ]] && dm_snap_prefix="manjaro" +- misodevice=$(_find_dev_by_path /.miso) ++ # The label comes first: mounting a whole hybrid disk claims it, and the ++ # partition holding the persistent data could not be mounted afterwards. ++ misodevice="/dev/disk/by-label/${misolabel}" ++ [[ -e "${misodevice}" ]] || misodevice=$(_find_dev_by_path /.miso) + [[ -z "${misodevice}" ]] && misodevice="/dev/disk/by-label/${misolabel}" + [[ -z "${cow_spacesize}" ]] && cow_spacesize="256M" + [[ -z "${overlay_root_size}" ]] && overlay_root_size="75%" + + if [[ -n "${cow_label}" ]]; then +@@ -177,11 +243,10 @@ + else + cow_persistent="N" + fi + + [[ -z "${cow_flags}" ]] && cow_flags="defaults" +- [[ -z "${cow_directory}" ]] && cow_directory="persistent_${misolabel}/${arch}" + [[ -z "${cow_chunksize}" ]] && cow_chunksize="8" + + # set mount handler for miso + mount_handler="miso_mount_handler" + } +@@ -242,15 +307,13 @@ + msg ":: Mounting /run/miso/copytoram (tmpfs) filesystem, size=${copytoram_size}" + mkdir -p /run/miso/copytoram + mount -t tmpfs -o "size=${copytoram_size}",mode=0755 copytoram /run/miso/copytoram + fi + +- if [[ -n "${cow_device}" ]]; then +- _mnt_dev "${cow_device}" "/run/miso/cowspace" "-r" "${cow_flags}" +- echo $(readlink -f ${cow_device}) >> /run/miso/used_block_devices +- mount -o remount,rw "/run/miso/cowspace" +- else ++ [[ -n "${cow_device}" ]] && _mnt_persistent ++ ++ if [[ -z "${cow_device}" ]]; then + msg ":: Mounting /run/miso/cowspace (tmpfs) filesystem, size=${cow_spacesize}..." + mkdir -p /run/miso/cowspace + mount -t tmpfs -o "size=${cow_spacesize}",mode=0755 cowspace /run/miso/cowspace + fi + mkdir -p -m 0700 "/run/miso/cowspace/${cow_directory}" +@@ -275,10 +338,11 @@ + fi + fi + done + + _mnt_overlayfs "${lower_dir}" "${newroot}" "/" ++ [[ -n "${cow_device}" ]] && _mnt_persistent_home "${newroot}" + + if [[ "${copytoram}" == "y" ]]; then + umount -d /run/miso/bootmnt + mkdir -p /run/miso/bootmnt/${misobasedir}/${arch} + mount -o bind /run/miso/copytoram /run/miso/bootmnt/${misobasedir}/${arch} diff --git a/build-iso/tests/test_build_local.py b/build-iso/tests/test_build_local.py index 95003f96..a0f0433f 100644 --- a/build-iso/tests/test_build_local.py +++ b/build-iso/tests/test_build_local.py @@ -8,12 +8,17 @@ from conftest import SCRIPTS -# A stand-in for podman: records its arguments, then produces the ISO the -# wrapper expects to find, inside whatever directory was bind-mounted to -# /build/output. +# A stand-in for podman: records its arguments and the files of the profiles +# copy it was handed, then produces the ISO the wrapper expects to find, inside +# whatever directory was bind-mounted to /build/output. FAKE_ENGINE = """#!/usr/bin/env bash set -euo pipefail printf '%s\\n' "$@" > "$RECORD_FILE" +for argument in "$@"; do + case "$argument" in + *:/build/iso-profiles) (cd "${argument%%:/build/iso-profiles}" && find . -type f) > "$RECORD_FILE.files" ;; + esac +done outputDir= while [ $# -gt 0 ]; do if [ "$1" = "-v" ]; then @@ -40,12 +45,17 @@ def _make_checkout(root): def _fake_podman(root): - """Put the stub first on PATH; returns where it will record its arguments.""" + """Put the stub first on PATH; returns where it will record its arguments. + + The wrapper prefers docker, so the stub answers to both names: a real + docker later on PATH must never be reached. + """ bin_dir = root / "bin" bin_dir.mkdir() - fake = bin_dir / "podman" - fake.write_text(FAKE_ENGINE, encoding="utf-8") - fake.chmod(0o755) + for name in ("docker", "podman"): + fake = bin_dir / name + fake.write_text(FAKE_ENGINE, encoding="utf-8") + fake.chmod(0o755) return bin_dir, root / "podman-args" @@ -157,3 +167,35 @@ def test_community_testing_is_off_unless_asked_for(exec_tmp_path): result = _run(checkout, bin_dir, record_file, "-t", "kde") assert result.returncode == 0, result.stderr assert "COMMUNITY_TESTING=true" in record_file.read_text(encoding="utf-8").splitlines() + + +def test_buildiso_works_on_volumes(exec_tmp_path): + # buildiso stacks overlay mounts in its work directory, and the container's + # overlay root cannot be an upperdir: the build died at the desktop image. + checkout = _make_checkout(exec_tmp_path) + bin_dir, record_file = _fake_podman(exec_tmp_path) + + result = _run(checkout, bin_dir, record_file, "kde") + + assert result.returncode == 0, result.stderr + arguments = record_file.read_text(encoding="utf-8").splitlines() + mounts = [arguments[i + 1] for i, a in enumerate(arguments) if a == "--mount"] + assert mounts == [ + "type=volume,destination=/var/lib/manjaro-tools/buildiso", + "type=volume,destination=/var/cache/manjaro-tools/iso", + ] + + +def test_the_copy_leaves_out_built_isos(exec_tmp_path): + checkout = _make_checkout(exec_tmp_path) + (checkout / "output").mkdir() + (checkout / "output" / "old.iso").write_bytes(b"iso") + (checkout / "biglinux" / "kde" / "profile.conf").write_text("x", encoding="utf-8") + bin_dir, record_file = _fake_podman(exec_tmp_path) + + result = _run(checkout, bin_dir, record_file, "kde") + + assert result.returncode == 0, result.stderr + copied = (exec_tmp_path / "podman-args.files").read_text(encoding="utf-8").splitlines() + assert "./biglinux/kde/profile.conf" in copied + assert not [path for path in copied if path.startswith("./output/")] diff --git a/build-iso/tests/test_kde_sections.py b/build-iso/tests/test_kde_sections.py index 531b20da..0a0cbf3f 100644 --- a/build-iso/tests/test_kde_sections.py +++ b/build-iso/tests/test_kde_sections.py @@ -9,9 +9,8 @@ SCRIPT = SCRIPTS.parent / "sources/editions/kde/special-commands.sh" SECTIONS = { "## Printing": "cups\n", - "## Xorg Server and Graphics": "xorg-server\n", - "## Xorg Input Drivers": "xf86-input-libinput\nxf86-input-void\n", - "## Misc": "mesa-utils\n", + "## Graphics": "libva-intel-driver\nmesa-utils\n", + "## Misc": "vulkan-tools\n", } BASE = "# BigLinux desktop\nplasma-desktop\n" PROFILE = "disable_systemd_live=('systemd-userdbd' 'mirrors-live')\n" @@ -20,6 +19,7 @@ "xf86-video-intel\nxf86-video-sisusb\nxf86-video-voodoo\nxf86-video-dummy\n" ">nonfree_x86_64 KERNEL-nvidia-open\nnvidia-prime\nxf86-video-amdgpu\n" ) +LIVE = "calamares\nbiglinux-livecd>=26.10.19-0000\nmemtest86+\n" def run_sections(tmp_path, source): @@ -32,6 +32,17 @@ def run_sections(tmp_path, source): # The rest of a generated edition the script also edits. (generated.parent / "profile.conf").write_text(PROFILE, encoding="utf-8") (generated.parent / "Packages-Mhwd").write_text(MHWD, encoding="utf-8") + (generated.parent / "Packages-Live").write_text(LIVE, encoding="utf-8") + pam = generated.parent / "root-overlay/etc/pam.d/sddm" + pam.parent.mkdir(parents=True) + pam.write_text("#%PAM-1.0\n", encoding="utf-8") + for overlay in ("root", "live"): + common = generated.parent / f"{overlay}-overlay/etc/sddm.conf" + common.parent.mkdir(parents=True, exist_ok=True) + common.write_text("common\n", encoding="utf-8") + own = tmp_path / f"sources/editions/kde/overlays/{overlay}/etc/sddm.conf" + own.parent.mkdir(parents=True) + own.write_text(f"kde {overlay}\n", encoding="utf-8") proc = subprocess.run( ["bash", str(SCRIPT)], cwd=tmp_path, env={"PATH": "/usr/bin:/bin"}, capture_output=True, text=True, check=False, @@ -44,13 +55,13 @@ def upstream_text(sections): @pytest.mark.parametrize("final_newline", [False, True]) -def test_all_sections_are_copied_and_void_is_removed(tmp_path, final_newline): +def test_all_sections_are_copied(tmp_path, final_newline): source = upstream_text(SECTIONS) if not final_newline: source = source.rstrip("\n") proc, generated = run_sections(tmp_path, source) assert proc.returncode == 0, proc.stderr - expected = BASE + upstream_text(SECTIONS).replace("xf86-input-void\n", "") + expected = BASE + upstream_text(SECTIONS) assert generated.read_text(encoding="utf-8").rstrip("\n") == expected.rstrip("\n") @@ -82,7 +93,7 @@ def test_misc_may_be_empty_as_in_the_current_upstream_profile(tmp_path, misc): sections["## Misc"] = misc proc, generated = run_sections(tmp_path, upstream_text(sections)) assert proc.returncode == 0, proc.stderr - expected = BASE + upstream_text(sections).replace("xf86-input-void\n", "") + expected = BASE + upstream_text(sections) assert generated.read_text(encoding="utf-8").rstrip("\n") == expected.rstrip("\n") @@ -101,7 +112,7 @@ def test_whitespace_only_lines_end_a_section(tmp_path): for header, packages in SECTIONS.items(): assert lines.count(header) == 1 for package in packages.splitlines(): - assert lines.count(package) == (0 if package == "xf86-input-void" else 1) + assert lines.count(package) == 1 def test_kde_installs_drivers_without_mhwd(tmp_path): @@ -120,3 +131,18 @@ def test_kde_installs_drivers_without_mhwd(tmp_path): "xf86-video-amdgpu", ] + +def test_kde_keeps_wayland_only_changes(tmp_path): + """KDE's own SDDM configurations replace the common ones, the installed + system takes SDDM's own PAM file, and the Wayland-only live session needs a + newer biglinux-livecd. XivaStudio keeps the common versions, which is why + this is not in sources/common.""" + sections = {header: "pkg" for header in SECTIONS} + proc, generated = run_sections(tmp_path, upstream_text(sections)) + assert proc.returncode == 0, proc.stderr + live = (generated.parent / "Packages-Live").read_text(encoding="utf-8").splitlines() + assert live == ["calamares", "biglinux-livecd>=26.11.25-2022", "memtest86+"] + assert not (generated.parent / "root-overlay/etc/pam.d").exists() + for overlay in ("root", "live"): + sddm = generated.parent / f"{overlay}-overlay/etc/sddm.conf" + assert sddm.read_text(encoding="utf-8") == f"kde {overlay}\n" diff --git a/build-iso/tests/test_miso_persistence.py b/build-iso/tests/test_miso_persistence.py new file mode 100644 index 00000000..6e567249 --- /dev/null +++ b/build-iso/tests/test_miso_persistence.py @@ -0,0 +1,171 @@ +# SPDX-License-Identifier: GPL-3.0-or-later +import re +import shutil +import subprocess +from pathlib import Path + +import pytest +from conftest import SCRIPTS + +PATCH = SCRIPTS / "miso-persistence.patch" +# The hook manjaro-tools installs, which buildiso patches. +UPSTREAM_HOOK = Path("/etc/initcpio/hooks/miso") +# The hook runs in the busybox ash mkinitcpio ships in the initramfs. +if Path("/usr/lib/initcpio/busybox").exists(): + SHELL = ["/usr/lib/initcpio/busybox", "ash"] +elif shutil.which("busybox"): + SHELL = ["busybox", "ash"] +else: + SHELL = ["bash"] + + +def _patched_function(name: str) -> str: + """One function of the patched miso hook, read from the patch's new side.""" + new_side = [ + line[1:] + for line in PATCH.read_text(encoding="utf-8").splitlines() + if line[:1] in (" ", "+") and not line.startswith("+++") + ] + start = new_side.index(f"{name}() {{") + end = new_side.index("}", start) + return "\n".join(new_side[start : end + 1]) + "\n" + + +def _run_hook_function(root: Path, function: str, call: str, environment: str = "") -> subprocess.CompletedProcess: + """Run a hook function with /run/miso under *root* and mount recorded, not done.""" + script = root / "hook.sh" + script.write_text( + "msg() { :; }\nsync() { :; }\n" + 'mount() { printf "%s\\n" "$*" >> "$MOUNT_LOG"; ' + '[[ -z "${FAIL_PERSISTENT_MOUNT:-}" || "$*" != *x-initrd.mount* ]]; }\n' + + _patched_function(function).replace("/run/miso", str(root / "run")) + + environment + + call, + encoding="utf-8", + ) + return subprocess.run( + [*SHELL, str(script)], + capture_output=True, + text=True, + check=False, + env={"PATH": "/usr/bin:/bin", "MOUNT_LOG": str(root / "mounts")}, + ) + + +def test_home_seeding_per_user(tmp_path): + # BigLinux and XivaStudio share one @home but have different live users; + # a seed copy cut short by a power loss is redone on the next boot. + home = tmp_path / "run" / "cowspace" / "@home" + (home / "biglinux").mkdir(parents=True) + (home / "biglinux" / "notes").write_text("kept", encoding="utf-8") + (home / ".xivastudio.seed").mkdir() + (home / ".xivastudio.seed" / "partial").write_text("", encoding="utf-8") + image_home = tmp_path / "newroot" / "home" + (image_home / "biglinux").mkdir(parents=True) + (image_home / "biglinux" / ".bashrc").write_text("image", encoding="utf-8") + (image_home / "xivastudio" / ".config").mkdir(parents=True) + (image_home / "xivastudio" / ".config" / "plasmashellrc").write_text("skel", encoding="utf-8") + + result = _run_hook_function(tmp_path, "_mnt_persistent_home", f'_mnt_persistent_home "{tmp_path / "newroot"}"\n') + + assert result.returncode == 0, result.stderr + assert sorted(path.name for path in home.iterdir()) == ["biglinux", "xivastudio"] + assert sorted(path.name for path in (home / "biglinux").iterdir()) == ["notes"] + assert (home / "xivastudio" / ".config" / "plasmashellrc").read_text(encoding="utf-8") == "skel" + assert not (home / "xivastudio" / "partial").exists() + assert (tmp_path / "mounts").read_text(encoding="utf-8").splitlines() == [f"--bind {home} {image_home}"] + + +def test_home_kept_when_copy_fails(tmp_path): + # Out of space, or a filesystem without POSIX ownership: binding an @home + # without the live user's home would leave the session with none. + home = tmp_path / "run" / "cowspace" / "@home" + unreadable = tmp_path / "newroot" / "home" / "biglinux" / ".config" + unreadable.mkdir(parents=True) + unreadable.chmod(0) + try: + result = _run_hook_function(tmp_path, "_mnt_persistent_home", f'_mnt_persistent_home "{tmp_path / "newroot"}"\n') + finally: + unreadable.chmod(0o755) + + assert result.returncode == 0, result.stderr + assert not (home / "biglinux").exists() + assert not (tmp_path / "mounts").exists() + + +@pytest.mark.parametrize( + ("fail_persistent", "upper_dirs", "cow_device_after", "layer_named"), + [ + ("", ["cowspace/@sys/uuid/x86_64/upper"], "/dev/disk/by-label/vtoycow", True), + ("1", ["cowspace/@sys/uuid/x86_64/upper", "overlay_root/upper"], "", False), + ], +) +def test_system_layer_falls_back_to_ram(tmp_path, fail_persistent, upper_dirs, cow_device_after, layer_named): + # A read-only filesystem, or one that cannot hold an overlay upper layer, + # must leave a booting system in RAM instead of no root at all. + (tmp_path / "newroot").mkdir() + environment = ( + "cow_device=/dev/disk/by-label/vtoycow\ncow_directory=@sys/uuid/x86_64\n" + f"FAIL_PERSISTENT_MOUNT={fail_persistent}\n" + ) + call = f'_mnt_overlayfs /lower "{tmp_path / "newroot"}" /\nprintf "%s" "${{cow_device:-}}" > "{tmp_path / "cow_device"}"\n' + + result = _run_hook_function(tmp_path, "_mnt_overlayfs", call, environment) + + assert result.returncode == 0, result.stderr + mounts = (tmp_path / "mounts").read_text(encoding="utf-8").splitlines() + run = tmp_path / "run" + assert [re.search(r"upperdir=([^,]+)", mount)[1] for mount in mounts] == [str(run / d) for d in upper_dirs] + assert (tmp_path / "cow_device").read_text(encoding="utf-8") == cow_device_after + # The live session reads this file as "the system layer is persistent". + assert (run / "cow_directory").exists() == layer_named + + +@pytest.mark.skipif(not UPSTREAM_HOOK.exists(), reason="manjaro-tools-iso-git is not installed") +@pytest.mark.parametrize( + ("cow_label", "cowspace_mount"), + [ + ("", "-t tmpfs -o size=256M,mode=0755 cowspace {run}/cowspace"), + ("cow_label=vtoycow\n", "-o defaults {labels}/vtoycow {run}/cowspace"), + ], +) +def test_persistence_only_when_asked(tmp_path, cow_label, cowspace_mount): + # A filesystem labelled vtoycow is attached in both cases: only cow_label, + # which Ventoy passes when its menu selects a backend, turns persistence on. + hook = tmp_path / "miso" + subprocess.run( + ["patch", "--batch", "--fuzz=0", "--silent", "-o", str(hook), str(UPSTREAM_HOOK), str(PATCH)], + check=True, + ) + run = tmp_path / "run" + labels = tmp_path / "by-label" + labels.mkdir() + (labels / "BIGLINUXLIVE").touch() + (labels / "vtoycow").touch() + (tmp_path / "newroot").mkdir() + (run / "miso").mkdir(parents=True) + script = tmp_path / "boot.sh" + script.write_text( + "msg() { :; }\nsync() { :; }\nmountpoint() { return 0; }\npoll_device() { return 0; }\n" + "blkid() { echo 2026-10-03-12-00-00-00; }\n" + 'mount() { printf "%s\\n" "$*" >> "$MOUNT_LOG"; }\n' + + hook.read_text(encoding="utf-8") + .replace("/run/miso", str(run)) + .replace("/dev/disk/by-label", str(labels)) + + f"arch=x86_64\nmisolabel=BIGLINUXLIVE\n{cow_label}" + + f'run_hook\nmiso_mount_handler "{tmp_path / "newroot"}"\n', + encoding="utf-8", + ) + + result = subprocess.run( + [*SHELL, str(script)], + capture_output=True, + text=True, + check=False, + env={"PATH": "/usr/bin:/bin", "MOUNT_LOG": str(tmp_path / "mounts")}, + ) + + assert result.returncode == 0, result.stderr + mounts = (tmp_path / "mounts").read_text(encoding="utf-8").splitlines() + cowspace = [mount for mount in mounts if mount.endswith(f"{run}/cowspace")] + assert cowspace == [cowspace_mount.format(run=run, labels=labels)] diff --git a/openqa/report/requirements.txt b/openqa/report/requirements.txt index 8ee1a322..76090797 100644 --- a/openqa/report/requirements.txt +++ b/openqa/report/requirements.txt @@ -1,3 +1,3 @@ # Pinned renderer dependencies, shared by CI and the release reporter. -fpdf2==2.8.5 -Pillow==12.3.0 +fpdf2==2.8.8 +Pillow==13.0.0 diff --git a/sources/editions/kde/Desktop-add b/sources/editions/kde/Desktop-add index f6c086e3..8f849db2 100644 --- a/sources/editions/kde/Desktop-add +++ b/sources/editions/kde/Desktop-add @@ -6,7 +6,6 @@ kfind kdialog pavucontrol-qt kscreen -wacomtablet plasma-thunderbolt kio-gdrive mintstick @@ -66,7 +65,6 @@ plasma-keyboard bluedevil kde-gtk-config kdeplasma-addons -kgamma kinfocenter kmenuedit kscreenlocker diff --git a/sources/editions/kde/overlays/live/etc/sddm.conf b/sources/editions/kde/overlays/live/etc/sddm.conf new file mode 100644 index 00000000..da2f11fe --- /dev/null +++ b/sources/editions/kde/overlays/live/etc/sddm.conf @@ -0,0 +1,80 @@ +[Autologin] +# Whether sddm should automatically log back into sessions when they exit +Relogin=true + +# Name of session file for autologin session (if empty try last logged in) +Session=livecdWayland.desktop + +# Username for autologin session +User=biglinux + +[General] +# Halt command +HaltCommand=/usr/bin/systemctl poweroff + +# Input method module +InputMethod= + +# Initial NumLock state. Can be on, off or none. +# If property is set to none, numlock won't be changed +# NOTE: Currently ignored if autologin is enabled. +Numlock=none + +# Reboot command +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +# Number of users to use as threshold +# above which avatars are disabled +# unless explicitly enabled with EnableAvatars +DisableAvatarsThreshold=7 + +# Enable display of custom user avatars +EnableAvatars=true + +# Global directory for user avatars +# The files should be named .face.icon +FacesDir=/usr/share/sddm/faces + +# Theme directory path +ThemeDir=/usr/share/sddm/themes + + +[Users] +# Default $PATH for logged in users +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin + +# Comma-separated list of shells. +# Users with these shells as their default won't be listed +HideShells= + +# Comma-separated list of users that should not be listed +HideUsers= + +# Maximum user id for displayed users +MaximumUid=60000 + +# Minimum user id for displayed users +MinimumUid=1000 + +# Remember the session of the last successfully logged in user +RememberLastSession=true + +# Remember the last successfully logged in user +RememberLastUser=true + +# When logging in as the same user twice, restore the original session, rather than create a new one +ReuseSession=false + +[Wayland] +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=true + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/wayland-session + +# Directory containing available Wayland sessions +SessionDir=/usr/share/wayland-sessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/wayland-session.log diff --git a/sources/editions/kde/overlays/live/usr/share/grub/cfg/grub.cfg b/sources/editions/kde/overlays/live/usr/share/grub/cfg/grub.cfg new file mode 100644 index 00000000..7394a0da --- /dev/null +++ b/sources/editions/kde/overlays/live/usr/share/grub/cfg/grub.cfg @@ -0,0 +1,279 @@ +insmod font +insmod keylayouts +insmod part_msdos +insmod part_gpt + +export loaded +export koptsok +export disable_gfxterm +export bootarch +export firmware +export firmware_found +export from +export fromiso +export bootlang +export keyboard +export timezone +export hwclock +export def_bootlang +export def_keyboard +export def_timezone +export menu_color_normal +export menu_color_highlight +export pager + + + +function menu_reload { + configfile /boot/grub/grub.cfg +} + + +function prompt { + echo -n "> " +} + +function is_efi { + if [ "${grub_platform}" = "efi" ]; then + return 0 + fi + return 1 +} + +function efi_detect { + if is_efi ; then + submenu --class=find.efi --hotkey=f "Detect EFI bootloaders" { + efi_found=false + + for efi in (*,gpt*)/efi/*/*.efi (*,gpt*)/efi/*/*/*.efi (*,gpt*)/*.efi (*,gpt*)/*/*.efi ; do + regexp --set=1:efi_device '^\((.*)\)/' "${efi}" + if [ -e "${efi}" ]; then + efi_found=true + + menuentry --class=efi "${efi}" "${efi_device}" { + root="${2}" + chainloader "${1}" + } + fi + done + + if [ "${efi_found}" != true ]; then + menuentry --hotkey=q --class=find.none "No EFI files detected." {menu_reload} + else + menuentry --hotkey=q --class=cancel "Cancel" {menu_reload} + fi + } + fi +} + +function memtest_detect { + if ! is_efi; then + if [ -f /boot/memtest ]; then + menuentry "Run Memory Testing Tool (memtest86+)" --class memtest86 --class gnu --class tool {linux16 /boot/memtest} + fi + elif is_efi; then + if [ -f /boot/memtest-efi ]; then + menuentry "Run Memory Testing Tool (memtest86+)" --class memtest86 --class gnu --class tool {linux16 /boot/memtest-efi} + fi + fi +} + +function boot_defaults { + source /boot/grub/defaults.cfg +} + +function grub_reboot { + if is_efi; then + fwsetup --is-supported + if [ "$?" = 0 ]; then + menuentry --class=efi "UEFI firmware settings (BIOS setup)" {fwsetup} + fi + fi + menuentry --class=reboot "Restart computer" {reboot} +} + +function check { + cliname="$1" + varname="$2" + if [ "${optname}" != "${cliname}" ]; then + return 1 + fi + if [ -z "$varname" ]; then + varname="${cliname}" + fi + if [ -z "${optval}" ]; then + eval ${varname}="${cliname}" + else + eval ${varname}="${cliname}=${optval}" + if [ "${optname}" = "lang" ]; then + lang_setup ${optval} + elif [ "${optname}" = "keytable" ]; then + def_keyboard="${optval}" + elif [ "${optname}" = "tz" ]; then + def_timezone="${optval}" + fi + fi + return 0 +} + +function checkinput { + newinput="$1" + newoutput="" + for newcli in ${newinput} ; do + optname="" + optval="" + optdone="" + regexp -s optname '^(.+)=.*$' "${newcli}" + if [ -z "${optname}" ]; then + optname="${newcli}" + else + regexp -s optval '^.+=(.*)$' "${newcli}" + fi + for tocheck in "lang bootlang" "keytable keyboard" "tz timezone" "utc hwclock"; do + if check $tocheck ; then + optdone="Y" + break + fi + done + if [ -z "${optdone}" ]; then + if [ -z "${newoutput}" ]; then + newoutput="${newcli}" + else + newoutput="${newoutput} ${newcli}" + fi + fi + done +} + +function new2cli { + newinput="$1" + if [ -n "$newinput" ]; then + checkinput "$newinput" + if [ -n "${newoutput}" ]; then + newinput="${newoutput}" + if [ -n "$clinput" ]; then + clinput="$clinput $newinput" + else + clinput="$newinput" + fi + export clinput + fi + fi +} + +function getargs { + args="" + for a in $@; do + if [ -n "${a}" ]; then + args="${args} ${a}" + fi + done +} + +function bootcheck { + getargs +} + +pager=1 + +insmod regexp +insmod datehook +if ! is_efi; then + insmod part_gpt +fi + +if is_efi; then + insmod efi_gop + insmod efi_uga +fi + +if [ -z "${loaded}" ]; then + iscd="" + auto="" + regexp -s iscd '^(cd)' "${root}" + if [ "${iscd}" != "cd" -a -e (cd) ]; then + probe -s cdp -u cd + probe -s hdp -u $root + if [ -n "$cdp" -a "$cdp" = "$hdp" ]; then + iscd="cd" + fi + fi + if [ "${root}" != "hd96" -a "${iscd}" != "cd" ]; then + auto="${auto}" + fi + source /boot/grub/variable.cfg + loaded=true + + + + if [ "${disable_gfxterm}" != "true" ]; then + if loadfont /boot/grub/unicode.pf2 ; then + if [ -z "$gfxmode" ] ; then + gfxmode=1024x768,auto + gfxpayload=keep + fi + insmod efi_gop + insmod all_video + insmod efi_uga + insmod ieee1275_fb + insmod vbe + insmod vga + insmod video_bochs + insmod video_cirrus + insmod gfxterm + if terminal_output --append gfxterm; then + terminal_output --remove console + else + disable_gfxterm=true + fi + else + disable_gfxterm=true + fi + fi + + insmod gfxmenu + insmod jpeg + insmod png + theme=($root)/boot/grub/themes/manjaro-live/theme.txt + export theme + + menu_color_normal=cyan/blue + menu_color_highlight=white/blue + + if [ -n "${iso_path}" ]; then + auto="img_dev=/dev/disk/by-uuid/${rootuuid} img_loop=${iso_path}" + fi + + export auto +fi + +boot_defaults + +for kopt in "${clinput}" "${bootlang}" "${keyboard}" "${timezone}" "${hwclock}" "${auto}"; do + if [ -n "${kopt}" ]; then + kopts="${kopts} ${kopt}" + fi +done +if [ -n "${bootlang}${keyboard}${timezone}" ]; then + koptsok="true" +fi + + +source /boot/grub/kernels.cfg +if [ -n "$clinput" ]; then + menuentry --class=edit "$clinput" { + if [ -n "$1" ]; then + clinput="$@" + else + unset clinput + fi + menu_reload + } +fi + + +efi_detect +memtest_detect +grub_bios_installed +grub_efi_installed +grub_reboot diff --git a/sources/editions/kde/overlays/live/usr/share/grub/cfg/kernels.cfg b/sources/editions/kde/overlays/live/usr/share/grub/cfg/kernels.cfg new file mode 100644 index 00000000..0336cc20 --- /dev/null +++ b/sources/editions/kde/overlays/live/usr/share/grub/cfg/kernels.cfg @@ -0,0 +1,97 @@ +menuentry "1 Start BigLinux (recommended)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img +} + +menuentry "2 Start BigLinux with open source drivers (if 1 fails)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img +} + +menuentry "3 Start in safe video mode (if the screen stays black)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free nomodeset module_blacklist=nouveau,nova_core,nova_drm,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img +} + +submenu "4 More options for problems ->" { + menuentry "Verify the USB pen drive for errors (slow)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off checksum=y + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Show the start messages, to see the errors" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Notebook with 2 video cards freezes: do not use NVIDIA" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=free module_blacklist=nouveau,nova_core,nova_drm,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash bignvidia=integrated + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Notebook screen blinks, freezes or stays white" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off amdgpu.dcdebugmask=0x410 amdgpu.sg_display=0 i915.enable_psr=0 xe.enable_psr=0 + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Errors with the NVMe SSD disk" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off nvme_core.default_ps_max_latency_us=0 + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Wi-Fi, disk or USB disconnect: disable energy saving" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off pcie_aspm.policy=performance pcie_port_pm=off ahci.mobile_lpm_policy=1 usbcore.autosuspend=-1 + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Random freezes: disable CPU energy saving" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off intel_idle.max_cstate=1 processor.max_cstate=1 + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Notebook keyboard does not work" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off i8042.nopnp=1 i8042.dumbkbd=1 + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Freezes at start with DMAR or AMD-Vi errors: disable IOMMU" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off iommu=off intremap=off + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Open only the installer (if the desktop does not open)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off quiet loglevel=3 systemd.show_status=auto rd.udev.log_level=3 splash biglinux.bootcmd=only-calamares + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Text mode (user and password: biglinux)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off systemd.unit=multi-user.target + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Last option: very old computers (uses 1 CPU core)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off nopat noapic nolapic irqpoll hpet=disable + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } + + menuentry "Last option: ACPI disabled (1 CPU core, no energy saving)" --class=@DIST_NAME@.@ARCH@ { + set gfxpayload=keep + linux /boot/vmlinuz-x86_64 misobasedir=manjaro misolabel=BIGLINUXLIVE wayland driver=nonfree nouveau.modeset=0 nvidia-drm.modeset=1 nowatchdog tsc=nowatchdog cryptomgr.notests no_timer_check rw audit=0 split_lock_detect=off acpi=off + initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-@ARCH@.img + } +} diff --git a/sources/editions/kde/overlays/root/etc/sddm.conf b/sources/editions/kde/overlays/root/etc/sddm.conf new file mode 100644 index 00000000..26c8aadc --- /dev/null +++ b/sources/editions/kde/overlays/root/etc/sddm.conf @@ -0,0 +1,69 @@ +[General] +# Halt command +HaltCommand=/usr/bin/systemctl poweroff + +# Input method module +InputMethod=qtvirtualkeyboard + +# Initial NumLock state. Can be on, off or none. +# If property is set to none, numlock won't be changed +# NOTE: Currently ignored if autologin is enabled. +Numlock=none + +# Reboot command +RebootCommand=/usr/bin/systemctl reboot + +[Theme] +# Number of users to use as threshold +# above which avatars are disabled +# unless explicitly enabled with EnableAvatars +DisableAvatarsThreshold=7 + +# Enable display of custom user avatars +EnableAvatars=true + +# Global directory for user avatars +# The files should be named .face.icon +FacesDir=/usr/share/sddm/faces + +# Theme directory path +ThemeDir=/usr/share/sddm/themes + +[Users] +# Default $PATH for logged in users +DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin + +# Comma-separated list of shells. +# Users with these shells as their default won't be listed +HideShells= + +# Comma-separated list of users that should not be listed +HideUsers= + +# Maximum user id for displayed users +MaximumUid=60000 + +# Minimum user id for displayed users +MinimumUid=1000 + +# Remember the session of the last successfully logged in user +RememberLastSession=true + +# Remember the last successfully logged in user +RememberLastUser=true + +# When logging in as the same user twice, restore the original session, rather than create a new one +ReuseSession=false + +[Wayland] +# Enable Qt's automatic high-DPI scaling +EnableHiDPI=true + +# Path to a script to execute when starting the desktop session +SessionCommand=/usr/share/sddm/scripts/wayland-session + +# Directory containing available Wayland sessions +SessionDir=/usr/share/wayland-sessions + +# Path to the user session log file +SessionLogFile=.local/share/sddm/wayland-session.log diff --git a/sources/editions/kde/special-commands.sh b/sources/editions/kde/special-commands.sh index a6eaf98a..3fc5e4d2 100644 --- a/sources/editions/kde/special-commands.sh +++ b/sources/editions/kde/special-commands.sh @@ -6,13 +6,13 @@ # and a half-built profile gets committed. set -euo pipefail -# Graft four sections of Manjaro's own KDE Packages-Desktop onto ours. +# Graft three sections of Manjaro's own KDE Packages-Desktop onto ours. # # Packages-Desktop is the one list with no Manjaro base: the workflow writes -# Desktop-add over it instead of appending to upstream. These four sections are -# the parts we do want verbatim from upstream -- this is where xorg-server and -# the printing stack come from, so look here before concluding a package is -# missing from Desktop-add. +# Desktop-add over it instead of appending to upstream. These three sections +# are the parts we do want verbatim from upstream -- this is where the printing +# stack and the VA-API drivers come from, so look here before concluding a +# package is missing from Desktop-add. # # Sections run from an exact header down to the first blank line (including # whitespace-only lines). Validate every section before appending any of them: @@ -22,8 +22,7 @@ generatedDesktop=biglinux/kde/Packages-Desktop sections=( "## Printing" - "## Xorg Server and Graphics" - "## Xorg Input Drivers" + "## Graphics" "## Misc" ) sectionContents=() @@ -33,8 +32,8 @@ for section in "${sections[@]}"; do printf 'ERROR: missing section "%s" in %s\n' "$section" "$upstreamDesktop" >&2 exit 1 fi - # Upstream legitimately leaves Misc empty. The three essential sections - # must still carry package entries, not just a header and comments. + # Upstream legitimately leaves Misc empty. The other sections must still + # carry package entries, not just a header and comments. if [[ "$section" != "## Misc" ]] && ! grep -q '^[[:space:]]*[^#[:space:]]' <<< "$content"; then printf 'ERROR: no packages in section "%s" in %s\n' "$section" "$upstreamDesktop" >&2 exit 1 @@ -44,11 +43,6 @@ done # Command substitution strips trailing newlines; restore the section separator. printf '%s\n\n' "${sectionContents[@]}" >> "$generatedDesktop" -# Came in with "## Xorg Input Drivers" above and is not wanted: the void driver -# claims input devices and nothing uses it. Anchored so it cannot match a -# longer package name. -sed -i '/^xf86-input-void$/d' "$generatedDesktop" - # BigLinux KDE installs its drivers with big-driver-manager-cli (live session # and installer), not mhwd. XivaStudio keeps mhwd for now, so this lives here # and not in sources/common: mhwd-live stays off in the live session, and the @@ -58,3 +52,19 @@ grep -q "^disable_systemd_live=('mhwd-live'" biglinux/kde/profile.conf grep -vE '(^|[[:space:]])(KERNEL-bbswitch|bumblebee|primus|lib32-primus|xf86-video-(intel|sisusb|voodoo|dummy))$' \ biglinux/kde/Packages-Mhwd > biglinux/kde/Packages-Mhwd.new mv biglinux/kde/Packages-Mhwd.new biglinux/kde/Packages-Mhwd + +# BigLinux KDE boots Plasma on Wayland only: its boot menu and SDDM +# configuration replace the common ones, and the installed system takes SDDM's +# own PAM file. XivaStudio keeps the common files. +# kept: whole copies, so the shipped KDE files read as they are instead of as +# sed edits of the common ones; a fix to grub.cfg or sddm.conf in +# sources/common must be made in editions/kde/overlays as well. +cp -r sources/editions/kde/overlays/root/. biglinux/kde/root-overlay/ +cp -r sources/editions/kde/overlays/live/. biglinux/kde/live-overlay/ +rm biglinux/kde/root-overlay/etc/pam.d/sddm +rmdir biglinux/kde/root-overlay/etc/pam.d +# The installer-only entry needs the biglinux-livecd that starts it in +# kwin_wayland, and the text-mode and media-check entries the one that keeps +# systemd.unit and checksum off the installed kernel line. +sed -i 's/^biglinux-livecd>=.*/biglinux-livecd>=26.11.25-2022/' biglinux/kde/Packages-Live +grep -qx 'biglinux-livecd>=26.11.25-2022' biglinux/kde/Packages-Live