Bug 134592 - Bus/DomainID broken on PPC
Summary: Bus/DomainID broken on PPC
Status: RESOLVED DUPLICATE of bug 139477
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Alpha 3
Hardware: PowerPC Other
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Egbert Eich
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-20 20:06 UTC by peter czanik
Modified: 2006-02-18 08:55 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
/var/log/sax.log (28.61 KB, application/octet-stream)
2005-11-20 20:06 UTC, peter czanik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description peter czanik 2005-11-20 20:06:06 UTC
X does not start on Pegasos. Installation runs fine, but sax2 can't even start up. Logs are attached.
Comment 1 peter czanik 2005-11-20 20:06:37 UTC
Created attachment 57813 [details]
/var/log/sax.log
Comment 2 Stefan Dirsch 2005-11-21 11:04:17 UTC
        Card0     =>  DomainId   : 0x1
        Card0     =>  BusId      : 0x1
        Card0     =>  SlotId     : 0x08
        Card0     =>  FuncId     : 0x0

results in

        BusID        "PCI:1@1:8:0"

but 

(II) PCI: 01:08:0: chip 1002,5964 card 147b,6191 rev 01 class 03,00,00 hdr 80

IMHO this should be Domain 0 and not Domain 1. Could you please try

"PCI:1@0:8:0" in xorg.conf instead?


Comment 3 Stefan Dirsch 2005-11-21 11:05:17 UTC
And also attach the output of "lspci -n"? Thanks.
Comment 4 peter czanik 2005-11-21 16:39:13 UTC
czp:~ # lspci -n
00:00.0 Class 0600: 11ab:6460 (rev 03)
00:01.0 Class 0c00: 1106:3044 (rev 46)
00:0c.0 Class 0601: 1106:8231 (rev 10)
00:0c.1 Class 0101: 1106:0571 (rev 06)
00:0c.2 Class 0c03: 1106:3038 (rev 1e)
00:0c.3 Class 0c03: 1106:3038 (rev 1e)
00:0c.4 Class 0680: 1106:8235 (rev 10)
00:0c.5 Class 0401: 1106:3058 (rev 40)
00:0c.6 Class 0780: 1106:3068 (rev 20)
00:0d.0 Class 0200: 1106:3065 (rev 51)
0001:01:00.0 Class 0600: 11ab:6460 (rev 03)
0001:01:08.0 Class 0300: 1002:5964 (rev 01)
0001:01:08.1 Class 0380: 1002:5d44 (rev 01)
Comment 5 peter czanik 2005-11-21 16:43:26 UTC
With "PCI:1@0:8:0" in /etc/X11/xorg.conf it works fine!
Thanks.
Comment 6 Stefan Dirsch 2005-11-21 17:50:16 UTC
> 0001:01:08.0 Class 0300: 1002:5964 (rev 01)

==> Domain 1 ==> SaX2 did write a correct configuration.


I have no idea why a configuration, which specifies domain 0 instead, works.
Comment 7 peter czanik 2005-11-21 17:54:02 UTC
I don't know, if it's related, but xorg.conf needed some tweaks earlier as well:
http://www.opensuse.org/PowerPC_X11_configuration
Comment 8 Stefan Dirsch 2005-11-21 17:59:18 UTC
> add to file /etc/X11/xorg.conf in section Section "Device" this: 
> Option "Bustype" "PCI"

Never heard before.
Comment 9 peter czanik 2005-11-23 12:24:58 UTC
The trick mentioned there, does not seem to work any more. I get a stunning 2.5 frame per second with glxgears, when I enable DRI...
Comment 10 Egbert Eich 2005-11-24 10:37:03 UTC
The option bustype PCI helps the system to notice that this is not a AGP but a PCI card. This is to enable PCI GART. PCI GART is a gart implemented on the graphics chip - not on the motherboard chipset. Because GART read operations need to go across the PCI bus they are generally a lot slower than if using the sideband bus for AGP - unless this is PCIe (which doesn't have a GART any more).
However 2.5 frames seems to be awfully slow. Can you verify that DRI is enabled?
If it is it has something to do with not seeing interrupts signalling the completetion of a 3D rendering request.
Please check dmsg for any messages relating to this. I've seen this problem on some Radeon cards before. I've never bothered to investigate this because such problems come and go with driver updates.
Comment 11 Stefan Dirsch 2005-11-24 10:59:10 UTC
Thanks for explanation, Egbert. Peter could you try to answer Egbert's questions? Thanks.
Comment 12 peter czanik 2005-11-25 08:15:04 UTC
Yes, but only early next week, as I messed up my config files too much, and now it does not even boot...
Comment 13 peter czanik 2005-11-27 18:58:31 UTC
I installed factory on the machine, and sax does not even start now. I get:
Died at /usr/share/sax/init.pl, line 603
Which log files would you like to get?
Comment 14 Egbert Eich 2005-11-28 16:56:20 UTC
We don't need any log files right now. 
When you run the system with 3D and you notice a slow performance please do a 
'dmseg' to dump the kernel messages and check if there is anything (towards the bottom) that looks like interrupts on DRM are not seen.
Comment 15 peter czanik 2005-12-09 19:48:59 UTC
3D seems to be back to normal on factory, as of dec. 08.: 440 FPS with glxgears. But BusID still needs to be changed, as described in commend #2
Comment 16 Stefan Dirsch 2005-12-14 11:52:37 UTC
Ok. I don't know how to fix the BusID problem.
Comment 17 peter czanik 2006-01-22 15:51:49 UTC
It's still there in Beta1 of SUSE Linux 10.1 and SLES 10. This also means, that graphical login does not start after installation. After changing to BusID PCI:1@0:8:0 it works fine.
3D acceleration works fine, if 'Load "dri"' is added to xorg.conf
Comment 18 Stefan Dirsch 2006-01-27 11:34:48 UTC
IIRC Egbert is currently investigating this issue anyway. Reassigning to him.
Comment 19 peter czanik 2006-01-27 11:46:20 UTC
Thanks. It's still there on beta2. Seems to be the last show stopper bug on Pegasos.
Comment 20 peter czanik 2006-01-28 07:32:26 UTC
I have just received confirmation, that this problem exists with other video cards as well on the Pegasos. I have a Radeon 9200VE, and this forum post proves, that it's here with a Radeon 8500LE as well. See 'lucky-amiga' posts at http://www.ppczone.org/forums/viewtopic.php?t=482
Comment 21 peter czanik 2006-02-11 11:16:44 UTC
I installed SLES 10 beta3 on Pegasos. On my first install the BusID problem seemd to be gone, X worked as expected. Then I reinstalled it to check out some networking related bugs and now I had to edit it by hand again.
Comment 22 peter czanik 2006-02-13 13:02:07 UTC
Sorry for the false alarm. I reproduced it now: it was not the final Xorg.conf, but the one for installation with fbdev. On first install I stopped fontconfig by hitting alt+ctlr+backspace, as after 10 minutes I thought, it will never finish it. This way Xorg configuration was skipped and X started correctly, but with fbdev.
In summary: the BusID bug is still there.
Comment 23 Egbert Eich 2006-02-16 08:33:58 UTC
This needs to be fixed together with fixes for the PCI subsystem.
Marking as duplicate of a similar problem on PPC.

*** This bug has been marked as a duplicate of 139477 ***
Comment 24 peter czanik 2006-02-18 03:26:06 UTC
Which PCI subsystem do you mean? Kernel or Xorg? 'lspci' has the same output on Gentoo (diff can't find any difference), and there Xorg works with:
BusID "PCI:1:8:0"
Just as configured currently by sax.
Comment 25 Stefan Dirsch 2006-02-18 08:55:52 UTC
Xorg.