View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jan 08, 2008 12:03 pm 
Offline
Joined: Tue Jan 08, 2008 11:38 am
Posts: 14
Location: Weymouth, MA
Hi, I'm a n00b here. I have knoppmyth R4V27 running succussfully. It is a great system. My only problem is that when i connect to my Panasonic tube television via S-Video cable from the Nvidia GeForce 2 video card, I have a black border around the image (2 inches on sides, 1 inch on top and bottom). I used XF86Config-4 and xorg.conf files that I downloaded from others, and I don't know much about how to configure them.

This command seemed promising:
/usr/bin/nvtv -S NTSC -t -r 800,600 -s Normal
It enlarged the image, but then there were waves in the video playback and it was unwatchable.

Does anybody have any advice for me? :roll:

Thanks in Advance


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jan 08, 2008 7:27 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Search the forums and wiki for information on TVOverScan

Also look into nvidia-settings (or possibly nvtv for the older cards).


Top
 Profile  
 
 Post subject: Startup code
PostPosted: Wed Jan 09, 2008 1:31 pm 
Offline
Joined: Tue Jan 08, 2008 11:38 am
Posts: 14
Location: Weymouth, MA
Thanks, I found some commands to fix the tv display.

Running this command will make it display properly
/usr/bin/nvtv -S NTSC -t -r 640,480 -s Normal
also
xvattr -a XV_COLORKEY -v 0

I've tried to add it to the startup /home/mythtv/.fluxbox/apps
but it's not happening, the xvattr command is working though.

Here is my apps file

Code:
[startup] {xset -dpms s off}
[startup] {/usr/bin/nvtv -S NTSC -m -r 640,480 -s Normal}
[startup] {/usr/bin/nvtv -S NTSC -t -r 640,480 -s Normal}
[startup] {xvattr -a XV_COLORKEY -v 0}
[startup] {KnoppMyth-run}
#[startup] {$HOME/wmd/mythtv_wiimote.sh}
[startup] {launch_irx.sh}
[startup] {gnome-volume-manager}
[startup] {/usr/bin/x11vnc -nap -wait 50 -passwd mythtv -display :0 -forever -o /var/log/x11vnc.log -bg}
[app] (SDL_App)
   [Layer]   {2}
   [Deco]   {NONE}
[end]


Any ideas? Am I doing this right?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 09, 2008 8:56 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Did you restart X or the desktop after doing that? Also, when you run it successfully, are you running it as root or as mythtv?


Top
 Profile  
 
 Post subject: Thanks
PostPosted: Thu Jan 10, 2008 1:15 am 
Offline
Joined: Tue Jan 08, 2008 11:38 am
Posts: 14
Location: Weymouth, MA
That must be it, I wonder how I'll edit those permissions. I have a Linux book in the mail. I'll figure it out eventually. I appreciate the help.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 7:20 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Just run it earlier in the cycle before the auto-login in as the mythtv user. Either in the init files or somewhere in the X startup scripts. Probably in /etc/init.d/xsession before the su command on line 176.

Oh, and see the LinuxTips page on the wiki to get started.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 10, 2008 8:03 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I used to have an old geforce 2 mx400 that I used nvtv for. In order to be able to run it as the mythtv user, you need to run the nvtvd daemon. Im sure I wrote something about that on the wiki.

Edit: It's mentioned on this page in small text by Luca (although it seems I forgot to mention it). http://www.knoppmythwiki.org/index.php? ... rScanHowto


Top
 Profile  
 
 Post subject: Thanks Greg
PostPosted: Tue Oct 28, 2008 10:52 pm 
Offline
Joined: Tue Jan 08, 2008 11:38 am
Posts: 14
Location: Weymouth, MA
Hi Greg,

I somehow solved the problem last year, but I don't remember how. Now that my system crashed, and I've installed R5.5, I have to figure this out again.

My problem is running NVTV in the /.fluxbox/apps script as a non-root user. I could run it anywhere in the startup I suppose. I tried TJC's suggestion of xsession script, but I can't get that working.

I know the right NVTV setting, but I need it to run automatically on startup.

I tried running the script you posted, but there is a problem with one section of it.

Quote:
echo -e "\a"
echo "=========================================================="
echo "Use nvtv at x startup to enable tv out on GeForce 2 MX 400"
echo "=========================================================="
sleep 1

if ! grep /usr/local/bin/nvtv /home/mythtv/.fvwm/.fvwm2rc ; then
cp -fv /home/mythtv/.fvwm/.fvwm2rc /home/mythtv/.fvwm/.fvwm2rc~
cat /home/mythtv/.fvwm/.fvwm2rc~ | awk '/exec KnoppMyth-run/{print "exec /usr/bin/nvtv -S NTSC -t -r 800,600 -s Huge"}{print $0}' > /home/mythtv/.fvwm/.fvwm2rc
fi


/home/mythtv/.fvwm/.fvwm2rc does not exist. So the script does not run. Do you know what this should be changed to so that it will work?

Thanks,
Dan


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 28, 2008 11:44 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
put it in fluxbox apps as you had done, but run nvtvd somewhere in the startups. with that deamon task running, you dont need to be root to run nvtv


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 7 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu