NVidia TV-OUT
| |
Could you brainstorm a video-night sitting in foreground of a 17
This page provides step-by-step affidavit on howto bureaucracy your X-Server and use Tv-out.
We charge to adapt three altered locations of your X config book to create the X-server cede your desktop or video to a television that is affiliated to your video agenda through the S-Video (or Composite) anchorage on your videocard. They are acclimated to accessory a Adviser with a Accessory and ascertain a Screen. If you attending through your configfile you will apprehension that those sections already exist. No wonder, because we charge one Device-, one Monitor- and one Screen- Area for anniversary affiliated monitor/TV. In our case its the aboriginal adviser (CRT) and the television. To create abiding your adviser will plan after on as able-bodied do not blow the absolute sections. We will add new sections to abutment tv-out as able-bodied as the aboriginal adviser simultaneously. There is aswell a affection alleged TwinView which is not covered here.
This area assembly anniversary installed videocard with a driver. As you attending through the xorg.conf your device-section area should attending like this appropriate now:
Section Device
Identifier Videocard0 # different identifier for anniversary video card
Driver nvidia
VendorName nVidia
BoardName nVidia Association NV15 [GeForce2 GTS/Pro] # see lspci
# Options ...
EndSection
This Accessory Area controls the DVI/VGA achievement and ignores the tv-out and all accessories conected to it. There are some appropriate nvidia-options to use the tvout.
You should acclimatize this constant to your monitor. In accepted you can yield the amount from this table:
Usage:
Option TVStandard PAL-B
This advantage is acclimated to force the achievement to S-Video or Composite. If this advantage is missing it will be auto-detected. But be accurate because this apprehension ability fail. Accessible ethics are SVIDEO and COMPOSITE.
Usage:
Option TVOutFormat COMPOSITE
Usage:
Option ConnectedMonitor CRT, TV
Finally your new accessory area should attending like this:
Section Accessory
Identifier Card_tv
Driver nvidia
BusID PCI:1:0:0 # May alter (not bare unless you accept two or added cards)
Option TVOutFormat Blended # Or SVIDEO
Option TVStandard PAL-B
Option ConnectedMonitor TV
EndSection
As mentioned we charge to bureaucracy a adviser accessory and ascertain the Accumbent Syncronisation amount and the Vertical Brace rate. You charge not seek for those numbers, because usually those numbers are the aforementioned for alotof televisions.
Section Monitor
Identifier tv
HorizSync 30-50
VertRefresh 60
EndSection
To complete the accomplished agreement we charge to add a Awning area that assembly the Accessory and Adviser sections and defines the adapted affectation resolutions.
Section Screen
Identifier Screen_tv
Device Card_tv
Monitor tv
DefaultDepth 16
SubSection Display
Depth 16
Modes 1280x1024 1152x864 1024x768 800x600
EndSubSection
EndSection
We now accept two monitor-sections, two device-sections and two screen-sections. But how does X understand what do with with them. Simple answer. Theres addition area authentic with ServerLayout which can be acclimated to about-face the acclimated devices. There should already is a Area for that which controls your accepted adviser and defines what keyboard and abrasion to use. Dont adapt it unless you understand what your doing. This Tutorial describes how to use several serverlayouts. So we add one added of them using our television Awning section:
Section ServerLayout
Identifier tv
Screen 0 Screen_tv 0 0
InputDevice Mouse0 CorePointer
InputDevice Keyboard0 CoreKeyboard
EndSection
After putting all that into your agreement book we are accessible to analysis the X-Server and address a little Software to barrage mplayer on the TV.
To analysis the TV out try this from and xterm on your CRT:
X :1 -layout tv
Your adviser should about-face bare and ability about-face into Standby (SingalLost letters could aswell appear). If your TV is affiliated and the ascribe alternative is set accurately you should see the nVidia logo then the mousepointer should appear. To about-face amid adviser and TV you can use these key combinations:
If those keys dont work, try to zap through all: alpha from F1 and go up to F12. One should be your windowmanager and addition is the television. The others are terminal loginprompts.
To accessible a terminal go to your windowmanager, accessible a alert and type:
DISPLAY=:1 xterm
If you now about-face aback to your TV on F8 there will be a terminal popped up in the high larboard bend of the screen. Your config anesthetized the test. We can now try to handle all this in a advantageous way.
When aggravating the xterm command above, you may get an absurdity agnate to:
AUDIT: Tue May 17 14:57:14 2005: 18768 X: applicant 1 alone from bounded host
Xlib: affiliation to :1.0 banned by server
Xlib: No agreement specified
This absurdity occurs if your arrangement is using Xauthentication (xauth) to absolute who can admission a active X server. You charge to acquaint X that you wish to acquiesce admission from the bounded apparatus to affectation :1. The afterward command is one continued command that is breach beyond 2 lines. It will configure Xauthentication so that affectation :1 will acquire access from the aforementioned sources as affectation :0. This command was complete on and it works on Mandriva 2005 LE, and has been apparent to plan on Fedora Amount 5.
To configure Xauthentication for bounded access, accessible a alert and type:
xauth add $(/bin/hostname)/unix:1 MIT-MAGIC-COOKIE-1 $( xauth account | egrep $(/bin/hostname)/unix:0 | awk )
It you wish to abeyance the TV-screen session, you can calmly use the aforementioned action as if you wish to annihilate your X-Server.
# Actuate the X-Session you wish to terminate
# Columnist ALT + CTRL + BACKSPACE
# About-face aback to your approved affair and abide as if annihilation happend
To get a command for active mplayer on the TV, /usr/local/bin/mplayer.tv with this content:
#!/bin/sh
exec /usr/X11R6/bin/xinit /usr/bin/xterm -ut -e /usr/bin/mplayer -stop-xscreensaver -fs -vo sdl $@ -- /usr/X11R6/bin/X :1 -layout tv
Use locate or whereis to acquisition the actual aisle if some commands are amid elsewhere. ( FC5: /usr/bin/xinit and /usr/bin/X )
Make the Software executeable:
chmod +x /usr/local/bin/mplayer.tv
You can now play all your videos on TV:
mplayer.tv /your/path/to/video.mpeg
|
TAG: monitor, section, device, screen, option, nvidia, sections, mplayer, display, identifier, television, command, server, composite, switch, local, access, xauthentication, xauth, usr bin, bin mplayer, usage option, device section, monitor and, screen section, device and, bin hostname unix, option tvoutformat composite, composite usage option, section device identifier, section should look, |
Also see ...
NVidia Accompanying Appearance
TwinView is a affection of avant garde nVidia cartoon cards first alien on the GeForce2 MX ambit of cards. TwinView presents a individual big awning to the operating system, one advantage of this access compared to using assorted cards with Xinerama is that accouterments accelerated OpenGL appli
TwinView is a affection of avant garde nVidia cartoon cards first alien on the GeForce2 MX ambit of cards. TwinView presents a individual big awning to the operating system, one advantage of this access compared to using assorted cards with Xinerama is that accouterments accelerated OpenGL appli