nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Twinview? (http://www.nvnews.net/vbulletin/showthread.php?t=2760)

ghorsepower 10-11-02 08:13 AM

I have an ASUS V-7700 Geforce2 GTS with TV input/output. I have gotten it working with Redhat 8.0 with NVIDIA's drivers. Will Twinview work on the GTS cards or do you have to have a MX card? If I add the twinview info into my XF86 file it only outputs to the TV. Now, my next question would be that if twinview will not work, what would be my best way of switching between TV and monitor without manually editing my XF86 file and restarting X? Could I use a shell script to choose which display to use? If anyone has a good script or idea of how to switch on the fly I would love to see it.


bwkaz 10-11-02 12:01 PM

If the documentation says it only works on MX cards (and the GF4 Ti's, obviously), then my first guess would be that it won't work. And seeing as it doesn't work when you try it, that just backs that feeling up.

For switching between them, you can create two config files. Name them something like XF86Config-4-TV and XF86Config-4-CRT, and put them in /etc/X11, just like XF86Config-4 is. The difference is, one will be displaying to the TV, and the other will display to your monitor.

Then create a script somewhere that looks like this (call it xstart or something):



if [ $# -lt 2 ] ; then
    echo "Usage: $0 { TV | CRT } [ other X parameters ]" 1>&2
    exit 1

if [ "$1" != "TV" -a "$1" != "CRT" ] ; then
    echo "Usage: $0 { TV | CRT } [ other X parameters ]" 1>&2
    exit 1

export XF86CONFIG="XF86Config-4-$1"


startx "$@"

Basically, it goes through some error checking first (the first two if statements), sets the XF86CONFIG shell variable to the correct filename, then runs "startx" with any other parameters you passed. When X is started, it looks for a config file according to a list (documented in the "XF86Config" man page) of predefined places. You can change the filename it looks for by changing this shell variable.

Also, the CRT or TV argument must be first. It would be possible to change it so that that could come later, but it's a whole bunch of work and I doubt it'd be worth it, personally. Check man 1 getopt if you want to try.

Just run xstart TV to start up with the display on your TV, and xstart CRT for the display to go to your CRT.

It would be possible to have a default setting as well, if you want. Let me know if this is the case, and I'll see if I can hack it into this script.

Andy Mecham 10-11-02 12:46 PM

From the README:

The TwinView feature is only supported on NVIDIA GPUs that support
dual-display functionality, such as the GeForce2 MX, GeForce2 Go,
Quadro2 MXR, Quadro2 Go, and any of the GeForce4 GPUs.

The GeForce2 GTS family of cards does not support TwinView.


All times are GMT -5. The time now is 01:40 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.