This patch doesn't work for me. With just 0.3.6y and either the June 12th X driver or the one you just sent out, things are generally fine except for scaling problems (black bars at the bottom and / or right of the screen) with some files.
With this patch, the frames sometimes seem to alternately display in the wrong place (up the screen about 1/4) and the correct place. Also, there is sometimes a black bar through the top of the picture, starting about 5% of the screen down from the top and about 20% of the screen height in height. I'm in NTSC land. Here is what I see in my log with the patch: lircd-0.7.1[3891]: accepted new client on /dev/lircd ivtv: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv-osd: Need to adjust width to src_w 592 dst_w 720 scaled_w 592 ivtv: master_width: 001a4fa6 X-Coords: src 0 dst 0 ivtv: Update reg 0x2834 02d002d0->02d00250 0x2838 02d002d0->02d00250 ivtv: Update reg 0x283c 00080000->000693e9 0x2844 00080000->000693e9 ivtv: Update reg 0x2854 00200000->001a4fa6 ivtv: Update reg 0x285c 00100000->000d27d3 0x2864 00100000->000d27d3 ivtv: Update reg 0x2874 00000000->00000000 ivtv: Update reg 0x2870 0010000c->000e000a ivtv: Update reg 0x2890 00000000->00000000 ivtv-osd: Need to adjust height to src_h 336 dst_h 364 scaled_h 436 ivtv: master_height: 003a2222 Y-Coords: src 0 dst 58 ivtv: Update reg 0x293C 00002000->00020000 ivtv: Update reg 0x2970 00000000->00000000 ivtv: Update reg 0x2930 00200000->001d1111 0x2938 00200000->001d1111 ivtv: Update reg 0x2928 00040000->0003a222 0x292c 00040514->0003a736 ivtv: Update reg 0x2920 00080000->00074444 0x2924 00080514->00074958 ivtv: Update reg 0x2918 01e001e0->016d0150 0x291C 01e000f0->016d00a8 ivtv: Update reg 0x296c 00000000->00000000 ivtv: Update reg 0x2940 00100000->000e8889 0x2948 00100000->000e8889 ivtv: Update reg 0x2950 00020000->00020000 0x2954 00020001->00020001 ivtv: Update reg 0x2958 00020000->00020000 0x295C 00020001->00020001 ivtv: Update reg 0x2960 00ef01df->01200240 ivtv: Update reg 0x2964 00010001->00020002 0x2968 00010001->00020002 ivtv: Update reg 0x289c 011e0017->016d0034 lircd-0.7.1[3891]: removed client And this is without: lircd-0.7.1[3899]: accepted new client on /dev/lircd ivtv: Allocate DMA decoder YUV stream: 24 x 43200 buffers (1024KB total) ivtv-osd: Need to adjust width to src_w 592 dst_w 720 scaled_w 592 ivtv: Update reg 0x2834 02d001e0->02d00250 0x2838 02d001e0->02d00250 ivtv: Update reg 0x283c 00055555->000693e9 0x2844 00055555->000693e9 ivtv: Update reg 0x2854 00155555->001a4fa6 ivtv: Update reg 0x285c 000aaaab->000d27d3 0x2864 000aaaab->000d27d3 ivtv-osd: Need to adjust heighth to src_h 336 dst_h 364 scaled_h 443 ivtv: Update reg 0x293C 00100000->00020000 ivtv: Update reg 0x2930 00200000->001d8889 0x2938 00200000->001d8889 ivtv: Update reg 0x2928 00040000->0003b111 0x292c 00040514->0003b625 ivtv: Update reg 0x2920 00080000->00076222 0x2924 00080514->00076736 ivtv: Update reg 0x2918 01e001e0->01e001e0 0x291C 01e000f0->01e000f0 ivtv: Update reg 0x296c 00000000->00000000 ivtv: Update reg 0x2940 00100000->000ec444 0x2948 00100000->000ec444 ivtv: Update reg 0x2950 00020000->00020000 0x2954 00020000->00020001 ivtv: Update reg 0x2958 00020000->00020000 0x295C 00020000->00020001 ivtv: Update reg 0x2960 00ef01df->00dd01ba ivtv: Update reg 0x2964 00010001->00030004 0x2968 00010001->00030004 lircd-0.7.1[3899]: removed client On 7/10/05, John Harvey <[EMAIL PROTECTED]> wrote: > > > > Oh and we have been looking at some interesting issues with interrupts so > there may well be some fixes coming for the tearing problems people have > seen. > > This patch is almost entirely Ian's work again. > > > > John > > > > > ________________________________ > > > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of John Harvey > Sent: 10 July 2005 21:56 > To: [email protected] > Subject: [ivtv-devel] [PATCH] latest yuv scaling & positioning patch > > > > With this patch the YUV picture should now be scaled & positioned correctly > as requested by the caller (ie Xv). > > There is an updated Xv driver coming shortly that adds the correct > positioning information. > > > > John ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
