James Knott composed on 2024-01-26 15:48 (UTC-0500):
James Knott wrote:
Felix Miata wrote:
i915.enable_dc=0 intel_idle.max_cstate=2
/etc/default/grub: line 46: i915.enable_dc=0: command not found
I'll see if the other line does anything.
Same thing: /etc/default/grub: line 46: intel_idle.max_cstate=2: command not found
I get those when after I edit /etc/default/grub and then run update-bootloader --refresh
Please show here your /etc/default/grub.
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg.
# Uncomment to set your own custom distributor. If you leave it unset or empty, the default # policy is to determine the value from /etc/os-release GRUB_DISTRIBUTOR= GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=8 GRUB_CMDLINE_LINUX_DEFAULT="splash=silent resume=/dev/disk/by-uuid/0f64e8b9-b231-4b82-bb6a-f7b26de760a3 preempt=full mitigations=auto quiet security=apparmor"
If you wish any of the suggested boot parameters to apply to every boot, you must put it/them within the quotes in the GRUB_CMDLINE_LINUX_DEFAULT= line.
GRUB_CMDLINE_LINUX="" # Uncomment to automatically save last booted menu entry in GRUB2 environment
# variable `saved_entry' # GRUB_SAVEDEFAULT="true" #Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) # GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" #Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL="gfxterm" # The resolution used on graphical terminal #note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE="auto"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux # GRUB_DISABLE_LINUX_UUID=true #Uncomment to disable generation of recovery mode menu entries # GRUB_DISABLE_RECOVERY="true"
#Uncomment to get a beep at grub start # GRUB_INIT_TUNE="480 440 1"
GRUB_BACKGROUND= GRUB_THEME=/boot/grub2/themes/openSUSE/theme.txt SUSE_BTRFS_SNAPSHOT_BOOTING="true" GRUB_USE_LINUXEFI="true" GRUB_DISABLE_OS_PROBER="false" GRUB_ENABLE_CRYPTODISK="n" GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
Did you modify /etc/default/boot from the default before running update-bootloader --refresh ??? This looks normal, but the line wrapping from your post may have masked some error. If you did change, please show a diff to the original /etc/default/grub file. You may have caused a syntax error to cause that not found error. If you didn't, then something is fouled elsewhere to cause /etc/default/grub: line 46: intel_idle.max_cstate=2: command not found ***** I suggested using experimental parameters on a temporary/per boot basis, part 4 of the URL you found. Off-topic: I use SeaMonkey, from which Thunderbird was forked. It has an extension named Toggle Word Wrap. TB shoud have this too, if not already installed, available for installation. It puts an item in the Options menu to disable wrapping long lines. Please use it if you can when posting any command output or file content containing long lines. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata