Help with Nvidia TwinView Setup

Mike White lists1 at b0nk.org
Tue Jan 20 18:37:52 UTC 2004


Hi Chris,

chris clarke wrote:

> 	I'm hoping someone has done something similar and can pass along an
> example .config file.  Here's what I'd like to do (if possible)  I have
> an Nvidia card with TwinView+TVOut.  Is there a way to set it up so that
> my "desktop" remains unchanged (ie everything stays on my Monitor) and
> only specific programs (ie gmplayer) run on the TV?
> 
> 	I've got the Nvidia drivers installed, and have changed my
> XFree86Config file accordingly, everything works (Tux Racer, UT2003
> etc)  I briefly had TwinView almost working (since lost the config file)
> but it was stretching the "desktop" over both the monitor and TV and not
> scaling properly on the TV.  Any help would be appreciated, TIA


What i did was use the "multiple screens" configuration, detailed (sort 
of) in the NVidia readme.  Here are the relevant parts of my 
/etc/X11/XF86Config:


-----------------------------

Section "ServerLayout"
         Identifier     "asshat"
         Screen          0  "Screen0"
         Screen          1  "Screen1"
         InputDevice    "Mouse0" "CorePointer"
         InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"


Section "Monitor"
         Identifier   "Monitor0"
         VendorName   "Monitor Vendor"
         ModelName    "Optiquest V75"
         HorizSync    30.0 - 96.0
         VertRefresh  50.0 - 160.0
         Option      "dpms"
EndSection

Section "Monitor"
         Identifier   "Monitor1"
         VendorName   "Monitor Vendor"
         ModelName    "mr_tv"
         HorizSync    30 - 50
         VertRefresh  60
EndSection

Section "Device"
         Identifier  "nvidia0"
         Driver      "nvidia"
         BoardName   "NVIDIA GeForce 4 MX (generic)"
         BusID       "PCI:1:0:0"
         Screen      0
EndSection

Section "Device"
         Identifier  "nvidia1"
         Driver      "nvidia"
         BoardName   "NVIDIA GeForce 4 MX (generic)"
         BusID       "PCI:1:0:0"
         Screen      1
EndSection


Section "Screen"
         Identifier      "Screen0"
         Device          "nvidia0"
         Monitor         "Monitor0"
         DefaultDepth     24
         SubSection      "Display"
                 Depth     24
                 Modes     "1280x1024" "1280x960" "1152x864" "1024x768" 
"800x600"
  "640x480"
         EndSubSection
EndSection


Section "Screen"
         Identifier      "Screen1"
         Device          "nvidia1"
         Monitor         "Monitor1"
         DefaultDepth     24
         SubSection      "Display"
                 Depth     24
                 Modes     "1024x768" "800x600" "640x480"
         EndSubSection
EndSection
--------------------


The advantage of this is that your monitor doesn't have to be in one of 
the compatible TV modes: 1024x768, 800x600, 640x480, and your workspace 
is unaffected by the TV out.

To use the TV, just send any X window to the second screen of the 
primary display:

mplayer -display localhost:0.1 -vo xv -fs Foo.avi


I even got this working with the MythTV client.  Now (well, after i get 
LIRC working properly) my g/f can watch downloaded TV episodes while i 
do "work" on the computer.

Good luck,
Mike






More information about the fedora-list mailing list