Skip navigation.
Home
Now Shipping Version 7.0

TV output atitvout


Posts: 229

Hello,

I was able to get atitvout to work finally !

All I had to do was to switch the name Radeon to Vesa under device -driver in
/etc/X11/file:/etc/X11/XF86Config-4 , and run atitvout -f t

I now want to run a script so I can run the vesa driver configeration only to the tv when using atitvout.

The vesa driver make all images very big in my computer, but normal on the TV.

This is from a website, however , I cannot figure it out. Can some on help me on this?

I am not interested in running the mplayer in the script, only the tv-out.

With the computer running on the Radeon driver, I want to create a script to run the TV using the Vesa driver, without configuring around too much or rebooting.

Thank You in advance !

from the website:

TV Out
It took me a long time to figure out how to get the TV-Out to work with my Radeon Mobility 7500, but it does in fact work. The first thing to do is install a tool called atitvout (you've probably already done this and pulled your hair out trying to make it work). Once the tool is installed, you'll need to reboot with the S-Video connected to the TV. I have not yet figured out a way to "reset" the video card so that it would be detected in real-time, but I'm sure there is a way (as Windows does it). Anyway, once you've rebooted, you can run "atitvout detect" to confirm that the TV is detected and connected to S/Video. Next comes the tricky part...

In order for atitvout to work, I had to create an X session using the vesa driver (instead of radeon). In order to do this, I had to create a copy of my XF86Config file (or xorg.conf if you're using Xorg) and change this line:

Driver "radeon"

to:
Driver "vesa"

You'll also need to set the resolution to 800x600 or lower for standard television sets. Save this new file as something like XF86Config.vesa. Now you have two options: you can either reboot and start X using this config, or you can simply create a dynamic X session from your normal all-purpose desktop. You can do this in much the same way as I previously discussed under Dynamic 3D X-Server Creation. Chances are, if you're wanting to get the TV to work, you want to watch a movie - so I've concocted this handy little script to automatically start up an X server and Mplayer's GUI in full screen mode:
#!/bin/bash

/usr/X11R6/bin/X :1 -xf86config xorg.conf.vesa -depth 24 -auth /var/gdm/:1.Xauth vt8 &
DISPLAY=:1.0
export DISPLAY
sleep 5
atitvout ntsc
atitvout -f t
gmplayer -vo sdl -fs
atitvout -f lc
DISPLAY=:0.0
export DISPLAY

As usual, when you're finished you can press CTL-ALT-Backspace to end the session or CTL-ALT-F7 to switch to your normal desktop.

NOTE: I haven't found a way to allow the TV and LCD to simultaneously function. It's presently either-or. GMPlayer also requires the use of a different video output device than the standard X11. This can be SDL, if you have SDL support (hence, -vo sdl) or vesa if you don't (-vo vesa).

S3TC Support
The Thinkpad T30's Radeon 7500 is not supported by ATI's video drivers, and so you're stuck with DRI's drivers. DRI has not yet implemented S3TC Support, which is required for some games. I have written a HOWTO that will explain how to enable S3TC texture compression support in the DRI drivers using an unofficial patch.