mirror of
https://github.com/basecamp/omarchy.git
synced 2026-02-17 15:25:37 +00:00
Ensure Linux kernel is running preempt=full to avoid audio/linux jitter under load
This commit is contained in:
@@ -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
7
migrations/1762684663.sh
Normal 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
|
||||
Reference in New Issue
Block a user