Hi all, I have some problems I am seeing with DRM on my Radeon HD 4670 in -current (dual head setup with two monitors at 1280x1024). I can't display any OpenGL applications.
The best way to reproduce this is by running glxgears : matt...@kronenbourg: ~ $ glxgears drmRadeonCmdBuffer: -22. Kernel failed to parse or rejected command stream. See dmesg for more info. In dmesg I have these errors : error: [drm:pid30830:r300_emit_carefully_checked_packet0] *ERROR* Register 4e4c failed check as flag=00 error: [drm:pid30830:r300_do_cp_cmdbuf] *ERROR* r300_emit_packet0 failed My Xorg.0.log can be found at : http://www.brimbelle.org/mattieu/stuff/Xorg.0.log Here is my dmesg : OpenBSD 4.8 (GENERIC.MP) #1: Sun Aug 8 22:25:28 CEST 2010 [email protected]:/usr/src/sys/arch/amd64/compile/GENE RIC.MP real mem = 3211198464 (3062MB) avail mem = 3111903232 (2967MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0710 (68 entries) bios0: vendor American Megatrends Inc. version "1408" date 03/25/2010 bios0: ASUSTeK Computer INC. P7P55D acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET ASPT OSFR SSDT acpi0: wakeup devices P0P4(S4) BR1E(S4) UAR1(S4) PS2K(S4) PS2M(S4) EUSB(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USBE(S4) USB4(S4) USB5(S4) USB6(S4) BR21(S4) BR22(S4) BR23(S4) P0P1(S4) P0P3(S4) P0P5(S4) P0P6(S4) USB8(S4) BR20(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3344.19 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,ES T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 4 (application processor) cpu1: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3343.71 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,ES T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 1 (application processor) cpu2: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3343.71 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,ES T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 5 (application processor) cpu3: Intel(R) Core(TM) i5 CPU 660 @ 3.33GHz, 3343.71 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,ES T,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,AES,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 6 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 6 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 7 (BR1E) acpiprt2 at acpi0: bus -1 (BR21) acpiprt3 at acpi0: bus -1 (BR22) acpiprt4 at acpi0: bus -1 (BR23) acpiprt5 at acpi0: bus 1 (P0P1) acpiprt6 at acpi0: bus -1 (P0P3) acpiprt7 at acpi0: bus -1 (P0P5) acpiprt8 at acpi0: bus -1 (P0P6) acpiprt9 at acpi0: bus 6 (BR20) acpiprt10 at acpi0: bus 5 (BR24) acpiprt11 at acpi0: bus 4 (BR25) acpiprt12 at acpi0: bus 3 (BR26) acpiprt13 at acpi0: bus 2 (BR27) acpiec0 at acpi0 acpicpu0 at acpi0: C2, C1, PSS acpicpu1 at acpi0: C2, C1, PSS acpicpu2 at acpi0: C2, C1, PSS acpicpu3 at acpi0: C2, C1, PSS aibs0 at acpi0 aibs0: TSIF not found aibs0: FSIF not found aibs0: VSIF not found aibs0: no sensors found acpibtn0 at acpi0: PWRB cpu0: Enhanced SpeedStep 3343 MHz: speeds: 3334, 3333, 3200, 3067, 2933, 2800, 2667, 2533, 2400, 2267, 2133, 2000, 1867, 1733, 1600, 1467, 1333, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x12 ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x12: apic 6 int 16 (irq 10) pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 6 int 16 (irq 10) drm0 at radeondrm0 azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 6 int 17 (irq 5) azalia0: no supported codecs azalia0: initialization failure, detaching ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 16 (irq 10) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 azalia1 at pci0 dev 27 function 0 "Intel 3400 HD Audio" rev 0x06: apic 6 int 22 (irq 3) azalia1: codecs: VIA/0x4441 audio0 at azalia1 ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x06: apic 6 int 17 (irq 5) pci2 at ppb1 bus 6 ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x06: apic 6 int 17 (irq 5) pci3 at ppb2 bus 5 ppb3 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x06: apic 6 int 16 (irq 10) pci4 at ppb3 bus 4 ppb4 at pci0 dev 28 function 6 "Intel 3400 PCIE" rev 0x06: apic 6 int 18 (irq 15) pci5 at ppb4 bus 3 jmb0 at pci5 dev 0 function 0 "JMicron JMB363 IDE/SATA" rev 0x03 ahci0 at jmb0: apic 6 int 18 (irq 15), AHCI 1.0 scsibus0 at ahci0: 32 targets pciide0 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide0: using apic 6 int 18 (irq 15) for native-PCI interrupt atapiscsi0 at pciide0 channel 0 drive 0 scsibus1 at atapiscsi0: 2 targets cd0 at scsibus1 targ 0 lun 0: <PHILIPS, DVDR1628P1, Q1.1> ATAPI 5/cdrom removable cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 pciide0: channel 1 disabled (no drives) ppb5 at pci0 dev 28 function 7 "Intel 3400 PCIE" rev 0x06: apic 6 int 19 (irq 11) pci6 at ppb5 bus 2 re0 at pci6 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), apic 6 int 19 (irq 11), address 48:5b:39:46:e1:d5 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x06: apic 6 int 23 (irq 7) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa6 pci7 at ppb6 bus 7 "VIA VT6306 FireWire" rev 0xc0 at pci7 dev 4 function 0 not configured pcib0 at pci0 dev 31 function 0 "Intel P55 LPC" rev 0x06 ahci1 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x06: apic 6 int 21 (irq 14), AHCI 1.3 scsibus2 at ahci1: 32 targets sd0 at scsibus2 targ 0 lun 0: <ATA, C300-CTFDDAC064M, 0002> SCSI3 0/direct fixed sd0: 61057MB, 512 bytes/sec, 125045424 sec total ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x06: apic 6 int 18 (irq 15) iic0 at ichiic0 spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-10600 spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-10600 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 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lm0 at isa0 port 0x290/8: W83627DHG mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 umass0 at uhub3 port 1 configuration 1 interface 0 "DMI External HDD" rev 2.00/1.12 addr 3 umass0: using SCSI over Bulk-Only scsibus3 at umass0: 2 targets, initiator 0 sd1 at scsibus3 targ 1 lun 0: <SAMSUNG, HD103UJ, > SCSI2 0/direct fixed sd1: 953869MB, 512 bytes/sec, 1953525168 sec total uvideo0 at uhub3 port 2 configuration 1 interface 0 "Logitech QuickCam Pro 9000" rev 2.00/0.08 addr 4 video0 at uvideo0 uaudio0 at uhub3 port 2 configuration 1 interface 2 "Logitech QuickCam Pro 9000" rev 2.00/0.08 addr 4 uaudio0: audio rev 1.00, 2 mixer controls audio1 at uaudio0 uhidev0 at uhub3 port 7 configuration 1 interface 0 "CHICONY HP Basic USB Keyboard" rev 1.10/3.00 addr 5 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub3 port 8 configuration 1 interface 0 "Logitech USB-PS/2 Optical Mouse" rev 2.00/22.00 addr 6 uhidev1: iclass 3/1 ums0 at uhidev1: 8 buttons, Z dir wsmouse0 at ums0 mux 0 softraid0 at root root on sd0a swap on sd0b dump on sd0b The xrandr output : Screen 0: minimum 320 x 200, current 2560 x 1024, maximum 2560 x 1024 DVI-1 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 359mm x 287mm 1280x1024 60.0*+ 75.0 60.0 1152x921 66.0 1024x768 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 59.9 720x400 70.1 DVI-0 connected 1280x1024+1280+0 (normal left inverted right x axis y axis) 359mm x 287mm 1280x1024 60.0*+ 75.0 60.0 1152x921 66.0 1024x768 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 75.0 72.8 66.7 59.9 720x400 70.1 -- Mattieu Baptiste "/earth is 102% full ... please delete anyone you can."

