Skip to content

Load no audio or Bluetooth drivers on the live ISO's installer entry - #315

Closed
emirb wants to merge 1 commit into
quattrofrom
iso/live-no-audio-bluetooth
Closed

emirb wants to merge 1 commit into
quattrofrom
iso/live-no-audio-bluetooth

Conversation

@emirb

@emirb emirb commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

The installer is a text UI with no sound and no BlueZ, yet udev loaded 39 snd modules and 6 Bluetooth modules on an MSI MAG Z690 Tomahawk, including the SOF DSP stack and the AX201's firmware download. module_blacklist=snd,bluetooth on the installer entry stops the cores, so nothing that depends on them loads: 0 and 0 on every boot. The screen-reader entry doesn't take these options and keeps its sound.

Fedora's lorax removes the sound and Bluetooth modules from boot.iso, Agama's text image removes Bluetooth, and Debian's text-mode installer initrd carries neither.

Not timed on its own: once udev-settle is no longer pulled in (#312), these drivers are off the boot's critical path, so this saves the work rather than a measured second.

The live installer is a text UI with no sound and no BlueZ, yet udev
loaded 39 snd modules and 6 Bluetooth modules on an MSI Z690, with the
SOF DSP and the AX201's firmware download among them. module_blacklist=
stops the cores, so every driver that needs them fails to load. The
screen reader entry does not take these options and keeps its sound.
@github-actions

Copy link
Copy Markdown

Install test passed

x86_64 vs quattro aarch64 vs quattro
Result ✅ passed ✅ passed
Build the ISO 175.0 s −7.0 s 223.0 s +4.0 s
Install 88.2 s −1.5 s 118.4 s +1.5 s
First boot 13.2 s −1.7 s 6.1 s −0.1 s
Everyday boot 13.2 s −1.0 s 5.0 s −0.2 s

Boots are loader, kernel and userspace, without the VM's firmware.

Install phases, x86_64
Phase This PR quattro
Preparing live environment 0.2 s 0.2 s
Preparing install target 0 s 0 s
Installing Arch + Omarchy 75.4 s 74.5 s
Configuring hibernation 0.2 s 0.2 s
Configuring system 2.1 s 2.6 s
Staging provisioning 0 s 0 s
Finalizing Limine boot 7 s 8.4 s
Finalizing user 3 s 3.3 s
Configuring login 0.1 s 0.1 s
Configuring SSH access 0.2 s 0.2 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0 s 0 s
Creating factory snapshot 0 s 0 s
Install phases, aarch64
Phase This PR quattro
Preparing live environment 0.1 s 0.1 s
Preparing install target 0 s 0 s
Installing Arch + Omarchy 104.1 s 102.6 s
Configuring hibernation 0 s 0 s
Configuring system 4.6 s 4.5 s
Staging provisioning 0 s 0 s
Finalizing Limine boot 7 s 7.1 s
Finalizing user 2 s 2.1 s
Configuring login 0 s 0 s
Configuring SSH access 0.2 s 0.2 s
Configuring Tailscale 0 s 0 s
Configuring DNS resolver 0 s 0 s
Validating boot setup 0.1 s 0.1 s
Creating factory snapshot 0.2 s 0.2 s

Run · c7d5f2d

@emirb

emirb commented Oct 22, 2026

Copy link
Copy Markdown
Contributor Author

Closing. module_blacklist=snd also keeps thinkpad_acpi from loading (it depends on snd), and module_blacklist=bluetooth takes RS9113/RS9116 Wi-Fi with it (rsi_91x depends on bluetooth). With #312 and #314 these drivers are off the boot's critical path, so there is no measured gain left to pay for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant