LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-14-2006, 01:48 AM   #1
bahbahthelamb
Member
 
Registered: Jul 2006
Location: Fort Worth, Texas
Distribution: openSUSE 11, RHEL4 & 5, CentOS 5
Posts: 57

Rep: Reputation: 16
Totem, TV-Out, nVidia - nvtv: No supported video card found


Alright, I'm closer to a newbie than anything else; but I wouldn't say I am completely helpless since I have four friends that just switched to Linux and I'm their designated guru (lord, help them). Here's the breakdown:

...SuSE 10.1, Gnome, Compiz/XGL, nVidia GeForce 6600 GT, nForce2 chipset...

Everything is working great, just one tiny problem. I would like Totem to be able to use Full Screen Video so that I can put SpongeBob on for my son on the TV while I get my work done. From my assumption, Totem's TV-Out options for nVidia cards are provided from the dependency of libnvtv. This brings me to understand that the reason that's causing these options to be deactivated in Totem is probably the same reason I get this readout from running nvtv:
Fatal: No supported video card found.

This made me ponder, if I didn't have the nVidia drivers properly installed, I'm damn lucky to have Compiz/XGL running. I already have the dual head mode enabled using SaX2 (Clone Mode) and it works fine for tv display. When I run lspci it recognizes my video card:
02:00.0 VGA compatible controller: nVidia Corporation NV43 [GeForce 6600/GeForce 6600 GT] (rev a2)

I'll be hunting down the answer all at work, but with my already fruitless attempts, I have little faith, so I present the issue here.
 
Old 09-16-2006, 04:41 PM   #2
bahbahthelamb
Member
 
Registered: Jul 2006
Location: Fort Worth, Texas
Distribution: openSUSE 11, RHEL4 & 5, CentOS 5
Posts: 57

Original Poster
Rep: Reputation: 16
Alright, I did something to SaX2 and now Compiz/XGL isn't working, but only on one user profile. I know /etc/X11/xorg.conf is fine, but I'm a bit confused of what configuration file in ~/ is effected by SaX2, so I can restore to the point prior to my ignorant meddling. I've pondered just creating a new account and customizing all my settings there and then deleting the old account, but that seems like an arduous answer to what could be a simple issue.

Well, I'll be wading through log files tonight to see what I can find, but if someone knows the effected file off hand, feel free to give me a little help.
 
Old 09-16-2006, 06:27 PM   #3
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
(edit: no idea what sax2 is, even after looking at the website... /edit)

nvtv is not going to work on your card, it's too new. I have a similar hardware setup to you (nforce2, 6600gt), though I'm using KDE (I assume you're using gnome). When I first setup TV out, it was with a dual-screen setup which had a separate desktop on the TV, virtually above my monitor. like so:
Code:
Section "ServerLayout"
    Identifier         "dual"
    Screen         0 "CRT" 0 0
    Screen         1 "TV" Above "CRT"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
    Option             "Xinerama" "off"
EndSection
with this setup, I would browse to, and run the file I wanted to play on the TV's desktop. This turned out to be rather tedious(nothing fits on the screen at 640x480, and it's impossible to read text at higher resolutions), but it's the best option (that I know of at least) if you want to use the TV to play video and do things on the monitor(s) at the same time.

now though, I just use a regular single-monitor setup for my desktop, and launch another X server to the TV when I want to watch something, instead of having a desktop on the TV all the time. I use mplayer, but I'm sure you could use whatever player you want.

my current serverlayout(s) look like this:
Code:
Section "ServerLayout"
    Identifier  "default"
    Screen      "CRT"
    InputDevice "mouse" "CorePointer"
    InputDevice "keyboard" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier  "TV"
    Screen      "TV"
    InputDevice "mouse" "CorePointer"
    InputDevice "keyboard" "CoreKeyboard"
EndSection
and I use a basic script to launch an X server to display :1 with -layout TV, run mplayer, and set some nvidia settings so the video syncs to the TV and doesn't tear on panning shots and high-motion stuff.

Code:
#!/bin/sh

/usr/X11R6/bin/X :1 -layout TV &
export DISPLAY=:1
xhost localhost
# or modify startx to create 2 magic cookies at startup:
# authdisplay=${display:-:0 :1}  <--edit in the :1
# and prepend DISPLAY=:1 to all commands to be run on :1
nvidia-settings -a :1.0/SyncToVBlank=1 &
nvidia-settings -a :1.0/AllowFlipping=1 &
nvidia-settings -a :1.0/XVideoTextureSyncToVBlank=1 &
nvidia-settings -a :1.0/XVideoBlitterSyncToVBlank=0&
nvidia-settings -a :1.0/XVideoSyncToDisplay=256 &
nvidia-settings -a :1.0/TVOverScan[TV-0]=20 &
#sleep 1 &
mplayer -fs -vo gl2 -cache 20000 -stop-xscreensaver "$*"
this is no good if you want to play a video on the TV and work on the monitor at the same time though, and if you VT-switch from the TV to monitor and back, the nvidia-settings are un-set (reminding me of how unimpressed I was with nvidia's drivers on windows, but that's a whole other rant).

A couple notes on nvidia's drivers: with the last version (8762), the nvidia-settings would not always get set, it was hit and miss (that's why the sleep command was in there, not that it helped), the new version (8774) doesn't have this issue (yay). The issue the current version retains however is this: if you go back and forth from X to standard VTs a lot, get used to the idea of not use the framebuffer console - once you run something on a display connected through s-video, attempting to leave X to go to the console will result in a totally borked display, but you'll still be able to enter commands and such (to reboot obviously), you just won't be able to see any typos you make(ctrl alt del works nicely here). using a standard VGA console eliminates this issue. not as nice as a 1024x768 framebuffer console, but thems the breaks I guess.

not sure of any other ways to do it, hope that helps. I'll to try help more if I can, but I got this set up basically through trial-and-error so no promises.


If I can do some minimal thread-hijacking here, can anyone tell me if there's a simple way I can tie the X server in my script to mplayer, so that when mplayer gets to the end of the video and quits, it takes down the X server with it??

Last edited by lurko; 09-16-2006 at 06:32 PM.
 
Old 11-05-2006, 05:57 PM   #4
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
Quote:
Originally Posted by me
can anyone tell me if there's a simple way I can tie the X server in my script to mplayer, so that when mplayer gets to the end of the video and quits, it takes down the X server with it??
the answer is
pkill -f "layout TV"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No supported PnP or PCI card found... puishor Linux - Hardware 1 07-07-2005 09:02 PM
TV out with an nvidia card using totem lixy Linux - Software 2 06-23-2005 09:52 AM
Best supported video card chipset? bendeco13 Linux - Hardware 3 10-10-2004 09:55 PM
nVidia tv out nvtv true_atlantis Linux - Hardware 1 05-31-2004 09:32 PM
Video Card Not Supported by configxf86 RandomMiser07 Linux - Newbie 1 03-01-2004 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration