[Powerpc - Debian unstable] Color screen cloning: S-Video <-> PAL TV working, nearly flawlessly

Wolfgang Pfeiffer roto at gmx.net
Tue Jun 10 15:23:20 PDT 2008


Hi All

Happy news ... :) .... :

At least with the very latest xorg packages on Debian unstable/powerpc
software is getting installed, that enables screen cloning to an
external PAL TV monitor, in color mode. This is accomplished here via
the S-Video connector on the computer.

A color video can be seen here with mplayer, on the telly, if the LCD
is switched off. This picture is played by mplayer, and seen on the
TV set:

http://img393.imageshack.us/img393/8523/kellyeyesscaleddp2.jpg

(The girl is Kelly Marie, from a video that should be available via
http://www.goodmagazine.com/section/Transparency/Internet_Porn - and
no, it's no porn video ... :)

Funny thing: watching a video on this telly seems to create a much
more pleasing picture on the TV monitor, than the X/KDE desktop as it
is seen on the TV set itself: 

KDE desktop, as drawn on the computer, and seen on the TV monitor:

http://img361.imageshack.us/img361/8497/kdeontvor6.jpg

Machine:
Powerbook5,8. 

Kernel:
$ git describe --long
v2.6.26-rc5-0-g53c8ba9

The system has the very latest packages - as of around June 10 - for Debian
unstable installed. With only 

cinelerra gcc-3.4-base mplayer

held back.

And the upgrade wasn't without glitches: dpkg was bailing out during
upgrade because 1 or 2 packages refused to overwrite files that were
previously installed by different packages, or so. It could be fixed
manually, as it seems ... :)

Cloning was done like along the line of that:

1: 
xrandr --output S-video --set load_detection 1

2: 
xrandr --output S-video --set tv_standard pal

3: 
xrandr --addmode S-video 800x600

4: 
xrandr --output S-video --off

5: 
xrandr --output S-video --mode 800x600

Seems one can omit step 4.

An S-video to composite adapter was used: 

http://www0.info.apple.com/images/kbase/33001/33001_23.gif

which was connected via an adapter to a SCART cable. The latter
connected to a rather cheap 800x600 color PAL TV set.
I'm no sure whether this device is really a 800x600 one. But at least
it works with these values.

xrandr output, while both the LCD and the TV monitor are switched on (Don't
get misled by "S-video disconnected", below: TV monitor *is* connected
*and* shows the KDE desktop):

Thanks a lot to everyone out there who made this possible ... :)

If an Xorg.0.log or an "xrandr -q" is useful, please let me know.

xorg.conf is attached.

Best Regards
Wolfgang
-- 
http://heelsbroke.blogspot.com/
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
-------------- next part --------------
# xorg.conf.dpkg-new (Xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf.dpkg-new manual page.
# (Type "man xorg.conf.dpkg-new" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/xorg.conf.dpkg-new /etc/X11/xorg.conf.dpkg-new.custom
#   md5sum /etc/X11/xorg.conf.dpkg-new >/var/lib/xfree86/xorg.conf.dpkg-new.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
	
	# see http://wiki.debian.org/Xorg69To7:
	# FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/misc"
#	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/Type1"
#	FontPath	"/usr/share/fonts/X11/CID"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/share/fonts/X11/100dpi:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi:unscaled"
#	FontPath	"/usr/share/fonts/truetype"
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"v4l"
	Load	"vbe"
	Load	"evdev"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"macintosh"
	Option		"XkbLayout"	"de"
	Option		"XkbVariant"	"nodeadkeys"
	Option		"XkbOptions"	"lv3:lwin_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"false"
	Option		"ZAxisMapping"		"4 5"
EndSection
Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"auto-dev"
	Option		"LeftEdge"		"0"
	Option		"RightEdge"		"850"
	Option		"TopEdge"		"0"
	Option		"BottomEdge"		"645"
	Option		"MinSpeed"		"0.4"
	Option		"MaxSpeed"		"1"
	Option		"AccelFactor"		"0.02"
	Option		"FingerLow"		"55"
	Option		"FingerHigh"		"60"
	Option		"MaxTapMove"		"20"
	Option		"MaxTapTime"		"100"
	Option		"HorizScrollDelta"	"0"
	Option		"VertScrollDelta"	"30"
	Option		"SHMConfig"		"on"
EndSection

Section "Device"
	Identifier	"ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
	Driver		"ati"
	BusID		"PCI:0:16:0"
	Option		"MacModel"		"powerbook"
	Option		"UseFBDev"		"true"
        Option		"AGPSize" "16"
        Option		"AGPMode" "4"
        Option		"EnablePageFlip"
        Option		"DRIReinit"             "true"
#        Option		"BackingStore"          "True"
EndSection

Section "Monitor"
	Identifier	"Color LCD"
#	DisplaySize	323 216
	DisplaySize	321 214
        Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"ATI Technologies, Inc. Radeon R250 Lf [FireGL 9000]"
	Monitor		"Color LCD"
	DefaultDepth	24
        SubSection "Display"
                Depth           8
                Modes           "1440x960" "1280x800" "1152x720" "1024x768" "1024x640" "800x500" "720x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1440x960" "1280x800" "1152x720" "1024x768" "1024x640" "800x500" "720x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1440x960" "1280x800" "1152x720" "1024x768" "1024x640" "800x500" "720x480"
	Virtual 2720 1024
        EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

Section "DRI"
	Mode	0666
EndSection


More information about the xorg-driver-ati mailing list