Hi, So I am facing screen flickering on my Laptop which has iGPU and I found the solution on Arch Wiki https://wiki.archlinux.org/title/intel_graphics#Screen_flickering .
According to the wiki I have to set kernel parameter i915.enable_psr=0
using efibootmgr. But I’m confused where do I have to put the parameter in the following command.
efibootmgr
To create a boot entry with efibootmgr that will load the kernel:
# efibootmgr --create --disk /dev/sdX --part Y --label "Arch Linux" --loader /vmlinuz-linux --unicode 'root=block_device_identifier rw initrd=\initramfs-linux.img'
Also, is there a way to set the kernel parameter for one time boot to check if it actually fixes the screen flickering?
Here are my specs:
Graphics:
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: Sunplus Innovation Integrated_Webcam_HD driver: uvcvideo
type: USB
Display: wayland server: X.Org v: 23.2.1 with: Xwayland v: 23.2.1
compositor: gnome-shell v: 45.0 driver: X: loaded: modesetting dri: iris
gpu: i915 resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: iris,swrast
platforms: wayland,x11,surfaceless,device
API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.2.1-arch1.2
renderer: Mesa Intel Xe Graphics (TGL GT2)
The ArchWiki article does not mention efibootmgr
for this. That tool is not used for this purpose.
Typically you would set kernel parameters with your bootloader, so they are incorporated into the process of starting the kernel.
To do this with Grub, the instructions are here: https://wiki.archlinux.org/title/Kernel_parameters#GRUB . The most common way to do this is described in this section of the article:
Edit /etc/default/grub and append your kernel options between the quotes in the GRUB_CMDLINE_LINUX_DEFAULT
line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
And then automatically re-generate the grub.cfg file with:
# grub-mkconfig -o /boot/grub/grub.cfg
If you want to do a one-off boot with the kernel parameter to test, that is described in this section of the article:
Press e
when the menu shows up and add them on the linux line:
linux /boot/vmlinuz-linux root=UUID=0a3407de-014b-458b-b5c1-848e92a327a3 rw quiet splash
Press Ctrl+x to boot with these parameters.
If you are using systemd-boot, you would follow this part of the article instead: https://wiki.archlinux.org/title/Kernel_parameters#systemd-boot . It includes instructions for configuring a one-off boot, and persistent configuration.
The systemd-boot method is also described in this article, under the “How to modify kernel options” section: https://discovery.endeavouros.com/installation/systemd-boot/2022/12/
1 Like
Okay so I tried searching which bootloader endeavour uses and according to some article on https://discovery.endeavouros.com which i cant find now, It mentioned that endeavour uses EFISTUB by default. Thats why I was following https://wiki.archlinux.org/title/EFISTUB#efibootmgr .
Thanks for clarifying
system
Closed
October 24, 2023, 6:00am
4
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.