| Summary: | Radeon 9200 SE with Xorg 6.7 and DRI 5.0.2 crashes 5.3-BETA4 (nforce2) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Andrew J. Caines <A.J.Caines> | ||||||
| Component: | kern | Assignee: | Eric Anholt <anholt> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | CC: | A.J.Caines | ||||||
| Priority: | Normal | ||||||||
| Version: | 5.3-BETA4 | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
Andrew J. Caines
2004-09-12 08:40:26 UTC
Similar problem here with 6.0-CURRENT from today (never tested DRI
before).
Without DRI, everything is ok.
With DRI enabled, Xorg starts, brings a garbled previous root window up
and I can't switch back to the virtual terminals or kill Xorg with
Ctrl-Alt-Backspace.
I can still log in via ssh and kill Xorg.
Xorg version :
xorg-server-6.7.0_8
dri-5.0.2,1 and dri-6.1.p20040507,1
Hardware :
Graphic card : ASUS Radeon 9200SE 128MB AGP
Mobo : ASUS A7N8X-E DELUXE
Chipset : NVIDIA nForce2
From pciconf :
agp0@pci0:0:0: class=0x060000 card=0x80ac1043 chip=0x01e010de rev=0xc1 hdr=0x00
vendor = 'NVIDIA Corporation'
device = 'nForce2 AGP Controller'
class = bridge
subclass = HOST-PCI
drm0@pci3:0:0: class=0x030000 card=0xc0061043 chip=0x59641002 rev=0x01 hdr=0x00
vendor = 'ATI Technologies Inc.'
device = 'Radeon 9200 SE Series (RV280)'
class = display
subclass = VGA
none8@pci3:0:1: class=0x038000 card=0xc0071043 chip=0x5d441002 rev=0x01 hdr=0x00
vendor = 'ATI Technologies Inc.'
device = 'Radeon 9200 SE Series - Secondary (RV280)'
class = display
From dmesg :
...
agp0: <NVIDIA nForce2 AGP Controller> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0
agp0: Reserved 0x8000000 bytes for rid 0x10 type 3 at 0xd0000000
agp0: allocating GATT for aperture of size 128M
...
drm0: <ATI Radeon RV280 9200 SE> port 0xc000-0xc0ff mem 0xea000000-0xea00ffff,0xd8000000-0xdfffffff irq 19 at device 0.0 on pci3
info: [drm] AGP at 0xd0000000 128MB
info: [drm] Initialized radeon 1.11.0 20020828 on minor 0
pci3: <display> at device 0.1 (no driver attached)
...
agp0: Setting AGP v3 mode 4
info: [drm] Loading R200 Microcode
ioapic0: routing intpin 19 (PCI IRQ 19) to cluster 0
drm0: [MPSAFE]
My Xorg.0.log is quite big so I don't send it, I can provide it if you
want.
Hi, I've got the same problem with same kind of hardware. I think it is a problem related to agp : DRI works better (ie not freeze) if i set Option "BusType" "PCI" in the configuration of Xorg. It is better but sometimes X still freezes or restarts if i use opengl applications. It is ok without DRI. I use dri 5.0.2 and Xorg 6.7.0 Dmesg : FreeBSD 5.3-BETA5 #4: Mon Sep 20 14:41:26 CEST 2004 CPU: AMD Athlon(tm) XP 2600+ (1921.04-MHz 686-class CPU) agp0: <NVIDIA nForce2 AGP Controller> mem 0xd0000000-0xd7ffffff at device 0.0 on pci0 pcib2: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci2: <ACPI PCI bus> on pcib2 drm0: <ATI Radeon RV280 9200 SE> port 0xa000-0xa0ff mem 0xe9000000-0xe900ffff,0xd8000000-0xdfffffff irq 19 at device 0.0 on pci2 info: [drm] AGP at 0xd0000000 128MB info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 pci2: <display> at device 0.1 (no driver attached) The thread at http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2004-03/0261.html seems to indicate that the Nforce2 chipset is poorly documented and that agp may not work well in the generic case. This seems like it might be the same problem, as does kern/71547 . -- bryan k ogawa <bko@unobvious.com> http://www.unobvious.com/ Responsible Changed From-To: freebsd-bugs->anholt Grab this one to keep track of it. Likely an AGP issue. Here's a patch of diff-reduction to linux (add a " | 1" to attbase setting), not pretending to have generic chipset support, and trying to avoid the TLB flushing getting optimized away (not sure if it helps -- diffs of objdumps were uninformative). The usual caveat of me having no docs and none of this harwdare, and therefore it likely not helping, applies. The patch is also at: http://people.freebsd.org/~anholt/agp_nvidia.c-2.diff I'd love to hear if this helps/hurts in any way. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org Eric, I tried your patch and it didn't seem to change things much, either better or worse. Google seems to say that people who are getting radeons to work with nforce2s on Linux are using the proprietary ATI drivers with the proprietary nforce2 drivers :( are freebsd people using nvidia chipset video cards with the nforce2 boards successfully? -- bryan k ogawa <bko@unobvious.com> http://www.unobvious.com/ upon review up to FreeBSD 5.1 nvidea chipset video cards worked on nforce2 boards. I never personally tried 5.2 or 5.21, however I have seen bug reports with similar, however not exact problems as listed and what I have seen. When I had this working it was with a Radeon 9100 card, not a 9200. I've attached a new patch, which is also located at: http://people.freebsd.org/~anholt/agp_nvidia.c-3.diff which I'm really hoping will fix this issue. -- Eric Anholt eta@lclark.edu http://people.freebsd.org/~anholt/ anholt@FreeBSD.org State Changed From-To: open->patched I think this is fixed in 6.0 now (agp_nvidia.c-3.diff committed). State Changed From-To: patched->closed Patch has been merged to 6-STABLE now. |