[ltp] thinkpad with external monitor howto (2001FP)
Alex Deucher
linux-thinkpad@linux-thinkpad.org
Sun, 13 Feb 2005 22:51:01 -0500
On Sun, 13 Feb 2005 17:45:55 -0800, Shaw <shawv@comcast.net> wrote:
> On Sunday 13 February 2005 03:35 pm, Alex Deucher wrote:
> > On Sun, 13 Feb 2005 14:31:05 -0800, Shaw <shawv@comcast.net> wrote:
> > > On Sunday 13 February 2005 01:51 pm, Alex Deucher wrote:
> > > > mergedfb is what you want. You need to set a metamode for the set up
> > > > you want, eg:
> > > > Option "metamodes" "1024x768-1600x1200"
> > > > Option "crt2position" "clone"
> > >
> > add 1600x1200 to your screen section:
> >
> > Depth 24
> > Modes "1600x1200" "1024x768" "1600x1200" "800x600"
> > even though crtc1 won't use it, mergedfb uses these modes as it's mode
> > pool. Also for flexability you may want to add some other modes to
> > your metamodes. Then you can use xrandr to switch between then.
>
> I added the 1600x1200 to the front of the Modes in the screen section, though
> I did have it there previously as the 2nd element. (see mode line from above)
> I'm still finding that mergeFB disables itself because it cannot figure out
> the modes and/or metamodes.
you shoudl probably remove the second screen section from your serverlayout:
Section "ServerLayout"
Identifier "layout1"
Screen "Screen 1"
Screen "ExternalLCD" <--- REMOVE THIS LINE
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
>
> I'm not sure if the order of the metamodes matters (1024x768-1600x1200 as
> opposed to 1600x1200-1024x768), so I added the later without any success. I
> also tried setting my monitorlayout option to lvds, crt but as that didn't
> help I removed it once again.
The order does matter. the first is the mode for crtc1 (LCD in this
case) and the second is for crtc2 (vga port).
>
> How have I manged to screw up the modes so mergeFB doesn't understand them?
> Or is there another part of the configuration I'm missing?
you might also try and set the hsync and vrefresh for crtc2:
Section "Device"
Identifier "device1"
Driver "radeon"
VendorName "ATI"
BoardName "ATI Radeon"
#Option "MonitorLayout" "LVDS, CRT"
Option "MergedFB" "On"
Option "DPMS" "On"
Option "metamodes" "1024x768-1600x1200"
Option "crt2position" "Clone"
Option "crt2hsync" "31.0-80.0"
Option "crt2vrefresh" "56.0-76.0"
EndSection
you may want to double check the option names.
Alex
>
> I appreciate the hand-holding. I sure would love to get this to work!
>
> Thanks,
> Shaw
>
> Here's the (edited) Xorg log, with the mergeFB messages:
>
> (WW) RADEON(0): Mode 1600x1200 is out of range.
> (WW) RADEON(0): Valid modes must be between 320x200-1024x768
> (WW) RADEON(0): Mode 1280x1024 is out of range.
> (WW) RADEON(0): Valid modes must be between 320x200-1024x768
> (II) RADEON(0): Valid mode using on-chip RMX: 1024x768
> (II) RADEON(0): Valid mode using on-chip RMX: 800x600
> (II) RADEON(0): Total number of valid FP mode(s) found: 2
> (II) RADEON(0): Validating CRTC2 modes for MergedFB ------------
> (WW) RADEON(0): config file vrefresh range 40-70Hz not within DDC vrefresh
> range
> ...
> (II) RADEON(0): Not using mode "1600x1200" (no mode of this name)
> (II) RADEON(0): Not using mode "1280x1024" (no mode of this name)
> (II) RADEON(0): Not using default mode "1152x768" (width too large for virtual
> ...
> (II) RADEON(0): Total of 7 CRTC2 modes found for MergedFB------------
> (II) RADEON(0): Modes for CRT1: ********************
> (--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
> ..
> (II) RADEON(0): Generating MergedFB mode list
> (WW) RADEON(0): Mode "1600x1200" is not a supported mode for CRT2
> (WW) RADEON(0): Skipping metamode "1024x768-1600x1200".
> (WW) RADEON(0): Mode "1600x1200" is not a supported mode for CRT1
> (WW) RADEON(0): Skipping metamode "1600x1200-1024x768".
> (EE) RADEON(0): Failed to parse MetaModes or no modes found. MergeFB mode
> disabled
> (==) RADEON(0): DPI set to (75, 75)
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>