[ES1000] Graphical installer fails to start on an HP dl380g5

Bug #304588 reported by Bryan Stillwell
2
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: xserver-xorg-video-ati

When attempting an install of Intrepid Ibex (8.10) using the amd64 desktop install CD on an HP dl380g5, the installer goes through the ping-pong stage, then the progress bar loads completely, then nothing is displayed. I've gone back and tried the Hardy Heron (8.04.1) amd64 desktop install CD and it works fine, so this is a regression.

I'll be attaching the Xorg.0.log files from both intrepid and hardy to this bug. Also, I can boot the Intrepid installer using the safe graphics mode and that works for an install.

The md5sums of the install images I used are:

b78ef719e3361e726b89bab78c526ad0 ubuntu-8.04.1-desktop-amd64.iso
f9cdb7e9ad85263dde17f8fc81a6305b ubuntu-8.10-desktop-amd64.iso

I've verified that both burns were successful by running `md5sum /dev/cdrom` on the physical media in a different machine.

01:03.0 VGA compatible controller [0300]: ATI Technologies Inc ES1000 [1002:515e] (rev 02)
 Subsystem: Hewlett-Packard Company Device [103c:31fb]

Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :
Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :
Revision history for this message
Bryce Harrington (bryce) wrote :

Could you please also attach the output of `lspci -vvnn`?

Changed in xserver-xorg-video-ati:
status: New → Incomplete
Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :
Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
importance: Undecided → High
status: Incomplete → Triaged
Revision history for this message
In , Bryce Harrington (bryce) wrote :

Forwarding this bug from a Ubuntu reporter:
https://bugs.edge.launchpad.net/ubuntu/+source/xserver-xorg-video-ati/+bug/304588

[Problem]
When starting up X, nothing is displayed to the screen in Intrepid (-ati 6.8.0, xserver 1.5.2); with Hardy (-ati 6.9.0; xserver 1.4.0.90) it had been working properly.

[Discussion]
Comparing the Xorg.0.log's from Hardy and Intrepid, there are some slight differences in how the modelines are generated, and also a message about "Indeterminate output size" but nothing screaming out "error".

This difference does look curious, but I'm not sure what it means:
 (II) RADEON(0): Port1:
  Monitor -- AUTO
  Connector -- VGA
- DAC Type -- Primary
+ DAC Type -- TVDAC/ExtDAC
  TMDS Type -- None
  DDC Type -- 0x6c

[lspci]
01:03.0 VGA compatible controller [0300]: ATI Technologies Inc ES1000 [1002:515e] (rev 02)
 Subsystem: Hewlett-Packard Company Device [103c:31fb]

[Original Report]
When attempting an install of Intrepid Ibex (8.10) using the amd64 desktop install CD on an HP dl380g5, the installer goes through the ping-pong stage, then the progress bar loads completely, then nothing is displayed. I've gone back and tried the Hardy Heron (8.04.1) amd64 desktop install CD and it works fine, so this is a regression.

I'll be attaching the Xorg.0.log files from both intrepid and hardy to this bug. Also, I can boot the Intrepid installer using the safe graphics mode and that works for an install.

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=21787)
Xorg.0.log from hardy (boots successfully)

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created an attachment (id=21788)
Xorg.0.log from intrepid (fails boot)

Revision history for this message
In , cooper (cooper-yuan) wrote :

Created an attachment (id=21790)
patch for hp

please try this patch. maybe you should apply it according to your local code base.

Revision history for this message
In , agd5f (agd5f) wrote :

This is an xserver bug. In the case of the es1000 there is one crtc, however, two outputs are connected, and in theory both can be driven with the same crtc. However, in some cases no crtc gets assigned to one of the outputs even though both monitors have at least one common mode. Since there is no crtc, the driver call to enable to second output never happens. Anyway I think the proper fix is to figure out why the xserver fails to assign a crtc to the second output (in xf86PickCrtcs() and xf86InitialConfiguration() in xf86Crtc.c). Unfortunately, I can't seem to reproduce this at the moment on any xserver (I did last time I looked into this, but now it seems to work...).

In the log, you should see:
restore common
restore crtc1
restore pll1
finished PLL1
restore dac
restore dac
"restore dac" should appear twice, once for each dac.

It worked previously since the driver used to ignore the tvdac on es1000 cards. As such it was left on from the bios since the driver didn't touch it.

Revision history for this message
In , agd5f (agd5f) wrote :

Created an attachment (id=21800)
possible patch

Actually something like this might work.

Bryce Harrington (bryce)
description: updated
Revision history for this message
Bryce Harrington (bryce) wrote :

Hi Bryan,

I've forwarded your bug report upstream to http://bugs.freedesktop.org/show_bug.cgi?id=19457 - could you please subscribe to that bug report in case upstream needs further info or wishes you to test something? Thanks ahead of time!

Revision history for this message
Bryce Harrington (bryce) wrote :

[Upstream indicates this to be an xserver bug rather than -ati specifically.]

Revision history for this message
In , Bryan Stillwell (bryan-stillwell) wrote :

Adding myself to the CC list since I was the original reporter of this problem. I'm hoping to test the patches from Alex and cooper this week to see if they resolve this problem.

Thanks,
Bryan

Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Bryan Stillwell (bryan-stillwell) wrote :

(In reply to comment #5)
> Created an attachment (id=21800) [details]
> possible patch
>
> Actually something like this might work.

I tested this on the installed system and it fixes the problem. Thanks!

Bryan

Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

Alex's patch from freedesktop's bz#19457 fixes this problem and is needed in both intrepid and jaunty. I've successfully tested the patch against 6.9.0+git20081003.f9826a56-0ubuntu2.1 and 6.10.0-1ubuntu1.

Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Looks like it was a driver bug after all, and fixed in 6.11.

Changed in xorg-server:
status: Triaged → Fix Released
Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

Timo,

Any chance this patch can be included in Jaunty before release? I just tried alpha 5 and ran into this problem again.

Thanks,
Bryan

Revision history for this message
In , Bryce Harrington (bryce) wrote :

We've uploaded this patch to Ubuntu for Jaunty. Hopefully this will be included in 6.12?

Revision history for this message
Bryce Harrington (bryce) wrote :

Actually it looks like the patch was not included in 6.11.0.

Changed in xserver-xorg-video-ati:
status: Fix Released → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xserver-xorg-video-ati - 1:6.11.0-1ubuntu4

---------------
xserver-xorg-video-ati (1:6.11.0-1ubuntu4) jaunty; urgency=low

  * Add 107_fix_cloning_on_rn50_cards.patch: Fixes up cloning behavior on
    rn50 cards, to solve regression from Hardy where nothing is displayed
    on screen at boot.
    (LP: #304588)

 -- Bryce Harrington <email address hidden> Tue, 03 Mar 2009 18:59:42 -0800

Changed in xserver-xorg-video-ati:
status: In Progress → Fix Released
Revision history for this message
Jerone Young (jerone) wrote :

@Bryan
      Bryce has fixed and uplaoaded a new version for jaunty. Can you test it to ensure it works? Should be in the repository tomorrow for you to update.

Revision history for this message
In , agd5f (agd5f) wrote :

pushed b1fd883b59b85fed8782e035890098908902f4ce

Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

Jerone,

Still waiting on a daily ISO build that contains 1:6.11.0-1ubuntu4. I downloaded the image below and it still has the 1:6.11.0-1ubuntu2 release:

http://cdimage.ubuntu.com/kubuntu/daily-live/20090305/jaunty-desktop-i386.iso

Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

I tried building the 1:6.11.0-1ubuntu4 release from the live part of the CD and it appears like a patch isn't applying cleanly:

Applying patch 106_quirk_vaio.patch
patching file src/radeon_dri.c
Hunk #1 FAILED at 744.
1 out of 1 hunk FAILED -- rejects in file src/radeon_dri.c
Restoring src/radeon_dri.c
Patch 106_quirk_vaio.patch does not apply (enforce with -f)
Restoring src/radeon_dri.c
failed! (check stampdir/log/patch for details)
make: *** [stampdir/patch] Error 1

Revision history for this message
Jerone Young (jerone) wrote :

Bryan there is now 1:6.11.0-1ubuntu5 as of March 8th. When you get a chance can you try a Live CD build and see if everything works now. Sorry that -1ubuntu4 had those issues. -1ubuntu5 is building fine and in the lastest builds.

Your help has been very appreciated sorting out this issue. Could you try it out and let us know if it's fixed?

Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

The 20090309 kubuntu live CD still has the 1:6.11.0-1ubuntu2 version of xserver-xorg-video-ati and hence it's still broken.

Revision history for this message
Jerone Young (jerone) wrote :

@Bryan
Hmm.. try out an Ubuntu live CD build it is up to 1:6.11.0-1ubuntu5 <-- note the ubunt5. Not sure why kubuntu is behind though.

Or you could try an update then log in and log out. But the version currently in the repositories is xserver-xorg-video-ati 1:6.11.0-1ubuntu5 .. that would have the fix.

Changed in xserver-xorg-video-ati:
status: Fix Released → Confirmed
Revision history for this message
Bryan Stillwell (bryan-stillwell) wrote :

This works great with the 20090309 Ubuntu/amd64 desktop install CD. Thanks!

Jerone Young (jerone)
Changed in xserver-xorg-video-ati:
status: Confirmed → Fix Released
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
Changed in xserver-xorg-driver-ati:
importance: Medium → Unknown
Changed in xserver-xorg-driver-ati:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.