On Fri, 5 Jun 2009 08:21:47 -0600 Duncan Patton a Campbell <[email protected]> wrote:
> On Fri, 5 Jun 2009 06:54:05 -0600 > Duncan Patton a Campbell <[email protected]> wrote: > > > Howdy Victor? > > > > I appear to be having the same problems with the same card. > > > > Do you have any news? > > > > Thanks, > > > > Dhu > > > > I read somewhere to disable the radeondrm driver > in kernel and this has worked so far. Well, that might not be the best solution if it is hardware acceleration that you are after... Anyway, after some more testing, I can finally start the X server without disabling radeondrm and without freezing the machine by adding Option "BusType" "PCI" to xorg.conf. This setting forces my AGP graphics card to PCI mode. But 3D acceleration is still somewhat peculiar. Running glxgears yields significantly less FPS than without acceleration (that is, like <1 FPS with hardware acceleration and ~60 FPS without). Strange. Blender feels faster though unless textures are displayed. Stellarium runs OK (= smooth) in windowed mode, but unpredictable in full resolution (1280x1024). Maybe it needs some more tweaking... Vic > > On Fri, 29 May 2009 10:33:21 +0200 > > "Viktor Varheit" <[email protected]> wrote: > > > > > Hi, > > > > > > according to radeon(4) my graphics card is supported, but I > > > cannot get hardware acceleration to work. Booting with > > > "disable radeondrm" in UKC and then running "startx" works > > > fine. Doing the same with "enable radeondrm" (which is the > > > default in the GENERIC kernel) appears to freeze the machine. > > > The screen goes blank, and the monitor enters standby mode. > > > > > > Sometimes the computer shuts down after pressing the power > > > button, but most of the time it can only be forced off by > > > holding the power button. > > > > > > Trying several options in xorg.conf did not advance things. > > > > > > I booted with a serial console to see if any messages appeared > > > after entering "startx". This is what I got: > > > > > > radeondrm0: Setting GART location based on new memory map > > > radeondrm0: writeback test failed > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > ... > > > > > > The last message is repeated over and over until the machine > > > appears to freeze. The time it takes to get to that point > > > varies. > > > > > > After setting 'Option "AGPFastWrite" "on"' in xorg.conf > > > no messages were output at all, but that was the only > > > apparent difference. > > > > > > Setting "AccelMethod" to "EXA" also did not change anything. > > > > > > Using no xorg.conf at all also did not work. > > > > > > Anyway, here's my xorg.conf and dmesg. I hope someone > > > can give me a hint. > > > > > > Vic > > > > > > > > > +++ xorg.conf +++ > > > Section "ServerLayout" > > > Identifier "X.org Configured" > > > Screen 0 "Screen0" 0 0 > > > InputDevice "Mouse0" "CorePointer" > > > InputDevice "Keyboard0" "CoreKeyboard" > > > EndSection > > > > > > Section "Files" > > > ModulePath "/usr/X11R6/lib/modules" > > > FontPath "/usr/X11R6/lib/X11/fonts/misc/" > > > FontPath "/usr/X11R6/lib/X11/fonts/TTF/" > > > FontPath "/usr/X11R6/lib/X11/fonts/OTF" > > > FontPath "/usr/X11R6/lib/X11/fonts/Type1/" > > > FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" > > > FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" > > > EndSection > > > > > > Section "Module" > > > Load "dbe" > > > Load "dri" > > > Load "extmod" > > > Load "glx" > > > Load "freetype" > > > EndSection > > > > > > Section "InputDevice" > > > Identifier "Keyboard0" > > > Driver "kbd" > > > EndSection > > > > > > Section "InputDevice" > > > Identifier "Mouse0" > > > Driver "mouse" > > > Option "Protocol" "wsmouse" > > > Option "Device" "/dev/wsmouse" > > > Option "ZAxisMapping" "4 5 6 7" > > > EndSection > > > > > > Section "Monitor" > > > #DisplaySize 340 270 # mm > > > Identifier "Monitor0" > > > VendorName "ENC" > > > ModelName "L557" > > > HorizSync 24.0 - 80.0 > > > VertRefresh 50.0 - 75.0 > > > Option "DPMS" > > > EndSection > > > > > > Section "Device" > > > Option "AGPMode" "x4" > > > Option "BusType" "AGP" # [<str>] > > > #Option "AGPFastWrite" "on" # [<bool>] > > > #Option "AccelMethod" "EXA" # <str> > > > Option "DRI" "on" # [<bool>] > > > Identifier "Card0" > > > Driver "radeon" > > > VendorName "ATI" > > > BoardName "Radeon 9200 PRO" > > > BusID "PCI:1:0:0" > > > EndSection > > > > > > Section "Screen" > > > Identifier "Screen0" > > > Device "Card0" > > > Monitor "Monitor0" > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 1 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 4 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 8 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 15 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 16 > > > EndSubSection > > > SubSection "Display" > > > Viewport 0 0 > > > Depth 24 > > > EndSubSection > > > EndSection > > > > > > +++ dmesg +++ > > > OpenBSD 4.5-stable (GENERIC) #0: Sun May 3 11:29:20 CEST 2009 > > > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC > > > cpu0: AMD Athlon(tm) XP 2000+ ("AuthenticAMD" 686-class, 256KB L2 cache) > > > 1.68 GHz > > > cpu0: > > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE > > > real mem = 804810752 (767MB) > > > avail mem = 769404928 (733MB) > > > mainbus0 at root > > > bios0 at mainbus0: AT/286+ BIOS, date 10/18/06, BIOS32 rev. 0 @ 0xfdb10, > > > SMBIOS rev. 2.3 @ 0xf0630 (21 entries) > > > bios0: vendor American Megatrends Inc. version "P2.80" date 10/18/2006 > > > bios0: American Megatrends Inc. K7S41GX > > > acpi0 at bios0: rev 0 > > > acpi0: tables DSDT FACP APIC > > > acpi0: wakeup devices PS2M(S4) PS2K(S4) UAR1(S4) USB1(S4) USB2(S4) > > > EHCI(S4) LAN_(S4) MDM_(S4) AUD_(S4) PCI0(S4) > > > acpitimer0 at acpi0: 3579545 Hz, 24 bits > > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > > cpu0 at mainbus0: apid 0 (boot processor) > > > cpu0: apic clock running at 268MHz > > > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins > > > acpiprt0 at acpi0: bus 0 (PCI0) > > > acpicpu0 at acpi0 > > > acpibtn0 at acpi0: PWRB > > > bios0: ROM list: 0xc0000/0xd000 0xcd000/0xa000 > > > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > > > pchb0 at pci0 dev 0 function 0 "SiS 741 PCI" rev 0x03 > > > sisagp0 at pchb0 > > > agp0 at sisagp0: aperture at 0xd0000000, size 0x8000000 > > > ppb0 at pci0 dev 1 function 0 "SiS 648FX AGP" rev 0x00 > > > pci1 at ppb0 bus 1 > > > vga1 at pci1 dev 0 function 0 "ATI Radeon 9200 PRO" rev 0x01 > > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > > radeondrm0 at vga1: apic 2 int 16 (irq 11) > > > drm0 at radeondrm0 > > > pcib0 at pci0 dev 2 function 0 "SiS 85C503 System" rev 0x25 > > > pciide0 at pci0 dev 2 function 5 "SiS 5513 EIDE" rev 0x00: 741: DMA, > > > channel 0 wired to compatibility, channel 1 wired to compatibility > > > wd0 at pciide0 channel 0 drive 0: <IBM-DTTA-350840> > > > wd0: 16-sector PIO, LBA, 8063MB, 16514064 sectors > > > wd1 at pciide0 channel 0 drive 1: <WDC WD800JB-00ETA0> > > > wd1: 16-sector PIO, LBA48, 76319MB, 156301488 sectors > > > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > > > wd1(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 > > > wd2 at pciide0 channel 1 drive 0: <WDC WD1600JB-22GVC0> > > > wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors > > > atapiscsi0 at pciide0 channel 1 drive 1 > > > scsibus0 at atapiscsi0: 2 targets > > > cd0 at scsibus0 targ 0 lun 0: <HL-DT-ST, DVD-RAM GSA-H55L, 1.03> ATAPI > > > 5/cdrom removable > > > wd2(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5 > > > cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 4 > > > ohci0 at pci0 dev 3 function 0 "SiS 5597/5598 USB" rev 0x0f: apic 2 int > > > 20 (irq 5), version 1.0, legacy support > > > ohci1 at pci0 dev 3 function 1 "SiS 5597/5598 USB" rev 0x0f: apic 2 int > > > 21 (irq 3), version 1.0, legacy support > > > ehci0 at pci0 dev 3 function 2 "SiS 7002 USB" rev 0x00: apic 2 int 23 > > > (irq 10) > > > usb0 at ehci0: USB revision 2.0 > > > uhub0 at usb0 "SiS EHCI root hub" rev 2.00/1.00 addr 1 > > > sis0 at pci0 dev 4 function 0 "SiS 900 10/100BaseTX" rev 0x90: apic 2 int > > > 19 (irq 5), address 00:19:66:65:10:93 > > > rlphy0 at sis0 phy 1: RTL8201L 10/100 PHY, rev. 1 > > > trm0 at pci0 dev 9 function 0 "Tekram DC-3x5U" rev 0x01: apic 2 int 17 > > > (irq 5) > > > scsibus1 at trm0: 8 targets, initiator 7 > > > envy0 at pci0 dev 10 function 0 "IC Ensemble Envy24 I/O Ctrlr" rev 0x02: > > > apic 2 int 18 (irq 10) > > > audio0 at envy0 > > > isa0 at pcib0 > > > isadma0 at isa0 > > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > > pckbc0 at isa0 port 0x60/5 > > > pckbd0 at pckbc0 (kbd slot) > > > pckbc0: using irq 1 for kbd slot > > > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > > > pms0 at pckbc0 (aux slot) > > > pckbc0: using irq 12 for aux slot > > > wsmouse0 at pms0 mux 0 > > > pcppi0 at isa0 port 0x61 > > > midi0 at pcppi0: <PC speaker> > > > spkr0 at pcppi0 > > > lpt0 at isa0 port 0x378/4 irq 7 > > > wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12 > > > lm1 at wbsio0 port 0x290/8: W83697HF > > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > > > fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec > > > usb1 at ohci0: USB revision 1.0 > > > uhub1 at usb1 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > > > usb2 at ohci1: USB revision 1.0 > > > uhub2 at usb2 "SiS OHCI root hub" rev 1.00/1.00 addr 1 > > > mtrr: Pentium Pro MTRR support > > > softraid0 at root > > > root on wd1a swap on wd1b dump on wd1b > > > radeondrm0: Setting GART location based on new memory map > > > radeondrm0: writeback test failed > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > radeondrm0: wait idle failed status : 0x80010140 0x00000000 > > > ...

