[Bug 12392] radeon 6.7.192 fails to force second monitor HSync / VRefresh

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 13 23:22:04 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12392





------- Comment #8 from jan at willies.info  2007-09-13 23:22 PST -------
thx for your answer. Since the 1440x900 mode wasn't available I created a
Modeline with 'cvt 1440 900 60' and added it:

xrandr --newmode "1440x900"  106.50  1440 1528 1672 1904  900 903 909 934
-hsync +vsync

[jan:~]$ xrandr -q
Screen 0: minimum 320 x 200, current 2432 x 864, maximum 2720 x 1700
VGA-0 connected 1152x864+1280+0 (normal left inverted right x axis y axis) 0mm
x 0mm
   1360x768       59.8     60.0
   1280x800       60.0
   1152x864       60.0*
   1280x768       60.0
   1280x720       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1280x800       60.0*+   60.0
   1280x768       60.0
   1280x720       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)
  1440x900       (0x62)  106.5MHz
        h: width  1440 start 1528 end 1672 total 1904 skew    0 clock   55.9KHz
        v: height  900 start  903 end  909 total  934           clock   59.9Hz

WTF, it was added to S-Video? I can't switch to it now of course... (Sometimes
I could, with "xrandr --addmode VGA-0 1440x900" but then "xrandr --output VGA-0
--mode 1440x900" gave me "xrandr: cannot find crtc for output VGA-0")

So I wrote it into the Monitor Section:

Section "Monitor"
        Identifier      "FSC"
        Modeline        "1440x900"  106.50  1440 1528 1672 1904  900 903 909
934 -hsync +vsync
EndSection


And there it was!

VGA-0 connected 1440x900+1280+0 (normal left inverted right x axis y axis) 0mm
x 0mm
   1440x900       59.9*
   1360x768       59.8     60.0
   [...]

Yay! Now I could switch to it with a little helping script (sometimes):

#!/bin/sh
xrandr --auto
xrandr --output LVDS --rotate normal
xrandr --addmode VGA-0 1440x900
xrandr --output VGA-0 --auto
xrandr --output VGA-0 --mode 1440x900
xrandr --output VGA-0 --right-of LVDS

However, xrandr -q says VGA-0 disconnected after a fresh start of the system.
Sometimes I can call the script 20 times and nothing happens. Sometimes the
screen gets extended after the 3rd call. Never on the first though. Can you
please show me a way to set this up statically in xorg.conf? I have tried every
possible variation of

Section "Monitor"
        Identifier      "FSC"
        Modeline        "1440x900"      106.50  1440 1528 1672 1904  900 903
909 934 -hsync +vsync
        HorizSync       31.5-55.93
        VertRefresh     50.0-60.0
        UseModes        "1440x900"
        Option          "Enable"        "on"
        Option          "RightOf"       "LVDS"
        Option          "PreferredMode" "1440x900"
EndSection
but X always comes up with only the laptop screen enabled. This is in the logs:

(II) RADEON(0): Output VGA-0 using monitor section FSC
(**) RADEON(0): Option "PreferredMode" "1440x900"
(**) RADEON(0): Option "RightOf" "LVDS"
(**) RADEON(0): Option "Enable" "on"
(II) RADEON(0): I2C bus "CRT2_DDC" initialized.
[...]
(II) RADEON(0): Output VGA-0 enabled by config file
(II) RADEON(0): Output LVDS connected
(II) RADEON(0): Output S-video connected
(II) RADEON(0): Output VGA-0 using initial mode 1280x800 (<- ????)
(II) RADEON(0): Output LVDS using initial mode 1280x800
(II) RADEON(0): Output S-video using initial mode 800x600
after xf86InitialConfiguration


Thanks,

- Jan


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the xorg-driver-ati mailing list