Suddenly my resolution of screen changed and i can't reset it

8,701

Solution 1

I had the same issue and ,this was my configuration. enter image description here

so went to nvidia site (https://www.nvidia.in/Download/index.aspx?lang=en-in) and downloaded latest driver and manually installed it

enter image description here

and after a reboot my issue seems to be solved.

Solution 2

got this issue on Ubuntu 20.04, got it fixed:

sudo apt-get install nvidia-settings
sudo ubuntu-drivers autoinstall
sudo reboot

Solution 3

There is only one way to solve this problem ( based on best of my knowledge ),

This update has a bug in it, at the dpkg package , To check this try a sudo apt upgrade command, if it returns a error and prompt you that a problem with dpkg then you have to re-calibrate it, use sudo dpkg ––configure –a to do that and restart.. still not fix then you have to remove the last update with the command sudo apt autoremove

Share:
8,701

Related videos on Youtube

Levon
Author by

Levon

Updated on September 18, 2022

Comments

  • Levon
    Levon over 1 year

    When i update my OS, suddenly the resolution set's 1024 x 768, i do everything to change it back to 1920 x 1080 but nothing helps me, maybe someone know how can i solve this problem?

    In terminal screenfetch

                              ./+o+-       levon@levon-desktop
                      yyyyy- -yyyyyy+      OS: Ubuntu 18.04 bionic
                   ://+//////-yyyyyyo      Kernel: x86_64 Linux 5.3.0-28-generic
               .++ .:/++++++/-.+sss/`      Uptime: 47m
             .:++o:  /++++++++/:--:/-      Packages: 2000
            o:+o+:++.`..```.-/oo+++++/     Shell: bash 4.4.20
           .:+o:+o/.          `+sssoo+/    Resolution: 1024x768
      .++/+:+oo+o:`             /sssooo.   DE: GNOME 
     /+++//+:`oo+o               /::--:.   WM: GNOME Shell
     \+/+o+++`o++o               ++////.   WM Theme: Adwaita
      .++.o+++oo+:`             /dddhhh.   GTK Theme: Ambiance [GTK2/3]
           .+.o+oo:.          `oddhhhh+    Icon Theme: ubuntu-mono-dark
            \+.++o+o``-````.:ohdhhhhh+     Font: Ubuntu 11
             `:o+++ `ohhhhhhhhyo++os:      CPU: Intel Core i7-7700 @ 8x 4.2GHz [36.0°C]
               .o:`.syhhhhhhh/.oo++o`      GPU: EFI
                   /osyyyyyyo++ooo+++/     RAM: 1793MiB / 15977MiB
                       ````` +oo+++o\:    
                              `oo++.     
    

    In terminal xrandr

    xrandr: Failed to get size of gamma for output default
    Screen 0: minimum 1024 x 768, current 1024 x 768, maximum 1024 x 768
    default connected primary 1024x768+0+0 0mm x 0mm
       1024x768      76.00* 
      1920x1200_60.00 (0x2c1) 193.250MHz -HSync +VSync
            h: width  1920 start 2056 end 2256 total 2592 skew    0 clock  74.56KHz
            v: height 1200 start 1203 end 1209 total 1245           clock  59.88Hz
      1920x1080_60.00 (0x2c2) 193.250MHz -HSync +VSync
            h: width  1920 start 2056 end 2256 total 2592 skew    0 clock  74.56KHz
            v: height 1200 start 1203 end 1209 total 1245           clock  59.88Hz
      1920x1080R (0x2c3) 138.500MHz +HSync -VSync
            h: width  1920 start 1968 end 2000 total 2080 skew    0 clock  66.59KHz
            v: height 1080 start 1083 end 1088 total 1111           clock  59.93Hz 
    

    In terminal xrandr --addmode HDMI1 1920_1080_60.00

    xrandr: Failed to get size of gamma for output default
    xrandr: cannot find output "HDMI1"
    

    In terminal sudo vi /etc/default/grub

    GRUB_DEFAULT=0
    GRUB_TIMEOUT_STYLE=hidden
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    

    In the image below i show that i use nvidia-driver-440

    enter image description here

    • Philippe
      Philippe about 4 years
      Have you tried xrandr --addmode HDMI1 1920x1080R ?
    • Levon
      Levon about 4 years
      @Philippe Yes, again doesn't work
    • A.B
      A.B about 4 years
      GPU: EFI <--- looks like nvidia driver compatibility problem
    • Levon
      Levon about 4 years
      @A.B maybe, but i think the problem is in xrandr: Failed to get size of gamma for output default.
    • A.B
      A.B about 4 years
      @Levon EFI GPU driver is the minimal driver, like would be VESA before UEFI. No surprise xrandr complains on a feature that is not available
    • Levon
      Levon about 4 years
      @A.B, how can i fix it?
    • A.B
      A.B about 4 years
      No real idea, I'm avoiding nvidia to avoid having this kind of trouble. But you could check the output of dmesg about nvidia module errors (don't dump all of dmesg, it's big) and add some parts in your question. Then maybe somebody with nvidia experience can help you. You could also try changing the version of nvidia driver you're using. Of course a probable reboot is needed between tries.
    • A.B
      A.B about 4 years
      Forgot to check the Xorg logs (probably /var/log/Xorg.0.log)
    • Levon
      Levon about 4 years
      @A.B ok, i will change drivers and reboot the system, and send a report to NVIDIA
    • A.B
      A.B about 4 years
      Not to NVidia: to Ubuntu. But be sure you can reproduce it with details. Don't send this too fast or it won't be useful. Perhaps you just needed a reboot etc.
    • Levon
      Levon about 4 years
      @A.B okay, i will, thanks
    • A.B
      A.B about 4 years
  • Levon
    Levon almost 4 years
    I have already reinstalled Ubuntu :), btw thanks a lot )
  • Abhilash TU
    Abhilash TU over 3 years
    I had the same issue once. It's because the update has a bug init you (A bug in graphics driver) so you just have to run sudo apt-get autoremove to revert to the previous working stage and try to update after a little while (After the bug fix).It work for me and I'm sure its also work for you.