Bug 13412 - Gutsy - Second monitor will not turn on with Radeon driver
Summary: Gutsy - Second monitor will not turn on with Radeon driver
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) All
: medium normal
Assignee: xf86-video-ati maintainers
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-27 15:19 UTC by Jared Jones
Modified: 2008-12-03 00:51 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
xorg.conf (2.30 KB, text/plain)
2007-11-27 15:20 UTC, Jared Jones
no flags Details
Xorg logfile (247.31 KB, text/plain)
2007-11-29 19:59 UTC, Jared Jones
no flags Details
Xorg.log when V1100 monitor is on VGA-0 and P1100 monitor is on DVI-0 (218.46 KB, text/plain)
2007-11-30 21:39 UTC, Jared Jones
no flags Details
Xorg.log when V1100 monitor is on VGA-0 and P1100 monitor is on DVI-0; after full reboot. (243.43 KB, text/plain)
2007-12-01 15:44 UTC, Jared Jones
no flags Details

Description Jared Jones 2007-11-27 15:19:38 UTC
I have a dual-head CRT-display setup that worked with Ubuntu Feisty Fawn. It consists of an ATI Radeon 9600 (RV350), a Compaq P1100, and a Compaq V1100 (both CRT monitors).

Attached is my xorg.conf file. These are the versions included with Gutsy Gibbon:
 xrandr-1.2
 xorg-7.2
 xserver-xorg-7.2
 xserver-xorg-core-1.3
 xserver-xorg-video-ati-6.7.195

When my computer boots, both the kdm and KDE desktop only activates the VGA-0 output (Compaq P1100 CRT monitor-Left). When I execute these commands, the desktop grows correctly but the DVI-0 output does not turn on the Compaq V1100 CRT monitor-Right:

xrandr --addmode DVI-0 1600x1200
xrandr --output DVI-0 --mode 1600x1200 --right-of VGA-0


Is the problem:

   1. Do I need xorg-7.3 and xserver-xorg-core-1.4?
   2. Is the monitor too old to be detected (~1999)?
   3. The DVI->VGA adapter I use?
   4. Do I need to add a Device Section in xorg.conf for the PCI:1:0:1 secondary adapter?
   5. Is there a bug in the radeon driver?
Comment 1 Jared Jones 2007-11-27 15:20:27 UTC
Created attachment 12752 [details]
xorg.conf
Comment 2 Alex Deucher 2007-11-28 16:54:37 UTC
Please attach your xorg log and the output of xrandr.
Comment 3 Jared Jones 2007-11-29 19:59:06 UTC
Created attachment 12857 [details]
Xorg logfile

My Compaq P1100 monitor is connected to VGA-0 and the Compaq V1100 monitor is connected to DVI-0.  It does not detect the V1100 on the DVI-0 output.


$ xrandr -q
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 3200 x 1200
VGA-0 connected 1600x1200+0+0 (normal left inverted right) 380mm x 290mm
   1600x1200      85.0*+
   1280x1024      84.8     75.0
   1152x864       75.0     74.8
   1024x768       84.9     75.1     70.1     60.0     43.5
   832x624        74.6
   800x600        84.9     72.2     75.0     60.3     56.2
   640x480        84.6     75.0     72.8     66.7     60.0
   720x400        87.8     70.1
   640x350        85.1
DVI-0 disconnected (normal left inverted right)
S-video disconnected (normal left inverted right)
Comment 4 Alex Deucher 2007-11-30 14:13:50 UTC
(In reply to comment #0)
> I have a dual-head CRT-display setup that worked with Ubuntu Feisty Fawn. It
> consists of an ATI Radeon 9600 (RV350), a Compaq P1100, and a Compaq V1100
> (both CRT monitors).
> 
> Attached is my xorg.conf file. These are the versions included with Gutsy
> Gibbon:
>  xrandr-1.2
>  xorg-7.2
>  xserver-xorg-7.2
>  xserver-xorg-core-1.3
>  xserver-xorg-video-ati-6.7.195
> 
> When my computer boots, both the kdm and KDE desktop only activates the VGA-0
> output (Compaq P1100 CRT monitor-Left). When I execute these commands, the
> desktop grows correctly but the DVI-0 output does not turn on the Compaq V1100
> CRT monitor-Right:
> 
> xrandr --addmode DVI-0 1600x1200
> xrandr --output DVI-0 --mode 1600x1200 --right-of VGA-0
> 
> 
> Is the problem:
> 
>    1. Do I need xorg-7.3 and xserver-xorg-core-1.4?

It should work ok with xserver 1.3

>    2. Is the monitor too old to be detected (~1999)?

possibly.  Was the monitor capable of DDC on the old driver?  Does it help if you swap which ports the monitors are plugged into?  From your log it looks like the monitor does not support ddc.

>    3. The DVI->VGA adapter I use?

possibly.  try swapping monitors.

>    4. Do I need to add a Device Section in xorg.conf for the PCI:1:0:1
> secondary adapter?

No.  you can ignore that device.  It's just a place holder for the windows driver.

>    5. Is there a bug in the radeon driver?
> 

depends on the monitor.  you can force the monitor on using xrandr:
xrandr --output DVI-0 --set dvi_monitor_type analog
xrandr --addmode DVI-0 1600x1200
xrandr --output DVI-0 --mode 1600x1200 --right-of VGA-0
Comment 5 Jared Jones 2007-11-30 21:39:35 UTC
Created attachment 12887 [details]
Xorg.log when V1100 monitor is on VGA-0 and P1100 monitor is on DVI-0

Compaq V1100 is connected to VGA-0 and Compaq P1100 is connected to DVI-0.  Now, the V1100 is the only monitor turned on and the P1100 is off.

I am not sure why the V1100 is at the 1280x800 resolution, it can easily handle 1600x1200.  Same xorg.conf file as before.


$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3200 x 1200
VGA-0 connected 1280x800+0+0 (normal left inverted right) 0mm x 0mm
   1280x800       60.0*
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
DVI-0 disconnected (normal left inverted right)
S-video disconnected (normal left inverted right)
Comment 6 Jared Jones 2007-11-30 22:24:32 UTC
Ok, after the 3 xrandr commands you specified, I get good output on my V1100 monitor on DVI-0.  Thanks for that!  The output is below...the V100 monitor's menu says "New Mode @ 85 Hz" but I doubt that is cause for alarm.

1. Is this an elegant or "correct" solution to the problem?  Should I bother investigating more?
2. How can I make xorg.conf do this every time at boot-up?


$ xrandr -q
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3200 x 1200
VGA-0 connected 1600x1200+0+0 (normal left inverted right) 380mm x 290mm
   1600x1200      85.0*+
   1280x1024      84.8     75.0
   1152x864       75.0     74.8
   1024x768       84.9     75.1     70.1     60.0     43.5
   832x624        74.6
   800x600        84.9     72.2     75.0     60.3     56.2
   640x480        84.6     75.0     72.8     66.7     60.0
   720x400        87.8     70.1
   640x350        85.1
DVI-0 disconnected 1600x1200+1600+0 (normal left inverted right) 0mm x 0mm
   1600x1200      85.0*
S-video disconnected (normal left inverted right)
Comment 7 Alex Deucher 2007-11-30 22:29:14 UTC
(In reply to comment #5)
> Created an attachment (id=12887) [details]
> Xorg.log when V1100 monitor is on VGA-0 and P1100 monitor is on DVI-0
> 
> Compaq V1100 is connected to VGA-0 and Compaq P1100 is connected to DVI-0. 
> Now, the V1100 is the only monitor turned on and the P1100 is off.
> 

Apparently the V1100 doesn't have an edid, so we don't know what modes it supports.  you can add add the sync ranges, etc. to a monitor section associated with the output.

> I am not sure why the V1100 is at the 1280x800 resolution, it can easily handle
> 1600x1200.  Same xorg.conf file as before.

On the primary dac we are able to use load detection to see if a monitor is attached.  In this case, we find one, but since it has no edid, the server just added the default sync ranges and modes.

> 
> 
> $ xrandr -q
> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3200 x 1200
> VGA-0 connected 1280x800+0+0 (normal left inverted right) 0mm x 0mm
>    1280x800       60.0*
>    1280x768       60.0
>    1024x768       60.0
>    800x600        60.3
>    640x480        59.9
> DVI-0 disconnected (normal left inverted right)
> S-video disconnected (normal left inverted right)
> 

This doesn't seem right.  The log clearly shows an edid on the monitor on the dvi port initially.  later in the log it disappears.  are you sure you didn't disconnect the monitor on the dvi port at some point?
Comment 8 Jared Jones 2007-12-01 15:44:55 UTC
Created attachment 12898 [details]
Xorg.log when V1100 monitor is on VGA-0 and P1100 monitor is on DVI-0; after full reboot.

Before, I had swapped the cables and then restarted the X Server.  This time, I swapped the cables and then rebooted the computer (DVI-0=P1100, VGA-0=V1100).

$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3200 x 1200
VGA-0 connected 1280x800+0+0 (normal left inverted right) 0mm x 0mm
   1280x800       60.0*
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
DVI-0 connected (normal left inverted right)
   1600x1200      85.0 +
   1280x1024      84.8     75.0
   1152x864       75.0     74.8
   1024x768       84.9     75.1     70.1     60.0     43.5
   832x624        74.6
   800x600        84.9     72.2     75.0     60.3     56.2
   640x480        84.6     75.0     72.8     66.7     60.0
   720x400        87.8     70.1
   640x350        85.1
S-video disconnected (normal left inverted right)
Comment 9 Alex Deucher 2007-12-01 15:57:51 UTC
(In reply to comment #8)
> $ xrandr -q
> Screen 0: minimum 320 x 200, current 1280 x 800, maximum 3200 x 1200
> VGA-0 connected 1280x800+0+0 (normal left inverted right) 0mm x 0mm
>    1280x800       60.0*
>    1280x768       60.0
>    1024x768       60.0
>    800x600        60.3
>    640x480        59.9
> DVI-0 connected (normal left inverted right)
>    1600x1200      85.0 +
>    1280x1024      84.8     75.0
>    1152x864       75.0     74.8
>    1024x768       84.9     75.1     70.1     60.0     43.5
>    832x624        74.6
>    800x600        84.9     72.2     75.0     60.3     56.2
>    640x480        84.6     75.0     72.8     66.7     60.0
>    720x400        87.8     70.1
>    640x350        85.1
> S-video disconnected (normal left inverted right)
> 

That looks better.  You'll have to specify add a monitor section for VGA-0 however since that monitor does not provide an edid.  With this set up you shold be able to set up your desktop as you want it with minimal configuration.  Either:
xrandr --addmode VGA-0 1600x1200
xrandr --output VGA-0 --mode 1600x1200
xrandr --output DVI-0 --mode 1600x1200 --right-of VGA-0
at runtime or add the the configuration you want to your xorg.conf.  Take a look at this page for more info:
http://www.intellinuxgraphics.com/dualhead.html
It's an intel page, but that same information is applicable to any randr 1.2 capable driver.  Basically you'll want to add monitor sections for each monitor and then associate the monitor sections with an output, then specify the orientation in one of the monitor sections.
Comment 10 Benjamin Close 2008-01-11 02:39:16 UTC
Bugzilla Upgrade Mass Bug Change

NEEDSINFO state was removed in Bugzilla 3.x, reopening any bugs previously listed as NEEDSINFO.

  - benjsc
    fd.o Wrangler
Comment 11 Rolf Leggewie 2008-02-01 06:00:06 UTC
I believe this is https://bugs.launchpad.net/xserver-xorg-driver-ati/+bug/162136
Comment 12 Rolf Leggewie 2008-08-08 18:29:36 UTC
(In reply to comment #11)
> I believe this is
> https://bugs.launchpad.net/xserver-xorg-driver-ati/+bug/162136

The bug in Ubuntu has been closed as fixed.  Is this still a problem for anyone?
Comment 13 Alex Deucher 2008-12-03 00:51:21 UTC
closing.  please re-open if this is still a problem.


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.