dual radeon card problem

Hi,

I am using opensuse 11.2 all default and experience a problem with X. First, my hardware (Hp 6005 Pro), from lspci:

linux-kc38:~ # lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS780 Host Bridge Alternate
00:01.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (int gfx)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:0a.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 5)
00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode]
00:12.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:12.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:12.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:13.0 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI0 Controller
00:13.1 USB Controller: ATI Technologies Inc SB700 USB OHCI1 Controller
00:13.2 USB Controller: ATI Technologies Inc SB700/SB800 USB EHCI Controller
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 3c)
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB700/SB800 LPC host controller
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:14.5 USB Controller: ATI Technologies Inc SB700/SB800 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:05.0 VGA compatible controller: ATI Technologies Inc Device 9710
02:00.0 VGA compatible controller: ATI Technologies Inc Mobility Radeon HD 3470
3f:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5761 Gigabit Ethernet PCIe (rev 10)
linux-kc38:~ #

As you can note, I have two video cards. One of then is activated in bios, using an option called surroundview. The other one is an external normal device. So, my try was to make a big desktop and use two monitors. So far so good.
After the system was installed, X started only on external device. Ok, xorg unconfigured.
So, I ran X -configure and get a xorg.conf.new.And here it is:

Section “ServerLayout”
Identifier “X.org Configured”
Screen 0 “Screen0” 0 0
Screen 1 “Screen1” RightOf “Screen0”
InputDevice “Mouse0” “CorePointer”
InputDevice “Keyboard0” “CoreKeyboard”
EndSection

Section “Files”
ModulePath “/usr/lib64/xorg/modules/updates”
ModulePath “/usr/lib64/xorg/modules”
FontPath “/usr/share/fonts/misc:unscaled”
FontPath “/usr/share/fonts/truetype/”
FontPath “/usr/share/fonts/TTF/”
FontPath “/usr/share/fonts/OTF”
FontPath “/usr/share/fonts/Type1/”
FontPath “/usr/share/fonts/100dpi:unscaled”
FontPath “/usr/share/fonts/75dpi:unscaled”
EndSection

Section “Module”
Load “dri2”
Load “vnc”
Load “dri”
Load “extmod”
Load “glx”
Load “dbe”
Load “record”
EndSection

Section “InputDevice”
Identifier “Keyboard0”
Driver “kbd”
EndSection

Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/input/mice”
Option “ZAxisMapping” “4 5 6 7”
EndSection

Section “Monitor”
Identifier “Monitor0”
VendorName “HWP”
ModelName “HP LE1901w”
HorizSync 24.0 - 83.0
VertRefresh 50.0 - 76.0
Option “DPMS”
EndSection

Section “Monitor”
Identifier “Monitor1”
VendorName “HWP”
ModelName “HP LE1901w”
HorizSync 24.0 - 83.0

    VertRefresh  50.0 - 76.0
    Option      "DPMS"

EndSection

Section “Device”
Identifier “Card0”
Driver “radeon”
VendorName “Unknown Vendor”
BoardName “Unknown Board”
BusID “PCI:2:0:0”
EndSection

Section “Device”
Identifier “Card1”
Driver “radeon”
VendorName “Unknown Vendor”
BoardName “Unknown Board”
BusID “PCI:1:5:0”
EndSection

Section “Screen”
Identifier “Screen0”
Device “Card0”
Monitor “Monitor0”
EndSection

Section “Screen”
Identifier “Screen1”
Device “Card1”
Monitor “Monitor1”
EndSection

And, my X is:

linux-kc38:~ # X -version

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-kc38 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 x86_64
Build Date: 02 November 2009 12:04:43PM

    Before reporting problems, check [X.Org Wiki - Home](http://wiki.x.org)
    to make sure that you have the latest version.

linux-kc38:~ #

So, when I try a simple X -config xorg.conf.new, I get black screen, I see the X process running about 100% in top and get this log in /var/log/Xorg.0.log: (It is to much long to post here… :(, but is ends like this)

(II) RADEON(0): Acceleration enabled
() Option “dpms”
(
) RADEON(0): DPMS enabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Set up textured video
(II) RADEON(0): DIG0 transmitter: Coherent Mode disabled
Output DIG0 transmitter setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Disable CRTC memreq 1 success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Mode 1440x900 - 1904 934 6
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0x00ef00e0 0x00ef00e0
(II) RADEON(0): MC_AGP_LOCATION : 0x00030000
freq: 106500000
best_freq: 106500000
best_feedback_div: 71
best_ref_div: 2
best_post_div: 9
(II) RADEON(0): crtc(0) Clock: mode 106500, PLL 106500
(II) RADEON(0): crtc(0) PLL : refdiv 2, fbdiv 0x47(71), pdiv 9
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Output DIG2 encoder setup success
Output DIG2 encoder setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Enable CRTC memreq 0 success
Enable CRTC 0 success
Unblank CRTC 0 success
(II) RADEON(0): DIG0 transmitter: Coherent Mode disabled
Output DIG0 transmitter setup success
Blank CRTC 1 success
Disable CRTC 1 success
Disable CRTC memreq 1 success
(II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Mode 1440x900 - 1904 934 6
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0): MC_FB_LOCATION : 0x00ef00e0 0x00ef00e0
(II) RADEON(0): MC_AGP_LOCATION : 0x00030000
freq: 106500000
best_freq: 106500000
best_feedback_div: 71
best_ref_div: 2
best_post_div: 9
(II) RADEON(0): crtc(0) Clock: mode 106500, PLL 106500
(II) RADEON(0): crtc(0) PLL : refdiv 2, fbdiv 0x47(71), pdiv 9
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Output DIG2 encoder setup success
Output DIG2 encoder setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
(II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
Output DIG0 transmitter setup success
Enable CRTC memreq 0 success
Enable CRTC 0 success
Unblank CRTC 0 success
(–) RandR disabled
(II) RADEON(1): RADEONScreenInit d0000000 0 0
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Disable CRTC memreq 1 success
(==) RADEON(1): Using 24 bit depth buffer
(II) RADEON(1): RADEONInitMemoryMap() :
(II) RADEON(1): mem_size : 0x17000000
(II) RADEON(1): MC_FB_LOCATION : 0x00d600c0
(II) RADEON(1): MC_AGP_LOCATION : 0x003f0000
(II) RADEON(1): Depth moves disabled by default
(II) RADEON(1): Allocating from a screen of 262080 kb
(II) RADEON(1): Will use 32 kb for hardware cursor 0 at offset 0x01c20000
(II) RADEON(1): Will use 32 kb for hardware cursor 1 at offset 0x01c24000
(II) RADEON(1): Will use 28800 kb for front buffer at offset 0x00000000
(II) RADEON(1): Will use 64 kb for PCI GART at offset 0x0fff0000
(II) RADEON(1): Will use 28800 kb for back buffer at offset 0x01c28000
(II) RADEON(1): Will use 28800 kb for depth buffer at offset 0x03848000
(II) RADEON(1): Will use 87040 kb for textures at offset 0x05468000
(II) RADEON(1): Will use 88608 kb for X Server offscreen at offset 0x0a968000
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 13, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 13, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:05.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 13, (OK)
drmOpenByBusid: drmOpenMinor returns 13
drmOpenByBusid: drmGetBusid reports pci:0000:02:00.0
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is 13, (OK)
drmOpenByBusid: drmOpenMinor returns 13
drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
(II) [drm] DRM interface version 1.3
(II) [drm] DRM open master succeeded.
(II) RADEON(1): [drm] Using the DRM lock SAREA also for drawables.
(II) RADEON(1): [drm] framebuffer handle = 0xd0000000
(II) RADEON(1): [drm] added 1 reserved context for kernel
(II) RADEON(1): X context handle = 0x1
(II) RADEON(1): [drm] installed DRM signal handler
(II) RADEON(1): [pci] 32768 kB allocated with handle 0x07e88900
(II) RADEON(1): [pci] ring handle = 0x2b7ff000
(II) RADEON(1): [pci] Ring mapped at 0x7f72efe06000
(II) RADEON(1): [pci] Ring contents 0x00000000
(II) RADEON(1): [pci] ring read ptr handle = 0x1b800000
(II) RADEON(1): [pci] Ring read ptr mapped at 0x7f72efe05000
(II) RADEON(1): [pci] Ring read ptr contents 0x00000000
(II) RADEON(1): [pci] vertex/indirect buffers handle = 0x2b800000
(II) RADEON(1): [pci] Vertex/indirect buffers mapped at 0x7f72efc05000
(II) RADEON(1): [pci] Vertex/indirect buffers contents 0x00000000
(II) RADEON(1): [pci] GART texture map handle = 0x2b801000
(II) RADEON(1): [pci] GART Texture map mapped at 0x7f72edf85000
(II) RADEON(1): [drm] register handle = 0x2fff8000
(II) RADEON(1): [dri] Visual configs initialized
(II) RADEON(1): RADEONRestoreMemMapRegisters() :
(II) RADEON(1): MC_FB_LOCATION : 0x00d600c0 0x00d600c0
(II) RADEON(1): MC_AGP_LOCATION : 0x003f0000
(==) RADEON(1): Backing store disabled
(II) RADEON(1): [DRI] installation complete
(II) RADEON(1): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(1): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(1): [drm] dma control initialized, using IRQ 18
(II) RADEON(1): [drm] Initialized kernel GART heap manager, 29884416
(WW) RADEON(1): DRI init changed memory map, adjusting …
(WW) RADEON(1): MC_FB_LOCATION was: 0x00d600c0 is: 0x00d600c0
(WW) RADEON(1): MC_AGP_LOCATION was: 0x003f0000 is: 0x00030000
(II) RADEON(1): RADEONRestoreMemMapRegisters() :
(II) RADEON(1): MC_FB_LOCATION : 0x00d600c0 0x00d600c0
(II) RADEON(1): MC_AGP_LOCATION : 0x00030000
(II) RADEON(1): Direct rendering enabled
(II) RADEON(1): Setting EXA maxPitchBytes
(II) EXA(1): Offscreen pixmap area of 90734592 bytes
(II) EXA(1): Driver registered support for the following operations:
(II) Solid
(II) Copy
(II) Composite (RENDER acceleration)
(II) UploadToScreen
(II) DownloadFromScreen
(II) RADEON(1): Acceleration enabled
() Option “dpms”
(
) RADEON(1): DPMS enabled
(==) RADEON(1): Silken mouse enabled
(II) RADEON(1): Set up textured video
(II) RADEON(1): DIG0 transmitter: Coherent Mode disabled
Output DIG0 transmitter setup success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Blank CRTC 1 success
Disable CRTC 1 success
Disable CRTC memreq 1 success
Output CRT1 disable success
Blank CRTC 0 success
Disable CRTC 0 success
Disable CRTC memreq 0 success
Mode 1280x1024 - 1688 1066 5
(II) RADEON(1): RADEONRestoreMemMapRegisters() :
(II) RADEON(1): MC_FB_LOCATION : 0x00d600c0 0x00d600c0
(II) RADEON(1): MC_AGP_LOCATION : 0x00030000
freq: 108000000
best_freq: 108000000
best_feedback_div: 48
best_ref_div: 2
best_post_div: 6
(II) RADEON(1): crtc(0) Clock: mode 108000, PLL 108000
(II) RADEON(1): crtc(0) PLL : refdiv 2, fbdiv 0x30(48), pdiv 6
Set CRTC 0 PLL success
Set CRTC Timing success
Set CRTC 0 Overscan success
Not using RMX
scaler 0 setup success
Set CRTC 0 Source success
crtc 0 YUV disable setup success

I still tried run fedora 12 on this very same hardware. Got the same error. So I ran “yum update -y” and got lots of updates. After that, I X run perfectly on both monitors. So I guess there is a solution.

I tried to use ATI Driver, had to use some tutorials to make it work, and, after some time, got it. Unfortunately, when I use this driver, get the very same results: works on external card but never on both and freezes too.

So, anyone has this error? Recognaze it? Can help me?

Thanks