Darkland | net

Set HDMI Console Resolution

Published on 18 August, 2021 by amj
Reference: https://unix.stackexchange.com/a/206931

Setting HDMI console resolution on machines using the nVidia proprietary driver and an HDMI connection.

The nVidia driver seems to set native monitor console resolution fine using a DVI connection, but the driver defaults to 640x480 on a television being used as a monitor via HDMI input.

Check whether the video card supports the desired resolution: sudo hwinfo --framebuffer You may need to install hwinfo sudo apt-get install hwinfo
Edit /etc/default/grub. Change this line:
#GRUB_GFXMODE=640x480
to this:
GRUB_GFXMODE=[Desired Resolution]
And add:
GRUB_GFXPAYLOAD_LINUX=keep
Create /etc/initramfs-tools/conf.d/splash echo "echo FRAMEBUFFER=y" | sudo tee /etc/initramfs-tools/conf.d/splash
Update initramfs and grub:
sudo update-initramfs -u
sudo update-grub
Back