On Tue, 30 Jul 2002, Ronald G Minnich wrote:

> On Tue, 30 Jul 2002, Jake Page wrote:
> 
> > I'm just about read to start digging into this, probably with an ATI
> > Radeon, since I've hacked around with its X drivers a bit before...
> 
> the first interesting thing to do is just jam the card in, boot from
> linuxbios, and see how it goes with X11. If you can do that I'd like to
> know how it goes.

Finally got a chance to try this out.  Actually worked better than I had
expected... [this is on the 7308E with an ATI Radeon PCI 32MB card]

At first I was getting a really garbled screen (though the HW mouse cursor
looked ok...)  Then I tried setting 'Option "ForcePCIMode"' (for
whatever reason DRI was having a hard time figuring out it was a PCI
card, not AGP) and the server comes up fine.

I do get a couple of errors starting up the server:

This one happens only the FIRST time starting it after a reboot:

(EE) RADEON(0): CPU 0x0f Trap at CS:EIP=0x8000:0x00000004
(II) RADEON(0): EAX=0x00000000, EBX=0x33330301, ECX=0x00000000,
EDX=0x80000cfe
(II) RADEON(0): ESP=0x00000000, EBP=0x0000fd43, ESI=0x0000ffff,
EDI=0x0000ffff
(II) RADEON(0): CS=0x8000, SS=0x0400, DS=0xfe00, ES=0x8000, FS=0x0001,
GS=0x0000
(II) RADEON(0): EIP=0x00000004, EFLAGS=0x00033046
(II) stack at 0x00004000:

But it still works...

And then I get this starting it 2nd+ time:

(WW) RADEON(0): Video BIOS not detected in PCI space!
(WW) RADEON(0): Attempting to read Video BIOS from legacy ISA space!
(WW) RADEON(0): Video BIOS not found!
...
(EE) RADEON(0): Cannot read V_BIOS
(WW) RADEON(0): Video BIOS not detected, using default PLL parameters!

But that doesn't seem to hurt anything either...

It does give me an error "[dri] PCI cards not yet supported.  Disabling
DRI." though...  So it's doing software 3D rendering, but the glxgears
demo works fine.

Looking into it a bit more, it looks like DRI is only supported well for
AGP cards.  There is a "pcigart" implementation for the Radeon DRI kernel
module that is disabled by default (actually enabled for the alpha and
ppc, but not x86) - going to try rebuilding it with it enabled to see what
happens... (for anyone interested, look for PCIGART_ENABLE in radeon_cp.c
AND radeon_dri.c)

Anyway, I wouldn't be surprised if an AGP Radeon works with DRI & HW 
accelerated OpenGL with little or no changes (unfortunately I don't have a
%$@! AGP slot on this board...)

-Jake


Reply via email to