DRI problems with ati/radeon on stable/7 r203425

David Wolfskill david at catwhisker.org
Wed Feb 10 20:40:19 UTC 2010

On Wed, Feb 10, 2010 at 01:55:41PM -0600, Robert Noland wrote:
> ...
> > About the 5th time around, xdm didn't come back.
> > 
> > Couldn't switch to a vty (via Ctl+Alt+Fx).  No "login: " prompt at
> > serial console.
> > 
> > Sent a BREAK to the latter; backtrace shows:
> > 
> > agp0: Setting AGP v2 mode 4
> Hrm, this is the first time I've heard of msi issues on radeons.  You
> might also try different agp modes i.e. AGPMode "1".  agp can be a bit
> finicky... Actually, an r200 trying to do msi?  What does pciconf -lvbc
> show for the card/chip?  The test for msi should just fail and normal
> interrupt should be used.  What else is sharing the interrupt with
> vgapci?

Looks as if I'll need to reboot to find that out; in the mean time:

db> show irqs
irq0: clk (no thread)
irq1: atkbd0 (pid 37)
irq3: (no thread)
irq4: sio0 (no thread)
irq5: (no thread)
irq6: fdc0 (no thread) {ENTROPY}
irq7: ppbus0 ppc0 (pid 41)
irq8: rtc (no thread)
irq9: pcm0 acpi0 (pid 22)
irq10: (no thread)
irq11: cbb0 cbb1++* (pid 23)
irq12: psm0 (pid 38)
irq13: (no thread)
irq14: ata0 (pid 34) {ENTROPY}
irq15: ata1 (pid 35) {ENTROPY}

While I'm waiting for the fsck to complete, I'll remind folks that this
hardware & configuration (as it was, with DRI enabled) was working fine
in stable/6.  In stable/7, it works if I disable DRI.  When I was using
X.org built under stable/6, I also needed to disable DRI to run X.org
under stable/7 (or /8) reliably (using the compat6x port).

The hardware in question is by no means "cutting edge" -- it has been
around for years.

OK; here's the stanza for the ATi device:

vgapci0 at pci0:1:0:0:     class=0x030000 card=0x00d51028 chip=0x4c661002 rev=0x01 hdr=0x00
    vendor     = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.'
    device     = 'Radeon Mobility 9000 series (ATI MOBILITY RADEON 9000 (Microsoft Corporation -)'
    class      = display
    subclass   = VGA
    bar   [10] = type Prefetchable Memory, range 32, base 0xe0000000, size 134217728, enabled
    bar   [14] = type I/O Port, range 32, base 0xc000, size 256, enabled
    bar   [18] = type Memory, range 32, base 0xfcff0000, size 65536, enabled
    cap 02[58] = AGP 4x 2x 1x SBA disabled
    cap 01[50] = powerspec 2  supports D0 D1 D2 D3  current D0

(obtained after booting with the /etc/ttys entry for xdm turned off).

Let's see... dmesg says that the Ati card is at irq 11; vmstat -i
only shows "cbb0 cbb1++*" for irq 11.  I *think* dmesg is showing
that nearly everything on the machine that isn't explicitly listed
in the "vmstat -i" output is assigned to irq 11; I've attached a
copy of dmesg.boot.

I'll try setting AGPMode to a non-default value & see what happens.


David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20100210/cdded60e/attachment.pgp

More information about the freebsd-x11 mailing list