Console screen resolution (framebuffer) with NVIDIA drivers on Ubuntu, Debian, or Linux Mint
After installing the proprietary NVIDIA graphics drivers on Ubuntu, Debian, or Linux Mint, you may find that the console no longer uses the resolution you want. I use the framebuffer console from time to time and wanted it to match my primary monitor’s resolution of 1680x1050.
Here’s how I configured it using GRUB 2.
First, reboot your computer. At the GRUB 2 menu, press C to open the command line and run:
vbeinfoChoose a resolution from the list of supported modes. I selected 1680x1050x32. Press Esc to return to the GRUB menu, then boot Linux.
Open Konsole or another terminal emulator and become root:
suEnter the root password when prompted.
Open /etc/default/grub using Vim, Nano, or your preferred text editor. For example:
vim /etc/default/grubFind the GRUB_GFXMODE=640x480 line, uncomment it if necessary, and replace the value with your chosen resolution. Add GRUB_GFXPAYLOAD_LINUX=keep below it. My settings were:
GRUB_GFXMODE=1680x1050x32
GRUB_GFXPAYLOAD_LINUX=keepSave and close the file. Then, still working as root, regenerate the GRUB configuration and update the initramfs:
update-grub2
update-initramfs -uReboot your system. The framebuffer console should now use the selected resolution.
Related Posts
2011-06-11
2010-11-14
2006-04-21