Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250) - needs backport of newer -ati

Bug #211759 reported by hoobasco
42
This bug affects 2 people
Affects Status Importance Assigned to Milestone
xserver-xorg-driver-ati
Fix Released
Medium
xserver-xorg-video-ati (Ubuntu)
Fix Released
High
Unassigned
Intrepid
Fix Released
High
Unassigned

Bug Description

The live CD of versions
* 7.10
* 8.04
will fail to start X server on laptops using the on-board graphic card ATI XPRESS 1250.

needs backport of newer -ati.
The problem is fixed in intrepid

Revision history for this message
Antoine Pairet (b-ly) wrote : Re: Ubuntu 7.1 Live-CD boots to black screen (ATI Xpress 1250)

This bug affects every laptop equipped with a radeon X1250.

To function properly, these card needs one of the following driver:
* newer ati driver than the one provided by Hardy
* radeonhd driver which is not avalaible with livecd

If one boots with Hardy LiveCD, X will fail to start, installing radeonhd and editing xorg.conf than restarting gdm "solves" the problem. However, this can't be done by everyone!

Revision history for this message
Antoine Pairet (b-ly) wrote :
Revision history for this message
Antoine Pairet (b-ly) wrote :
Revision history for this message
Antoine Pairet (b-ly) wrote :
Revision history for this message
Antoine Pairet (b-ly) wrote :
Revision history for this message
Antoine Pairet (b-ly) wrote :

Of course, the card also work with the fglrx

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

PCI ID 1002:7942 "ATI Xpress 1250" is not listed in ati_pciids_gen.h, so users with this motherboard must use the -radeonhd or -fglrx driver.

Is it as simple as adding the pci id to this file, or is additional work required to support it?

http://launchpadlibrarian.net/13577403/Xorg.0.log.old
http://launchpadlibrarian.net/13577413/dmesg.log
http://launchpadlibrarian.net/13577420/lspci.log

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

Created an attachment (id=16493)
Add pci id support for xpress 1250

I don't know if more is required than to just add the pci id, but here's a go at that.

Antoine Pairet (b-ly)
Changed in xserver-xorg-video-ati:
assignee: nobody → canonical-xorg
Antoine Pairet (b-ly)
description: updated
Revision history for this message
In , agd5f (agd5f) wrote :

Created an attachment (id=16494)
possible patch

It'll need more than just ids. The memory controller has changed substantially. Does this patch work?

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250)

Obviously it's too late to do anything about this for 7.10 or 8.04, but this should be high priority to fix for Intrepid.

Changed in xserver-xorg-video-ati:
importance: Undecided → Critical
milestone: none → intrepid-alpha-3
status: Confirmed → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

There is a 6.8.0 version of the -ati driver available now in Intrepid. Could you please test against Intrepid when you get a chance?

Changed in xserver-xorg-video-ati:
status: Triaged → Incomplete
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hardy has 6.8.0 as well, which should support X1250. Although, the driver doesn't seem to list 1002,7942 as supported pci-id, so maybe that's the problem here?

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

git version of -ati does not have 1002:7942 listed while radeonhd does.

Bryce Harrington (bryce)
Changed in xserver-xorg-video-ati:
importance: Critical → High
Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Hi,
I have a X1250 and like to test Alex's patch, can someone explain me how to apply this patch (Ubuntu Hardy Heron).
Thanks in adavance,

Revision history for this message
Bryce Harrington (bryce) wrote : Re: Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250)

Is it as simple as adding the pci id to the respective files?

Changed in xserver-xorg-driver-ati:
status: Unknown → Confirmed
Revision history for this message
In , Bryce Harrington (bryce) wrote :

@Antoine, you'll need to build the -ati driver from git and apply the patch.

Alex, any chance of a patch that applies against 6.8.0? Looks like the code this one modifies has changed fairly substantially since 6.8.0 so maybe not, but if so it might be backportable to Hardy.

Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Hi,
I pulled the latest sources from git:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati

Then I applied the patch:
patch --verbose -uN < alex_deucher.diff

The patch applied succesfully (had to enter manually the path to the files to patch)
Then I edited my xorg.conf file and set the ati driver, then I restarted X and the computer crashed. I had to restart by pressing Ctrl+Alt+Delete.
In the Xorg.0.log:
(EE) RADEON(0): Timeout trying to update memory controller settings !
(EE) RADEON(0): You will probably crash now ...

I'll attach this log and my xorg.conf,
regards,
Antoine

Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Created an attachment (id=16503)
log using ati driver from git with Alex's patch applied

Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Created an attachment (id=16504)
xorg configuration file, using ati driver

Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Created an attachment (id=16505)
same as above, but with text/plain as myme type so it can be viewed without downloading

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

Created an attachment (id=16507)
alternate patch

Can you try this one? You'll want to apply with -p1:
patch -p1 -i rs600-2.diff

Revision history for this message
Antoine Pairet (b-ly) wrote : Re: Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250)

Hi,
I pulled the latest sources from git:
git-clone git://anongit.freedesktop.org/git/xorg/driver/xf86-video-ati

Then I applied the patch:
patch --verbose -uN < alex_deucher.diff

The patch applied succesfully (had to enter manually the path to the files to patch)
Then I edited my xorg.conf file and set the ati driver, then I restarted X and the computer crashed. I had to restart by pressing Ctrl+Alt+Delete.
In the Xorg.0.log:
(EE) RADEON(0): Timeout trying to update memory controller settings !
(EE) RADEON(0): You will probably crash now ...

I'll attach this log and my xorg.conf,
regards,
Antoine

ps: will also post this message on bugzilla at freedesktop.org

Revision history for this message
Antoine Pairet (b-ly) wrote :
Revision history for this message
In , Antoine Pairet (b-ly) wrote :

(In reply to comment #9)
> Created an attachment (id=16507) [details]
> alternate patch
>
> Can you try this one? You'll want to apply with -p1:
> patch -p1 -i rs600-2.diff
>

Great!
Thanks for the good job, Alex's second patch works. I'm now able to run the radeon driver.

The only error I see in Xorg.0.log is:
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
[dri] Disabling DRI.

Next step is to know whether it will possible to apply this patch to version 6.8.0 (Ubuntu Hardy's version)
If you need information like the .rej files when I try to apply the patch to the package's source from Hardy depot, feel free to ask!

regards,
Antoine

Revision history for this message
In , Antoine Pairet (b-ly) wrote :

Created an attachment (id=16510)
Xorg log when succesfully using radeon driver on X1250 chip

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

(In reply to comment #10)
> Great!
> Thanks for the good job, Alex's second patch works. I'm now able to run the
> radeon driver.
>

Excellent!

> The only error I see in Xorg.0.log is:
> (EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
> [dri] Disabling DRI.
>

The drm will need some work to support the RS600.

Revision history for this message
Antoine Pairet (b-ly) wrote : resolved with Alex Deucher's

The bug is resolved upstream. Alex Deucher wrote a patch that resolved the problem.
http://bugs.freedesktop.org/show_bug.cgi?id=15914

Now it would be great if the patch is applicable to version 6.8.0 of the driver so it could be backported to Hardy.
If you need information like .rej files when apllying the patch to Hardy's current version, feel free to ask,

Thanks for the great job you do,
regards,
Antoine

Antoine Pairet (b-ly)
description: updated
Changed in xserver-xorg-video-ati:
status: Incomplete → In Progress
Revision history for this message
In , agd5f (agd5f) wrote :

Committed: 71fa57f871dba03260dba2180ce1dab44048ac1a

Changed in xserver-xorg-driver-ati:
status: Confirmed → Fix Released
unggnu (unggnu)
Changed in xserver-xorg-video-ati:
assignee: canonical-xorg → bryceharrington
Revision history for this message
Bryce Harrington (bryce) wrote : Re: Live-CD (7.10, 8.04) fails to start X server (ATI Xpress 1250)

Unfortunately the patch does not apply to the 6.8.0 driver we have in Hardy.

I had a go at making it fit 6.8.0 this evening. Unfortunately some of the patch depends on code not present in 6.8.0 and that, if ported, wouldn't be viable to include in Hardy. (Indeed, the size of the patch even without the dependent code is beyond what would likely be acceptable by the SRU team.)

Instead, I think the better approach is to wait until the next release of the driver (6.8.1 or 6.9.0 or whatever) and then pull it in via hardy-backports.

Changed in xserver-xorg-video-ati:
assignee: bryceharrington → nobody
status: In Progress → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

xserver-xorg-video-ati 6.9.0 has been uploaded to Intrepid, so I'm considering this fixed for Intrepid.

Changed in xserver-xorg-video-ati:
status: Triaged → Fix Released
Revision history for this message
Antoine Pairet (b-ly) wrote :

I confirm this is fixed in Intrepid. I just tested the Daily Live CD and had no graphical problem.
Thanks,

Antoine Pairet (b-ly)
description: updated
description: updated
Revision history for this message
hoobasco (hbx) wrote :

I confirm also that 8.10 liveCD works with my Samsung R60 Aura without any problems. Great work, thank You very much for this fix. hr

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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