You are not logged in.

#1 2017-03-16 10:46:37

Higlav
Member
Registered: 2016-12-09
Posts: 39

[SOLVED]Black screen after update

Hello Community,

After successfully fixing my boot errors I can boot normally(sort of). But now the TTY7 doesn't display my lightdm greeter or anything at all for that matter. In fact, the screen is completely black(not black color, but no backlight).
My laptop is a Acer Aspire V3-571G with a Nvidia GeForce GT 640M which is in the NVC*-class that worked well with the nvidia package before.
While updating, there were package conflicts of the nvidia packages (lib32-nvidia-libgl / lib32-nvidia-utils and nvidia-libgl / nvidia-utils).

How can I fix this?

Greetings,

Higlav

Last edited by Higlav (2017-03-16 15:19:40)

Offline

#2 2017-03-16 11:31:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: [SOLVED]Black screen after update

Higlav wrote:

While updating, there were package conflicts of the nvidia packages (lib32-nvidia-libgl / lib32-nvidia-utils and nvidia-libgl / nvidia-utils)

What, exactly, were the error messages?  Were you prompted to replace packages with a default Y (e.g. "replace A with B? [Y/n]") and if so, did you press enter and or respond 'Y', or did you cancel the update?

There was recently just a reorganization of ligbl-related packages.  Pacman will prompt you with the correct course of action, but apparently many people have opted to ignore that prompt and stop the upgrade.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2017-03-16 12:33:32

Higlav
Member
Registered: 2016-12-09
Posts: 39

Re: [SOLVED]Black screen after update

Hello Trilby,

I don't remember and neither do I know how to get a hold of that decision I made. However, I grep'ed for nvidia in the pacman log file:

$  grep -P "\[ALPM\].*?nvidia" /var/log/pacman.log
[2016-12-28 16:12] [ALPM] installed nvidia-libgl (375.26-2)
[2016-12-28 16:12] [ALPM] installed nvidia-utils (375.26-2)
[2016-12-28 16:12] [ALPM] installed nvidia (375.26-1)
[2016-12-28 16:12] [ALPM] installed nvidia-lts (375.26-1)
[2017-01-02 15:29] [ALPM] installed opencl-nvidia (375.26-2)
[2017-01-04 16:11] [ALPM] installed lib32-nvidia-utils (375.26-2)
[2017-01-04 16:11] [ALPM] installed lib32-nvidia-libgl (375.26-2)
[2017-01-18 15:46] [ALPM] upgraded nvidia-lts (375.26-1 -> 375.26-3)
[2017-01-27 11:59] [ALPM] upgraded nvidia (375.26-1 -> 375.26-6)
[2017-02-17 12:09] [ALPM] upgraded nvidia-utils (375.26-2 -> 378.13-1)
[2017-02-17 12:09] [ALPM] upgraded nvidia-libgl (375.26-2 -> 378.13-1)
[2017-02-17 12:09] [ALPM] upgraded lib32-nvidia-utils (375.26-2 -> 378.13-1)
[2017-02-17 12:09] [ALPM] upgraded lib32-nvidia-libgl (375.26-2 -> 378.13-1)
[2017-02-17 12:09] [ALPM] upgraded nvidia (375.26-6 -> 378.13-1)
[2017-02-17 12:10] [ALPM] upgraded nvidia-lts (375.26-3 -> 378.13-1)
[2017-02-17 12:10] [ALPM] upgraded opencl-nvidia (375.26-2 -> 378.13-1)
[2017-02-19 19:46] [ALPM] upgraded nvidia-lts (378.13-1 -> 378.13-2)
[2017-02-22 11:38] [ALPM] upgraded nvidia (378.13-1 -> 378.13-2)
[2017-02-27 14:36] [ALPM] upgraded nvidia-utils (378.13-1 -> 378.13-3)
[2017-02-27 14:36] [ALPM] upgraded nvidia-libgl (378.13-1 -> 378.13-3)
[2017-02-27 14:38] [ALPM] upgraded opencl-nvidia (378.13-1 -> 378.13-3)
[2017-03-04 12:30] [ALPM] upgraded nvidia-lts (378.13-2 -> 378.13-3)
[2017-03-14 15:40] [ALPM] removed lib32-nvidia-libgl (378.13-1)
[2017-03-14 15:40] [ALPM] removed nvidia-libgl (378.13-3)
[2017-03-14 15:41] [ALPM] upgraded nvidia-utils (378.13-3 -> 378.13-5)
[2017-03-14 15:43] [ALPM] upgraded lib32-nvidia-utils (378.13-1 -> 378.13-2)
[2017-03-14 15:44] [ALPM] upgraded nvidia (378.13-2 -> 378.13-3)
[2017-03-14 15:44] [ALPM] upgraded opencl-nvidia (378.13-3 -> 378.13-5)
[2017-03-16 00:45] [ALPM] removed lib32-nvidia-utils (378.13-2)
[2017-03-16 00:56] [ALPM] reinstalled nvidia-lts (378.13-3)

The interesting part is the update at 2017-03-14 15:40
Judging from that, I did the following(boldfaced: update 14., italics: manipulation 16.):

nvidia-libgl (375.26-2 -> 378.13-1 -> 378.13-3 -> removed)
nvidia-utils (375.26-2 -> 378.13-1 -> 378.13-3 -> 378.13-5)
nvidia (375.26-1 -> 375.26-6 -> 378.13-1 -> 378.13-2 -> 378.13-3)
nvidia-lts (375.26-1 -> 375.26-3 -> 378.13-1 -> 378.13-2 -> 378.13-3 -> reinstalled)
opencl-nvidia (375.26-2 -> 378.13-1 -> 378.13-3 -> 378.13-5)
lib32-nvidia-utils (375.26-2 -> 378.13-1 -> 378.13-2 -> removed)
lib32-nvidia-libgl (375.26-2 -> 378.13-1 -> removed)

That means I replaced all the libgl packages with the utils ones and then removed the lib32-nvidia-utils package. Ok, I'll try reinstall that one and will edit this post again.


EDIT: I just reinstalled the above mentioned lib32-nvidia-utils package but without success. I now have the following packages installed:

$ pacman -Q | grep nvidia
lib32-nvidia-utils 378.13-2
nvidia 378.13-3
nvidia-lts 378.13-3
nvidia-utils 378.13-5
opencl-nvidia 378.13-5

I'd try to uninstall the util packages and replace them with the libgl packages, but uninstalling them yields:

$ sudo pacman -R lib32-nvidia-utils nvidia-utils
checking dependencies...
:: nvidia: removing nvidia-utils breaks dependency 'nvidia-utils=378.13'
:: nvidia-lts: removing nvidia-utils breaks dependency 'nvidia-utils=378.13'

I really don't want to force remove them. Is there a way I can get this working again?

Last edited by Higlav (2017-03-16 12:54:43)

Offline

#4 2017-03-16 13:21:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,444
Website

Re: [SOLVED]Black screen after update

Dear god.  Stop.  My suggestion was that the default options that pacman will prompt you will are correct and you should follow through with pacman's suggested changes.  Now you're going back and uninstalling things and thinking of forcing changes.  That is completely the wrong approach.

Run `pacman -Syu` and report any errors/output it gives you.  Do not force changes in your driver packages.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2017-03-16 14:25:53

Higlav
Member
Registered: 2016-12-09
Posts: 39

Re: [SOLVED]Black screen after update

Sorry, I didn't want to rush things. Here's the output(only stdout, since I don't know how to redirect all channels):

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 blackarch is up to date
:: Starting full system upgrade...
resolving dependencies...
:: The following package cannot be upgraded due to unresolvable dependencies:
      ruby2.3

looking for conflicting packages...

Packages (7) mitmproxy-2.0.1-1  pandoc-1.19.2.1-25  potrace-1.14-1  python-asn1crypto-0.22.0-1  python-werkzeug-0.12.1-1  python2-asn1crypto-0.22.0-1  python2-werkzeug-0.12.1-1

Total Download Size:    8.78 MiB
Total Installed Size:  68.61 MiB
Net Upgrade Size:      -0.03 MiB

:: Retrieving packages...
downloading python-asn1crypto-0.22.0-1-any.pkg.tar.xz...
downloading potrace-1.14-1-x86_64.pkg.tar.xz...
downloading python2-asn1crypto-0.22.0-1-any.pkg.tar.xz...
downloading mitmproxy-2.0.1-1-any.pkg.tar.xz...
downloading pandoc-1.19.2.1-25-x86_64.pkg.tar.xz...
downloading python-werkzeug-0.12.1-1-any.pkg.tar.xz...
downloading python2-werkzeug-0.12.1-1-any.pkg.tar.xz...
checking keyring...
checking package integrity...
loading package files...
checking for file conflicts...
checking available disk space...
:: Processing package changes...
upgrading python-asn1crypto...
upgrading mitmproxy...
upgrading pandoc...
upgrading potrace...
upgrading python-werkzeug...
upgrading python2-asn1crypto...
upgrading python2-werkzeug...
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...

The only error I got is from ruby about a dependency to openssl-1.0, even though it is already installed.

Offline

#6 2017-03-16 14:49:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,425

Re: [SOLVED]Black screen after update

You have an Optimus system, if the current packages are as provided by Arch, you will want to either follow https://wiki.archlinux.org/index.php/Bumblebee if you want to use the intel card for power saving purposes,  and only use the nvidia card occasionally,  or https://wiki.archlinux.org/index.php/NV … y_Managers and adjust the configuration of your display manager to reroute the output to the Nvidia card properly.

If that "worked" before and broke now, that's because it didn't actually work and you likely had no acceleration anywhere.

Online

#7 2017-03-16 15:19:23

Higlav
Member
Registered: 2016-12-09
Posts: 39

Re: [SOLVED]Black screen after update

Hello V1del,

Thank you, that was it. I chose to adjust the configuration of lightdm and now everything works again. For some reason the font sizes of my conkies and window titles shrunk down but I'm sure that'll be rather easy to fix.

Have a nice day!

Higlav

Offline

Board footer

Powered by FluxBB