Bug 43127 - driver video-ati 6.14.99 and xserver 1.11.99.1: no lightdm login screen (only a black screen)
Summary: driver video-ati 6.14.99 and xserver 1.11.99.1: no lightdm login screen (onl...
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/Input/Core (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 21:04 UTC by Jos van Wolput
Modified: 2011-12-21 20:57 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log, no login screen (39.63 KB, patch)
2011-11-20 21:04 UTC, Jos van Wolput
no flags Details | Splinter Review
lightdm.log (6.12 KB, text/plain)
2011-11-22 23:44 UTC, Jos van Wolput
no flags Details
xsession-errors (26.29 KB, application/octet-stream)
2011-11-22 23:47 UTC, Jos van Wolput
no flags Details
xsession-errors (26.29 KB, text/plain)
2011-11-23 00:08 UTC, Jos van Wolput
no flags Details
lightdm-greeter.log (21.38 KB, text/plain)
2011-12-09 07:33 UTC, Jos van Wolput
no flags Details

Description Jos van Wolput 2011-11-20 21:04:33 UTC
Created attachment 53731 [details] [review]
Xorg.0.log, no login screen

When using xserver git version (or v.1.11.99.1) with lightdm I don't get the login screen, only a black screen. Using autologin the X session is started,
though some apps freeze the screen.
No such issue using xserver v.1.11.2.
Comment 1 Jos van Wolput 2011-11-20 22:21:24 UTC
This issue occurs using xf86-video-ati git version 6.14.99
Comment 2 Alex Deucher 2011-11-21 06:27:30 UTC
Is this a regression?  If so, what was the last working version?  Did you also update your kernel and/or mesa?
Comment 3 Jos van Wolput 2011-11-21 23:57:26 UTC
(In reply to comment #2)
> Is this a regression?  If so, what was the last working version?  Did you also
> update your kernel and/or mesa?

It doesn't seem to be a problem of xf86-video-ati, rather a regression of xserver
since the issue only depends on the version of xserver and not on that of xf86-video-ati.

I did bisect xserver, using the latest git version of xf86-video-ati.

The latest working version is xserver-57cd32..., 2011-10-03, xfree86/modes: Make cursor position transform a helper function, Aaron Plattner.
The bug seems to be in 	xserver-f5d50b4..., 2011-10-03, Merge remote-tracking branch 'whot/next', Keith Packard.

I am using Linux 3.1.0-1.dmz.2-liquorix-amd64 and git versions of drm, libX11, mesa, xserver, xf86-video-ati and xf86-input evdev, all of which I regularly update!
Comment 4 Alex Deucher 2011-11-22 06:48:55 UTC
Did you rebuild xf86-video-ati against your new xserver?
Comment 5 Jos van Wolput 2011-11-22 07:06:30 UTC
(In reply to comment #4)
> Did you rebuild xf86-video-ati against your new xserver?

Sure I did! After make distclean.
The last thing I tomorrow try is make distclean and rebuild everyting,
unless you have another suggestion.
Comment 6 Alex Deucher 2011-11-22 07:36:02 UTC
(In reply to comment #5)
> Sure I did! After make distclean.
> The last thing I tomorrow try is make distclean and rebuild everyting,
> unless you have another suggestion.

Can you finish the xserver bisect?
Comment 7 Jos van Wolput 2011-11-22 23:44:49 UTC
Created attachment 53790 [details]
lightdm.log
Comment 8 Jos van Wolput 2011-11-22 23:47:33 UTC
Created attachment 53791 [details]
xsession-errors
Comment 9 Jos van Wolput 2011-11-23 00:02:35 UTC
(In reply to comment #6)
> Can you finish the xserver bisect?

I am sorry I don't understand what you mean! Maybe using gdb?
I didn't use gdb to find the xserver where this issue starts happening.
I don't know how to debug xserver with gdb.

Please have a look at the attached lightdm.log which I get using xserver-f5d50b4... (and any of the followings)
lightdm-gtk-greeter gets terminated with signal 6 and the xsever gets signal 15.

Recompiling the git versions of drm, libX11, mesa, xserver, xf86-video-ati and xf86-input evdev didn't solve this issue.

The version of lightdm I am using is 1.0.6-2 from Debian Sid but the same issue
also occurs with previous versions.
Comment 10 Jos van Wolput 2011-11-23 00:08:21 UTC
Created attachment 53792 [details]
xsession-errors
Comment 11 Jos van Wolput 2011-11-23 00:37:34 UTC
This issue also occurs when using driver r600g instead of ati in xorg.conf
Comment 12 Alex Deucher 2011-11-23 06:46:42 UTC
(In reply to comment #9)
> (In reply to comment #6)
> > Can you finish the xserver bisect?
> 
> I am sorry I don't understand what you mean! Maybe using gdb?

Sorry, it wasn't clear to me from comment 3 whether you actually ran a full git bisect or if you were just guessing that f5d50b4 was the problem.
Comment 13 Jos van Wolput 2011-11-23 17:12:39 UTC
(In reply to comment #12)
>
> Sorry, it wasn't clear to me from comment 3 whether you actually ran a full git
> bisect or if you were just guessing that f5d50b4 was the problem.

To make things clear: I did a full git bisect, not just guessing.
It looks like merging "remote-tracking branch 'whot/next'" wasn't a good idea!
Comment 14 Jos van Wolput 2011-12-08 03:35:38 UTC
I tried kdm 4.7.2-1 from debian.
This issue doesn't occur with kdm login.
Comment 15 Jos van Wolput 2011-12-09 04:38:23 UTC
gdm3 (v.3.0.4-4) shows the same issue (black screen),
The notification-daemon (v. 0.7.3-1) doesn't work.
No such problems when using xserver versions prior to f5d50b4
Comment 16 Alex Deucher 2011-12-09 06:04:38 UTC
Maybe Peter has some ideas.
Comment 17 Jos van Wolput 2011-12-09 07:33:04 UTC
Created attachment 54275 [details]
lightdm-greeter.log

This is the lightdm greeter.log when getting a black screen.
Comment 18 Jos van Wolput 2011-12-09 07:40:23 UTC
The notification-daemon shows a similar error in the xsession-errors:

*** glibc detected *** /usr/lib/notification-daemon/notification-daemon: malloc(): memory corruption: 0x0000000000779540 ***
======= Backtrace: =========
Comment 19 Michel Dänzer 2011-12-15 10:31:41 UTC
I ran into a similar issue and was able to work around it using a Git snapshot of libXi. Apparently the new xserver code is doing something the released libXi can't deal with.
Comment 20 Peter Hutterer 2011-12-15 13:53:55 UTC
I've just released libXi 1.4.4 with the two patches that most likely triggered this. Please update and try again, thanks.
Comment 21 Jos van Wolput 2011-12-15 18:48:26 UTC
(In reply to comment #20)
> I've just released libXi 1.4.4 with the two patches that most likely triggered
> this. Please update and try again, thanks.

libXi 1.4.4 fixes this issue. Thanks!
The bug can be closed.
Comment 22 Jos van Wolput 2011-12-16 03:01:38 UTC
I reopen this bug because libXi 1.4.4 doesn't seem to fix all issues:
I still get a frozen screen when trying to run a 3D wine app 'dream aquarium'
using xserver-f5d50b4 or any newer git version.
No frozen screen when using xserver-57cd32 or any previous version.
Comment 23 Jos van Wolput 2011-12-21 20:57:20 UTC
Concerning the issue with 3D wine apps, I filed a new bug (44038) since this seems to be another problem.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.