← Back to team overview

compiz team mailing list archive

[Bug 461211] Re: Tiny screen with xrandr monitor switch

 

Well... I update every _daily_, and the issue persists.  I have a log of
xrandr when this happens... it happens when I try to switch from Laptop
to Dual monitor with the previous xrandr script.

Screen 0: minimum 320 x 200, current 3200 x 1200, maximum 3200 x 3200
LVDS connected (normal left inverted right x axis y axis)
   1440x900       60.2 +   50.0  
   1280x800       60.0 +   50.0  
   1152x864       60.0 +   50.0  
   1280x768       59.9 +   50.0  
   1280x720       60.0 +   50.0  
   1024x768       60.0 +   50.0  
   1024x600       60.4 +   50.0  
   800x600        60.3 +   50.0  
   800x480        60.0 +   50.0  
   720x480        60.0 +   50.0  
   640x480        60.0 +   50.0  
DFP1 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200      60.0*+
   1400x1050      60.0 +
   1440x900       59.9 +
   1280x960       60.0 +
   1152x864       60.0 +   75.0  
   1152x648       60.0 +
   1280x1024      75.0     60.0  
   1280x800       75.0     60.0  
   1280x768       59.9  
   1280x720       60.0  
   1024x768       75.0     60.0  
   1024x600       60.0  
   800x600        75.0     60.3  
   800x480        60.0  
   720x480        60.0  
   640x480        75.0     60.0  
CRT1 connected 1600x1200+1600+0 (normal left inverted right x axis y axis) 367mm x 275mm
   1600x1200      60.0*+
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1280x800       75.0     60.0  
   1152x864       75.0     60.0  
   1280x768       59.9  
   1280x720       60.0  
   1024x768       75.0     60.0  
   1024x600       60.0  
   800x600        75.0     60.3  
   800x480        60.0  
   720x480        60.0  
   640x480        75.0     60.0  

What I do now to work around my issues...

When I dock, the display menu does not recognize my monitors... so, I
use the dual-monitor script to select the two monitors (which results in
"tiny" screen... then run a script that sets xrandr to turn off those
monitors and turn on LVDS.  Then... I use the display settings applet
again, and magically my monitors appear... then I use display manager to
set my docked monitors properly.  CLEARLY, this is "hokey" -- so... it
would be better if it were fixed.

Here again are the dual monitor script and the laptop script:

$ cat dual-monitor 
#! /bin/sh

# script to do multi-monitor on my T400 box
# fglrx script
xrandr --output LVDS --off && \
xrandr --fb 3200x1200 \
       --output DFP1 --auto \
       --output CRT1 --auto --right-of DFP1

$ cat laptop 
#! /bin/sh

xrandr --output CRT1 --off
xrandr --output LVDS --auto
xrandr --output DFP1 --off && xrandr --fb 1440x900

$

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/461211

Title:
  Tiny screen with xrandr monitor switch


References