Bug 5991 - Wrong resolution when connecting an ati X800 PCIe via DVI _and_ VGA
Summary: Wrong resolution when connecting an ati X800 PCIe via DVI _and_ VGA
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-22 06:27 UTC by Giuseppe Castagna
Modified: 2007-02-07 03:30 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf file (2.80 KB, text/plain)
2006-02-22 06:31 UTC, Giuseppe Castagna
no flags Details
Log when resolution is ok (142.97 KB, text/plain)
2006-02-22 06:32 UTC, Giuseppe Castagna
no flags Details
Log when resolution is wrong (i.e. MergedFB=true) (156.44 KB, text/plain)
2006-02-22 06:35 UTC, Giuseppe Castagna
no flags Details
With both DVI and VGA attached, I get only 640x480. (61.11 KB, text/x-log)
2007-02-01 11:29 UTC, Timo Jyrinki
no flags Details
With only DVI attached, I get full resolution. (51.26 KB, text/x-log)
2007-02-01 11:30 UTC, Timo Jyrinki
no flags Details

Description Giuseppe Castagna 2006-02-22 06:27:16 UTC
I have an ATI X800 XL (PCIe) with DVI and VGA plugs and an LCD monitor Viewsonic
VG191 1280x1024 with the same connectors. These are used on a Athlon x86_64
machine running Fedora rawhide version which features xorg 7.0. Here the
information of current packages: 

Kernel: Linux 2.6.15-1.1826.2.10_FC5
xorg:   xorg-x11-drv-ati-6.5.7.3-3.2

(for more information see http://www.di.ens.fr/users/castagna/Xorg.0.log ... I
do not see how to add an attachment here)


When I connect the Viewsonic monitor only via the DVI cable the monitor is not
recognized (it is considered a CRT, gives a synch out of range and the
resolution is dropped to a very low reslution, 640x480 I guess: see the log file
below), while if I connect only **or also** the VGA, then the resolution was
correctly set to 1280x1024 (even if I manually select the signal on the DVI
port). After several tries (forcing panel size, etc, etc) I found that the
problem goes away by using 
        Option      "MergedFB" "false"
since I noticed that when the VGA cable was connected the MergedFB was executed
instead of the monitor recognition (when VGA-cable is pluged).

If I comment out the line above in my xorg.cong I obtain the following log
error: http://www.di.ens.fr/users/castagna/Xorg.0.log.bug

My current xorg.conf file can be found at
http://www.di.ens.fr/users/castagna/xorg.conf

Hope it helps.
Comment 1 Giuseppe Castagna 2006-02-22 06:31:47 UTC
Created attachment 4707 [details]
xorg.conf file
Comment 2 Giuseppe Castagna 2006-02-22 06:32:59 UTC
Created attachment 4708 [details]
Log when resolution is ok
Comment 3 Giuseppe Castagna 2006-02-22 06:35:03 UTC
Created attachment 4709 [details]
Log when resolution is wrong (i.e. MergedFB=true)
Comment 4 Giuseppe Castagna 2006-02-22 06:36:23 UTC
yes ... I discovered how to add attachments :-)
Comment 5 Alex Deucher 2006-02-23 01:56:55 UTC
looks like your DDC lines are reversed.  try setting:
Option "ReverseDDC" "TRUE"
Comment 6 Giuseppe Castagna 2006-02-23 22:30:22 UTC
> looks like your DDC lines are reversed.  try setting:
> Option "ReverseDDC" "TRUE"

It does not work. Same problem. Notice that it does not look as if X inverts the
two DDC connectors, but rather that when the monitor is not connected to the VGA
port the MergedFB mode is not forced off and that it considers the monitor as a
CRT. Indeed you diff my Xorg.0.log.bug and Xorg.0.log you will notice the following:

< (II) RADEON(0): Validating CRTC2 modes for MergedFB ------------
< (II) RADEON(0): CRT2 Monitor: Using hsync range of 28.00-33.00 kHz
< (II) RADEON(0): CRT2 Monitor: Using vrefresh range of 43.00-72.00 Hz
< (II) RADEON(0): Clock range:  20.00 to 500.00 MHz
< (II) RADEON(0): Not using default mode "640x350" (hsync out of range)
< (II) RADEON(0): Not using default mode "320x175" (bad mode
clock/interlace/doublescan)

etc, etc. 

This gave me the cue to disable MergedFB

Ah, FYI my card is a Gigabyte GV-RX80L256V Fanless X800 XL PCI-Express, and my
LCD and DVI cable worked flawlessly on the previous machine they were installed on.
Comment 7 Timo Jyrinki 2006-12-29 08:34:21 UTC
Bug 6796 has similar DVI output problem with another X800 card. Updating version
to 7.2 (still happens).
Comment 8 Timo Jyrinki 2007-02-01 11:29:02 UTC
Actually, I just noticed on my X800 the problem only occurs when both DVI and VGA are in use, not the other way around. So, with only DVI connected 1280x1024 is displayed just fine. Could you Giuseppe check what's the situation with the current driver? I find the behavior the same with both 6.6.2 and the latest GIT.
Comment 9 Timo Jyrinki 2007-02-01 11:29:48 UTC
Created attachment 8560 [details]
With both DVI and VGA attached, I get only 640x480.
Comment 10 Timo Jyrinki 2007-02-01 11:30:15 UTC
Created attachment 8561 [details]
With only DVI attached, I get full resolution.
Comment 11 Timo Jyrinki 2007-02-01 11:31:39 UTC
(changed the summary to reflect the behavior on my X800, feel free to change it back if the original bug seems to be there... also if the original bug is fixed you, it might be wise to mark this as fixed and file a new bug on my problem)
Comment 12 Giuseppe Castagna 2007-02-02 01:15:41 UTC
Actually, I no longer have the same hardware as one year ago. So I cannot proceed to any test. Sorry
Comment 13 Timo Jyrinki 2007-02-07 03:30:34 UTC
Hmm, actually this works if I attach the VGA to some proper monitor instead of a crappy VGA to S-Video adapter, so I guess it works for all true multi-monitor setups.

So, marking as fixed! I don't think it's the driver's problem to choose automatically whether a bigger resolution is used on the primary monitor and a smaller resolution on the secondary, ie. it should be configurable elsewhere (currently just xorg.conf).


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.