Score:-2

Mouse and screen not working after trying to install AMD graphic drivers on Ubuntu 18.04

us flag
Jon

I wanted to install my AMD Radeon R5 graphic card (integrated in the laptop) drivers of my Lenovo laptop in Ubuntu 18.04 for a modelling program inside ROS. My Ubuntu wasn't detecting the graphic card in Software & Updates -> Additional Drivers, as Windows 10 does. I checked the AMD page and I didn't found the compatible drivers for my case.

So, after making a quick research, I've followed the steps in this answer. Note I'm new to Ubuntu and I typed the following commands in a desktop Terminal, but I think I should have configured first "nomodoset" mode.

sudo apt update && \
sudo apt upgrade && \
sudo apt autoremove && \
sudo apt autoclean

sudo add-apt-repository ppa:oibaf/graphics-drivers
sudo apt-get update
sudo apt upgrade

sudo apt install --reinstall xserver-xorg-video-amdgpu
sudo dpkg --configure -a
sudo dpkg-reconfigure gdm3 ubuntu-session xserver-xorg-video-amdgpu

sudo apt-get install mesa-vdpau-drivers

mpv --hwdec=vdpau yourvideofile

The problem now is that the mouse is not working (neither the touchpad) in the desktop, but yes in the login page. After a while, the screen turns black and it gets blocked, which seems a common error (example).

Even if I've tried troubleshooting on my own, I haven't succeeded to solve previous issues, which makes my Ubuntu useless. I've perfomed the following tests in Recovery Mode (following this answer):

  1. Simply uninstall the installed packages

     sudo apt remove xserver-xorg-video-amdgpu
     sudo apt remove mesa-vdpau-drivers
    
     sudo apt update && \
     sudo apt upgrade && \
     sudo apt autoremove && \
     sudo apt autoclean
    
  2. Editing GRUB (tutorial)

Add "nomodeset" after clicking "E" in the "*Ubuntu" OS selection

sudo update-grub
  1. Try to reset Ubuntu to default settings (not working in Recovery Mode)

    dconf reset -f /

Any help to revert the previous installation is welcome.

Thanks!

hu flag
The current iteration of the `oibaf/graphics-drivers` PPA does not have the packges mentioned in the linked question. It is unclear what you've installed and from where. It is also unclear what is "my AMD Radeon R5 graphic drive", and where it came from.
karel avatar
sa flag
@mikewhatever It should be AMD Radeon graphics card driver.
karel avatar
sa flag
Does this answer your question? [Ubuntu 14.04.5/16.04 and newer on AMD graphics](https://askubuntu.com/questions/815591/ubuntu-14-04-5-16-04-and-newer-on-amd-graphics) and [How to start Ubuntu in Console mode](https://askubuntu.com/q/859630/)
hu flag
@karel Well, any idea where I get my own "whatever you want to call it"? Does AMD make personal drivers now?
karel avatar
sa flag
@mikewhatever The AMD graphics driver is preinstalled in Ubuntu since Ubuntu 14.04., so an Ubuntu user who is having problems using a downloaded AMD graphics driver can revert back to the preinstalled AMD graphics driver instead
us flag
Jon
Sorry it the question was unclear, I'm new to Ubuntu and also this forum. Thanks for the replies and possible troubleshooting. However, I've updated the question because I'm still having the problem.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.