[Openchrome-users] TvOut NTSC 1625 No Joy

Brian Bulkowski brian
Tue May 1 16:17:33 PDT 2007


Xavier,

Thanks for the patch.

The patch does not apply cleanly to current SVN. I tried to hand apply 
it, and apparently messed up.

I rolled back to version 293, and it applied cleanly.

The result is that 640x480 NTSC still fails, as expected - since this 
patch doesn't change anything about 640x480.

720x480Fit works better than previously. Instead of getting a ghostly 
double screen, I get a single screen at the right place on my TV. 720x480

However, it's not usable. The lines/fields are mixed up somehow, so any 
vertical line (even a static one) is combed. That is, every other line 
is offset by about two pixels from the previous, back and forth.

The screen undergoes a huge lurch about once a second, as well. This may 
be my television trying to find a better match for the signal, since it 
autosenses PAL/NTSC/etc.

So - a huge improvement. To my eye, it's worth checking in because it's 
better than the only other NTSC value, 640x480.

I can send you a photo of the screen, I can send you xorg logs, I can 
try other values, if you want to try improving it.

Cheers,
-brianb




Xavier Bachelot wrote:
>
>> I've tried SVIDEO and COMPOSITE, all possible resolutions, the 
>> experimental branch, the "billionmonkeys" xorg.conf.
>>
> The experimental branch is only for some new chipsets, nothing related 
> to TV encoders there.
>
>> What I haven't fully tried yet is rolling back SVN revisions and 
>> applying the patch recommended by "billionmonkeys".
>>
> Parts of the billionmonkeys patch have already been applied, and thus 
> it obviously doesn't apply anymore. The remaining are the VT1625 NTSC 
> modes. See attached patch against current svn (trunk). Please send us 
> feedback so it can be included as well.
>
> Regards,
> Xavier
>
> ------------------------------------------------------------------------
>
> Index: unichrome/via_vt162x.h
> ===================================================================
> --- unichrome/via_vt162x.h	(revision 293)
> +++ unichrome/via_vt162x.h	(working copy)
> @@ -765,6 +765,9 @@
>      { MODEPREFIX("1920x1080"),    74250, 1920, 1960, 2016, 2200, 0, 1080, 1082, 1088, 1125, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX1080I },
>  
>      { MODEPREFIX("640x480"),      24696,  640,  656,  744,  784, 0,  480,  482,  483,  525, 0, V_NHSYNC | V_NVSYNC, MODESUFFIXNTSC  },
> +    { MODEPREFIX("720x480Under"), 34000,  720,  728,  744,  784, 0,  480,  490,  496,  600, 0, V_NHSYNC | V_NVSYNC, MODESUFFIXNTSC  },
> +    { MODEPREFIX("720x480Fit"),   28980,  720,  728,  744,  784, 0,  480,  490,  496,  600, 0, V_NHSYNC | V_NVSYNC, MODESUFFIXNTSC  },
> +    { MODEPREFIX("720x480Over"),  27025,  720,  728,  744,  784, 0,  480,  490,  496,  600, 0, V_NHSYNC | V_NVSYNC, MODESUFFIXNTSC  },
>  
>      { MODEPREFIX("720x480Under"), 28224,  720,  728,  744,  784, 0,  480,  490,  496,  600, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX480P  },
>      { MODEPREFIX("720x480Fit"),   28980,  720,  728,  776,  840, 0,  480,  484,  499,  575, 0, V_NHSYNC | V_NVSYNC, MODESUFFIX480P  },
> @@ -791,6 +794,53 @@
>        /* Subcarrier 19,18,17,16, DotCrawl Subcarrier (set bit 3 of reg 11 then subcarrier) */
>        0x21F07BD6, 0x21F087BE,
>      },
> +    { "720x480Under", 720, 480, TVTYPE_NTSC, 0, 0,
> +      /*  00                                                                                         0F */
> +	{   0, 0x80, 0xAB, 0x27, 0x70, 0x2C, 0xD6, 0x7B,  0xF0, 0x21, 0x02, 0x50, 0x41, 0x80,    0, 0x10,
> +	0x1C, 0x08, 0xCB, 0x77, 0x00,    0,    0,    0,     0,    0,    0,    0,    0,    0,    0,    0 },
> +       /*  4A                            4F    50                                                     59 */
> +       { 0xC5, 0x0F, 0x00, 0x01, 0x10, 0x4A, 0x0F, 0xCF,  0x23, 0x57, 0x22, 0x59, 0x83, 0x7F, 0x23, 0x91,
> +       /*  5A                            5F    60                       64 */
> +	0xD2, 0x13, 0x7A, 0x16, 0x49, 0xF1, 0x92, 0xA8,  0xFF, 0x7F, 0x03 },
> +       /* RBG 65,66,67,27,2b,2c */
> +       { 0x55, 0x37, 0x5C,    0,    0,    0 },
> +       /* Y-Cb-Cr 65,66,67 */
> +       { 0x55, 0x54, 0x56 },
> +       /* Subcarrier 19,18,17,16, DotCrawl Subcarrier (set bit 3 of reg 11 then subcarrier) */
> +       0x21F07BD6, 0x21F04CC3,
> +     },
> +     { "720x480Fit", 720, 480, TVTYPE_NTSC, 0, 0,
> +       /*  00                                                                                         0F */
> +       { 0x03,    0, 0x10, 0x1F, 0x00,    0,    0, 0x41,  0x3B, 0x0B, 0x7B, 0x15, 0x50, 0x57,    0, 0xB7,
> +            0, 0x80, 0xCD, 0x21, 0x73, 0x34, 0xD6, 0x7B,  0xF0, 0x21, 0x02, 0x50, 0x43, 0x80,    0, 0x10,
> +         0x1C, 0x08, 0xCA, 0x77, 0x02,    0,    0,    0,     0,    0,    0,    0,    0,    0,    0,    0 },
> +       /*  4A                            4F    50                                                     59 */
> +       { 0xC5, 0x0F,    0, 0x01, 0x10, 0x4A, 0x47, 0xCF,  0x23, 0x3E, 0x22, 0x59, 0x8B, 0x7F, 0x23, 0x91,
> +       /*  5A                            5F    60                       64 */
> +         0xD2, 0x13, 0x7A, 0x16, 0x30, 0xD4, 0x8C, 0x28,  0xFF, 0x97, 0x03 },
> +       /* RBG 65,66,67,27,2b,2c */
> +       { 0x55, 0x37, 0x5C,    0,    0,    0 },
> +       /* Y-Cb-Cr 65,66,67 */
> +       { 0x55, 0x54, 0x56 },
> +       /* Subcarrier 19,18,17,16, DotCrawl Subcarrier (set bit 3 of reg 11 then subcarrier) */
> +       0x21F07BD6, 0x21F0EBE8,
> +     },
> +     { "720x480Over", 720, 480, TVTYPE_NTSC, 0, 0,
> +       /*  00                                                                                         0F */
> +       { 0x03,    0, 0x10, 0x1F, 0x00,    0,    0, 0x33,  0x1C, 0x06, 0x7B, 0x15, 0x50, 0x57,    0, 0x9E,
> +            0, 0x80, 0x04, 0x08, 0x08, 0x10, 0xD6, 0x7B,  0xF0, 0x21, 0x00, 0x50, 0x43, 0x80,    0, 0x10,
> +         0x1C, 0x08, 0xDC, 0x77, 0x02,    0,    0,    0,     0,    0,    0,    0,    0,    0,    0,    0 },
> +       /*  4A                            4F    50                                                     59 */
> +       { 0xC5, 0x0F,    0, 0x01, 0x10, 0x4A, 0x59, 0xCF,  0x23, 0x0C, 0x22, 0x59, 0xCF, 0x7F, 0x23, 0x91,
> +       /*  5A                            5F    60                       64 */
> +         0xD2, 0xE1, 0x7D, 0x06,    0,    0, 0x80, 0x28,  0xFF, 0x59, 0x03 },
> +       /* RBG 65,66,67,27,2b,2c */
> +       { 0x55, 0x37, 0x5C,    0,    0,    0 },
> +       /* Y-Cb-Cr 65,66,67 */
> +       { 0x55, 0x54, 0x56 },
> +       /* Subcarrier 19,18,17,16, DotCrawl Subcarrier (set bit 3 of reg 11 then subcarrier) */
> +       0x21F07BD6, 0x21F05C1E,
> +     },
>      { "720x480Under", 720, 480, TVTYPE_480P, 0, 0,
>        /*  00                                                                                         0F */
>        { 0x03,    0, 0x10, 0x40, 0x10,    0,    0, 0x2A,  0x41, 0x14, 0x7B,    0, 0x50, 0x57,    0, 0xB7,
>
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> openchrome-users mailing list
> openchrome-users at openchrome.org
> http://wiki.openchrome.org/mailman/listinfo/openchrome-users
> Main page:
> http://www.openchrome.org
> Wiki:
> http://wiki.openchrome.org
> User Forum:
> http://wiki.openchrome.org/tikiwiki/tiki-view_forum.php?forumId=1





More information about the Openchrome-users mailing list