Bug 258725 - Black screen after upgrade to 4.5.4
Summary: Black screen after upgrade to 4.5.4
Status: RESOLVED WORKSFORME
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 20:11 UTC by Axel Braun
Modified: 2012-07-12 19:46 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Todays change history (45.05 KB, text/plain)
2010-12-03 22:49 UTC, Axel Braun
Details
#yast2 sw_single (100.00 KB, image/png)
2010-12-04 15:27 UTC, Hans-Rudi Denzler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2010-12-03 20:11:46 UTC
Version:           4.5 (using KDE 4.5.4) 
OS:                Linux

OpenSUSE 11.3 running KDE 4.5.3 (from openSUSE Buildservice stable tree, 
http://download.opensuse.org/repositories/KDE:/Release:/45/openSUSE_11.3/
without problems.
after upgrade to 4.5.4 using zypper dup, a black screen appears after login, with only the mouse cursor visible. right mouse button shows a light-black frame without content. only crtl-alt-backspace helps. No work possible

Reproducible: Always

Steps to Reproduce:
log in.
Comment 1 Axel Braun 2010-12-03 20:16:40 UTC
PS. Using a different window manager like iceWM works, it can start KDE programs as well. KDM problem?
Comment 2 Hans-Rudi Denzler 2010-12-03 20:59:34 UTC
> rpm -q --requires libkdecore4 | grep liblzma.so.5
liblzma.so.5
> rpm -ql liblzma5
/lib/liblzma.so.5
/lib/liblzma.so.5.0.0

http://download.opensuse.org/repositories/devel:/tools:/building/openSUSE_11.3/
Comment 3 Christoph Feck 2010-12-03 21:05:50 UTC
Please check in /var/log/zypp/history if your update installed any other new packages, or just KDE.
Comment 4 Axel Braun 2010-12-03 22:49:08 UTC
@Hans-Rudi: Indeed, liblzma.so.5 was not installed, and installing it did not fix the problem.
Comment 5 Axel Braun 2010-12-03 22:49:46 UTC
Created attachment 54061 [details]
Todays change history
Comment 6 Hans-Rudi Denzler 2010-12-04 11:08:43 UTC
I forced the installation of libkdecore4 with the missing dependency (risky!)

> rpm -q libkdecore4
libkdecore4-4.5.80-341.4.i586

without the repository  in Comment #2. Then I couldn't even start any desktop, just a flickering screen. So I entered '3' at the boot prompt to run runlevel 3. I manually changed the name of liblzma.so.0 to liblzma.so.5 to fix the required missing dependency. Now I could start KDE again but couldn't start the yast software installation module sw_single. Then I manually downloaded liblzma5-5.0.0-12.1.i586.rpm.

I restarted again to runlevel 3 and logged in as root.

# cd /lib/
# dir liblzma.so.5
# mv liblzma.so.{5,0}   (revert the dirty trick)
# cd /home/user/Downloads/
# rpm -i liblzma5-5.0.0-12.1.i586.rpm   (install the missing dependency)

> dir /lib/liblzma*
lrwxrwxrwx 1 root root     16 14. Nov 2009  /lib/liblzma.so.0 -> liblzma.so.0.0.0
-rwxr-xr-x 1 root root 145024 24. Okt 2009  /lib/liblzma.so.0.0.0
lrwxrwxrwx 1 root root     16  3. Dez 17:17 /lib/liblzma.so.5 -> liblzma.so.5.0.0
-rwxr-xr-x 1 root root 160663 29. Nov 14:01 /lib/liblzma.so.5.0.0

If I grep for liblzma in zypp history

> grep liblzma /var/log/zypp/history 
2009-11-02 20:27:06|install|liblzma0|4.999.9beta-2.2|i586|root@opensuse|InstallationImage|...

liblzma5 doesn't show up because I don't have the repository in Comment #2 installed.

So that was my journey. Nothing wrong anymore !
Comment 7 Hans-Rudi Denzler 2010-12-04 15:27:27 UTC
Created attachment 54085 [details]
#yast2 sw_single

Start a non KDE session manager and from a terminal as root 'yast2 sw_single'.
Check dependencies 'Abhängigkeiten' > Check now.
The context menu might help you also.
Comment 8 Axel Braun 2010-12-04 19:28:00 UTC
Hans-Rudi,
thanks for your explanation, but this was not the problem in my case.
I assume the KDM or Plasma has a problem with the radeonhd-driver, which was installed for the ATI RADEON HD 4550 card.
I installed the ATI legacy drivers (ati-driver-installer-10-11-x86.x86_64.run), and afterwards it worked. Normally I dont like the legacy drivers, as you have to recompile them after every kernel change - the ATI-repo is mostly not up to date and has often caused errors.

So, from this perspective, I have a workaround and can work again. But the original problem is not solved with this.
Comment 9 paco 2010-12-06 17:23:22 UTC
I can confirm the black screen after upgrading to KDE 4.5.4

In my case, I could solve it choosing IceVM as a login wm and disabling "desktop effects" in "system preferences". 

I can now login in KDE, but I can't enable desktop effects.

I don't know if this can be considered "a fix", though  :-)
Comment 10 paco 2010-12-07 12:44:20 UTC
(In reply to comment #9)

Only to add that when I try to enable "desktop effects" I get the "black screen of (KDE)death" again :-)

I have openSUSE 11.2, with an ATI card and the radeonhd driver.
Comment 11 missive 2011-05-08 14:39:37 UTC
I have this black screen problem now after upgrading to Ubuntu 11.04 and KDE 4.6.2

All of the KDE programs work normally, if I log in to a different desktop environment, like XFCE, but when starting a KDE session, all I get is a black screen and the cursor.

I've tried going in to the KDE system settings from the XFCE session and disabling effects, but I still get only a black screen when logging in to KDE.
Comment 12 missive 2011-05-08 17:00:01 UTC
I was able to resolve my problem. The upgrade to Ubuntu 11.04 did not install the "plasma-desktop" package. Once I installed that I was able to log in to KDE.

I still needed to log in to a different type of session first and disable all display effects before I could get in to KDE, but at least I can log in to KDE now.
Comment 13 Jekyll Wu 2012-07-12 19:46:19 UTC
Feel free to reopen the report if the problem still happens in recent versions ( KDE SC 4.8.4 or higher). Thanks.