Menu

#24 fields / frames captured incorrectly

open
nobody
None
5
2004-05-13
2004-05-13
No

i'm not entrily sure what's going on, but here's my best guess.

it appears that only the first (or maybe second) field in each frame
is being captured, and that the same field from multiple frames is
being interlaced with itself and returned as the captured frame.

you can see in static parts of the image, pairs of lines are
near-identical (this is consistent if they differ only in the noise of
different frame). you can also see a nasty pseudo-interlacing
artifact, but that's kinda beside the point since half the vertical data
appears to be missing.

i played around a bit with the code, and it appears to be a problem
in v4l-riva.c, not the decoder, but it's hard to tell for sure. i can't
read the code in v4l-riva.c 'cause it's insane and undocumented.
maybe there's some subtle difference with my decoder chip or
card if others do not see this problem, i dunno.

i'm using cvs rivatv, image was captured with cvs (+ palette fix
hack by me) tvtime (although xawtv looks just the same).

syslog tail on modprobe rivatv (debug in saa driver enabled)

May 13 06:02:21 maaya kernel: rivatv: Video4Linux driver for
NVIDIA cards
May 13 06:02:21 maaya kernel: rivatv: MMX processor extension
enabled
May 13 06:02:21 maaya kernel: rivatv: nVidia card found - rivatv0
May 13 06:02:21 maaya kernel: rivatv: Identified your board as
MSI GeForce FX 5600 XT VDTR128
May 13 06:02:21 maaya kernel: rivatv: Attempting to load module
saa7108e
May 13 06:02:21 maaya kernel: mtrr: 0xe0000000,0x10000000
overlaps existing 0xe0000000,0x8000000
May 13 06:02:21 maaya kernel: rivatv: unable to setup MTRR
May 13 06:02:21 maaya kernel: rivatv: PCI nVidia NV30 card
detected (GeForce FX 5600 XT [0x314], 128MB @ 0xE0000000)
May 13 06:02:21 maaya kernel: rivatv: I2C adapter driver for
NVIDIA cards
May 13 06:02:22 maaya kernel: SAA7108E: video decoder chip
SAA7114H found, chip version: 0x7114
May 13 06:02:22 maaya kernel: rivatv: video decoder chip
registered
May 13 06:02:22 maaya kernel: SAA7108E: 00 | 01 08 c0 00 90
90 eb e0 b8 40 80 44 40 00 01 0f
May 13 06:02:22 maaya kernel: SAA7108E: 10 | 04 00 00 00 00
11 fe c0 40 80 00 00 00 00 00 a1
May 13 06:02:22 maaya kernel: SAA7108E: 20 | 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: 30 | bc df 02 00 cd cc
3a 00 03 20 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: 40 | 00 ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff
May 13 06:02:22 maaya kernel: SAA7108E: 50 | ff ff ff ff 00 ff ff ff
00 47 06 83 00 3e 00 00
May 13 06:02:22 maaya kernel: SAA7108E: 60 | 00 26 df 00 00 00
00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: 70 | 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: 80 | 30 00 00 00 a0
10 45 00 f0 00 00 00 00 00 00 0b
May 13 06:02:22 maaya kernel: SAA7108E: 90 | 00 48 00 84 02
00 d0 02 00 00 0d 00 00 06 0d 00
May 13 06:02:22 maaya kernel: SAA7108E: a0 | 01 00 00 00 80
40 40 00 40 02 00 00 20 01 00 00
May 13 06:02:22 maaya kernel: SAA7108E: b0 | 00 04 00 04 00
00 00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: c0 | 00 08 00 80 10
00 d0 02 16 00 f2 00 d0 02 f2 00
May 13 06:02:22 maaya kernel: SAA7108E: d0 | 01 00 00 00 80
40 40 00 00 04 00 00 00 02 00 00
May 13 06:02:22 maaya kernel: SAA7108E: e0 | 00 04 00 04 00
00 00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: SAA7108E: f0 | 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 13 06:02:22 maaya kernel: rivatv: procfs file registered for
rivatv0
May 13 06:02:22 maaya kernel: rivatv: allocated YUV capture
buffer (812 kb)
May 13 06:02:22 maaya kernel: rivatv: AGPGART: not available
May 13 06:02:22 maaya kernel: rivatv: AGP: disabled
May 13 06:02:22 maaya kernel: rivatv: Hash table layout: 4kB (9
bits) @ 0xFD710000
May 13 06:02:22 maaya kernel: rivatv: Open source nv driver
detected, DMA supported
May 13 06:02:22 maaya kernel: rivatv: DMA transfers disabled
May 13 06:02:22 maaya kernel: rivatv: successfully requested
IRQ 11
May 13 06:02:22 maaya kernel: rivatv: Video4Linux device driver
registered

[root@maaya riva]# uname -a
Linux maaya.EECS.Berkeley.EDU 2.6.3-7mdk-i686-up-4GB #1
Wed Mar 17 15:17:23 CET 2004 i686 unknown unknown
GNU/Linux
[root@maaya riva]# lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown
device 0655 (rev 60)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS]: Unknown
device 0003
00:02.0 ISA bridge: Silicon Integrated Systems [SiS]: Unknown
device 0964 (rev 36)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
(rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems
[SiS] Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0
Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0
Controller
00:05.0 RAID bus controller: Silicon Integrated Systems [SiS]:
Unknown device 0180 (rev 01)
00:0c.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M
[Tornado] (rev 78)
00:0d.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394
Host Controller (rev 80)
00:0f.0 Ethernet controller: Galileo Technology Ltd.: Unknown
device 4320 (rev 13)
01:00.0 VGA compatible controller: nVidia Corporation: Unknown
device 0314 (rev a1)
[root@maaya riva]#
[root@maaya riva]# X -version

This is a pre-release version of XFree86, and is not supported in
any
way. Bugs may be reported to XFree86@XFree86.Org and
patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release
versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.3-3mdkenterprise i686 [ELF]
Build Date: 24 March 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
[root@maaya riva]#

Discussion

  • Matthew Moskewicz

    Logged In: YES
    user_id=985233

    this appears to be the same problem mentioned in several
    emails on the devel list, here's a recent reference (that
    references the earlier reference). i think everyone seeing
    the problem has an MSI GF FX 5600 LDTR128 card maybe? (i
    think i got all those letters approcimatly correct)

    https://sourceforge.net/mailarchive/message.php?msg_id=7271910

    from lspci -v

    01:00.0 VGA compatible controller: nVidia Corporation:
    Unknown device 0314 (rev a1) (prog-if 00 [VGA])
    Subsystem: Micro-Star International Co., Ltd.:
    Unknown device 9123
    Flags: bus master, 66Mhz, medium devsel, latency 64,
    IRQ 11
    Memory at fd000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (32-bit, prefetchable) [size=256M]
    Expansion ROM at feae0000 [disabled] [size=128K]
    Capabilities: <available only to root>

     

Log in to post a comment.

MongoDB Logo MongoDB