Bug 14050 - Blank GDM screen with ATI R420 [X800XT PE] and xserver-xorg-video-ati
Summary: Blank GDM screen with ATI R420 [X800XT PE] and xserver-xorg-video-ati
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.3 (2007.09)
Hardware: Other All
: medium minor
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL: https://bugs.edge.launchpad.net/ubunt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 03:48 UTC by Cesare Tirabassi
Modified: 2008-12-03 01:11 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log file (73.24 KB, text/plain)
2008-01-13 03:48 UTC, Cesare Tirabassi
no flags Details
xorg.conf (2.40 KB, text/plain)
2008-01-14 02:48 UTC, Cesare Tirabassi
no flags Details
This is the Xorg.0.log using startx (50.40 KB, text/plain)
2008-01-15 08:47 UTC, Cesare Tirabassi
no flags Details

Description Cesare Tirabassi 2008-01-13 03:48:42 UTC
Created attachment 13688 [details]
Xorg.0.log file

Hi there, 

This bug has been reported to Ubuntu (see link above).
Post boot, the gdm screen is blank but gdm is running and login can be blindly made. After login, the screen resumes normally.
Attempts to run xrandr during login by alternate login to a console fails with the message "no display found!".
In the attached log file, this can be seen by the AUDIT: line (line 1116), so, if any releveant log message can help they should be locate in that area of the log file (where the VT switch is also logged)

Let me know if I can help in any way.

Driver version is 6.7.197.
Comment 1 Alex Deucher 2008-01-13 07:47:37 UTC
(II) RADEON(0): Output VGA-0 using monitor section Generic Monitor
...
(II) RADEON(0): Output VGA-0 using initial mode 1600x1024

Looks like it's trying to use 1600x1024 on startup for some reason.  Can you attach your xorg config?  perhaps you have a strange mode or sync range set in your monitor section?  Does startx (as opposed to gdm) work ok?  gnome/gdm sometimes saves previously set user modes.
Comment 2 Cesare Tirabassi 2008-01-14 02:47:22 UTC
Hi Alex,

thanks for stepping on this.
I'm attaching my xorg.conf, but its a pretty standard one and I have been using it  since 1 year without a problem.
Removing it and using autodetection is the same.
Note as well that neither the vesa driver nor the fglrx one have this problem, also the previous driver was ok (6.6.3).
Starting with startx is obvioulsy ok as it bypasses gdm (as I said, the problem is only with gdm).
Comment 3 Cesare Tirabassi 2008-01-14 02:48:42 UTC
Created attachment 13707 [details]
xorg.conf
Comment 4 Alex Deucher 2008-01-14 07:02:53 UTC
(In reply to comment #2)
> Note as well that neither the vesa driver nor the fglrx one have this problem,
> also the previous driver was ok (6.6.3).
> Starting with startx is obvioulsy ok as it bypasses gdm (as I said, the problem
> is only with gdm).
> 

hmmm, if startx works ok, I think this may be an issue with gdm rather than the radeon driver.  Does it help if you remove these two lines from your config:

	HorizSync	30-92
	VertRefresh	50-160

Comment 5 Cesare Tirabassi 2008-01-14 12:03:36 UTC
>Does it help if you remove these two lines from your config:
>
>       HorizSync       30-92
>       VertRefresh     50-160

As I said, even removing the whole xorg.conf doesn't help (note that I'm not getting an out-of-sync message).

>an issue with gdm rather than the radeon driver

I doubt it, since, as I said, everything is ok with vesa, fgrlx and the old driver.
Comment 6 Alex Deucher 2008-01-14 12:26:00 UTC
(In reply to comment #5)
> >an issue with gdm rather than the radeon driver
> 
> I doubt it, since, as I said, everything is ok with vesa, fgrlx and the old
> driver.
> 

neither vesa, nor fglrx, nor the old radeon driver are randr 1.2 capable drivers.  I think gdm is doing the wrong thing in this case.
Comment 7 Michel Dänzer 2008-01-15 00:23:48 UTC
(In reply to comment #6)
> I think gdm is doing the wrong thing in this case.

I didn't think gdm actively influenced the video mode at all though. It certainly doesn't seem to here. It's possible Ubuntu have modified gdm or its configuration to change this though, Cesare can you clarify this downstream?
Comment 8 Loïc Minier 2008-01-15 02:57:54 UTC
Hi,

You say startx works, but does it work when gdm is still running?  Or do you run stop gdm, then run startx?

Can you attach your gdm configuration files?

Older GNOME releases do some modesetting when launching the gnome-settings-daemon based on the value of GConf keys; if you:
gconftool-2 --recursive-unset /desktop/gnome/screen/default/0
gconftool-2 --recursive-unset /desktop/gnome/screen/default
gconftool-2 --recursive-unset /desktop/gnome/screen

and run a recent GNOME, it will simply rely on Xorg and not touch the settings.

I suppose this explains why blind login helps; after the unsets, your screen wont be restored after a blind login.

This doesn't explain what gdm does differently, but perhaps it's simply that you run startx when gdm is still running on another VT?
Comment 9 Alex Deucher 2008-01-15 07:33:48 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > I think gdm is doing the wrong thing in this case.
> 
> I didn't think gdm actively influenced the video mode at all though. It
> certainly doesn't seem to here. It's possible Ubuntu have modified gdm or its
> configuration to change this though, Cesare can you clarify this downstream?
> 

I didn't think so either, but I can't explain why that weird mode gets picked only when gdm is active and not when you just run startx.  Plus I've seen cases where gnome-session saves old modes which have caused problems when users switch monitors and what-not.

Cesare, can you attach a log from startx as opposed to gdm?
Comment 10 Cesare Tirabassi 2008-01-15 08:04:15 UTC
> It's possible Ubuntu have modified gdm or its configuration to change
> this though, Cesare can you clarify this downstream?

In between Debian and us we have a quite large number of mods. I scanned them briefly and I see some are related to display configuration, loic (nice to see you here too :-)) would certainly know.

> This doesn't explain what gdm does differently, but perhaps it's simply
> that you run startx when gdm is still running on another VT?

That's right. I also wanted to check what happens by stopping gdm and then running startx but ....

>gconftool-2 --recursive-unset /desktop/gnome/screen/default/0
>gconftool-2 --recursive-unset /desktop/gnome/screen/default
>gconftool-2 --recursive-unset /desktop/gnome/screen

deleting this key (too bad i didn't back-it up before) now also leads to Gnome with a blank screen. If anyone has any idea on how I could restore it I could continue with some more testing.
Comment 11 Alex Deucher 2008-01-15 08:09:32 UTC
(In reply to comment #10)
> deleting this key (too bad i didn't back-it up before) now also leads to Gnome
> with a blank screen. If anyone has any idea on how I could restore it I could
> continue with some more testing.
> 

Does deleting that key also break startx?

you can specify a preferred mode in your monitor section:

Option "PreferredMode"  "1280x1024"
Comment 12 Cesare Tirabassi 2008-01-15 08:40:42 UTC
>Does deleting that key also break startx?

Yes.

>you can specify a preferred mode in your monitor section

Adding Option "PreferredMode"  "1280x1024" in xorg.conf makes everything work as it should: startx, gdm and Gnome.
Comment 13 Cesare Tirabassi 2008-01-15 08:47:15 UTC
Created attachment 13730 [details]
This is the Xorg.0.log using startx
Comment 14 Alex Deucher 2008-01-15 09:04:43 UTC
Very strange.  I think since the edid does not specify a preferred mode the xserver is picking some strange mode that it thinks is optimal within the bounds of h/v sync ranges.  We should probably add some logic to the xserver to default to the first detailed timing block if no preferred mode is specified or perhaps a quirk for this monitor.  The edid claims to be 1.2 but it is not conformant.  
Comment 15 Alex Deucher 2008-12-03 01:11:57 UTC
this should be fixed in xserver 1.5 and newer.


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.