I'm having trouble with screen resolution on Ubuntu 20.04 with an HP 2009v monitor, which has native resolution 1600x900 pixels.
Problem is that when I startup the computer (with integrated Intel graphics), monitor says that received resolution is out of range, displaying nothing. With some troubles, I managed to set right resolution in user session with xrandr commands. Now I'd like to set proper resolution at least at login screen, then possibly to the grub bootloader too.
I edited the /etc/gdm3/Init/Default file adding following lines, but nothing changed:
xrandr --newmode "1600x900_60.00" 118.25 1600 1696 1856 2112 900 903 908 934 -hsync +vsync xrandr --addmode HDMI-3 1600x900_60.00 xrandr --output HDMI-3 --mode 1600x900_60.00
I also copied ~/.config/monitors.xml to /var/lib/.config and nothing changed too
How could I set proper display resolution at login screen?
Furthermore, I'd need to set proper resolution at grub and during ubuntu startup. I edited /etc/default/grub adding the lines
but nothing changed here too. Display keep saying that input is out of range.
How can I troubleshoot this issue?