[Bug 12546] New: Problems with xrandr dualhead and docking station

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 24 05:51:31 PDT 2007


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

           Summary: Problems with xrandr dualhead and docking station
           Product: xorg
           Version: 7.3
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/Radeon
        AssignedTo: xorg-driver-ati at lists.x.org
        ReportedBy: xweber.alex at googlemail.com
         QAContact: xorg-team at lists.x.org


All is done with driver 1:6.7.194-1, but behavior is (almost) the same for
1:6.7.193-1. xorg.conf an (hopefully) all needed logs are attached.

The laptop (DELL latitude d810) is started inside its docking station (with the
lid closed). At docking station two Dell UltraSharp 2000FP (20,1" Active Matrix
TFT LCD) are connected. One via DVI-port, the other on the VGA-port.

1. distortion with lid closed
=============================
The (for kdm) login screen is disorted - the monitor shows 1600x1200 and the
displayed elements are arranged for (laptops LVDS size) 1680x1050. The lid
state is reported correctly
cat /proc/acpi/button/lid/LID/state
state:      closed
but the driver seems not to take care of that.

xrandr
Screen 0: minimum 320 x 200, current 1680 x 1200, maximum 3200 x 1200
VGA-0 connected (normal left inverted right x axis y axis)
   1600x1200      60.0 +   59.9
   1280x1024      75.0     59.9
   1152x864       74.8
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm
x 275mm
   1600x1200      60.0*+   59.9
   1280x1024      75.0     59.9
   1152x864       74.8
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
LVDS connected 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1680x1050      60.0*+
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)

The screen looks like an overlayed (repeating) desktop
A "xrandr --output LVDS --off" corrects the disortion for the current session.


2. getting both monitors to work (as it was with mergedFB)
==========================================================
I have tried various combinations how to get them (both) to work at the same
time. With DDC activated I get following result:
xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 3200 x 1200
VGA-0 connected (normal left inverted right x axis y axis)
   1600x1200      60.0 +   59.9
   1280x1024      75.0     59.9
   1152x864       74.8
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
DVI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm
x 275mm
   1600x1200      60.0*+   59.9
   1280x1024      75.0     59.9
   1152x864       74.8
   1024x768       75.1     60.0
   800x600        75.0     60.3
   640x480        75.0     60.0
   720x400        70.1
LVDS connected (normal left inverted right x axis y axis)
   1680x1050      60.0 +
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)

Which seems to be quite normal. But I cannot start the VGA-connected monitor:

xrandr --output VGA-0 --left-of DVI-0 --mode 1600x1200

...
(WW) EDID preferred timing clock 162.00MHz exceeds claimed max 160MHz, fixing
(II) RADEON(0): DDC Type: 3, Detected Monitor Type: 1
(II) RADEON(0): EDID data from the display on connector: VGA
----------------------
...
(WW) RADEON(0): DDC2/I2C is not properly initialized
(II) RADEON(0): DDC Type: 0, Detected Monitor Type: 0
(II) RADEON(0): Detected Monitor Type: 2
in RADEONProbeOutputModes
(II) RADEON(0): No valid mode specified, force to native mode
(II) RADEON(0): Total number of valid FP mode(s) found: 1

the VGA-0 stays black  with some flickering.


Maybe the EDID information is causing that - so i added
   Option          "IgnoreEDID"            "On"
to xorg.conf.

(II) RADEON(0): DDC Type: 0, Detected Monitor Type: 0
(II) RADEON(0): Detected Monitor Type: 2
in RADEONProbeOutputModes
(II) RADEON(0): Added native panel mode: 1680x1050
init memmap
init common
init crtc1
init pll1
restore memmap
(II) RADEON(0): RADEONRestoreMemMapRegisters() :
(II) RADEON(0):   MC_FB_LOCATION   : 0xd7ffd000
(II) RADEON(0):   MC_AGP_LOCATION  : 0xffffffc0
restore common
restore crtc1
restore pll1
finished PLL1
restore dac

and VGA-0 looks like old crt's with wrong Hz values (some horizontal stripes,
but mainly black)

So step #3 is NoDDC to let me have control which modeline is used for monitor
setting. Now DVI-0 stays black, but VGA-0 becomes to life (with same disortion
problem in #1).
switching to vt-1 and back to X now I can get both monitors to work (VGA-0 @
1600x1200 and DVI-0 @ 1680x1050).

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

Whooh - strange. DVI-0 is disconnected but shows what is on LVDS.

ok, lets switch off LVDS
xrandr --output LVDS --off
and DVI-0 is entering darkness.
xrandr
Screen 0: minimum 320 x 200, current 1600 x 1200, maximum 3200 x 1200
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1600x1200      60.0*
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
DVI-0 disconnected (normal left inverted right x axis y axis)
LVDS connected (normal left inverted right x axis y axis)
   1680x1050      60.0 +
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)

now i want to have DVI-0 @ 1600x1200
xrandr --output DVI-0 --right-of VGA-0 --mode 1600x1200
xrandr: cannot find mode 1600x1200

ok, no ddc so it does not have the mode (but the modeline is configured in
xorg.conf)

xrandr --addmode DVI-0 1600x1200
and it shows
DVI-0 disconnected (normal left inverted right x axis y axis)
   1600x1200      60.0

ok, now lets activate it:
xrandr --output DVI-0 --right-of VGA-0 --mode 1600x1200
and
xrandr
Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3200 x 1200
VGA-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 0mm x
0mm
   1600x1200      60.0*
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
DVI-0 disconnected 1600x1200+1600+0 (normal left inverted right x axis y axis)
0mm x 0mm
   1600x1200      60.0*LVDS connected (normal left inverted right x axis y
axis)
   1680x1050      60.0 +
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)
LVDS connected (normal left inverted right x axis y axis)
   1680x1050      60.0 +
   1280x800       60.0
   1280x768       60.0
   1024x768       60.0
   800x600        60.3
   640x480        59.9
S-video disconnected (normal left inverted right x axis y axis)

but however: both monitors are doing what it is expected.
With driver 1:6.7.193-1 the DVI-0 will remain at black.

xrandr is reporting I would see the desktop on LVDS, but it is on DVI-0. It's
quite hard to have a script with this misleading reporting what devices are
used.

Also: is there a way to have DDC activated and xrandr to use the provided
modeline in xorg.conf, so i could benefit from "monitor is plugged"?

3. thanks!
==========
6.7.x series gives me about +900 fps with glxgears. Thats almost what flgrx
gave me (just 150 fps missing). Great work!! Thank you very much!

Alex

PS: for quick contact i am on your IRC channel


-- 
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