TV-Out in Slackware & Fullscreen overlay on TV with GF-FX 5700
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
TV-Out in Slackware & Fullscreen overlay on TV with GF-FX 5700
Hello. I'm not so new to Linux but I don't know much about changing these kinds of things.
What I want to know is how exactly to activate TwinView or something, to clone my screen to the TV and to be able to play DVD's and Movies in fullscreen overlay on my TV. I mean to have both screens visible at the same time, not just one display.
I have a GeForceFX 5700LE and using Slackware 10.2 (Installed the full package deal with CD1 & 2)
I've tried nvtv and it doesn't seem to work whatever I do.
The only thing I have installed except for the full installation, which was a success without errors, is new nVidia-drivers.
But as a newbie, or something alike, I don't really apprehend the guide explained in the NVIDIA-README.
Cause I don't want to try anything without being sure not to mess anything up. I'm pretty good at that, messing things up with files I don't understand.
So, what I wonder is can someone give me a good explanation from beginning to the end on how to simply activate these settings? And you might have just made another "Wannabe Linux user" to be a "Fulltime Linux user".
Well, assuming your card actually has the S-Video output on it (a link to your card online would be more helpful as the chipset is just that, a chipset and not an actual card to see what it's capabilities are) then...
On your system, you should find a file that you edited when you installed the new NVidia drivers:
/etc/X11/xorg.conf
You will need to edit this file again, and where you made the change from:
Driver "nv"
to
Driver "nvidia"
Below that you will want to add:
Code:
Option "TwinView"
Option "TVOutFormat" "SVIDEO"
minimally.
Then optionally, depending on your setup and TV and... needs, these options are typically used as well:
Changing TVStandard to your area of the planet (PAL-B maybe?) and adjusting the other options as hopefully will seem appropriate.
That's about it, save the file, restart your system. If the house doesn't burn down, you should be seeing the same image on the 2 screens at the same time. If you don't, and the whole thing went terribly wrong, you'll want to take that backup you made before modifying the file and restore it. So, here's what I'd do:
Before making any changes:
cp /etc/X11/xorg.conf /etc/X11/xorg.conf-orig
And then if my system doesn't boot into graphical mode because of some terrible mistake in the options listed above:
login as root, then:
cp /etc/X11/xorg.conf-orig /etc/X11/xorg.conf
reboot
Restarting and testing. I found a site that made you click in the changes you wanted to make but it all messed up the screen. It was blurry and nothing on it. Alot of disorted colours and I couldn't do anything but press the reboot button on the computer.
I hope this will work. Otherwise I'll get back later, cause I have to leave in a few minutes.
First of all, it said I couldn't use Composite so I deleted it. Although I need to use it. Cause I don't have support for SVIDEO on my TV, and I have been using Composite in Windows.
And second of all, the Nvidia logo shows up and the same error with messed up screen show up.
I have a 15" screen that supports up to 1600x1024 on 60hz (don't look so good though) and the TV have been running on 1024x768 with 60hz in Windows so it should support that.
I guess it could have something to do with the V-HRate but I don't really get how it works.
Also, another thing that I might add is that when I installed my Nvidia drivers it said something about looking for a kernel to suit something but it didn't find anything. Is this anything that is required to get the Nvidia drivers to function correctly?
Hello. I'm not so new to Linux but I don't know much about changing these kinds of things.
What I want to know is how exactly to activate TwinView or something, to clone my screen to the TV and to be able to play DVD's and Movies in fullscreen overlay on my TV. I mean to have both screens visible at the same time, not just one display.
I have a GeForceFX 5700LE and using Slackware 10.2 (Installed the full package deal with CD1 & 2)
I've tried nvtv and it doesn't seem to work whatever I do.
The only thing I have installed except for the full installation, which was a success without errors, is new nVidia-drivers.
But as a newbie, or something alike, I don't really apprehend the guide explained in the NVIDIA-README.
My computer is:
Slackware 10.2
Kernel 2.4.31
AMD Athlon XP 2600+
Asus card (don't know which model) with nForce2 chipset
GeForce FX 5700LE 128mb DDR
1,3gb DDR 400mhz
15" SuperView Monitor (Can run 1600x1024 on 60hz in Windows)
28" TV (Don't know its name) (Had it running on 1024x768 in Windows)
My installed drivers are:
NVIDIA-Linux-x86-1.0-8774-pkg1.run
What I've already tried is to add:
Option "TwinView"
and also
Option "TwinView" "True"
Option "TwinViewOrientation" "Clone" (Does work correctly in windows)
and I don't know what the "Option" for output type (SVIDEO, COMPOSITE) was but I tried that one and it didn't do any good. Need to have the composite option somehow to get colour on my TV, it was the only way to get it to work in Windows anyhow.
If someone can give me a tip on how to do this.
If there's a kernel error anything that prevents me from getting anything on my TV or my screen for that matter. Or if Xorg is outdated, or if the drivers from nVidia is bad or anything.
Whatever I seem to do when I try to add TwinView under "Device" I get disorted dots with disorted colours that changes when I press Enter a few times and then after a few times the computer makes the sound "Ding" and I have to restart my computer.
And this is my xonf.conf file:
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Tue Aug 1 21:11:12 PDT 2006
# File generated by xorgconfig.
#
# Copyright 2004 The X.Org Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
# The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#
# Except as contained in this notice, the name of The X.Org Foundation shall
# not be used in advertising or otherwise to promote the sale, use or other
# dealings in this Software without prior written authorization from
# The X.Org Foundation.
#
# **********************************************************************
# Refer to the xorg.conf(5x) man page for details about the format of
# this file.
# **********************************************************************
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
# **********************************************************************
# Input devices
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
# **********************************************************************
# Other input device sections
# this is optional and is required only if you
# are using extended input devices. This is for example only. Refer
# to the xorg.conf man page for a description of the options.
# **********************************************************************
#
# Section "InputDevice"
# Identifier "Mouse2"
# Driver "mouse"
# Option "Protocol" "MouseMan"
# Option "Device" "/dev/mouse2"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball"
# Driver "magellan"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "spaceball2"
# Driver "spaceorb"
# Option "Device" "/dev/cua0"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen0"
# Driver "microtouch"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "1412"
# Option "MaxX" "15184"
# Option "MinY" "15372"
# Option "MaxY" "1230"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
#
# Section "InputDevice"
# Identifier "touchscreen1"
# Driver "elo2300"
# Option "Device" "/dev/ttyS0"
# Option "MinX" "231"
# Option "MaxX" "3868"
# Option "MinY" "3858"
# Option "MaxY" "272"
# Option "ScreenNumber" "0"
# Option "ReportingMode" "Scaled"
# Option "ButtonThreshold" "17"
# Option "ButtonNumber" "1"
# Option "SendCoreEvents"
# EndSection
# **********************************************************************
# Monitor section
# **********************************************************************
# Any number of monitor sections may be present
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# Standard VGA Device:
# Device configured by xorgconfig:
# **********************************************************************
# Screen sections
# **********************************************************************
# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
# **********************************************************************
# ServerLayout sections.
# **********************************************************************
# Any number of ServerLayout sections may be present. Each describes
# the way multiple screens are organised. A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option. In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.
# Section "DRI"
# Mode 0666
# EndSection
Section "ServerLayout"
# The Identifier line must be present
# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens. The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen. In this example, screen 2 is located to the
# right of screen 1.
# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used. Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".
Identifier "Simple Layout"
Screen "Screen 1" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection
Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#
# The module search path. The default path is shown here.
# ModulePath "/usr/X11R6/lib/modules"
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/TTF/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection
Section "Module"
# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# This loads the GLX module
# Load "dri"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
# Load "speedo"
Load "freetype"
# Load "xtt"
Load "glx"
# This loads the DRI module
EndSection
Section "InputDevice"
# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
# Option "Protocol" "Xqueue"
# Option "Xleds" "1 2 3"
# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc105"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# These are the default XKB settings for Xorg
# Option "XkbRules" "xorg"
# Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" ""
# Option "XkbOptions" ""
# Option "XkbDisable"
Identifier "Keyboard1"
Driver "kbd"
Option "AutoRepeat" "500 30"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
Option "XkbRules" "xorg"
Option "XkbModel" "azonaRF2300"
Option "XkbLayout" "se"
EndSection
Section "InputDevice"
# Identifier and driver
# Option "Resolution" "256"
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Option "Protocol" "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
# Mouse-speed setting for PS/2 mouse.
Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"
# ChordMiddle is an option for some 3-button Logitech mice
# Option "ChordMiddle"
EndSection
Section "Monitor"
# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.
Identifier "My Monitor"
HorizSync 31.5 - 31.5
HorizSync 35.2 - 35.2
HorizSync 35.5 - 35.5
VertRefresh 50.0 - 70.0
EndSection
Section "Device"
# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.
# Chipset "generic"
# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.
# BusID "PCI:0:10:0"
# VideoRam 256
# Clocks 25.2 28.3
Identifier "Standard VGA"
Driver "vga"
VendorName "Unknown"
BoardName "Unknown"
EndSection
Section "Device"
#VideoRam 131072
# Insert Clocks lines here if appropriate
Identifier "** NVIDIA (generic) [nv]"
Driver "nvidia"
EndSection
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA (generic) [nv]"
Monitor "My Monitor"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768"
EndSubSection
EndSection
I have a 15" screen that supports up to 1600x1024 on 60hz (don't look so good though) and the TV have been running on 1024x768 with 60hz in Windows so it should support that.
I guess it could have something to do with the V-HRate but I don't really get how it works.
What about it don't you get?
I'm not sure which part to break down for you because it's a vague "I don't really get how it works" statement.
It kind of reads like a Hz problem. The options I mentioned above regarding Vert and Horizontal refresh might be what you need to also include. Hz is how many times your TV 'refreshes' the picture per second. In the US we use NTSC which is 29.97 frames per second, which translates into ~60hz. This means that every second 2 frames are drawn across the screen (which isn't technically true or accurate, but I think might help to understand your settings).
Something else that might help you understand all this, resolution. A typically commercial DVD (not HD-DVD or Blu-Ray) will have a resoultion of 720x480. If you are setting your resolution any higher than that on your TV, you are wasting bandwidth from your card and are going to see black bars on a properly cropped video. If you set the output resolution to something closer, say 640x480 or, in the extreme case, actually 720x480, your output resolution will more closely match the video resolution providing you a cleaner image (not scaled, at least not as much) on your TV. 1024x768 is a computer resolution, IIRC is a 5:4 ratio which is not one of the 3 main ratios TV's/movies come in. The 3 ratios you'll see are 4:3 (your typical square TV) 16:9 (A widescreen TV) and 2.35/1 (your Theater Widescreen, usually only found in projectors). 720:480 is a widescreen (16:9) resolution, where 640:480 is closer to the 4:3 resolution.
As noted above. The difference being your "MetaModes". You need the ConnectedMonitor line to distinguish the first/second devices. Notice how metamodes has 1024x768 listed first in the pair of modes, that means on the CRT (your computer monitor) use a 1024x768 resolution, and use the Hsync and VertRefresh frequencies from earlier in my xorg.conf file; and on th TV use the SecondMonitorHorizSync frequencies and the second resolution (640x480).
Cool
As far as your TVOutFormat, you should be able to use COMPOSITE in place of SVIDEO as noted below.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.