5

I have installed many desktop environments, but my default Ubuntu session isn't working. I can only login using Ubuntu with Wayland. I want to login with the other options which are shown below. I tried to install an AMD graphics driver on my laptop and lost all of them except for Ubuntu with Wayland.

The default Ubuntu session was working. I've been using this Ubuntu installation since 2011, and always upgraded to the next LTS release when it came out. I purchased a Dell Inspiron 5570 that has AMD Radeon 530 discrete graphics and replaced my hard drive. I have upgraded 16.04 to 18.04 on my Dell Inspiron 5570. The problem began after I have tried to install an AMD driver. I haven't had a single serious problem in last 8 years, but now just one AMD graphics driver is creating a lot of trouble.

Results of lspci -nn | grep -E 'VGA|Display' :

00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07) 
01:00.0 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] Topaz XT [Radeon R7 M260/M265 / M340/M360 / M440/M445] [1002:6900] (rev c1) 

IMG:
Ubuntu 18.04 login screen

System info

  OS: Ubuntu 18.04 bionic
  Kernel: x86_64 Linux 4.15.0-43-generic
  Uptime: 23m
  Packages: 3121
  Shell: bash 4.4.19
  Resolution: 3840x1080
  DE: GNOME
  WM: GNOME Shell
  WM Theme: Adwaita
  GTK Theme: Ambiance [GTK2/3]
  Icon Theme: ubuntu-mono-dark
  Font: Ubuntu 11
  CPU: Intel Core i7-8550U @ 8x 4GHz [25.0°C]
  GPU: intel

karel
  • 122,292
  • 133
  • 301
  • 332

1 Answers1

1

Only the Wayland login option works since installing the amdgpu-pro-18.20-673703-ubuntu-18.04.tar.xz (proprietary AMDGPU-PRO) graphics driver, so uninstall the proprietary AMDGPU-PRO graphics driver and reboot the laptop.

The following command will provide you with the version of the AMDGPU-Pro stack on your system, or inform you that there are no packages found:

dpkg -l amdgpu-pro

ubuntu-drivers list will show which graphics driver is installed. Open the terminal and type:

ubuntu-drivers list

After you uninstall the non-working AMDGPU-PRO graphics driver, you can run this command to see what graphics driver Ubuntu 18.04 recommends for your Dell Inspiron 5570, if any.

ubuntu-drivers devices   

If ubuntu-drivers devices doesn't recommend installing anything, then don't install anything.

Reinstall Xorg (xserver-xorg).

sudo dpkg --remove --force-remove-reinstreq xserver-xorg  
sudo reboot  

It's not necessary to reconfigure Xorg. Click the gear icon at login and choose a Xorg session. After that the laptop will always boot to Xorg until you click the gear icon at login again and choose a Wayland session.

karel
  • 122,292
  • 133
  • 301
  • 332