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

nvtv missing --TVhoffset and --TVvoffset options?
http://forum.linhes.org/viewtopic.php?f=11&t=13548
Page 1 of 1

Author:  krizze [ Mon Jan 15, 2007 5:07 pm ]
Post subject:  nvtv missing --TVhoffset and --TVvoffset options?

First a big thank you to everyone contributing to this great project :)
And then to the problem. Before upgrading to R5E50, I was using R5D1, and it worked flawlessly. I have always had some problems with the tv-output on my old Geforce2-MX200 card, where the problems were that the picture was a little too much to the right, and a black border appeared on the left side, and a little at the top.

In R5D1, I fixed this with nvtv, and the command in a script added to the ~/.fluxbox/apps startup section:
nvtv -t -r 800,600 -s Large -S NTSC ---set TVhoffset:-7 --set TVvoffset:-2

I later upgraded my box, and installed R5E50, and to my big disappointment, nvtv did no longer possess the two options TVhoffset and TVvoffset (Horizontal- and vertical offset). Tried to recompile nvtv, but none of the versions I tried gave me these options. Is this some kind of patched version? In that case, where can I get it? *desperate* I hate black borders :P

Author:  Greg Frost [ Tue Jan 16, 2007 1:49 am ]
Post subject: 

This is copied from an old post. I originally wrote the patch and got cesman to include it. Since then, the distribution has been built from scratch again, so the patched version is no-longer provided. I replaced my old geforce with an FX5200. I'm happier with the picture quality from this new card. Since it's been a while, these instructions may be dated.

Source for nvtv can be found at http://internap.dl.sourceforge.net/sourceforge/nv-tv-out/nvtv-0.4.7.tar.gz
The patch to allow tv position to be specified when running nvtv from the command line is:
Code:
*** nvtv.c.orig   Tue Mar  8 22:41:13 2005
--- nvtv.c   Tue Mar  8 22:42:53 2005
*************** static OptIntDecl opt_set_list [] = {
*** 172,177 ****
--- 172,179 ----
    {"ChromaBandwidth", min:   0, max:100, SET_FIELD(chroma_bandwidth)},
    {"Sharpness",       min:   0, max:100, SET_FIELD(sharpness)},
    {"CrossColor",      min:   0, max:100, SET_FIELD(cross_color)},
+   {"TVvoffset",       min:-100, max:100, SET_FIELD(tv_voffset)},
+   {"TVhoffset",       min:-100, max:100, SET_FIELD(tv_hoffset)},
    {NULL}
  };


The patched nvtv can be built with the usual mantra:
Code:
./configure
make
make install

Author:  krizze [ Tue Jan 16, 2007 7:47 am ]
Post subject: 

Thank you veeery much! The patching gave me an error, but I just pasted the lines
{"TVvoffset", min:-100, max:100, SET_FIELD(tv_voffset)},
{"TVhoffset", min:-100, max:100, SET_FIELD(tv_hoffset)},
into the nvtv.c file and compiled. Worked like a charm :)

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