LinHES Forums
http://forum.linhes.org/

Black Border around TV Image
http://forum.linhes.org/viewtopic.php?f=6&t=17566
Page 1 of 1

Author:  fitech [ Tue Jan 08, 2008 12:03 pm ]
Post subject:  Black Border around TV Image

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

Author:  tjc [ Tue Jan 08, 2008 7:27 pm ]
Post subject: 

Search the forums and wiki for information on TVOverScan

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

Author:  fitech [ Wed Jan 09, 2008 1:31 pm ]
Post subject:  Startup code

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?

Author:  tjc [ Wed Jan 09, 2008 8:56 pm ]
Post subject: 

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?

Author:  fitech [ Thu Jan 10, 2008 1:15 am ]
Post subject:  Thanks

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.

Author:  tjc [ Thu Jan 10, 2008 7:20 pm ]
Post subject: 

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.

Author:  Greg Frost [ Thu Jan 10, 2008 8:03 pm ]
Post subject: 

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

Author:  fitech [ Tue Oct 28, 2008 10:52 pm ]
Post subject:  Thanks Greg

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

Author:  Greg Frost [ Tue Oct 28, 2008 11:44 pm ]
Post subject: 

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

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/