Ensure Linux kernel is running preempt=full to avoid audio/linux jitter under load

This commit is contained in:
David Heinemeier Hansson
2025-11-09 13:08:12 +01:00
parent 70d15921b9
commit a881b7c45f
2 changed files with 8 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ TARGET_OS_NAME="Omarchy"
ESP_PATH="/boot"
KERNEL_CMDLINE[default]="$CMDLINE"
KERNEL_CMDLINE[default]+="quiet splash"
KERNEL_CMDLINE[default]+="quiet splash preempt=full"
ENABLE_UKI=yes
CUSTOM_UKI_NAME="omarchy"

7
migrations/1762684663.sh Normal file
View File

@@ -0,0 +1,7 @@
echo "Ensure Linux is running fully preemptible to avoid video/audio issues"
if ! grep -q "preempt=full" /etc/default/limine; then
sudo sed -i 's/^\(KERNEL_CMDLINE\[default\]+=\"[^"]*\)"/\1 preempt=full"/' /etc/default/limine
sudo limine-update
omarchy-state set reboot-required
fi