[ltp] thinkpad with external monitor howto (2001FP)

obi linux-thinkpad@linux-thinkpad.org
Sun, 13 Feb 2005 10:59:11 -0800


On Sun, Feb 13, 2005 at 10:50:21AM -0800, Shaw wrote:
> Hi Alex,
> 
> On Saturday 12 February 2005 05:30 pm, Alex Deucher wrote:
> > On Sat, 12 Feb 2005 17:07:45 -0800, Shaw <shawv@comcast.net> wrote:
> > > I've recently acquired a Dell 2001FP monitor and I've been having some
> > > troubles configuring xorg to output in a resolution other than the
> > > resolution of the T30, which is 1024x768.  I'd like to get this up to
> >
> > you have serval options if you only want to use the Dell monitor, you
> > can for the monitor type on crtc1 to crt.  if you want yo use both you
> > can set up either a dualhead or a clone setup.  
> 
> Thanks for the search terms.  Again, I did see some tips and example setups 
> which are helpful however, after much tweaking, I'm still stuck at the 
> 1024x768 of the thinkpad display.   Have I setup the card correctly? Any 
> hints? Ideas?

If you do man radeon and search for MetaModes, it should tell you how to
do it. I'd guess that A line like
	MetaModes "1024x768-1280-1024"
should set you in the right track. You might need CRT2HSync and
CRT2VRefresh too.

graziano

> 
> Logs and xorg.conf follow.
> Thanks,
> Shaw
> 
> My xorg logs show me this:
> 
> (II) RADEON(0): EDID data from the display on port 2-----------------------
> (II) RADEON(0): Manufacturer: DEL  Model: a007  Serial#: 860894284
> (II) RADEON(0): Year: 2004  Week: 48
> (II) RADEON(0): EDID Version: 1.3
> (II) RADEON(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
> (II) RADEON(0): Sync:  Separate  Composite  SyncOnGreen
> (II) RADEON(0): Max H-Image Size [cm]: horiz.: 41  vert.: 31
> (II) RADEON(0): Gamma: 2.20
> (II) RADEON(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
> (II) RADEON(0): Default color space is primary color space
> (II) RADEON(0): First detailed timing is preferred mode
> (II) RADEON(0): redX: 0.638 redY: 0.342   greenX: 0.293 greenY: 0.608
> (II) RADEON(0): blueX: 0.146 blueY: 0.067   whiteX: 0.312 whiteY: 0.328
> (II) RADEON(0): Supported VESA Video Modes:
> (II) RADEON(0): 720x400@70Hz
> (II) RADEON(0): 640x480@60Hz
> (II) RADEON(0): 640x480@75Hz
> (II) RADEON(0): 800x600@60Hz
> (II) RADEON(0): 800x600@75Hz
> (II) RADEON(0): 1024x768@60Hz
> (II) RADEON(0): 1024x768@75Hz
> (II) RADEON(0): 1280x1024@75Hz
> (II) RADEON(0): Manufacturer's mask: 0
> (II) RADEON(0): Supported Future Video Modes:
> (II) RADEON(0): #0: hsize: 1280  vsize 1024  refresh: 60  vid: 32897
> (II) RADEON(0): #1: hsize: 1600  vsize 1200  refresh: 60  vid: 16553
> (II) RADEON(0): #2: hsize: 1152  vsize 864  refresh: 75  vid: 20337
> (II) RADEON(0): Supported additional Video Mode:
> (II) RADEON(0): clock: 162.0 MHz   Image Size:  367 x 275 mm
> (II) RADEON(0): h_active: 1600  h_sync: 1664  h_sync_end 1856 h_blank_end 2160 
> h_border: 0
> (II) RADEON(0): v_active: 1200  v_sync: 1201  v_sync_end 1204 v_blanking: 1250 
> v_border: 0
> (II) RADEON(0): Serial No: C06464BN3P4L
> (II) RADEON(0): Monitor name: DELL 2001FP
> (II) RADEON(0): Ranges: V min: 56  V max: 76 Hz, H min: 31  H max: 80 kHz, 
> PixClock max 160 MHz
> (II) RADEON(0): 
> (II) RADEON(0): Primary:
>  Monitor   -- LVDS
>  Connector -- DVI-D
>  DAC Type  -- TVDAC/ExtDAC
>  TMDS Type -- Internal
>  DDC Type  -- DVI_DDC
> (II) RADEON(0): Secondary:
>  Monitor   -- CRT
>  Connector -- VGA
>  DAC Type  -- Primary
>  TMDS Type -- NONE
>  DDC Type  -- VGA_DDC
> (II) RADEON(0): PLL parameters: rf=2700 rd=12 min=12000 max=35000; xclk=18300
> (II) RADEON(0): Panel ID string: 1024x768                
> (II) RADEON(0): Panel Size from BIOS: 1024x768
> (II) RADEON(0): BIOS provided dividers will be used.
> (==) RADEON(0): Using gamma correction (1.0, 1.0, 1.0)
> (II) RADEON(0): Validating modes on Primary head ---------
> (II) RADEON(0): Total number of valid DDC mode(s) found: 0
> (II) RADEON(0): Valid mode using on-chip RMX: 1024x768
> (WW) RADEON(0): Mode 1600x1200 is out of range.
> (WW) RADEON(0): Valid modes must be between 320x200-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 
> ranges.
> (II) RADEON(0): CRT2 Monitor: Using hsync range of 31.50-48.50 kHz
> (II) RADEON(0): CRT2 Monitor: Using vrefresh range of 40.00-70.00 Hz
> (II) RADEON(0): Clock range:  12.00 to 350.00 MHz
>  ....
> (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)
> (**) RADEON(0): *Mode "1024x768": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 
> 60.0 Hz
> (II) RADEON(0): Modeline "1024x768"   65.00  1024 1040 1176 1344  768 770 776 
> 806
> (**) RADEON(0): *Mode "800x600": 65.0 MHz (scaled from 0.0 MHz), 48.4 kHz, 
> 60.0 Hz
> (II) RADEON(0): Modeline "800x600"   65.00  800 1040 1176 1344  600 770 776 
> 806
> (**) RADEON(0):  Default mode "640x350": 65.0 MHz (scaled from 0.0 MHz), 48.4 
> kHz, 60.0 Hz
> (II) RADEON(0): Modeline "640x350"   65.00  640 1040 1176 1344  350 770 776 
> 806
> (**) RADEON(0):  Default mode "640x400": 65.0 MHz (scaled from 0.0 MHz), 48.4 
> kHz, 60.0 Hz
> (II) RADEON(0): Modeline "640x400"   65.00  640 1040 1176 1344  400 770 776 
> 806
> (**) RADEON(0):  Default mode "720x400": 65.0 MHz (scaled from 0.0 MHz), 48.4 
> kHz, 60.0 Hz
> (II) RADEON(0): Modeline "720x400"   65.00  720 1040 1176 1344  400 770 776 
> 806
> (**) RADEON(0):  Default mode "640x480": 65.0 MHz (scaled from 0.0 MHz), 48.4 
> kHz, 60.0 Hz
> (II) RADEON(0): Modeline "640x480"   65.00  640 1040 1176 1344  480 770 776 
> 806
> (**) RADEON(0):  Default mode "832x624": 65.0 MHz (scaled from 0.0 MHz), 48.4 
> kHz, 60.0 Hz
> (II) RADEON(0): Modeline "832x624"   65.00  832 1040 1176 1344  624 770 776 
> 806
> (II) RADEON(0): Modes for CRT2: ********************
> (--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
> (**) RADEON(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
> (II) RADEON(0): Modeline "1024x768"   65.00  1024 1048 1184 1344  768 771 777 
> 806 -hsync -vsync
> (**) RADEON(0): *Default mode "800x600": 40.0 MHz, 37.9 kHz, 60.3 Hz
> (II) RADEON(0): Modeline "800x600"   40.00  800 840 968 1056  600 601 605 628 
> +hsync +vsync
> (**) RADEON(0):  Default mode "800x600": 36.0 MHz, 35.2 kHz, 56.2 Hz
> (II) RADEON(0): Modeline "800x600"   36.00  800 824 896 1024  600 601 603 625 
> +hsync +vsync
> (**) RADEON(0):  Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
> (II) RADEON(0): Modeline "640x480"   25.20  640 656 752 800  480 490 492 525 
> -hsync -vsync
> (**) RADEON(0):  Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
> (II) RADEON(0): Modeline "400x300"   20.00  400 420 484 528  300 300 302 314 
> doublescan +hsync +vsync
> (**) RADEON(0):  Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
> (II) RADEON(0): Modeline "400x300"   18.00  400 412 448 512  300 300 301 312 
> doublescan +hsync +vsync
> (**) RADEON(0):  Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
> (II) RADEON(0): Modeline "320x240"   12.60  320 328 376 400  240 245 246 262 
> doublescan -hsync -vsync
> (II) RADEON(0): Generating MergedFB mode list
> (II) RADEON(0): No MetaModes given, linking first modes by default
> (II) RADEON(0): Merged 1024x768 and 1024x768 to 1024x768 (Clone)
> (II) RADEON(0): Merged 800x600 and 800x600 to 800x600 (Clone)
> (II) RADEON(0): Merged 640x350 and 800x600 to 800x600 (Clone)
> (--) RADEON(0): MergedFB: Virtual width 1024
> (--) RADEON(0): MergedFB: Virtual height 768
> (--) RADEON(0): MergedFB: Display dimensions: (410, 310) mm
> (--) RADEON(0): MergedFB: DPI set to (63, 62)
> (II) Loading sub module "fb"
> (II) LoadModule: "fb"
> (II) Loading /usr/lib/modules/libfb.a
> (II) Module fb: vendor="X.Org Foundation"
>  compiled for 6.8.0, module version = 1.0.0
>  ABI class: X.Org ANSI C Emulation, version 0.2
> (II) Loading sub module "ramdac"
> (II) LoadModule: "ramdac"
> (II) Loading /usr/lib/modules/libramdac.a
> (II) Module ramdac: vendor="X.Org Foundation"
>  compiled for 6.8.0, module version = 0.1.0
>  ABI class: X.Org Video Driver, version 0.7
> (II) Loading sub module "xaa"
> (II) LoadModule: "xaa"
> (II) Loading /usr/lib/modules/libxaa.a
> (II) Module xaa: vendor="X.Org Foundation"
>  compiled for 6.8.0, module version = 1.2.0
>  ABI class: X.Org Video Driver, version 0.7
> (!!) RADEON(0): For information on using the multimedia capabilities
>  of this adapter, please see http://gatos.sf.net.
> (--) Depth 24 pixmap format is 32 bpp
> (II) do I need RAC?  No, I don't.
> 
> 
> My xorg.conf file is pretty straightforward:
> 
> Section "Monitor"
>     ModelName  "Flat Panel 1024x768"
>     Identifier  "monitor1"
>     HorizSync   31.5-48.5
>     VertRefresh 40-70
> EndSection
> 
> Section "Monitor"
>  ModelName  "Dell 2001FP (Digital)"
>  Identifier  "External"
>  HorizSync  31.0-80.0 
>  VertRefresh 56.0-76.0
> EndSection
> 
> Section "Device"
>     Identifier "device1"
>     VendorName "ATI"
>     BoardName "ATI Radeon"
>     Option   "DPMS"
>     Driver      "radeon"
> EndSection
> 
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "device1"
>     Monitor     "monitor1"
>     DefaultDepth 24
> 
>     Subsection "Display"
>         Depth       8
>         Modes       "1024x768" "1600x1200" "800x600"
>         ViewPort    0 0
>     EndSubsection
> 
>     Subsection "Display"
>         Depth       15
>         Modes       "1024x768" "1600x1200" "800x600"
>         ViewPort    0 0
>     EndSubsection
> 
>     Subsection "Display"
>         Depth       16
>         Modes       "1024x768" "1600x1200" "800x600"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1024x768" "1600x1200" "800x600"
>         ViewPort    0 0
>     EndSubsection
> EndSection
> 
> Section "Screen"
>  Identifier   "ExternalLCD"
>  Device    "device1"
>  Monitor   "External"
>  Defaultdepth  16
> 
>  Subsection "Display"
>   Depth   16
>   Viewport  0 0
>   Modes   "1600x1200" "1280x1024" "1024x768" "800x600"
>     EndSubsection
> EndSection
> 
> Section "ServerLayout"
>     Identifier  "layout1"
>     Screen "Screen 1"
>     Screen "ExternalLCD" LeftOf "Screen 1"
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
> EndSection
> 
> Section "DRI"
>    Mode 0666
> EndSection
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>