Re: Radeon HD5450

2012-04-10 Thread Abel Abraham Camarillo Ojeda
On Mon, Apr 9, 2012 at 6:14 AM, Nigel Taylor
njtay...@asterisk.demon.co.uk wrote:
 On 04/09/12 10:58, Abel Abraham Camarillo Ojeda wrote:
 On Sun, Apr 24, 2011 at 6:13 AM, Owain Ainsworth zer...@googlemail.com
 wrote:
 On Sat, Apr 23, 2011 at 11:07:16PM -0400, Mark Peoples wrote:
 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

 the xorg driver part getting updated probably isn't going to happen any
 time soon, but can the pci bits go in? thanks!

 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 B B B 29 Sep 2010 13:32:22 - B B B B B 1.51
 +++ drm/radeon_drv.c B B B 3 Apr 2011 12:23:45 -
 @@ -526,6 +526,8 @@
 B B B B B B B B B B B B CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 B B B B B B B B {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
 B B B B B B B B B B B
 CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 + B B B B B B {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
 + B B B B B B B B B B CHIP_RS880|RADEON_NEW_MEMMAP},
 B B B B B B B B B {0, 0, 0}

 While this has been commited this is actually wrong.

 The chip is an evergreen (cedar, specifically) not a RS880. So it is
 possible that something funny can happen when using this. I'll deal with
 this when I get some time.

 -0-
 --
 Experience is something you don't get until just after you need it.
 B B B B B B B B B B B B B B B -- Olivier


 I've got a new (supossedly) ATI Radeon HD 5450:


http://www.asus.com/Graphics_Cards/AMD_Series/EAH5450_SILENTDI1GD3LP/#specifi
 cations

 I thought of adding something like this:

 Index: pcidevs
 ===
 RCS file: /cvs/src/sys/dev/pci/pcidevs,v
 retrieving revision 1.1637
 diff -u -r1.1637 pcidevs
 --- pcidevs B  B  5 Apr 2012 11:22:35 - B  B  B  1.1637
 +++ pcidevs B  B  9 Apr 2012 09:14:42 -
 @@ -1252,6 +1252,7 @@
 B product ATI RADEON_HD5700 B  B  B 0x68b8 B Radeon HD 5700
 B product ATI RADEON_HD5670 B  B  B 0x68d8 B Radeon HD 5670
 B product ATI MOBILITY_HD5470 B  B 0x68e0 B Radeon Mobility HD 5470
 +product ATI RADEON_HD5450_1 B  B 0x68e1 B Radeon HD 5450
 B product ATI RADEON_HD5450 B  B  B 0x68f9 B Radeon HD 5450
 B product ATI RS100_PCI B  B  B  B  B 0x700f B RS100 PCI
 B product ATI RS200_PCI B  B  B  B  B 0x7010 B RS200 PCI
 Index: drm/radeon_drv.c
 ===
 RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
 retrieving revision 1.57
 diff -u -r1.57 radeon_drv.c
 --- drm/radeon_drv.c B  B 29 Jan 2012 22:36:18 - B  B  B 1.57
 +++ drm/radeon_drv.c B  B 9 Apr 2012 09:23:59 -
 @@ -533,6 +533,8 @@
 B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
 B  B  B  B  B  B 
CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 + B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450_1,
 + B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
 B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
 B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
 B  B  B  B  B {0, 0, 0}

 But according to radeon(4) it's a CEDAR (not RS880) chip,
 anyway I applied the previous patch and my card is still in some
 kind of vesa mode...

 There's something I can do to help getting this supported?

 Thanks.


 radeon_drv.c should not be changed to include CEDAR or other evergreen
 chips as RS880. This is wrong it will not work, there needs to be a
 separate drm for evergreen chips, CEDAR, PALM etc.

 If you getting VESA mode then that is a separate issue, your looking in
 the wrong place. you should look in
 xenocara/driver/xf86-video-ati/src/pcidb/ati_pciids.cvs this already
 contains 68e1 as

 0x68E1,CEDAR_68E1,CEDAR,1,ATI Mobility Radeon HD 5000 Series

 You need to be using OpenBSD current and in the xorg.conf specify the
 driver as radeon it will not be detected by default as given here in the
 information for following current.

 http://www.openbsd.org/faq/current.html#20120304

 You will not get acceleration until drm for evergreen chips is
 implemented, but should get the correct display.



This works...

I should have read the FAQ... no cookies for me.

Thank you.



Re: Radeon HD5450

2012-04-09 Thread Abel Abraham Camarillo Ojeda
On Sun, Apr 24, 2011 at 6:13 AM, Owain Ainsworth zer...@googlemail.com
wrote:
 On Sat, Apr 23, 2011 at 11:07:16PM -0400, Mark Peoples wrote:
 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

 the xorg driver part getting updated probably isn't going to happen any
time soon, but can the pci bits go in? thanks!

 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 B  B 29 Sep 2010 13:32:22 - B  B  B 1.51
 +++ drm/radeon_drv.c B  B 3 Apr 2011 12:23:45 -
 @@ -526,6 +526,8 @@
 B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
 B  B  B  B  B  B 
CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 + B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
 + B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
 B  B  B  B  B {0, 0, 0}

 While this has been commited this is actually wrong.

 The chip is an evergreen (cedar, specifically) not a RS880. So it is
 possible that something funny can happen when using this. I'll deal with
 this when I get some time.

 -0-
 --
 Experience is something you don't get until just after you need it.
 B  B  B  B  B  B  B  B -- Olivier


I've got a new (supossedly) ATI Radeon HD 5450:

http://www.asus.com/Graphics_Cards/AMD_Series/EAH5450_SILENTDI1GD3LP/#specifi
cations

I thought of adding something like this:

Index: pcidevs
===
RCS file: /cvs/src/sys/dev/pci/pcidevs,v
retrieving revision 1.1637
diff -u -r1.1637 pcidevs
--- pcidevs 5 Apr 2012 11:22:35 -   1.1637
+++ pcidevs 9 Apr 2012 09:14:42 -
@@ -1252,6 +1252,7 @@
 product ATI RADEON_HD5700  0x68b8  Radeon HD 5700
 product ATI RADEON_HD5670  0x68d8  Radeon HD 5670
 product ATI MOBILITY_HD54700x68e0  Radeon Mobility HD 5470
+product ATI RADEON_HD5450_10x68e1  Radeon HD 5450
 product ATI RADEON_HD5450  0x68f9  Radeon HD 5450
 product ATI RS100_PCI  0x700f  RS100 PCI
 product ATI RS200_PCI  0x7010  RS200 PCI
Index: drm/radeon_drv.c
===
RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
retrieving revision 1.57
diff -u -r1.57 radeon_drv.c
--- drm/radeon_drv.c29 Jan 2012 22:36:18 -  1.57
+++ drm/radeon_drv.c9 Apr 2012 09:23:59 -
@@ -533,6 +533,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_1,
+   CHIP_RS880|RADEON_NEW_MEMMAP},
{PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
CHIP_RS880|RADEON_NEW_MEMMAP},
 {0, 0, 0}

But according to radeon(4) it's a CEDAR (not RS880) chip,
anyway I applied the previous patch and my card is still in some
kind of vesa mode...

There's something I can do to help getting this supported?

Thanks.



Re: Radeon HD5450

2012-04-09 Thread Nigel Taylor
On 04/09/12 10:58, Abel Abraham Camarillo Ojeda wrote:
 On Sun, Apr 24, 2011 at 6:13 AM, Owain Ainsworth zer...@googlemail.com
 wrote:
 On Sat, Apr 23, 2011 at 11:07:16PM -0400, Mark Peoples wrote:
 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

 the xorg driver part getting updated probably isn't going to happen any
 time soon, but can the pci bits go in? thanks!

 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 B  B 29 Sep 2010 13:32:22 - B  B  B 1.51
 +++ drm/radeon_drv.c B  B 3 Apr 2011 12:23:45 -
 @@ -526,6 +526,8 @@
 B  B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 B  B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD4200_M,
 B  B  B  B  B  B 
 CHIP_RS880|RADEON_IS_MOBILITY|RADEON_NEW_MEMMAP|RADEON_IS_IGP},
 + B  B  B  {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
 + B  B  B  B  B  CHIP_RS880|RADEON_NEW_MEMMAP},
 B  B  B  B  B {0, 0, 0}

 While this has been commited this is actually wrong.

 The chip is an evergreen (cedar, specifically) not a RS880. So it is
 possible that something funny can happen when using this. I'll deal with
 this when I get some time.

 -0-
 --
 Experience is something you don't get until just after you need it.
 B  B  B  B  B  B  B  B -- Olivier

 
 I've got a new (supossedly) ATI Radeon HD 5450:
 
 http://www.asus.com/Graphics_Cards/AMD_Series/EAH5450_SILENTDI1GD3LP/#specifi
 cations
 
 I thought of adding something like this:
 
 Index: pcidevs
 ===
 RCS file: /cvs/src/sys/dev/pci/pcidevs,v
 retrieving revision 1.1637
 diff -u -r1.1637 pcidevs
 --- pcidevs 5 Apr 2012 11:22:35 -   1.1637
 +++ pcidevs 9 Apr 2012 09:14:42 -
 @@ -1252,6 +1252,7 @@
  product ATI RADEON_HD5700  0x68b8  Radeon HD 5700
  product ATI RADEON_HD5670  0x68d8  Radeon HD 5670
  product ATI MOBILITY_HD54700x68e0  Radeon Mobility HD 5470
 +product ATI RADEON_HD5450_10x68e1  Radeon HD 5450
  product ATI RADEON_HD5450  0x68f9  Radeon HD 5450
  product ATI RS100_PCI  0x700f  RS100 PCI
  product ATI RS200_PCI  0x7010  RS200 PCI
 Index: drm/radeon_drv.c
 ===
 RCS file: /cvs/src/sys/dev/pci/drm/radeon_drv.c,v
 retrieving revision 1.57
 diff -u -r1.57 radeon_drv.c
 --- drm/radeon_drv.c29 Jan 2012 22:36:18 -  1.57
 +++ drm/radeon_drv.c9 Apr 2012 09:23:59 -
 @@ -533,6 +533,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_1,
 +   CHIP_RS880|RADEON_NEW_MEMMAP},
 {PCI_VENDOR_ATI, PCI_PRODUCT_ATI_RADEON_HD5450,
 CHIP_RS880|RADEON_NEW_MEMMAP},
  {0, 0, 0}
 
 But according to radeon(4) it's a CEDAR (not RS880) chip,
 anyway I applied the previous patch and my card is still in some
 kind of vesa mode...
 
 There's something I can do to help getting this supported?
 
 Thanks.
 
 
radeon_drv.c should not be changed to include CEDAR or other evergreen
chips as RS880. This is wrong it will not work, there needs to be a
separate drm for evergreen chips, CEDAR, PALM etc.

If you getting VESA mode then that is a separate issue, your looking in
the wrong place. you should look in
xenocara/driver/xf86-video-ati/src/pcidb/ati_pciids.cvs this already
contains 68e1 as

0x68E1,CEDAR_68E1,CEDAR,1,ATI Mobility Radeon HD 5000 Series

You need to be using OpenBSD current and in the xorg.conf specify the
driver as radeon it will not be detected by default as given here in the
information for following current.

http://www.openbsd.org/faq/current.html#20120304

You will not get acceleration until drm for evergreen chips is
implemented, but should get the correct display.



Re: Radeon HD5450

2011-04-24 Thread Owain Ainsworth
On Sat, Apr 23, 2011 at 11:07:16PM -0400, Mark Peoples wrote:
 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
 
 the xorg driver part getting updated probably isn't going to happen any time 
 soon, but can the pci bits go in? thanks!
 
 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.c29 Sep 2010 13:32:22 -  1.51
 +++ drm/radeon_drv.c3 Apr 2011 12:23:45 -
 @@ -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}

While this has been commited this is actually wrong.

The chip is an evergreen (cedar, specifically) not a RS880. So it is
possible that something funny can happen when using this. I'll deal with
this when I get some time.

-0-
-- 
Experience is something you don't get until just after you need it.
-- Olivier



Radeon HD5450

2011-04-03 Thread Mark Peoples
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

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  
   800x60075.0 60.3  
   640x48075.0 59.9  
   720x40070.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  
   800x60075.0 60.3  
   640x48075.0 59.9  
   720x40070.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.c29 Sep 2010 13:32:22 -  1.51
+++ drm/radeon_drv.c3 Apr 2011 12:23:45 -
@@ -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 -  1.1592
+++ pcidevs 3 Apr 2011 12:23:41 -
@@ -1206,6 +1206,7 @@
 product ATI RADEON_HD5700  0x68b8  Radeon HD 5700
 product ATI RADEON_HD5670  0x68d8  Radeon HD 5670
 product ATI MOBILITY_HD54700x68e0  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
root@i5.peoples:/usr/src/sys/arch/amd64/compile/GENERIC.MP
RTC BIOS diagnostic error 11memory_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 0xfee0: 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 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xf800, bus 0-63

Re: Radeon HD5450

2011-04-03 Thread Mark Peoples
On Sun, Apr 03, 2011 at 04:08:49PM +0200, Matthieu Herrb wrote:
 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.

i haven't tested that yet, but i will give it a shot shortly because i'd love 
to have both 24 monitors running at 1920x1080

fwiw, i re-installed the drivers from xenocara and X would not start. what's in 
xenocara now doesn't support the card



Re: Radeon HD5450

2011-04-03 Thread Nigel Taylor
Hi,

I did some tests of latest ATI drivers, v6.13.2+patches, v6.14.0, v6.14.1
ati/radeon driver using zaphod mode with what hardware I have available. I am
using OpenBSD current amd64 in all cases.

Samsung R780 laptop which has a ATI HD 5470 (CEDAR chip), zaphod dual head, and
triple head worked (LCD, VGA, HDMI). I have been using dual head set-up daily
since mid January updating with later drivers. v6.14.0/v6.14.1 is the only
released version that works with the HD 5470, v6.13.2 required later patches
from git to work.

I also tried PC's with a 880G motherboard / HD 4250 onboard. PC with 790GX
motherboard / HD 3300 on board. PC with 770G motherboard / HD 3200 on board. For
all 3 PC's zaphod dual head worked. PC's I tried with v6.14.0, I haven't retried
with yet with v6.14.1.

If required I can supply more details.

Regards

Nigel Taylor

On 04/03/11 15:08, Matthieu Herrb wrote:
 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  
800x60075.0 60.3  
640x48075.0 59.9  
720x40070.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  
800x60075.0 60.3  
640x48075.0 59.9  
720x40070.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.c29 Sep 2010 13:32:22 -  1.51
 +++ drm/radeon_drv.c3 Apr 2011 12:23:45 -
 @@ -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 -  1.1592
 +++ pcidevs 3 Apr 2011 12:23:41 -
 @@ -1206,6 +1206,7 @@
  product ATI RADEON_HD5700  0x68b8  Radeon HD 5700
  product ATI RADEON_HD5670  0x68d8  Radeon HD 5670
  product ATI MOBILITY_HD54700x68e0  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
 root@i5.peoples:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 RTC BIOS diagnostic error 11memory_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 0xfee0: 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