For Wayland, you need to add a kernel parameter:
-
Edit /etc/default/grub
-
Add the following kernel parameter:
video=HDMI-A-1:1920x1080@75
where HDMI-A-1 is the port of display output, 1920x1080 is the resolution, 75 is the refresh rate
- Run sudo update-grub
- Reboot (init 6)
- Then select the custom refresh rate from the settings
If you are using X11, save the script below as my-custom-resolution.sh, after testing, make it autostart on boot. How to make it autostart is out of scope for this gist.
Uh oh!
There was an error while loading. Please reload this page.