[ltp] T41, Radeon and external Monitor/Beamer

Joerg Bruehe linux-thinkpad@linux-thinkpad.org
Tue, 07 Mar 2006 11:19:19 +0100


Hi!


Marius Gedminas wrote:
> Hi,
> 
> On Mon, Mar 06, 2006 at 03:55:43PM +0100, pala_mailinglist@gmx.de wrote:
>>I want to connect and use an external Monitor/Beamer for Presentations and
>>will see on both screens the same.
> 
> I do that all the time.  T42, Radeon 7500, open-source "radeon" driver.
> I've never tried fglrx, and I do not plan to.

I just started with this: R51, Radeon 9000 ("Lv 250 f", AFAIR), 
1400x1050 pixel, running SuSE 9.3 with "radeon" driver.

> 
>>[[...]]
> 
> You can find my xorg.conf at http://mg.pov.lt/xorg.conf.  It is pretty
> complicated, because I often use dual-head (large desktop spanning two
> monitors), and sometimes I use clone mode (both monitors show the same
> picture).

I looked at it, but it does much more than I want, which is clone mode. 
I will not have the notebook besides my other TFTs, so I just want to 
prepare for presentations.

> 
> However I did not have to do anything at all just to get clone mode --
> the standard xorg.conf that Ubuntu's installer created for me worked
> just fine.  (Well, almost -- sometimes the picture on the external
> monitor was wobbly and wavy.)
> 
> You could try pressing Fn-F7, or doing
> 
>   $ sudo -s
>   # echo video_switch > /proc/acpi/ibm/video
> 
> a few times to see if it helps.

What do these commands do, or where do I find them documented?
(Aside: I would like to see documentation for these "Fn-..." keys.)

I got it running using some other examples posted here. See the relevant 
parts quoted below (sorry about the line wraps).

What works for me is a "1400x1050-1024x768" "meta" mode, testing with my 
15" TFT (1024x768@60Hz, a Philips Brilliance 150 P).


What I did _not_ get to work is a 1024x768 resolution on the notebook 
screen (listed as the third meta-mode, "1024x768"), so that I could have 
"full screen" with the (lower) external resolution.
It would make full-screen apps (like OpenOffice.org presentations) much 
easier; currently I have to run the presentation within the window, draw 
that to the appropriate size, and avoid scrolling outside it.

I switch the resolution using "xrandr -s ...".
This does not display the MetaModes, but it lists "1024x768", but 
selecting this causes both displays to go black.


Is it possible at all to run the internal screen at a reduced 1024x768 
resolution (be it by interpolation with loss of quality, or by reducing 
the virtual desktop), "wasting" the rest of 1400x1050 for that time?

I know that a MetaMode may only combine resolutions listed elsewhere -
is that "elsewhere" the chain "Screen" -> "Display" -> "Modes",
or is it "Screen" -> "Monitor" -> "UseModes" -> "Modeline",
or some other definition I do not think of ?


Joerg Bruehe



joerg@trift2:~> cat /tmp/xorg.conf-lap
# /.../
# SaX generated X11 config file
# Created on: 2006-03-04T21:56:31+0100.
#
# Version: 4.8
# Contact: Marcus Schaefer <sax@suse.de>, 2002
#
# Automatically generated by [ISaX] (4.8)
# PLEASE DO NOT EDIT THIS FILE!               #  I edited it !
#
Section "Files"
   ...
EndSection

Section "ServerFlags"
   Option       "AllowMouseOpenFail"
   Option       "RandR" "on"
EndSection

Section "Module"
   Load         "freetype"
   Load         "type1"
   Load         "dbe"
   Load         "glx"
   Load         "extmod"
# Load         "fbdevhw"  ??
   Load         "v4l"
EndSection

Section "InputDevice"
   Driver       "kbd"
   ...
EndSection

Section "InputDevice"
   Driver       "synaptics"
   ...
EndSection

Section "InputDevice"
   Driver       "mouse"
   ...
EndSection

Section "Monitor"
   Option       "CalcAlgorithm" "CheckDesktopGeometry"
   DisplaySize  340 270
   HorizSync    30-90
   Identifier   "Monitor[0]"
# ModelName    "Thinkpad LCD Panel 1400x1050"
   ModelName    "1400X1050@60HZ"
   Option       "DPMS"
   VendorName   "--> LCD"
   VertRefresh  40-60
   UseModes     "Modes[0]"
EndSection

Section "Monitor"
   Option       "CalcAlgorithm" "CheckDesktopGeometry"
   HorizSync    28-60
   Identifier   "Monitor[1]"
# ModelName    "Philips Brilliance 150 P"
   ModelName    "1024X768@60HZ"
   Option       "DPMS"
   VendorName   "--> LCD"
   VertRefresh  40-60
   UseModes     "Modes[1]"
EndSection

Section "Modes"
   Identifier   "Modes[0]"
   Modeline      "800x600" 36.88 800 832 912 1024 600 601 604 621
   Modeline      "1400x1050" 118.42 1400 1488 1640 1880 1050 1051 1054 1086
   Modeline      "1400x1050" 122.61 1400 1488 1640 1880 1050 1051 1054 1087
EndSection

Section "Modes"
   Identifier   "Modes[1]"
   Modeline      "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
# Modeline      "640x480" 23.06 640 656 720 800 480 481 484 497
EndSection

Section "Screen"
   DefaultDepth 24
   SubSection "Display"
     Depth      15
     Modes      "800x600"
   EndSubSection
   SubSection "Display"
     Depth      16
     Modes      "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
     Depth      24
     Modes      "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
   EndSubSection
   SubSection "Display"
     Depth      32
     Modes      "800x600"
   EndSubSection
   SubSection "Display"
     Depth      8
     Modes      "800x600"
   EndSubSection
   Device       "Device[0]"
   Identifier   "Screen[0]"
   Monitor      "Monitor[0]"
EndSection

Section "Device"
   BoardName    "RV250 Lf"
   BusID        "1:0:0"
   Driver       "radeon"
   Identifier   "Device[0]"
   Screen       0
   Option       "Rotate" "off"
   Option       "MonitorLayout" "LVDS,TMDS"
#              1. Laptop built-in,  2. assumed LCD or beamer
   Option       "MergedFB" "on"
   Option       "CRT2Position" "Clone"
   Option       "MetaModes" "1400x1050-1024x768 1400x1050-800x600 
1024x768 800x600 640x480"
   VendorName   "ATI"
EndSection

Section "ServerLayout"
   Identifier   "Layout[all]"
   InputDevice  "Keyboard[0]" "CoreKeyboard"
   InputDevice  "Mouse[1]" "CorePointer"
   InputDevice  "Mouse[3]" "SendCoreEvents"
   Option       "Clone" "off"
   Option       "Xinerama" "off"
   Screen       "Screen[0]"
EndSection

Section "DRI"
     Group      "video"
     Mode       0660
EndSection

Section "Extensions"
EndSection



-- 
Joerg Bruehe  - persoenliche Aeusserung / speaking only for himself
mailto:joerg.bruehe@web.de