Cannot start the computer and black screen solution after upgrading Ubuntu to 20.4.2

I once posted an article "The installation diagram of dual systems and dual hard drives for Ubuntu 16.04 and Win10 "

Later, I bought a new computer and found that I couldn't use EasyBCD to create a Windows boot menu to boot. After using DiskGenius tool to convert the disk format to MBR in PE (Lao Maotao) system, I found that EasyBCD can be used to create Ubuntu boot.

 

Due to obsessive-compulsive disorder, after upgrading Ubuntu to 20.04.2, the system cannot be started. The manifestations of strange symptoms are:

1. The computer screen is blank after startup, only the cursor in the upper left corner is flickering...

2. The computer screen is blank after startup, and there is a strange error code in the upper left corner...

3. You can enter Ubuntu in safe mode, but there is no network connection, and even the Wifi entrance is gone. If you enter the Windows system first, then restart and enter the Ubuntu system safe mode, there will be a Wifi connection again. I do not know why.

4. Many statements on the Internet modify the content of sudo gedit /etc/default/grub. Find quiet splash in /etc/default/grub, add nomodeset to save it, and restart to enter the system.

I also tried the fourth case, and it can indeed enter the system. But then the problem came again: after entering the system, it was very stuck, and it felt like there was no graphics card driver.

I checked a lot of information on the Internet, saying that nomodeset starts without kernel (incognito mode), of course, it will not load the driver. Then I guess, is it because the previous update of the software or kernel caused the graphics card driver to be damaged or lost, so when you start Ubuntu in the normal mode, the detection fails and the system cannot be entered? So use the safe mode and skip the driver test? After I entered the safe mode, through the command query, I did only see the integrated graphics card (lspci |grep -i vga).

Based on the above information, my own guess is that there is a problem with the graphics card driver, and then you need to install the graphics card driver.

I searched a lot of information on the Internet, but it seemed useless. I consulted a friend of mine. He said that any piece of hardware will have a corresponding linux driver when it leaves the factory. You can find it on the official website.

My computer is ThinkPad E 590, graphics card is AMD Radeon RX 550X, go to the official website to search , what about? Don’t have my driver yet?

I had to try the first version. Found that the following model has an Ubuntu version, so I downloaded the driver corresponding to the Ubuntu 20.04.1 version

 

 

What should I do next? I don't know how to install it. Cross the river by touching the stones.

Download the compressed package, use Ubuntu to automatically decompress the right-click menu, and view the content inside. There is no .configuration .run file, but there is an amdgpu-install file. Isn't that? Is it the installation file entry?

Try, the command line enters the current directory, chmod 777 -R ./* modify the file permissions under the directory.

Then install: sudo ./amdgpu-install ......

Pit, the last error was reported, and it seemed to be a failure. Ready to give up.

Finally, let's have another wave of Sao operations 

sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get upgrade
sudo apt-get autoremove
sudo apt-get autoclean
sudo apt-get clean

Every time it prompts building failure, prompting amdgpu-dks (this code prompts forgotten) or something is not installed.

Then I will install it with sudo apt-get purge amdgpu-dks. Then restart the computer to see the results.

 

The result is of course good, you can enter the Ubuntu system normally.

But the strange thing is that when viewed in the system information, Ubuntu still uses an integrated graphics card.

In the end, I didn't understand why, whether it was a problem with the discrete graphics card driver.

 

 

 

 

 

Guess you like

Origin blog.csdn.net/fesdgasdgasdg/article/details/114239953