Bug 26668 - Dual head not working with Radeon HD 5800
Summary: Dual head not working with Radeon HD 5800
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.5 (2009.10)
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-20 09:38 UTC by Mathieu Bérard
Modified: 2010-02-24 11:04 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg log with UMS and minimal xorg.conf (130.32 KB, text/plain)
2010-02-20 09:38 UTC, Mathieu Bérard
no flags Details
Xorg.conf with written down dual head config (616 bytes, text/plain)
2010-02-20 09:40 UTC, Mathieu Bérard
no flags Details
Xorg log with KMS and dual head config in xorg.conf (64.09 KB, text/plain)
2010-02-20 09:43 UTC, Mathieu Bérard
no flags Details
Xorg log with KMS and minimal xorg.conf (53.63 KB, text/plain)
2010-02-20 09:47 UTC, Mathieu Bérard
no flags Details
kernel log of radeon in KMS mode (2.92 KB, text/plain)
2010-02-20 09:50 UTC, Mathieu Bérard
no flags Details
xrandr output during dual head test (1.09 KB, text/plain)
2010-02-20 09:58 UTC, Mathieu Bérard
no flags Details
VGA BIOS image (62.00 KB, application/octet-stream)
2010-02-20 10:19 UTC, Mathieu Bérard
no flags Details
fix (1.27 KB, patch)
2010-02-23 19:11 UTC, Alex Deucher
no flags Details | Splinter Review

Description Mathieu Bérard 2010-02-20 09:38:45 UTC
Created attachment 33452 [details]
Xorg log with UMS and minimal xorg.conf

Hello,
I am trying a dual head setup with no success so far...


Hardware:
Radeon HD 5850 (1002:6899)
Primary monitor: DVI-D Samsung SyncMaster 1920x1080 connected to DVI-1 output
Secondary monitor: VGA Acer AL2216W 1680x1050 connected to DVI-0 output (with DVI-A/VGA adaptator)

Software:
Ubuntu Lucid
kernel 2.6.32 + drm from drm-radeon-testing (git commit 45fa67...)
xorg 1.7.5
radeon ddx 6.12.99 (git commit a3b730ec...)

The desired setup is to have the primary monitor right of the secondary one
That is primary at +1680 +0 and secondary at +0 +15


What I have tried:
* KMS with minimal Xorg.conf
Dual Head setup using xrandr or gnome-display-properties

* UMS with minimal Xorg.conf + 'Virtual 3600 1080' display option
Dual Head setup using xrandr or gnome-display-propertie

* KMS with dual head setup in Xorg.conf

What happen:
The secondary display (the VGA one, connected to DVI-0) always stays off

There is also sometimes bug in with the cursor: it can't reach all part of the display, it appears to hit some 'invisible wall' like if the right edge of the desktop was in the middle of the screen.
Comment 1 Mathieu Bérard 2010-02-20 09:40:18 UTC
Created attachment 33453 [details]
Xorg.conf with written down dual head config
Comment 2 Mathieu Bérard 2010-02-20 09:43:17 UTC
Created attachment 33454 [details]
Xorg log with KMS and dual head config in xorg.conf
Comment 3 Mathieu Bérard 2010-02-20 09:47:49 UTC
Created attachment 33456 [details]
Xorg log with KMS and minimal xorg.conf
Comment 4 Mathieu Bérard 2010-02-20 09:50:56 UTC
Created attachment 33457 [details]
kernel log of radeon in KMS mode
Comment 5 Mathieu Bérard 2010-02-20 09:58:42 UTC
Created attachment 33458 [details]
xrandr output during dual head test

This is the xrandr output during dual head test.

Contrary to was is reported by xrandr the displays connected to DVI-0 actually stays off
Comment 6 Mathieu Bérard 2010-02-20 10:19:36 UTC
Created attachment 33460 [details]
VGA BIOS image
Comment 7 Alex Deucher 2010-02-23 10:22:07 UTC
Multi-head still has issues with UMS that I haven't had time to sort out yet, for now you can use KMS.
Comment 8 Mathieu Bérard 2010-02-23 10:43:28 UTC
(In reply to comment #7)
> Multi-head still has issues with UMS that I haven't had time to sort out yet,
> for now you can use KMS.
> 

Sorry for not being more clear: I am mainly using KMS, UMS was just a test.
Dual head is NOT working for me even in KMS mode.

At some point in the boot process (upon radeon module initialization ?), one head goes down and cannot be switched on again...
Comment 9 Alex Deucher 2010-02-23 19:11:51 UTC
Created attachment 33517 [details] [review]
fix

This should fix it.  I've sent it upstream.
Comment 10 Mathieu Bérard 2010-02-24 11:04:23 UTC
(In reply to comment #9)
> Created an attachment (id=33517) [details]
> fix
> 
> This should fix it.  I've sent it upstream.
> 

Ok, I have applied, on top of drm-radeon-testing (aa5120d...), that fix and the one for fdo bug 26551, which seemed also relevant.
Dual head now works as expected !
Thanks for you efficiency.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.