Re: X300SE PCI-E freezes

2005-08-13 Thread Jaakko Niemi
On Sun, 24 Jul 2005, Alex Deucher wrote:
 PCIE is not currently working.  So for the moment, PCIE cards will not
 work.  What you can try is setting up the card with the fglrx driver
 and getting that working then use the radeon register dump scripts in
 r300 cvs to dump the PCIE config and then compare that to how the regs
 get set up in the open drm.

 Attached are dumps with fglrx loaded, before X was started and after
 it. Card is X700 Pro. What should I be looking from the dumps?

 For some reason if I start X after boot with fglrx, machine hangs, 
 but if I start X once with the xorg radeon driver, and then switch
 back to fglrx, it starts working. 

--j

Found Radeon All-in-Wonder at 2:0.0
memory_aperture=0xc000
register_aperture=0xdfef
DEVICE_ID(0x0f02): 0x00075e4b=.^K
VENDOR_ID(0x0f00): 0x5e4b1002=^K..
Dump of PCIE indirect registers starting from 0
 0x 0x1e04 0x06620663 0x0093
 0x 0x 0x 0x1004
 0x0010 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x1f00 0x00040100 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x400a1807 0x 0x 0x
 0x 0x3b24cf74 0xdfef0f00 0x001f
 0x0001 0x 0x 0x1fd2
 0x 0x1fd2 0xe26a 0x0021006b
 0x 0x1004 0x0010 0x
 0x 0x0014 0x073c 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x0002 0x 0x0006 0x
 0x 0x20212210 0x0d0e0f10 0x06080c30
 0x01020305 0x 0x 0x
 0x 0x 0x 0x
 0x0001 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x046e0b93 0x0818010f 0x0818010f 0x0035
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x0062 0x3ab076b1 0x
 0x9738 0x01d5ed08 0x84413ce0 0x0040
 0x80241801 0x 0x007f 0x1efe2c80
 0x 0x 0x 0x
 0x0001 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0x 0x
 0x 0x 0xDump of PLL registers starting from 0
 0x 0x0a608015 0xbf00 0x003c
 0x00070086 0x00070097 0x000700e0 0x000700e0
 0x0003 0x 0x013f4004 0x1a00
 0x0400a430 0x7ffa 0x0400a410 0x
 0x 0x 0x001f1212 0x28000200
 0x00e16100 0x0007 0x 0x
 0x 0x 0x 0x
 0x 0x 0x00081c00 0x3001
M=12 ref_div_src=0
clock 0 : N=134 post_div=7
clock 1 : N=151 post_div=7
clock 2 : N=224 post_div=7
clock 3 : N=224 post_div=7
VCLK_ECP_CNTL=0x0003
X_MPLL_REF_FB_DIV=0x013f4004
 M=4
   X_N=64
   M_N=63
new_x_mpll_ref_fb_div is computed to be 0x00fafa41
XPLL_CNTL=0x1a00
new_xpll_cntl is computed to be 0x1a00
MPLL_CNTL=0x0400a410
new_mpll_cntl is computed to be 0x0400a410
MCLK_CNTL=0x
MEM_CNTL=0x0069
BUS_CNTL=0x00fe
MEM_REG1=0x00090008
MEM_REG2=0x00090008
EXT_MEM_CNTL=0x69668234
MEM_INTF_CNTL=0x003f
MEM_STR_CNTL=0x001f
MEM_INIT_LAT_TIMER=0xf000
COMMAND_CNTL=0x0017=  0001     0111
MEMORY_BUFFER_CNTL=0xc7ffc000
DDA_CONFIG_CNTL=0x08800720
DDA_ON_OFF_CNTL=0x30020014
GEN_RESET_CNTL=0x
MEM_SDRAM_MODE_REG=0x1043

Re: X300SE PCI-E freezes

2005-07-25 Thread Torbjörn Söderstedt


- Original Message -
From: Alex Deucher [EMAIL PROTECTED]
Date: Sunday, July 24, 2005 5:49 pm
Subject: Re: X300SE PCI-E freezes
 On 7/24/05, Torbjörn Söderstedt [EMAIL PROTECTED] wrote:
  Hello,
  
  I tried the driver on my X300SE PCI-E card, but when I start the X
  server all I get is a black screen. To make the driver recognise 
 my card
  at all, I added it to the pciids as a rv350 card (although it really
  should be rv370).
  
  Kernel and Xorg logs are attached. Because I don't have much kernel
  hacking experience, I don't really know where to start. I'm 
 prepared to
  devote some time for this, so please tell me what I can do to help.
  
 
 PCIE is not currently working.  So for the moment, PCIE cards will not
 work.  What you can try is setting up the card with the fglrx driver
 and getting that working then use the radeon register dump scripts in
 r300 cvs to dump the PCIE config and then compare that to how the regs
 get set up in the open drm.

I have had very little success with the fglrx driver. Last time I tried,
it would lock up the system (even worse than r300) as soon as I tried to
use opengl. This time it wouldn't activate dri at all, and glxgears gives
me 25 fps!?!

I'll get back to you if I ever get it to work.

Regards
Torbjörn Söderstedt



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: X300SE PCI-E freezes

2005-07-24 Thread Alex Deucher
On 7/24/05, Torbjörn Söderstedt [EMAIL PROTECTED] wrote:
 Hello,
 
 I tried the driver on my X300SE PCI-E card, but when I start the X
 server all I get is a black screen. To make the driver recognise my card
 at all, I added it to the pciids as a rv350 card (although it really
 should be rv370).
 
 Kernel and Xorg logs are attached. Because I don't have much kernel
 hacking experience, I don't really know where to start. I'm prepared to
 devote some time for this, so please tell me what I can do to help.
 

PCIE is not currently working.  So for the moment, PCIE cards will not
work.  What you can try is setting up the card with the fglrx driver
and getting that working then use the radeon register dump scripts in
r300 cvs to dump the PCIE config and then compare that to how the regs
get set up in the open drm.

Alex

 
 :02:00.0 VGA compatible controller: ATI Technologies Inc: Unknown
 device 5b60 (prog-if 00 [VGA])
 Subsystem: C.P. Technology Co. Ltd: Unknown device 2089
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR-
 Latency: 0, Cache Line Size: 0x08 (32 bytes)
 Interrupt: pin A routed to IRQ 11
 Region 0: Memory at d000 (32-bit, prefetchable) [size=128M]
 Region 1: I/O ports at be00 [size=256]
 Region 2: Memory at df8f (32-bit, non-prefetchable) [size=64K]
 Capabilities: [50] Power Management version 2
 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [58] #10 [0001]
 Capabilities: [80] Message Signalled Interrupts: 64bit+
 Queue=0/0 Enable-
 Address:   Data: 
 
 :02:00.1 Display controller: ATI Technologies Inc: Unknown device 5b70
 Subsystem: C.P. Technology Co. Ltd: Unknown device 2088
 Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
 ParErr- Stepping- SERR- FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort-
 TAbort- MAbort- SERR- PERR-
 Region 0: Memory at df8e (32-bit, non-prefetchable)
 [disabled] [size=64K]
 Capabilities: [50] Power Management version 2
 Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
 PME(D0-,D1-,D2-,D3hot-,D3cold-)
 Status: D0 PME-Enable- DSel=0 DScale=0 PME-
 Capabilities: [58] #10 [0001]
 
 AMD64 Ubuntu Hoary
 Linux 2.6.10
 
 Regards,
 Torbjörn Söderstedt
 
 
 



---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77alloc_id492op=click
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel