[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]

One day, Ubuntu 18.04 LTS suddenly output only low resolution, so I dealt with it. I think that the work will be completed in about 20 minutes as a whole.

Symptoms

When I started Ubuntu18.04LTS, the screen was strange. Apparently the resolution is 1024x768. Even if I try to change it manually, I can't select another resolution. I'm in trouble.

Operating environment

item Details
OS Ubuntu 18.04.5 LTS (64bit)
RAM 15.6GiB
CPU Intel Core i5-10400F CPU @ 2.90GHz × 12
GPU GeForce GTX 1650/PCIe/SSE2
GNOME 3.28.2
Remarks External SSD(240GB/USB3.Via 0)Boot from and use

What I tried

Try reloading EDID (not resolved)

Since "Unknown Display" is displayed, is the EDID not loaded? I thought I tried plugging and unplugging the HDMI cable. This is the quickest way to reload the EDID. But it didn't improve.

Reinstall NVIDIA Driver (solved)

The symptom that is occurring is the same as the symptom that occurred before installing the NVIDIA driver. But you installed the driver ...? I think, I will check various things.

--Check the information of the device connected to VGA

~$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation Device 1f0a (rev a1)

The NVIDIA Device is recognized. There seems to be no problem.


--Confirmation of resolution information

~$ 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* 

Only 1024x768 @ 76Hz resolution is recognized. It's a monitor that supports 1920x1080 @ 60Hz.


--Check NVIDIA settings

~$ nvidia-settings 

ERROR: NVIDIA driver is not loaded


ERROR: Unable to load info from any available system

It was . It seems that the driver cannot be read. So let's reinstall NVIDIA's DRIVER.


--Ask for recommended drivers for Ubuntu

~$ ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001F0Asv000010DEsd0000145Cbc03sc00i00
vendor   : NVIDIA Corporation
driver   : nvidia-driver-450-server - distro non-free
driver   : nvidia-driver-450 - distro non-free
driver   : nvidia-driver-455 - distro non-free recommended
driver   : xserver-xorg-video-nouveau - distro free builtin

At `` `ubuntu-drivers devices```, Ubuntu will tell you which drivers to recommend. You are proposing a driver made by NVIDIA properly. Let's introduce it immediately.


--Install Ubuntu recommended driver

~$ sudo ubuntu-drivers autoinstall

This is the only command to introduce. The installation will start automatically, so let's wait for it to finish.


~$ reboot

Let's reboot after the installation is finished. I hope it works.

result

I was able to display at the maximum resolution (1920x1080 @ 60Hz) properly. I did it! I want a 4K monitor ...

Referenced site

Ubuntu 18.04 Displays Issue -> Unknown Display https://askubuntu.com/questions/1069451/ubuntu-18-04-displays-issue-unknown-display

Install NVIDIA driver on Ubuntu 18.04 https://qiita.com/kannkyo/items/c506437704cd62b31077

Recommended Posts

[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]
What to do when Ubuntu crashes
What to do if the package dependency cannot be repaired
What to do when a video cannot be read by cv2.VideoCapture
[For IT beginners] What to do when the rev command cannot be used with Git Bash
What to do if pip cannot be installed
What to do when "OS Error: [WinError 126] The specified module cannot be found" appears in import torch
What to do when "cannot import name xxx" [Python]
What to do if ʻObject arrays cannot be loaded when allow_pickle = False` occurs in numpy.load ()
[AWS] What to do when the ping command causes a "timeout"
What to do when the jupyterlab extension settings are not reflected
What to do if PyAudio cannot be installed on Python 3.7, 3.8, 3.9 on Windows
What to do when you get "I can't see the site !!!!"
What to do when the value type is ambiguous in Python?
What to do if you get "The session could not be opened" when installing CentOS on VirtualBox
What to do when the result downloaded via scrapy is in English
What to do if you get the message "" ~ .pkg "is corrupted and cannot be opened" when installing wxPython on Mac OS X
[Docker] What to do when error Couldn't find the binary git appears
13 Things to Do After Installing Ubuntu 20.04 LTS
What to do when the warning "The environment is in consistent ..." appears in the Anaconda environment
What to do if you get the error Target WSGI script'/var/www/xxx/xxx.wsgi' cannot be loaded as python module
What to do if you get an error when installing Dlib (Ubuntu)
What to do after installing Linux (Ubuntu)
10 Things to Do After Installing Ubuntu 18.04 LTS
I tried to put PyCharm in Ubuntu 16.04 LTS (PPA cannot be used)
Example of what to do when the sample script does not work (OpenCV-Python)
What to do when "TypeError: must be string, not int…" appears when using strptime
What to do when the graph does not appear in jupyter (ipython) notebook
What to do if mod_fcgid cannot resolve UnicodeEncodeError
What to do when PermissionError of tempfile.mkstemp occurs
What to do if pvcreate produces a lot of WARNING and cannot be created
What to do when only the window is displayed and nothing is displayed in pygame Note
How to filter foreign keys that can be selected on the Django admin screen
What to do when "Type Error: must be _socket.socket, not socket" appears on GAE
What to do if you get the error ʻERR_FEATURE_UNAVAILABLE_ON_PLATFORM` when using ts-node-dev on Linux
Python note: When the pip command cannot be used
[Go 1.13] What to do when unexpected directory layout: appears
[openpyxl] What to do when IllegalCharacterError appears in pandas.DataFrame.to_excel
What to do when raise ValueError, "unsupported hash type"
What I did to ssh to the VPS Ubuntu environment
What to do when you can't bind CaboCha to Python
[Small story] How to install the module when pip cannot be used due to proxy etc.
What to do when you get an error saying "Name resolution temporarily failed" on linux
[* CentOS 6.10] What to do if you cannot add the IUS Community Project repository on CentOS 6.5 (VirtualBox)
[AWS] What to do when you want to pip with Lambda
What to do when Japanese is not displayed on matplotlib
What to do when PyCharm font is strange or garbled
Record of actions to be taken when google_image_download cannot be used
What to do when Unalignable boolean Series provided as indexer
What to do when an error occurs with import _ssl
What to do if package installation fails when deploying to heroku
What to do when "SSL: CERTIFICATE_VERIFY_FAILED _ssl.c: 1056" appears in Python
When Times New Roman cannot be used with matplotlib (Ubuntu)
OSError: [Errno 40] What to do when Message too long appears
What to do when "Invalid HTTP_HOST header" appears in Django
Flask Web server cannot be published to the outside [VScode]
Ubuntu 20.04 does not start when trying to install nvidia driver
ImportError: No module What to do when you are told
Linux delete command when only the folder cannot be deleted
[VSCode] unable to import'google.cloud' What to do when pylint (import-error) does not recognize the Python import statement
What to do when a part of the background image becomes transparent when the transparent image is combined with Pillow