notebook / multiple visual displays - activation and control

Tom London selinux at gmail.com
Mon Mar 31 17:48:46 UTC 2008


On Mon, Mar 31, 2008 at 10:35 AM, Jesse Barnes <jbarnes at virtuousgeek.org> wrote:
> On Monday, March 31, 2008 9:35 am Tom London wrote:
>  > xrandr probing sometimes appears to "not work right", at least for me.
>  >
>  > I have a Thinkpad X60 with intel 945 graphics, 1024x768 LCD.  When
>  > booting with just the builtin monitor, all works fine.
>  >
>  > When booting with 2 different 19" monitors and with the laptop screen
>  > "shut", X/gdm boots up in a funny hybrid mode, where the interface is
>  > actually in 1280x1024 (max supported by interface and monitors), but X
>  > thinks its in 1920x1080 or 1920x1024.  I have to manually enter
>  > "xrandr --size 1280x1024" each login to get system configured right.
>
>  I think that's X failing to setup a reasonable default.  ajax fixed that
>  recently though, iirc.
>
>
>
>  > Here is output of xrandr with non-functioning modes, but after running
>  > "xrandr --size 1280x1024".
>  >
>  > [tbl at localhost ~]$ xrandr
>  > Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1920 x 1920
>  > VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis)
>  > 376mm x 301mm
>  >    1280x1024      60.0 +   75.0*    60.0     60.0
>  >    1920x1080      59.9
>  >    1680x1050      59.9
>  >    1600x1024      60.2
>  >    1400x1050      60.0
>  >    1440x900       59.9
>  >    1280x960       60.0
>  >    1360x768       59.8     60.0
>  >    1280x800       75.0     70.0     60.0
>  >    1152x864       75.0     75.0     70.0     60.0
>  >    1280x768       75.0     70.0     60.0
>  >    1280x720       75.0     70.0     60.0
>  >    1152x768       54.8
>  >    1024x768       75.1     75.0     70.1     60.0
>  >    832x624        74.6
>  >    800x600        72.2     75.0     60.3     56.2
>  >    640x480        75.0     72.8     72.8     75.0     60.0     59.9
>  >    720x400        70.1
>  > LVDS connected (normal left inverted right x axis y axis)
>  >    1024x768       50.0 +   60.0     40.0
>  >    800x600        60.3
>  >    640x480        60.0     59.9
>  > [tbl at localhost ~]$
>
>  This looks like it's detecting your monitor's modes properly though, are you
>  just having problems with your startup configuration if the monitor is
>  attached?
>
>  Jesse
>
Uhh....  not sure I understand what you mean.

I have tested only 2 "use cases":
1. boot laptop with no external monitor (just builtin LCD).  This works fine.

2. boot laptop with internal monitor "shut" and system connected to
external monitors. This goes through what seems to me to be a "funny"
boot sequence:
    a. gdmgreeter comes up in 1024x768
    b. after presenting password, display "re-sizes" to 1280x1024 (per
display "info" buttons"), but the screen shows a "tiled" version of
the "blue curve" background (I get one complete copy in the upper left
corner, partial tiles in the other 3 "slots").
    c. after a few more seconds, the tiling vanishes, but I briefly
get a "deformed" background (for about 5 seconds).
   d. background becomes normal, any my startup windows appear;
   e. "xdpyinfo" says the dimension is 1920x1024, as does "xrandr".
Some displays are all messed up (e.g., firefox)
   f. running "xrandr --size 1280x1024" repairs.  gnome-terminal
windows actually don't change, but the messed up ones now are fixed.

Use case 2 behaves exactly the same if I boot directly to X (via
startx) instead of gdm.

I've logged this all here: https://bugzilla.redhat.com/show_bug.cgi?id=437654

Not sure why I'm the only lucky one ;)  Any hints/fixes gladly welcome.

tom
-- 
Tom London




More information about the fedora-devel-list mailing list