Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nvidia tv and/or s video out question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
miunk
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 199

PostPosted: Sun Mar 02, 2003 11:27 pm    Post subject: nvidia tv and/or s video out question Reply with quote

I have been googling and found some howto's on the subject. However, I cannot get my XF86Config set up to display on both the monitor and the televison (Or actually on the television at all). Ideally I would like a clone image on the monitor and tv, that I can ctrl-alt-+ or - down to tv size when I would like to play a movie.

When I start up X with the lines from the "Device" section uncommented, the monitor gets no signal. Also, ctrl-alt-f1 and f8 give the monitor a signal, but just a black screen, and nothing on the tv. All i can do is a ctrl-alt-del, and re-comment those lines.

I was wondering some things that perhaps you all can help me with.

1) Does something like framebuffer support need to be compiled into the kernel to get this to work? Or is everything I need in the nvidia driver module?

2) Would a tool like nvtv or YanC be a way to do this? I tried nvtv but could only get a pink screen output to the television.

Here is an excerpt of the file:

Code:

Section "Device"
   Identifier  "TwinViewTV"
   Driver      "nvidia"
   BusID   "PCI:1:5:0"
   Option  "DPMS"
#   Option   "TwinView"
#   Option  "IgnoreEDID"   "1"
#   Option   "UseEdidFreqs"   "0"
#   Option   "HWCursor"   "0"
#   Option   "NvAGP"      "2"
#   Option   "SecondMonitorHorizSync"   "30-50"
#   Option   "SecondMonitorVertRefresh"   "60"
#   Option   "TwinViewOrientation"   "Clone"
#   Option   "MetaModes" 1280x1024,1280x1024,1024x768,1024x768,800x600,800x600"
#   Option   "TVOutFormat"   "Composite"
#    Option   "TVStandard"   "NTSC-M"
#   Option  "ConnectedMonitor"   "crt,TV"
EndSection

Section "Screen"
   Identifier "TwinViewTV"
   Device     "TwinViewTV"
   Monitor    "Monitor0"
   DefaultDepth   24
   SubSection "Display"
      Depth     24
      Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier     "TwinViewTV"
   Screen   "TwinViewTV"
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Sun Mar 02, 2003 11:36 pm    Post subject: Reply with quote

with nvtvd and xine, there is only need to launch nvtvd, configure xine to enable tv-output and just press 2 times : 'f'
That's all, no need to configure XF86Config or anything else !
Back to top
View user's profile Send private message
Furtim
n00b
n00b


Joined: 01 Dec 2002
Posts: 65

PostPosted: Mon Mar 03, 2003 12:09 am    Post subject: Reply with quote

This is my setup -------> I start a new X-session with "startx -- :1 -xf86config ~/XF86Config.tvout"
ALT+F8
& this is my XF86Config.tvout

Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
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/"
EndSection

Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "freetype"
Load "speedo"
Load "type1"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "Keyboard"
Option "XkbModel" "pc104"
Option "XkbLayout" "gb"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/psaux"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection

Section "Monitor"
DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "AOC"
ModelName "AOC A770"
# Option "DPMS"
HorizSync 30-70
VertRefresh 60 #50-130
EndSection

Section "Monitor"
DisplaySize 320 240 # mm
Identifier "TV"
ModelName "PAL TV"
VendorName "SONY"
VertRefresh 60
HorizSync 30-50
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
VendorName "NVidia"
BoardName "GeForce2 MX/MX 400"
BusID "PCI:1:0:0"
Option "NoLogo" "On"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
# Option "NvAgp" "1"
DefaultDepth 24
DefaultFbBpp 32

SubSection "Display"
Depth 1
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 4
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 15
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
Virtual 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
Virtual 0 0
EndSubSection
EndSection


Section "ServerFlags"

EndSection

# TV out
Section "Device"
BoardName "GeForce-2"
BusID "1:5:0"
Driver "nvidia"
Identifier "TV"
Screen 0
VendorName "Nvidia"
Option "NoLogo" "On"
Option "TVOutFormat" "SVIDEO" #"COMPOSITE"
Option "TVStandard" "PAL-I"
Option "ConnectedMonitor" "CRT, TV"
Option "TwinView" "On"
Option "TwinViewOrientation" "Clone"
Option "MetaModes" "800x600,800x600"
EndSection

Section "DRI"
Mode 0666
EndSection

Use nvtv to turn tv on
Works perfect every time
This keeps my other session in tact
Back to top
View user's profile Send private message
miunk
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 199

PostPosted: Mon Mar 03, 2003 3:18 am    Post subject: Reply with quote

Message removed for brevity..

Last edited by miunk on Thu Mar 06, 2003 3:54 am; edited 1 time in total
Back to top
View user's profile Send private message
miunk
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 199

PostPosted: Thu Mar 06, 2003 3:54 am    Post subject: Reply with quote

Your XF86Config.tv isn't acutally using the "TV" device section at all. Your ServerLayout points to "screen0" which points to the "card0" device. So you are basically using nvtv to enable tv out mode, which is fine. I get some strange behavior when I use nvtv (Like the cursor needs to be a couple inches below what I want to click on to work), I'm not sure how stable it is. Anyway I got it working without Twinview using your recommendation to do a
Code:
startx -- :1 -xf86config ./XF86Config.TV

followed by a CTRL-ALT-F8.

Here is my XF86Config.TV file.
Code:

Section "Monitor"
   Identifier   "CRT"
   VendorName   "Monitor Vendor"
   ModelName    "Monitor Model"
   HorizSync    30.0 - 100.0
   VertRefresh  48.0 - 200.0
#   Option       "DPMS"
EndSection

Section "Monitor"
   Identifier   "TV"
   HorizSync   30-50
   VertRefresh   60
EndSection

Section "Device"
   Identifier  "NVIDIA_TV"
   Driver      "nvidia"
#   BusID   "PCI:1:5:0"
   Option   "NvAGP"      "1"
#   Option  "DPMS"
#   Option  "IgnoreEDID"   "1"
#   Option   "UseEdidFreqs"   "0"
#   Option   "HWCursor"   "0"
#   Option   "TwinView"
#   Option   "SecondMonitorHorizSync"   "30-50"
#   Option   "SecondMonitorVertRefresh"   "60"
#   Option   "TwinViewOrientation"   "Clone"
#   Option   "MetaModes" "800x600,800x600"
   Option   "TVOutFormat"   "SVIDEO"
    Option   "TVStandard"   "NTSC-M"
   Option  "ConnectedMonitor"   "TV"
EndSection

Section "Screen"
   Identifier "NVIDIA_TV"
   Device     "NVIDIA_TV"
   Monitor    "TV"
   DefaultDepth   24
   SubSection "Display"
      Depth     24
      Modes    "800x600" "640x480"
   EndSubSection
EndSection

Section "ServerLayout"
   Identifier     "NVIDIA_TV"
   Screen   "NVIDIA_TV"
   InputDevice    "Mouse1" "CorePointer"
   InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


With any of the Twinview options enabled my monitor goes off and the TV works, but the monitor can never go back on. A CTRL - ALT - DEL reboots to my motherboard not posting. By just using ConnectedMonitor = TV, it switches back to the monitor gracefully.
Back to top
View user's profile Send private message
Kurgan
n00b
n00b


Joined: 10 Oct 2002
Posts: 9

PostPosted: Thu Mar 06, 2003 3:13 pm    Post subject: Reply with quote

I have not been able to get nvtv working at all. Don't know why.
My TV can't handle resolution larger then 800x600, but if I use different resolution on desktop/tv I can't watch movie in fullscreen.
When I want to watch a movie I restart X

alias tv='startx -- -xf86config XF86ConfigTV'

Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "Module"
Load "xie"
Load "pex5"
Load "glx"
Load "dri"
Load "dbe"
Load "record"
Load "extmod"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Emulate3Buttons"
Option "Device" "/dev/mouse"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "se"
EndSection

Section "Monitor"
Identifier "Monitor0"
HorizSync 30.0 - 95.0
VertRefresh 50.0 - 160.0
EndSection

Section "Monitor"
Identifier "TV"
HorizSync 30.0 - 50.0
VertRefresh 60.0 - 60.0
EndSection

Section "Device"
Identifier "Card0"
Driver "nvidia"
ChipSet "GeForce4 MX 460"
Card "NVidia GeForce4 MX 460 (GeForce4 MX 460)"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
Option "TwinView" "On"
Option "TVStandard" "PAL-B"
Option "SecondMonitorHorizSync" "30-50"
Option "SecondMonitorVertRefresh" "60"
Option "MetaModes" "800x600,800x600"
Option "TwinViewOrientation" "Clone"
Option "ConnectedMonitor" "CRT,TV"
SubSection "Display"
Depth 24
Modes "800x600"
EndSubSection
EndSection
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Mar 06, 2003 3:49 pm    Post subject: Reply with quote

miunk: funny avatar ;)


Moved from Desktop Environments.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
miunk
Apprentice
Apprentice


Joined: 24 Sep 2002
Posts: 199

PostPosted: Fri Mar 07, 2003 3:49 am    Post subject: Reply with quote

Maybe that is my problem,, if that config works for you... Hmm..
I will try putting the Twinview Options in the "Screen" section instead of the device section.
Back to top
View user's profile Send private message
jufoa
Apprentice
Apprentice


Joined: 10 Dec 2002
Posts: 213
Location: Rovaniemi, Finland

PostPosted: Fri Mar 07, 2003 5:40 am    Post subject: Reply with quote

try also adding null for the higher modes. because the tv-chip onboard geforce can only display modes below 800x600

Code:

section "device"
Option  "MetaModes" "1024x768, NULL; 800x600, NULL; 640x480, 640x480;"
Back to top
View user's profile Send private message
krinkle
Guru
Guru


Joined: 04 Feb 2003
Posts: 338
Location: Garden Grove, CA

PostPosted: Fri Mar 07, 2003 5:53 am    Post subject: Reply with quote

Enable the twinview option in XFree, the NVidia readme (http://download.nvidia.com/XFree86_40/1.0-4191/README) has a whole whole section on twinview (appendix I) and on Tv-out (appendix J). That should tell you all you need to know. I had my geforce4 hooked up to my tv, and it didtn' take that much work (if i remember correctly..) Best of Luck
--Andrew
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum