Bug 24095

Summary: r600: dual head not working with KMS enabled
Product: xorg Reporter: Casey Jones <jonescaseyb>
Component: Driver/RadeonAssignee: xf86-video-ati maintainers <xorg-driver-ati>
Status: RESOLVED INVALID QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: hramrach
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log
none
dmesg
none
xorg.conf
none
xrandr output
none
Real xorg.log none

Description Casey Jones 2009-09-22 15:21:47 UTC
Hello,

I have a Radeon 4850, and I'm using the drm-next branch of airlied's kernel sources.  I have mesa, xf86-video-ati, and libdrm from git.

I have two monitors.  The screen on the right is 1680x1050 (DVI-1), and the one on the left is 1280x1024 (DVI-0).  When I use KMS it only uses one screen, which by default is the smaller, left screen.  If I disable KMS everything works fine.  Xrandr sees both screens, and shows the correct modes.  If I do: xrandr --output DVI-1 --mode 1680x1050 it changes the mode on DVI-0 to 1680x1050 instead of DVI-1 even though the mode is too large to fit that screen.

I am attaching my dmesg, Xorg.0.log, and my xorg.conf
Comment 1 Casey Jones 2009-09-22 15:22:17 UTC
Created attachment 29775 [details] [review]
Xorg log
Comment 2 Casey Jones 2009-09-22 15:22:34 UTC
Created attachment 29776 [details] [review]
dmesg
Comment 3 Casey Jones 2009-09-22 15:22:53 UTC
Created attachment 29777 [details] [review]
xorg.conf
Comment 4 Casey Jones 2009-09-22 15:26:25 UTC
Created attachment 29778 [details] [review]
xrandr output

I'll toss in my xrandr output so you can see what it's doing.
Comment 5 Alex Deucher 2009-09-22 15:28:43 UTC
looks like you attached your dmesg twice instead of your xorg log.
Comment 6 Alex Deucher 2009-09-22 15:30:54 UTC
The outputs are enumerated in the opposite order with kms which needs to be fixed. So DVI-0 (non-kms) is DVI-1 (kms).
Comment 7 Casey Jones 2009-09-22 15:41:12 UTC
Created attachment 29779 [details]
Real xorg.log
Comment 8 Casey Jones 2009-10-07 20:17:58 UTC
Some progress has been made on this bug.

I tested KMS again tonight, and both screens display now instead of just one.  However, the screens are still backwards.

I think if I switch the dvi connections around on the card, it would be layed out the right way.  Last time I tested it it switched the displays around, but only one screen would display at a time then.

Completely seperate issue, but I'm getting like 4-bit color on X.
Comment 9 Alex Deucher 2010-10-19 17:54:14 UTC
Is this still and issue with a newer kernel?
Comment 10 Adam Jackson 2018-06-12 19:06:07 UTC
Mass closure: This bug has been untouched for more than six years, and is not
obviously still valid. Please reopen this bug or file a new report if you continue to experience issues with current releases.

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.