Xenocara incorrectly selects "EXA" acceleration method instead of "glamor" for my Radeon HD 7670 (TURKS) video card, which results in bizzare, unusable display in Xorg. Adding the following config file, named "10-display.conf" in /usr/X11R6/share/X11/xorg.conf.d/ fixes the problem:
Section "Device" Identifier "Card0" Option "AccelMethod" "glamor" EndSection Curiously, adding 'Option "ColorTiling" "False"' to the above fixes the graphical errors while still using EXA although this makes Xorg unusably slow. If anyone can point me in the right direction for fixing this, I can work on a patch. Here is my Xorg.0.log with no config specifying glamor (buggy): https://ce.gl/radeon-exa.txt Here is the same but with glamor-specifying config file: https://ce.gl/radeon-glamor.txt Here is my glxinfo(1) output from glamor session: https://ce.gl/radeon-glxinfo.txt Ian dmesg: OpenBSD 6.1 (GENERIC.MP) #19: Fri Mar 31 13:19:19 MDT 2017 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 17162633216 (16367MB) avail mem = 16637812736 (15867MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (52 entries) bios0: vendor American Megatrends Inc. version "V1.13" date 01/12/2012 bios0: MSI MS-7642 acpi0 at bios0: rev 0 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) PCE9(S4) PCEA(S4) SBAZ(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) [...] acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: AMD Phenom(tm) II X4 965 Processor, 3400.66 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu0: AMD erratum 721 detected and fixed cpu0: TSC frequency 3400660940 Hz cpu0: smt 0, core 0, package 0 mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges cpu0: apic clock running at 200MHz cpu0: mwait min=64, max=64, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD Phenom(tm) II X4 965 Processor, 3400.21 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu1: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu1: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu1: AMD erratum 721 detected and fixed cpu1: smt 0, core 1, package 0 cpu2 at mainbus0: apid 2 (application processor) cpu2: AMD Phenom(tm) II X4 965 Processor, 3400.21 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu2: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu2: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu2: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu2: AMD erratum 721 detected and fixed cpu2: smt 0, core 2, package 0 cpu3 at mainbus0: apid 3 (application processor) cpu3: AMD Phenom(tm) II X4 965 Processor, 3400.21 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,PAGE1GB,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC cpu3: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache cpu3: ITLB 32 4KB entries fully associative, 16 4MB entries fully associative cpu3: DTLB 48 4KB entries fully associative, 48 4MB entries fully associative cpu3: AMD erratum 721 detected and fixed cpu3: smt 0, core 3, package 0 ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 21, 24 pins acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus -1 (PCE2) acpiprt3 at acpi0: bus 1 (PCE3) acpiprt4 at acpi0: bus 2 (PCE4) acpiprt5 at acpi0: bus 6 (PCE5) acpiprt6 at acpi0: bus 7 (PCE6) acpiprt7 at acpi0: bus -1 (PCE7) acpiprt8 at acpi0: bus -1 (PCE9) acpiprt9 at acpi0: bus -1 (PCEA) acpiprt10 at acpi0: bus 8 (P0PC) acpiprt11 at acpi0: bus 9 (PE20) acpiprt12 at acpi0: bus -1 (PE21) acpiprt13 at acpi0: bus -1 (PE22) acpiprt14 at acpi0: bus -1 (PE23) acpicpu0 at acpi0: C1(@1 halt!), PSS acpicpu1 at acpi0: C1(@1 halt!), PSS acpicpu2 at acpi0: C1(@1 halt!), PSS acpicpu3 at acpi0: C1(@1 halt!), PSS "PNP0501" at acpi0 not configured "PNP0400" at acpi0 not configured acpibtn0 at acpi0: PWRB cpu0: 3400 MHz: speeds: 3400 2700 2200 800 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "AMD RS880 Host" rev 0x00 ppb0 at pci0 dev 3 function 0 "AMD RS780 PCIE" rev 0x00: msi pci1 at ppb0 bus 1 radeondrm0 at pci1 dev 0 function 0 "ATI Turks" rev 0x00 drm0 at radeondrm0 radeondrm0: msi azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 6670 Audio" rev 0x00: msi azalia0: no supported codecs ppb1 at pci0 dev 4 function 0 "AMD RS780 PCIE" rev 0x00: msi pci2 at ppb1 bus 2 ppb2 at pci2 dev 0 function 0 "PLX PEX 8603" rev 0xab pci3 at ppb2 bus 3 ppb3 at pci3 dev 1 function 0 "PLX PEX 8603" rev 0xab: msi pci4 at ppb3 bus 4 re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 68:1c:a2:12:1d:9b rgephy0 at re0 phy 7: RTL8169S/8110S/8211 PHY, rev. 5 ppb4 at pci3 dev 2 function 0 "PLX PEX 8603" rev 0xab: msi pci5 at ppb4 bus 5 re1 at pci5 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL (0x2c80), msi, address 68:1c:a2:12:1d:9c rgephy1 at re1 phy 7: RTL8169S/8110S/8211 PHY, rev. 5 ppb5 at pci0 dev 5 function 0 "AMD RS780 PCIE" rev 0x00: msi pci6 at ppb5 bus 6 re2 at pci6 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D (0x2800), msi, address 40:61:86:e4:22:74 rgephy2 at re2 phy 7: RTL8169S/8110S/8211 PHY, rev. 2 ppb6 at pci0 dev 6 function 0 "AMD RS780 PCIE" rev 0x00: msi pci7 at ppb6 bus 7 xhci0 at pci7 dev 0 function 0 "NEC xHCI" rev 0x03: msi usb0 at xhci0: USB revision 3.0 uhub0 at usb0 configuration 1 interface 0 "NEC xHCI root hub" rev 3.00/1.00 addr 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 4 int 19, AHCI 1.2 ahci0: port 0: 3.0Gb/s ahci0: port 1: 6.0Gb/s ahci0: port 3: 6.0Gb/s scsibus1 at ahci0: 32 targets sd0 at scsibus1 targ 0 lun 0: <ATA, SAMSUNG HE103SJ, 1AJ3> SCSI3 0/direct fixed naa.50024e920359e6fb sd0: 953869MB, 512 bytes/sector, 1953525168 sectors sd1 at scsibus1 targ 1 lun 0: <ATA, Crucial_CT480M50, MU03> SCSI3 0/direct fixed naa.500a0751095f12d2 sd1: 457862MB, 512 bytes/sector, 937703088 sectors, thin sd2 at scsibus1 targ 3 lun 0: <ATA, M4-CT064M4SSD2, 040H> SCSI3 0/direct fixed naa.500a0751032204c0 sd2: 61057MB, 512 bytes/sector, 125045424 sectors, thin ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17 usb1 at ehci0: USB revision 2.0 uhub1 at usb1 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17 usb2 at ehci1: USB revision 2.0 uhub2 at usb2 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x41: polling iic0 at piixpm0 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-12800 spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-12800 spdmem2 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-12800 spdmem3 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-12800 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <SanDisk SD6SB1M064G1022I> wd0: 1-sector PIO, LBA48, 61057MB, 125045424 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 4 int 16 azalia1: codecs: Realtek/0x0889 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb7 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci8 at ppb7 bus 8 ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ppb8 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00: msi pci9 at ppb8 bus 9 jmb0 at pci9 dev 0 function 0 "JMicron JMB368 IDE" rev 0x00 pciide1 at jmb0: DMA, channel 0 wired to native-PCI, channel 1 wired to native-PCI pciide1: using apic 4 int 16 for native-PCI interrupt pciide1: channel 0 disabled (no drives) pciide1: channel 1 disabled (no drives) ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 4 int 18, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 4 int 17 usb3 at ehci2: USB revision 2.0 uhub3 at usb3 configuration 1 interface 0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 usb4 at ohci0: USB revision 1.0 uhub4 at usb4 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb5 at ohci1: USB revision 1.0 uhub5 at usb5 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: probed fifo depth: 15 bytes pckbc0 at isa0 port 0x60/5 irq 1 irq 12 pckbd0 at pckbc0 (kbd slot) wskbd0 at pckbd0: console keyboard pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 usb6 at ohci2: USB revision 1.0 uhub6 at usb6 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb7 at ohci3: USB revision 1.0 uhub7 at usb7 configuration 1 interface 0 "ATI OHCI root hub" rev 1.00/1.00 addr 1 uhidev0 at uhub4 port 3 configuration 1 interface 0 "ROCCAT ROCCAT Savu" rev 2.00/2.00 addr 2 uhidev0: iclass 3/1, 28 report ids ums0 at uhidev0 reportid 1: 5 buttons, Z and W dir wsmouse0 at ums0 mux 0 uhid0 at uhidev0 reportid 2: input=2, output=0, feature=0 uhid1 at uhidev0 reportid 3: input=4, output=0, feature=0 uhid2 at uhidev0 reportid 4: input=0, output=0, feature=2 uhid3 at uhidev0 reportid 5: input=0, output=0, feature=2 uhid4 at uhidev0 reportid 6: input=0, output=0, feature=15 uhid5 at uhidev0 reportid 7: input=0, output=0, feature=46 uhid6 at uhidev0 reportid 8: input=0, output=0, feature=2082 uhid7 at uhidev0 reportid 9: input=0, output=0, feature=7 uhid8 at uhidev0 reportid 10: input=0, output=0, feature=2 uhid9 at uhidev0 reportid 12: input=0, output=0, feature=3 uhid10 at uhidev0 reportid 13: input=0, output=0, feature=1027 uhid11 at uhidev0 reportid 16: input=0, output=0, feature=15 uhid12 at uhidev0 reportid 17: input=0, output=0, feature=15 uhid13 at uhidev0 reportid 27: input=0, output=0, feature=1025 uhid14 at uhidev0 reportid 28: input=0, output=0, feature=2 uhidev1 at uhub4 port 3 configuration 1 interface 1 "ROCCAT ROCCAT Savu" rev 2.00/2.00 addr 2 uhidev1: iclass 3/0 ukbd0 at uhidev1: 8 variable keys, 6 key codes wskbd1 at ukbd0 mux 1 uhidev2 at uhub4 port 4 configuration 1 interface 0 "Holtek USB Keyboard" rev 1.10/2.09 addr 3 uhidev2: iclass 3/1 ukbd1 at uhidev2: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 uhidev3 at uhub4 port 4 configuration 1 interface 1 "Holtek USB Keyboard" rev 1.10/2.09 addr 3 uhidev3: iclass 3/1, 2 report ids uhid15 at uhidev3 reportid 1: input=6, output=0, feature=0 uhid16 at uhidev3 reportid 2: input=1, output=0, feature=0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd1a (36b85525443bf4cf.a) swap on sd1b dump on sd1b drm:pid0:r700_vram_gtt_location *WARNING* limiting VRAM radeondrm0: 1280x1024, 32bpp wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0 wskbd1: connecting to wsdisplay0 wskbd2: connecting to wsdisplay0 wsdisplay0: screen 1-5 added (std, vt100 emulation)