On Sun, Apr 03, 2011 at 08:37:08AM -0400, Mark Peoples wrote:
> The following along with an update to xf86-video-ati-6.14.1 gets me some very 
> sexy 1920x1080 on my Radeon HD5450
> 
> xrandr(1) hangs (no mouse movement, etc) when running. also, i have
> some weird pixel activity, but it's still sexy

Does zaphod style (2 X Screens :0.0 and :0.1)  multi head work with
you driver update ?

So far all recent versions of the radeon driver break in this
configuration. This is blocking updates since several OpenBSD users
and developers require this mode.

And we've failed to fix it so far.
> 
> i5.peoples$ xrandr                                                            
>  
> Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 1920 x 1920
> DisplayPort-0 connected 1920x1080+0+0 (normal left inverted right x axis y 
> axis) 531mm x 298mm
>    1920x1080      60.0*+   60.0  
>    1280x1024      75.0     60.0  
>    1152x864       75.0  
>    1024x768       75.0     60.0  
>    800x600        75.0     60.3  
>    640x480        75.0     59.9  
>    720x400        70.1  
> DVI-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 
> 531mm x 298mm
>    1920x1080      60.0 +   60.0* 
>    1280x1024      75.0     60.0  
>    1152x864       75.0  
>    1024x768       75.0     60.0  
>    800x600        75.0     60.3  
>    640x480        75.0     59.9  
>    720x400        70.1  
> DVI-0 disconnected (normal left inverted right x axis y axis)
> 
> diffs to pcidevs and drm/radeon_drv.c below, as well as dmesg with the 
> patches. the diff is only for the video part. the kernel already picked up an 
> azalia(4)
> 
> i5.peoples$ cd /usr/src/sys/dev/pci/
> i5.peoples$ cvs diff -u pcidevs drm/radeon_drv.c
> Index: drm/radeon_drv.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
> retrieving revision 1.51
> diff -u drm/radeon_drv.c
> --- drm/radeon_drv.c    29 Sep 2010 13:32:22 -0000      1.51
> +++ drm/radeon_drv.c    3 Apr 2011 12:23:45 -0000
> @@ -526,6 +526,8 @@
>             CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
>         {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
>             CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
> +       {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
> +           CHIP_RS880|RADEON_NEW_MEMMAP},
>          {0, 0, 0}
>  };
> 
> Index: pcidevs
> ===================================================================
> RCS file: /cvs/src/sys/dev/pci/pcidevs,v
> retrieving revision 1.1592
> diff -u pcidevs
> --- pcidevs     23 Mar 2011 21:55:09 -0000      1.1592
> +++ pcidevs     3 Apr 2011 12:23:41 -0000
> @@ -1206,6 +1206,7 @@
>  product ATI RADEON_HD5700      0x68b8  Radeon HD 5700
>  product ATI RADEON_HD5670      0x68d8  Radeon HD 5670
>  product ATI MOBILITY_HD5470    0x68e0  Radeon Mobility HD 5470
> +product ATI RADEON_HD5450      0x68f9  Radeon HD 5450
>  product ATI RS100_PCI          0x700f  RS100 PCI
>  product ATI RS200_PCI          0x7010  RS200 PCI
>  product ATI RADEON_X1800A      0x7100  Radeon X1800
> 
> OpenBSD 4.9-current (GENERIC.MP) #3: Sun Apr  3 03:58:50 EDT 2011
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> RTC BIOS diagnostic error 11<memory_size>
> real mem = 8445030400 (8053MB)
> avail mem = 8206192640 (7826MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.6 @ 0xf0450 (87 entries)
> bios0: vendor Dell Inc. version "A07" date 01/21/2011
> bios0: Dell Inc. OptiPlex 980
> acpi0 at bios0: rev 2
> acpi0: sleep states S0 S1 S3 S4 S5
> acpi0: tables DSDT FACP SSDT APIC BOOT ASF! MCFG HPET DMAR SLIC SSDT
> acpi0: wakeup devices VBTN(S4) PCI0(S5) PCI4(S5) PCI2(S5) PCI3(S5) PCI1(S5) 
> PCI5(S5) MOU_(S3) EHC1(S3) EHC2(S3)
> 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 680 @ 3.60GHz, 3591.55 MHz
> cpu0: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,S
> S,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,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 132MHz
> cpu1 at mainbus0: apid 4 (application processor)
> cpu1: Intel(R) Core(TM) i5 CPU 680 @ 3.60GHz, 3591.00 MHz
> cpu1: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,S
> S,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,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 680 @ 3.60GHz, 3591.00 MHz
> cpu2: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,S
> S,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,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 680 @ 3.60GHz, 3591.00 MHz
> cpu3: 
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,S
> S,HTT,TM,SBF,SSE3,PCLMUL,MWAIT,DS-CPL,VMX,SMX,EST,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 8 pa 0xfec00000, version 20, 24 pins
> ioapic0: misconfigured as apic 0, remapped to apid 8
> acpimcfg0 at acpi0 addr 0xf8000000, bus 0-63
> acpihpet0 at acpi0: 14318179 Hz
> acpiprt0 at acpi0: bus 4 (PCI4)
> acpiprt1 at acpi0: bus 2 (PCI2)
> acpiprt2 at acpi0: bus -1 (PCI3)
> acpiprt3 at acpi0: bus 1 (PCI1)
> acpiprt4 at acpi0: bus 3 (PCI5)
> acpiprt5 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0: C3, C2, C1, PSS
> acpicpu1 at acpi0: C3, C2, C1, PSS
> acpicpu2 at acpi0: C3, C2, C1, PSS
> acpicpu3 at acpi0: C3, C2, C1, PSS
> acpibtn0 at acpi0: VBTN
> cpu0: Enhanced SpeedStep 3591 MHz: speeds: 3592, 3591, 3458, 3325, 3192, 
> 3059, 2926, 2793, 2660, 2527, 2394, 226
> 1, 2128, 1995, 1862, 1729, 1596, 1463, 1330, 1197 MHz
> pci0 at mainbus0 bus 0
> pchb0 at pci0 dev 0 function 0 "Intel Core Host" rev 0x02
> ppb0 at pci0 dev 1 function 0 "Intel Core PCIE" rev 0x02: apic 8 int 16 (irq 
> 11)
> pci1 at ppb0 bus 1
> vga1 at pci1 dev 0 function 0 "ATI Radeon HD 5450" rev 0x00
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> radeondrm0 at vga1: apic 8 int 16 (irq 11)
> drm0 at radeondrm0
> azalia0 at pci1 dev 0 function 1 "ATI Radeon HD 5470 Audio" rev 0x00: apic 8 
> int 17 (irq 5)
> azalia0: no supported codecs
> azalia0: initialization failure, detaching
> "Intel 3400 MEI" rev 0x06 at pci0 dev 22 function 0 not configured
> pciide0 at pci0 dev 22 function 2 vendor "Intel", unknown product 0x3b66 rev 
> 0x06: DMA (unsupported), channel 0 
> wired to native-PCI, channel 1 wired to native-PCI
> pciide0: using apic 8 int 18 (irq 10) for native-PCI interrupt
> pciide0: channel 0 ignored (not responding; disabled or no drives?)
> pciide0: channel 1 ignored (not responding; disabled or no drives?)
> "Intel 3400 KT" rev 0x06 at pci0 dev 22 function 3 not configured
> em0 at pci0 dev 25 function 0 "Intel 82578DM" rev 0x05: apic 8 int 21 (irq 
> 9), address 78:2b:cb:7c:e3:cd
> ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 16 (irq 
> 11)
> 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 0x05: apic 8 int 
> 16 (irq 11)
> azalia1: codecs: Realtek ALC269
> audio0 at azalia1
> ppb1 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 16 (irq 
> 11)
> pci2 at ppb1 bus 2
> ppb2 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 16 (irq 
> 11)
> pci3 at ppb2 bus 3
> ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 23 (irq 
> 5)
> usb1 at ehci1: USB revision 2.0
> uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb3 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5
> pci4 at ppb3 bus 4
> pcib0 at pci0 dev 31 function 0 "Intel Q57 LPC" rev 0x05
> ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: apic 8 int 18 
> (irq 10), AHCI 1.3
> ahci0: PHY offline on port 1
> scsibus0 at ahci0: 32 targets
> sd0 at scsibus0 targ 0 lun 0: <ATA, ST9250410AS, D005> SCSI3 0/direct fixed
> sd0: 238475MB, 512 bytes/sec, 488397168 sec total
> cd0 at scsibus0 targ 2 lun 0: <HL-DT-ST, DVD+-RW GT32N, A102> ATAPI 5/cdrom 
> removable
> ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x05: apic 8 int 18 
> (irq 10)
> iic0 at ichiic0
> spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600
> spdmem1 at iic0 addr 0x52: 4GB 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
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> 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
> lpt0 at isa0 port 0x378/4 irq 7
> 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
> uhidev0 at uhub3 port 6 configuration 1 interface 0 "Dell Dell QuietKey 
> Keyboard" rev 1.10/1.77 addr 3
> uhidev0: iclass 3/1
> ukbd0 at uhidev0: 8 modifier keys, 6 key codes
> wskbd1 at ukbd0 mux 1
> wskbd1: connecting to wsdisplay0
> vscsi0 at root
> scsibus1 at vscsi0: 256 targets
> softraid0 at root
> root on sd0a swap on sd0b dump on sd0b
> 

-- 
Matthieu Herrb

Reply via email to