Bug 25002

Summary: [RC410] detects AGP on a PCIE card
Product: xorg Reporter: Tormod Volden <bugzi11.fdo.tormod>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: apparle
Version: unspecified   
Hardware: Other   
OS: All   
URL: https://bugs.launchpad.net/bugs/475466
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg.0.log without xorg.conf none

Description Tormod Volden 2009-11-09 10:51:38 UTC
Created attachment 31071 [details]
Xorg.0.log without xorg.conf

Forwarded from Ubuntu https://bugs.launchpad.net/bugs/475466

(--) PCI:*(0:1:5:0) 1002:5a61:105b:0c81 ATI Technologies Inc RC410 [Radeon Xpress 200] rev 0, Mem @ 0xd0000000/268435456, 0xfdef0000/65536, I/O @ 0x0000ee00/256, BIOS @ 0x????????/131072

The user previously had to force PCI mode in order to have this card work. With http://cgit.freedesktop.org/xorg/driver/xf86-video-ati/commit/?id=57f2c83a22f27567506c555af431f89e6031204c the card will instead be forced to PCIE in this case.

The logic to treat PCIE IGP cards as PCI will not apply since it is before the option parsing.

The Windows driver detects this card as "AGP 8x@PCI".
Comment 1 Alex Deucher 2009-11-09 11:58:14 UTC
The BusType option is a bit confusing.  It should really be called GARTType and only have two options, "Internal" (GPU handles GART) or "AGP" (AGP chipset handles GART).  RS4xx (including rc410) and newer IGP chips only support one type of GART which is automatically selected.  Specifying the BusType option on IGP chips will only break things.
Comment 2 Alex Deucher 2009-11-09 12:12:05 UTC
Looks like that card is reporting as AGP however.  Fixed now in git:
0ee7763fb33bf7fbc4ae1e8372cbc74578bfb720
In the future, please report cases where you have to force non-standard options sooner so they can be fixed appropriately.
Comment 3 Tormod Volden 2009-11-09 13:53:25 UTC
Thanks for the quick fix. Maybe I was not clear enough in my summary of the bug, although the title was pretty on-topic. I just added the discussion of the option handling to explain why this came up now.

Unfortunately it seems many radeon users use a bunch of options where often most of them are not needed, and they are copy and paste from some random posting on the internet. And they often settle with their options once they get it work, like in this case, instead of filing a bug report to get it work out of the box.

Maybe we could stress this more in the documentation, but the same people often do not read it :)
Comment 4 Apoorv Parle 2009-11-10 12:35:25 UTC
I only used to add BusType to xorg.conf, after reading the documentation :)

Actually it never crossed my mind that, that this could be a bug, until now when that addition of that BusType also stopped working in Karmic.

Now the card is functioning properly without any workaround or special settings
Thanks guys for such a prompt fix :D
Comment 5 Tormod Volden 2009-11-10 13:09:45 UTC
Apoorv, there used to be a number of xorg.conf tweaks needed, but the goal is to have every card run out of the box without any xorg.conf.

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.