Skip to content

Instantly share code, notes, and snippets.

@rl4debug
Last active July 27, 2020 14:51
Show Gist options
  • Save rl4debug/72f7794916bcf6faa6de749b73368180 to your computer and use it in GitHub Desktop.
Save rl4debug/72f7794916bcf6faa6de749b73368180 to your computer and use it in GitHub Desktop.
[ubuntu display resolution problem] #ubuntu #display #resolution #vga

Step1: https://ostechnix.com/how-to-fix-broken-ubuntu-os-without-reinstalling-it/

Step2: https://askubuntu.com/questions/765842/i-only-have-one-resolution-640x480-desktop-looks-zoomed-in

Step3: https://askubuntu.com/questions/1033368/gnome-lags-so-bad-on-ubuntu-18-04

Remind

Step1:

$ sudo rm /var/lib/apt/lists/lock
$ sudo rm /var/lib/dpkg/lock
$ sudo rm /var/lib/dpkg/lock-frontend
$ sudo dpkg --configure -a
$ sudo apt clean
$ sudo apt update --fix-missing
$ sudo apt install -f
$ sudo dpkg --configure -a
$ sudo apt upgrade
$ sudo apt dist-upgrade
## Finally, reboot the system using command:

$ sudo reboot

Step2:

fixed by using

sudo -H gedit /etc/default/grub
locate line #GRUB_GFXMODE=640x480

delete the # and replace 640x480 with 1024x480

sudo -H gedit /etc/grub.d/00_header 
find line gfxmode=(grub_GFXMODE) and under that add

set gfx payload=keep
Ran sudo update-grub

then ran xdiagnose from dash checked all debug options

Boomshackalack. Usable desktop.

Step3:

sudo ubuntu-drivers autoinstall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment