[SOLVED] Black screen after AMD drivers' update

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Thu Apr 12, 2018 9:54 pm

debsums installed and you changed mirrors (I hope) so try sudo apt-get install --reinstall libgl1-mesa-dri again.
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Fri Apr 13, 2018 7:45 pm

I changed the mirrors and tried different ones (the fastest ones and the ones from my country), but neither worked... All mirrors that I tried gave me this:

Code: Select all

daniel-GA-MA78GM-US2H daniel # sudo apt-get install --reinstall libgl1-mesa-dri
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of libgl1-mesa-dri is not possible, it cannot be downloaded.
0 to upgrade, 0 to newly install, 0 to remove and 13 not to upgrade.
Should I send you a screenshot of the mirrors I have available?

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Fri Apr 13, 2018 9:18 pm

A screenshot won't be necessary.

I'm really puzzled with this cannot be downloaded stuff :?

Does this work sudo apt-get install nfs-common

If it does just let me know and you can get rid of it with sudo apt-get purge nfs-common

I want to see if this cannot be downloaded stuff is isolated to these particular packages.
ImageImage

User avatar
MrEen
Level 14
Level 14
Posts: 5119
Joined: Mon Jun 12, 2017 8:39 pm

Re: Black screen after AMD drivers' update

Post by MrEen » Fri Apr 13, 2018 9:43 pm

Hi WarfRat,

I don't mean to intrude, but I think the reason for the "it cannot be downloaded" is it wants to get version 18.x which is in the bionic repo and xenial only goes to 17.2.8.

Code: Select all

daniel-GA-MA78GM-US2H daniel # apt-get download libgl1-mesa-dri
E: Can't find a source to download version '18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1' of 'libgl1-mesa-dri:amd64'
I don't understand most of your terminal command fu but hoped this might assist.

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Fri Apr 13, 2018 11:05 pm

MrEen wrote:
Fri Apr 13, 2018 9:43 pm
Hi WarfRat,

I don't mean to intrude, but I think the reason for the "it cannot be downloaded" is it wants to get version 18.x which is in the bionic repo and xenial only goes to 17.2.8.

Code: Select all

daniel-GA-MA78GM-US2H daniel # apt-get download libgl1-mesa-dri
E: Can't find a source to download version '18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1' of 'libgl1-mesa-dri:amd64'
I don't understand most of your terminal command fu but hoped this might assist.
I welcome the intrusion and I think you're on to something here :D

Isn't that repo an official ubuntu mirror :?:

@Daniel_AYA-AZZ,

Try disabling that repo and see what happens.
ImageImage

User avatar
MrEen
Level 14
Level 14
Posts: 5119
Joined: Mon Jun 12, 2017 8:39 pm

Re: Black screen after AMD drivers' update

Post by MrEen » Fri Apr 13, 2018 11:11 pm

I don't think he has that repo. The edgers-ppa he previously disabled (I think) installed newer versions than are contained in xenial repos.

From a previous termbin:

Code: Select all

libgl1-mesa-dri:
  Installed: 18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1
  Candidate: 18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1
  Version table:
 *** 18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1 500
        500 http://ppa.launchpad.net/xorg-edgers/ppa/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
     17.2.8-0ubuntu0~16.04.1 500
        500 http://ny-mirrors.evowise.com/ubuntu xenial-updates/main amd64 Packages
     11.2.0-1ubuntu2 500
        500 http://ny-mirrors.evowise.com/ubuntu xenial/main amd64 Packages

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Fri Apr 13, 2018 11:30 pm

I installed this system the other day and this is my version

Code: Select all

[bill@slvm] ~ $ apt-cache policy libgl1-mesa-dri
libgl1-mesa-dri:
  Installed: 17.2.8-0ubuntu0~16.04.1
  Candidate: 17.2.8-0ubuntu0~16.04.1
  Version table:
 *** 17.2.8-0ubuntu0~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     11.2.0-1ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
[bill@slvm] ~ $ 
So I see it's insisting on getting a newer package.
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Sun Apr 15, 2018 10:38 am

Thank you for your comments, MrEen. So, I enabled the default official mirrors again and tried both codes WharfRat recommended me. These were the results:

Code: Select all

daniel-GA-MA78GM-US2H daniel # sudo apt-get install nfs-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libnfsidmap2 libtirpc1 rpcbind
Suggested packages:
  open-iscsi watchdog
The following NEW packages will be installed
  libnfsidmap2 libtirpc1 nfs-common rpcbind
0 to upgrade, 4 to newly install, 0 to remove and 13 not to upgrade.
Need to get 332 kB of archives.
After this operation, 1,257 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnfsidmap2 amd64 0.25-5 [32.2 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 libtirpc1 amd64 0.2.5-1 [75.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 rpcbind amd64 0.2.3-0.2 [40.3 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 nfs-common amd64 1:1.2.8-9ubuntu12.1 [184 kB]
Fetched 332 kB in 2s (131 kB/s)   
Selecting previously unselected package libnfsidmap2:amd64.
(Reading database ... 277076 files and directories currently installed.)
Preparing to unpack .../libnfsidmap2_0.25-5_amd64.deb ...
Unpacking libnfsidmap2:amd64 (0.25-5) ...
Selecting previously unselected package libtirpc1:amd64.
Preparing to unpack .../libtirpc1_0.2.5-1_amd64.deb ...
Unpacking libtirpc1:amd64 (0.2.5-1) ...
Selecting previously unselected package rpcbind.
Preparing to unpack .../rpcbind_0.2.3-0.2_amd64.deb ...
Unpacking rpcbind (0.2.3-0.2) ...
Selecting previously unselected package nfs-common.
Preparing to unpack .../nfs-common_1%3a1.2.8-9ubuntu12.1_amd64.deb ...
Unpacking nfs-common (1:1.2.8-9ubuntu12.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up libnfsidmap2:amd64 (0.25-5) ...
Setting up libtirpc1:amd64 (0.2.5-1) ...
Setting up rpcbind (0.2.3-0.2) ...
Setting up nfs-common (1:1.2.8-9ubuntu12.1) ...

Creating config file /etc/idmapd.conf with new version

Creating config file /etc/default/nfs-common with new version
Adding system user `statd' (UID 123) ...
Adding new user `statd' (UID 123) with group `nogroup' ...
Not creating home directory `/var/lib/nfs'.
nfs-utils.service is a disabled or a static unit, not starting it.
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for systemd (229-4ubuntu21.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
daniel-GA-MA78GM-US2H daniel # sudo apt-get purge nfs-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libnfsidmap2 libtirpc1 rpcbind
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED
  nfs-common*
0 to upgrade, 0 to newly install, 1 to remove and 13 not to upgrade.
After this operation, 734 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 277194 files and directories currently installed.)
Removing nfs-common (1:1.2.8-9ubuntu12.1) ...
Purging configuration files for nfs-common (1:1.2.8-9ubuntu12.1) ...
dpkg-statoverride: warning: no override present
Processing triggers for man-db (2.7.5-1) ...
So, just to clarify: I have the default official repositories enabled again (packages.linuxmint.com & archive.ubuntu.com/ubuntu. I don't know if this is the right move or if I should revert back to mirrors from my country (or the ones with the highest speed available).

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Mon Apr 16, 2018 12:13 am

Can you now download apt-get download libgl1-mesa-dri
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Mon Apr 16, 2018 8:47 am

Mmh... nope, I still get the same error:

Code: Select all

daniel-GA-MA78GM-US2H daniel # apt-get download libgl1-mesa-dri
E: Can't find a source to download version '18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1' of 'libgl1-mesa-dri:amd64'
Could you recommend me any mirror I should use to download this? Or is this something else?

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Mon Apr 16, 2018 1:13 pm

The problem is the packages you installed are taking precedence over the official versions.

paste back ls -lh /etc/apt/preferences.d/
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Tue Apr 17, 2018 11:12 am

Alright, here you go:

Code: Select all

daniel-GA-MA78GM-US2H daniel # ls -lh /etc/apt/preferences.d/
total 8.0K
-rw-r--r-- 1 root root  61 May  7  2017 official-extra-repositories.pref
-rw-r--r-- 1 root root 178 Nov 24 10:13 official-package-repositories.pref

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Tue Apr 17, 2018 3:51 pm

I'm having problems with my internet/router/modem so I may not be able to respond quickly.
In the file /etc/apt/preferences.d/official-extra-repositories.pref if this is your only entry

Code: Select all

Package: *
Pin: origin build.linuxmint.com
Pin-Priority: 700
change the Pin-Priority to 100 than try to apt-get download libgl1-mesa-dri

If you want to try repos this is my official-package-repositories.list

Code: Select all

deb http://packages.linuxmint.com sylvia main upstream import backport romeo

deb http://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu/ xenial-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ xenial partner
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Tue Apr 17, 2018 9:02 pm

Don't worry if you can't respond quickly. I've been very busy myself, so... Anyway, I checked /etc/apt/preferences.d/official-extra-repositories.pref and changed Pin-Priority to 100. But apt-get download libgl1-mesa-dri failed. Here's the result:

Code: Select all

daniel-GA-MA78GM-US2H daniel # apt-get download libgl1-mesa-dri
E: Can't find a source to download version '18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1' of 'libgl1-mesa-dri:amd64'
Also, I added your repos to the additional repositories section of the Update Manager. When I refresh, it throws me this error:

Code: Select all

W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Packages (upstream/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
W: Target Packages (upstream/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/additional-repositories.list:1 and /etc/apt/sources.list.d/official-package-repositories.list:1
(This are just some examples, the original file is way bigger and repeats the same error, but with different packages.)

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Tue Apr 17, 2018 9:20 pm

Also, I added your repos to the additional repositories section of the Update Manager.
Please remove them.

What I meant for you to do was to replace the content of /etc/apt/sources.list.d/official-package-repositories.list with the list I posted.

Adding them in software sources is now causing the configured multiple times messages.
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Wed Apr 18, 2018 6:17 pm

Sorry, I didn't realize. I did what you said. But I still get the same error:

Code: Select all

daniel-GA-MA78GM-US2H daniel # apt-get download libgl1-mesa-dri
E: Can't find a source to download version '18.0.0~git20180214+18.0.1e173463-0ubuntu0ricotz~16.04.1' of 'libgl1-mesa-dri:amd64'
:?

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Wed Apr 18, 2018 6:44 pm

Wow, nothing seems to work here :roll:

I would seriously consider a reinstallation at this juncture as I'm not even sure if reinstalling all of the dri and glx packages would solve the graphics problem.

You can give dpkg -l|egrep 'mesa|drm'|awk '{print $2}'|xargs sudo apt-get install --reinstall one more Hail Mary shot.

If that still fails................. :(
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Wed Apr 18, 2018 7:15 pm

Ah, sh... It throws the "abort" error at the end.

Code: Select all

daniel-GA-MA78GM-US2H daniel # dpkg -l|egrep 'mesa|drm'|awk '{print $2}'|xargs sudo apt-get install --reinstall
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Reinstallation of libdrm-amdgpu1 is not possible, it cannot be downloaded.
Reinstallation of libdrm-amdgpu1:i386 is not possible, it cannot be downloaded.
Reinstallation of libgl1-mesa-dri is not possible, it cannot be downloaded.
Reinstallation of libgl1-mesa-dri:i386 is not possible, it cannot be downloaded.
Reinstallation of libglapi-mesa is not possible, it cannot be downloaded.
Reinstallation of libglapi-mesa:i386 is not possible, it cannot be downloaded.
Reinstallation of libdrm2 is not possible, it cannot be downloaded.
Reinstallation of libdrm2:i386 is not possible, it cannot be downloaded.
Reinstallation of libdrm-common is not possible, it cannot be downloaded.
Reinstallation of libdrm-intel1 is not possible, it cannot be downloaded.
Reinstallation of libdrm-intel1:i386 is not possible, it cannot be downloaded.
Reinstallation of libgl1-mesa-glx is not possible, it cannot be downloaded.
Reinstallation of libgl1-mesa-glx:i386 is not possible, it cannot be downloaded.
Reinstallation of libwayland-egl1-mesa is not possible, it cannot be downloaded.
Reinstallation of libdrm-radeon1 is not possible, it cannot be downloaded.
Reinstallation of libdrm-radeon1:i386 is not possible, it cannot be downloaded.
Reinstallation of libdrm-nouveau2 is not possible, it cannot be downloaded.
Reinstallation of libdrm-nouveau2:i386 is not possible, it cannot be downloaded.
Reinstallation of libgles2-mesa is not possible, it cannot be downloaded.
Reinstallation of libegl1-mesa is not possible, it cannot be downloaded.
The following packages were automatically installed and are no longer required:
  libnfsidmap2 libtirpc1 rpcbind
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 5 reinstalled, 0 to remove and 26 not upgraded.
Need to get 203 kB/215 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Abort.
EDIT: I can only think of formating the entire PC and installing a new OS. IF it's still possible at this point...

User avatar
WharfRat
Level 21
Level 21
Posts: 13155
Joined: Thu Apr 07, 2011 8:15 pm

Re: Black screen after AMD drivers' update

Post by WharfRat » Wed Apr 18, 2018 8:19 pm

Daniel_AYA-AZZ wrote:
Wed Apr 18, 2018 7:15 pm
Ah, sh... It throws the "abort" error at the end.

EDIT: I can only think of formating the entire PC and installing a new OS. IF it's still possible at this point...
I see that as the only possible option at this time.

Just be aware that everything on that HDD will be wiped so backup/copy anything you couldn't survive without to another media.

Good luck :wink:
ImageImage

Daniel_AYA-AZZ
Level 2
Level 2
Posts: 59
Joined: Thu Apr 05, 2018 9:15 pm

Re: Black screen after AMD drivers' update

Post by Daniel_AYA-AZZ » Wed Apr 18, 2018 9:42 pm

Thanks. Uh, I'll bother you with just one more thing. How could I do it? I mean, I've formatted PCs before, but never with Linux. I don't know what to do exactly or how?

Post Reply

Return to “Newbie Questions”