Bug 4999 - Mga2 Beta2 fails to boot fully into KDE
Summary: Mga2 Beta2 fails to boot fully into KDE
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard: MGA2TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-17 21:07 CET by Barry Jackson
Modified: 2012-08-20 21:17 CEST (History)
5 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments
Xorg.0.log (33.32 KB, text/plain)
2012-03-17 21:09 CET, Barry Jackson
Details
kdm.log (1.75 KB, text/plain)
2012-03-17 21:10 CET, Barry Jackson
Details
boot.log (7.61 KB, text/plain)
2012-03-17 21:12 CET, Barry Jackson
Details
.xsession-errors (65.18 KB, text/plain)
2012-03-17 21:16 CET, Barry Jackson
Details
xorg.conf (1.34 KB, text/plain)
2012-03-17 21:22 CET, Barry Jackson
Details

Description Barry Jackson 2012-03-17 21:07:42 CET
Description of problem:
KDM log-in ends at a black screen in a working X. 
I have re-created this twice.
Shortly after graphical log-in the screen goes black and then after a short time a dialog box appears briefly with the title KDE migration tool IIRC.
After that the screen remains black.

I used CTRL/F2 to log in as root and issued halt. This failed and the system hung so I powered down.

I have now booted into another system to access the partition and logs which I will attach.
 

Version-Release number of selected component (if applicable):


How reproducible:
Repeated twice with two installs.

Steps to Reproduce:
1. Install Maga2 Beta2 from DVD iso using hard drive install.
2. Re-boot.
3.
Comment 1 Barry Jackson 2012-03-17 21:09:25 CET
Created attachment 1785 [details]
Xorg.0.log
Comment 2 Barry Jackson 2012-03-17 21:10:20 CET
Created attachment 1786 [details]
kdm.log
Comment 3 Barry Jackson 2012-03-17 21:12:02 CET
Created attachment 1787 [details]
boot.log
Comment 4 Barry Jackson 2012-03-17 21:16:19 CET
Created attachment 1788 [details]
.xsession-errors
Comment 5 Barry Jackson 2012-03-17 21:22:47 CET
Created attachment 1789 [details]
xorg.conf

I will leave this system untouched for now, so if any other details are need they will be available.

.xsessionerrors looks interesting :-

"Control process died, committing suicide! "
Manuel Hiebel 2012-03-18 17:56:42 CET

CC: sysadmin-bugs => balcaen.john, lmenut
Component: Release (media or process) => RPM Packages

Comment 6 Barry Jackson 2012-03-22 14:18:48 CET
I did a net install last night to help with another bug and this still has the same issue.
This is the report.bug.gz from that install which is attached to bug 5040 
https://bugs.mageia.org/attachment.cgi?id=1819

Priority: Normal => release_blocker
Severity: major => critical

Comment 7 Doug Laidlaw 2012-03-23 08:26:00 CET
I have a similar set-up, a full KDE installed from Beta 2 as an install, not an upgrade.  I can use KDE and KDM quite normally.  Do we have a bug that affects only some users?

CC: (none) => laidlaws

Comment 8 Barry Jackson 2012-03-23 13:11:54 CET
(In reply to comment #7)
>Do we have a bug that affects only some users?

Yes it must be hardware specific.
The system I am using now (beta2 full KDE install) had the same issue, however after switching the graphics driver from the default nouveau to vesa and then back to nouveau, it now works and boots fine.

I now have two test installs (real, not vm) that I have left broken for debugging.

I am open to suggestions.
Comment 9 Doug Laidlaw 2012-03-23 13:24:59 CET
I know the feeling.  I have a similar bug in Xscreensaver (bug 4742.)  But this one is marked as a release-stopper.

There was a report of problems with nVidia, but you and I are both using nouveau.
Comment 10 Barry Jackson 2012-03-23 23:04:11 CET
Progress!

After KDE log-in at the black screen (with cursor), if I switch to tty2, log-in as root and :

pkill kwin

then switch back to tty1 and the KDE desktop is up and running correctly.

Maybe we should not enable kwin by default ?
Comment 11 Doug Laidlaw 2012-03-23 23:30:59 CET
Maybe.  kwin had problems earlier.  You can choose a different DM with MCC, under Boot/Display Manager.  Worth a try.

If it is hardware-related and you have two boxes displaying it, is their hardware the same?
Comment 12 Barry Jackson 2012-03-24 01:23:07 CET
To add to my last post - when using pkill kwin there is still a problem. Application windows have no headers, but seem to function otherwise.

All systems are on the same h/w.

Yes thanks Doug - I just installed GDM and even with kwin enabled it cures the problem completely, so this does look like it's maybe a KDM issue.

The only problem I have with that, is that this system that I am using now (on the same machine) uses KDM, kwin is enabled, it was installed from the same Beta2 iso and it is fully up-to-date.
It did have the issue just after installation, and I somehow fixed it (I wish I knew how) but now it's fine.
Comment 13 Barry Jackson 2012-03-25 12:43:44 CEST
A new net install today still has the same problem. (with udev-181-4.mga2 update)
Disabling kwin in systemsettings fixes it with no other side effects that I can find.

I think that unless a real fix for this is found we should disable kwin for KDE installs and add something to errata to warn that possible problems may be encountered using kwin with KDM and nouveau on some hardware.

There is no knowing how widespread this problem will be until release, so better to be safe IMHO.
Comment 14 Doug Laidlaw 2012-03-25 12:48:49 CEST
It was marked as a release-blocker: there will be no release until it is fixed.  But I won't interfere.
Comment 15 John Balcaen 2012-03-25 16:16:20 CEST
(In reply to comment #13)
> A new net install today still has the same problem. (with udev-181-4.mga2
> update)
> Disabling kwin in systemsettings fixes it with no other side effects that I can
> find.
> 
> I think that unless a real fix for this is found we should disable kwin for KDE
> installs and add something to errata to warn that possible problems may be
> encountered using kwin with KDM and nouveau on some hardware.
> 
> There is no knowing how widespread this problem will be until release, so
> better to be safe IMHO.
I hope you're not serious when suggesting to disable kwin here nor that you expect to run KDE without a windows manager.
You should here open a bug upstream (aka KDE) with some traces to help kwin maintainer to narrow the bug.
If the bug only occurs when using kdm/systemd combo and not with gdm/systemd or kdm/sysvinit than it's probably yet another acl problem and we need colin's help here.
Anne Nicolas 2012-04-02 15:58:39 CEST

CC: (none) => ennael1, mageia

Comment 16 Colin Guthrie 2012-04-02 17:24:19 CEST
I know sander was looking into kwin issues last night.

Not sure I can specifically help at this stage, but I doubt it's an ACL issue specifically - that doesn't generally seem to be an issue under kdm, tho' it is very strange that using GDM seems to help.

Perhaps this is magically fixed now with latest systemd+kdm? Worth trying but I wouldn't hold out too much hope!
Comment 17 Barry Jackson 2012-04-20 01:58:45 CEST
This also affects the mga2 beta3 LIVE KDE CD.

Boot looks fine until the KDE tools icons are appearing across the bottom of the splash screen and then the screen goes black with just a working mouse cursor.

Logging in as root on tty2, followed by
pkill kwin
brings up a slightly broken (window top bars missing) system on tty1.
If "enable desktop effects" is unchecked in systemsettings and 
systemctl restart dm.service 
is run from tty2 then a working system is available on tty1. (window top bars no longer missing).
Comment 18 Luc Menut 2012-04-22 12:16:18 CEST
(In reply to comment #17)
> 
> Logging in as root on tty2, followed by
> pkill kwin
> brings up a slightly broken (window top bars missing) system on tty1.

Of course, kwin is the kde window manager. If you kill it, you lost the title bar and window decorations.

> If "enable desktop effects" is unchecked in systemsettings and 
> systemctl restart dm.service 
> is run from tty2 then a working system is available on tty1. (window top bars
> no longer missing).

This bug is hardware specific, but it seems to affect only a few users.

Kwin doesn't work correctly with desktop effects for your video card with the current video card driver.

Probably, you should be able to disable desktop effects at runtime when the screen goes black by Alt+Maj+F12, and then you will be able to definitively disable them in systemsettings.

You seem to have 2 systems affected by this bug; do they use the same video card?


(In reply to comment #8)
> The system I am using now (beta2 full KDE install) had the same issue, however
> after switching the graphics driver from the default nouveau to vesa and then
> back to nouveau, it now works and boots fine.
> 

Here, it seems that the installer doesn't have correctly install the driver or the xorg config for this system. Does this system now works correctly?
Comment 19 Angelo Naselli 2012-04-25 22:59:15 CEST
Silly question, have you tried a gnome install instead? So we can see if a kde only problem or anything else.

CC: (none) => anaselli

Comment 20 Barry Jackson 2012-04-25 23:06:23 CEST
(In reply to comment #19)
> Silly question, have you tried a gnome install instead? So we can see if a kde
> only problem or anything else.

I did a Gnome net install a couple of days ago and didn't see this problem.
Comment 21 Doug Laidlaw 2012-04-26 15:53:51 CEST
I am not experiencing this bug, so I will drop off the list for it.
Doug Laidlaw 2012-04-26 15:54:15 CEST

CC: laidlaws => (none)

Comment 22 Luc Menut 2012-05-01 10:23:33 CEST
Could you please reply to the questions in comment 18?

Does the workaround with Alt+Maj+F12 work?

same video card on the 2 systems?

One system seems to work after switching to vesa, then return to nouveau. Is it working correctly after this?

Keywords: (none) => NEEDINFO

Comment 23 Barry Jackson 2012-05-01 11:24:20 CEST
Sorry Luc I have been busy.

Using Alt/Shift/F12 does immediately clear problem. That's very handy ;)

All systems are on the same physical hardware - just different partitions.

The system that I am using now does continue to work (in my user only) when I switch to kwin effects - this is the one that first encountered the problem.

IIRC I switched to vesa and then back to nouveau, I also tried nv which worked, but has horrible text rendering issues.
Comment 24 Barry Jackson 2012-05-01 21:40:30 CEST
Adding to the above I can boot fully into my current Cauldron with kwin enabled, on just this one installation (the first one that had video drivers switched about). 
It only works in *my* user, not Xguest or my "Joe Bloggs" second user.

I wish I could think where to look for the difference.
Comment 25 Colin Guthrie 2012-05-01 22:03:45 CEST
What groups is your user in? Perhaps you have a logind/consolekit configuration problem?
Comment 26 Barry Jackson 2012-05-01 22:21:06 CEST
Hi Colin,
Nothing special - baz is in baz - nothing else.
Likewise with Joe and xguest, just in their own default groups.

Barry
Comment 27 Luc Menut 2012-05-01 23:30:41 CEST
(In reply to comment #23)
> Sorry Luc I have been busy.

no problem

> 
> Using Alt/Shift/F12 does immediately clear problem. That's very handy ;)

Well, at least we have an easy workaround. I will add it in errata.

>  
> All systems are on the same physical hardware - just different partitions.
> 

OK

Last week (mageia-kde4-config-2-0.20120422.1), I slightly modified the default kwin config (global kwinrc). The change can't fix the config for existing users, but could help for new account.
Could you try to create a new user and see if the change help in your case?
Comment 28 Barry Jackson 2012-05-02 00:25:37 CEST
(In reply to comment #27)
> 
> Last week (mageia-kde4-config-2-0.20120422.1), I slightly modified the default
> kwin config (global kwinrc). The change can't fix the config for existing
> users, but could help for new account.
> Could you try to create a new user and see if the change help in your case?

No change :(

I fully updated the system and added new user.

I can still boot into baz with kwin enabled, but not into fred (he's the new user)

I also fully updated another installation (via chroot) and have yet to boot into it and add a new user - will report back.
Comment 29 Guillaume Rousse 2012-05-02 22:39:28 CEST
Lowering to 'high' priority.

Priority: release_blocker => Low
CC: (none) => guillomovitch

Manuel Hiebel 2012-05-02 22:44:25 CEST

Priority: Low => High

Comment 30 Marja Van Waes 2012-05-26 13:08:40 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja
Comment 31 Barry Jackson 2012-06-10 10:59:49 CEST
Yes - flagged for mga2 too.
Reduced priority since workaround is acceptable and it only seems to affect old hardware.

Keywords: NEEDINFO => (none)
Priority: High => Normal
Whiteboard: (none) => MGA2TOO
Severity: critical => normal

Guillaume Rousse 2012-06-10 14:08:19 CEST

CC: guillomovitch => (none)

Comment 32 Barry Jackson 2012-08-20 21:17:37 CEST
Closing as fixed since no one else is experiencing this and my affected hardware has died and been replaced.

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.