[aklug] Proper X boot

From: barsalou <barjunk@attglobal.net>
Date: Fri Jul 24 2009 - 14:20:12 AKDT

OKay, I've been fiddling around with a dual head configuration with
Ubuntu 9.04.

Initially I was using the default configuration and these xrandr commands:

xrandr --output TMDS-1 --auto
xrandr --output LVDS --auto
xrandr --output LVDS --left-of TMDS-1

I could have probably just added these to my startup scripts and been
done with it...but I wasn't having any of that.

So I fiddled with the xorg.conf file and came up with this:

Section "Monitor"
=09Identifier=09"VGA"
         Option "RightOf" "LVDS"
EndSection

Section "Monitor"
=09Identifier=09"LVDS"
EndSection

Section "Monitor"
=09Identifier=09"TMDS-1"
         Option "PreferredMode" "1680x1050"
         Option "RightOf" "LVDS"
EndSection

Section "Device"
=09Identifier=09"intel-945"
         Option "Monitor-LVDS" "Laptop LCD"
#=09Option=09=09"UseFBDev"=09=09"true"
EndSection

Section "Screen"
=09Identifier=09"Screen0"
=09Monitor=09=09"LVDS"
=09Device=09=09"intel-945"
=09SubSection "Display"
=09=09Virtual=092960 1050
=09EndSubSection
EndSection

I've added some more info below about the video configuration in case =20
it might help

Notice the Option "PreferredMode" "1680x1050". That was added because =20
the second screen (for the intel driver at least) tries to be set at =20
the same size as the initial screen (or the next one down).

This line allows the screen to be defaulted to it's biggest size.

xrandr -v
Server reports RandR version 1.3

xrandr --verbose
Screen 0: minimum 320 x 200, current 2960 x 1050, maximum 2960 x 1050
VGA disconnected (normal left inverted right x axis y axis)
=09Identifier: 0x3b
=09Timestamp: 21647
=09Subpixel: unknown
=09Clones:
=09CRTCs: 0 1
=09Transform: 1.000000 0.000000 0.000000
=09 0.000000 1.000000 0.000000
=09 0.000000 0.000000 1.000000
=09 filter:
LVDS connected 1280x800+0+0 (0x3f) normal (normal left inverted right =20
x axis y axis) 300mm x 190mm
=09Identifier: 0x3c
=09Timestamp: 21647
=09Subpixel: horizontal rgb
=09Clones:
=09CRTC: 1
=09CRTCs: 1
=09Panning: 0x0+0+0
=09Tracking: 0x0+0+0
=09Border: 0/0/0/0
=09Transform: 1.000000 0.000000 0.000000
=09 0.000000 1.000000 0.000000
=09 0.000000 0.000000 1.000000
=09 filter:
=09EDID_DATA:
=09=0900ffffffffffff00320c000000000000
=09=0900100103801e13780a08859558538c28
=09=0923505400000001010101010101010101
=09=09010101010101bc1b00a0502017303020
=09=09360030be10000018bc1b00a050201730
=09=093020360030be10000000000000fe0059
=09=0959323635013134315758310a000000fe
=09=09001d2b35405c77a0e801010a2020007d
=09PANEL_FITTING:=09full_aspect
=09=09supported: center full_aspect full
=09BACKLIGHT_CONTROL:=09combination
=09=09supported: native legacy combination kernel
=09BACKLIGHT: 312 (0x00000138)=09range: (0,312)
   1280x800 (0x3f) 71.0MHz -HSync -VSync *current +preferred
         h: width 1280 start 1328 end 1360 total 1440 skew 0 clock =20
   49.3KHz
         v: height 800 start 803 end 809 total 823 clock 59.=
9Hz
   1024x768 (0x40) 65.0MHz -HSync -VSync
         h: width 1024 start 1048 end 1184 total 1344 skew 0 clock =20
   48.4KHz
         v: height 768 start 771 end 777 total 806 clock 60.=
0Hz
   800x600 (0x41) 40.0MHz +HSync +VSync
         h: width 800 start 840 end 968 total 1056 skew 0 clock =20
   37.9KHz
         v: height 600 start 601 end 605 total 628 clock 60.=
3Hz
   640x480 (0x42) 25.2MHz -HSync -VSync
         h: width 640 start 656 end 752 total 800 skew 0 clock =20
   31.5KHz
         v: height 480 start 490 end 492 total 525 clock 59.=
9Hz
TMDS-1 connected 1680x1050+1280+0 (0x43) normal (normal left inverted =20
right x axis y axis) 459mm x 296mm
=09Identifier: 0x3d
=09Timestamp: 21647
=09Subpixel: horizontal rgb
=09Clones:
=09CRTC: 0
=09CRTCs: 0 1
=09Panning: 0x0+0+0
=09Tracking: 0x0+0+0
=09Border: 0/0/0/0
=09Transform: 1.000000 0.000000 0.000000
=09 0.000000 1.000000 0.000000
=09 0.000000 0.000000 1.000000
=09 filter:
=09EDID_DATA:
=09=0900ffffffffffff004c2d52033032594d
=09=0901120103802b1b782a6045a6564a9c25
=09=09125054bfef80b30081808140714f0101
=09=090101010101017c2e90a0601a1e403020
=09=093600cb281100001a000000fd00384b1e
=09=09510e000a202020202020000000fc0053
=09=09796e634d61737465720a2020000000ff
=09=090048564a513130303331320a202000cf
   1680x1050 (0x43) 119.0MHz +HSync -VSync *current +preferred
         h: width 1680 start 1728 end 1760 total 1840 skew 0 clock =20
   64.7KHz
         v: height 1050 start 1053 end 1059 total 1080 clock 59.=
9Hz
   1280x1024 (0x44) 135.0MHz +HSync +VSync
         h: width 1280 start 1296 end 1440 total 1688 skew 0 clock =20
   80.0KHz
         v: height 1024 start 1025 end 1028 total 1066 clock 75.=
0Hz
   1280x1024 (0x45) 108.0MHz +HSync +VSync
         h: width 1280 start 1328 end 1440 total 1688 skew 0 clock =20
   64.0KHz
         v: height 1024 start 1025 end 1028 total 1066 clock 60.=
0Hz
   1280x960 (0x46) 108.0MHz +HSync +VSync
         h: width 1280 start 1376 end 1488 total 1800 skew 0 clock =20
   60.0KHz
         v: height 960 start 961 end 964 total 1000 clock 60.=
0Hz
   1152x864 (0x47) 108.0MHz +HSync +VSync
         h: width 1152 start 1216 end 1344 total 1600 skew 0 clock =20
   67.5KHz
         v: height 864 start 865 end 868 total 900 clock 75.=
0Hz
   1024x768 (0x48) 78.8MHz +HSync +VSync
         h: width 1024 start 1040 end 1136 total 1312 skew 0 clock =20
   60.0KHz
         v: height 768 start 769 end 772 total 800 clock 75.=
0Hz
   1024x768 (0x49) 75.0MHz -HSync -VSync
         h: width 1024 start 1048 end 1184 total 1328 skew 0 clock =20
   56.5KHz
         v: height 768 start 771 end 777 total 806 clock 70.=
1Hz
   1024x768 (0x40) 65.0MHz -HSync -VSync
         h: width 1024 start 1048 end 1184 total 1344 skew 0 clock =20
   48.4KHz
         v: height 768 start 771 end 777 total 806 clock 60.=
0Hz
   832x624 (0x4a) 57.3MHz -HSync -VSync
         h: width 832 start 864 end 928 total 1152 skew 0 clock =20
   49.7KHz
         v: height 624 start 625 end 628 total 667 clock 74.=
6Hz
   800x600 (0x4b) 50.0MHz +HSync +VSync
         h: width 800 start 856 end 976 total 1040 skew 0 clock =20
   48.1KHz
         v: height 600 start 637 end 643 total 666 clock 72.=
2Hz
   800x600 (0x4c) 49.5MHz +HSync +VSync
         h: width 800 start 816 end 896 total 1056 skew 0 clock =20
   46.9KHz
         v: height 600 start 601 end 604 total 625 clock 75.=
0Hz
   800x600 (0x41) 40.0MHz +HSync +VSync
         h: width 800 start 840 end 968 total 1056 skew 0 clock =20
   37.9KHz
         v: height 600 start 601 end 605 total 628 clock 60.=
3Hz
   800x600 (0x4d) 36.0MHz +HSync +VSync
         h: width 800 start 824 end 896 total 1024 skew 0 clock =20
   35.2KHz
         v: height 600 start 601 end 603 total 625 clock 56.=
2Hz
   640x480 (0x4e) 31.5MHz -HSync -VSync
         h: width 640 start 656 end 720 total 840 skew 0 clock =20
   37.5KHz
         v: height 480 start 481 end 484 total 500 clock 75.=
0Hz
   640x480 (0x4f) 31.5MHz -HSync -VSync
         h: width 640 start 664 end 704 total 832 skew 0 clock =20
   37.9KHz
         v: height 480 start 489 end 492 total 520 clock 72.=
8Hz
   640x480 (0x50) 30.2MHz -HSync -VSync
         h: width 640 start 704 end 768 total 864 skew 0 clock =20
   35.0KHz
         v: height 480 start 483 end 486 total 525 clock 66.=
7Hz
   640x480 (0x42) 25.2MHz -HSync -VSync
         h: width 640 start 656 end 752 total 800 skew 0 clock =20
   31.5KHz
         v: height 480 start 490 end 492 total 525 clock 59.=
9Hz
   720x400 (0x51) 28.3MHz -HSync +VSync
         h: width 720 start 738 end 846 total 900 skew 0 clock =20
   31.5KHz
         v: height 400 start 412 end 414 total 449 clock 70.=
1Hz
TV disconnected (normal left inverted right x axis y axis)
=09Identifier: 0x3e
=09Timestamp: 21647
=09Subpixel: unknown
=09Clones:
=09CRTCs: 0 1
=09Transform: 1.000000 0.000000 0.000000
=09 0.000000 1.000000 0.000000
=09 0.000000 0.000000 1.000000
=09 filter:
=09BOTTOM: 37 (0x00000025)=09range: (0,100)
=09RIGHT: 46 (0x0000002e)=09range: (0,100)
=09TOP: 36 (0x00000024)=09range: (0,100)
=09LEFT: 54 (0x00000036)=09range: (0,100)
=09TV_FORMAT:=09NTSC-M
=09=09supported: NTSC-M NTSC-443 NTSC-J PAL-M
=09=09 PAL-N PAL

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Fri Jul 24 14:20:23 2009

This archive was generated by hypermail 2.1.8 : Fri Jul 24 2009 - 14:20:23 AKDT