Custom resolution after kernel update

I’m using this kernel parameter for custom resolution on grub

GRUB_CMDLINE_LINUX=“rhgb quiet video=DP-3:1920x1080MR@164”

But after kernel update my custom resolution not applied. I need grub update after every kernel update.

Is there a good solution for this?

When a new kernel is installed grub id supposed to copy the kernel command line from the active kernel.

Check that the video= option is set on all your kernels using grubby --info=ALL.

I do not edit the GRUB_CMDLINE_LINUX param myself. I use grubby to add args, which has always worked when new kernels are installed for me.

Thanks, Grubby working well

I used this command

sudo grubby --update-kernel=ALL --args="video=DP-3:1920x1080MR@164"