I made my own PC and tried to install Ubuntu 18.04 cleanly, but probably I got stuck due to a problem around the driver of the graphic board. I have solved it by visiting several sites, so I will summarize it.
environment | Model number |
---|---|
MB | ASUSTeK COMPUTER INC. PRIME X299-A II |
CPU | Intel Core i9-10920X |
GPU | MSI GeForce GTX 1660 AERO ITX 6G OC |
OS | Ubuntu 18.04.5 LTS 5.4.0-48-generic x86_64 |
Since the information is posted on many sites, I don't think it is necessary for details, but I created a USB installation media and installed it on the system drive from there.
See here for how to create it. You can use USB of 4GB or more.
Since we are using an empty system drive, we selected the boot disk from the BIOS (`F2``ʻor Del
during booting on this motherboard).
The following screen will be displayed, so select the second "Install Ubuntu" from the top and proceed as it is without any problem. EFI partition etc. will be done without permission if you specify clean installation, so you do not need to think deeply unless it is dual boot etc. See here for detailed settings and installation.
When the OS installation is complete, a screen prompting you to restart will appear. When I proceeded with this, the screen crashed on the login screen (a state where a purple line was partially included in the black background). I tried pressing some keys, but the situation did not change at all.
After investigating, it seems that the compatibility between "Wayland", which is used for the login screen by default in Ubuntu 18.04 LTS, and the NVIDIA graphic board is not good, and there are many problems that the login screen is not displayed. By referring to the following site, stopping "Wayland" and logging in in recovery mode, this problem was solved, ** it seemed as if **. See also: https://linuxfan.info/ubuntu-gdm-wayland-false
After that, when I restarted Ubuntu, the same problem occurred again. I thought that the setting made in the recovery window had disappeared, but when I checked it again, the setting of `` `WaylandEnable = false``` was saved normally, so I started with this setting ** + recovery mode **. It seemed necessary.
I can't go into recovery mode every time, so when I was looking for a way to solve the root cause, I found that I should delete the Nvidia Driver that came in and re-install the driver for Ubuntu. It was. Reference: [Graphical login screen does not appear after starting Ubuntu](https://www.it-swarm-ja.tech/ja/nvidia/ubuntu%E3%82%92%E8%B5%B7%E5 % 8B% 95% E3% 81% 97% E3% 81% 9F% E5% BE% 8C% E3% 80% 81% E3% 82% B0% E3% 83% A9% E3% 83% 95% E3% 82 % A3% E3% 82% AB% E3% 83% AB% E3% 83% AD% E3% 82% B0% E3% 82% A4% E3% 83% B3% E7% 94% BB% E9% 9D% A2 % E3% 81% 8C% E8% A1% A8% E7% A4% BA% E3% 81% 95% E3% 82% 8C% E3% 81% AA% E3% 81% 84/997916704 /)
Enter the following command in the terminal while logged in in recovery mode.
python
$ sudo apt purge nvidia-*
$ sudo apt autoremove
$ sudo ubuntu-drivers autoinstall
After doing this, by restarting, you can log in safely, the driver works properly, and the screen size etc. are recognized with the recommended settings.
Ubuntu 18.04 (and later?) Seems to be incompatible with the NVIDIA graphics board, so you need to reinstall the appropriate driver. Therefore, I turned off "Wayland" in recovery mode and logged in.
Recommended Posts