Dear all,
I have a very hard problem with my Pinnacle Studio DC10+ Card under SuSE Linux
8.2 (2.4.20-4GB-Athlon-Kernel).
If I want to record the tv-signal (no matter which program I use) I always get
a syncing error.
First I installed a clear SuSE Linux with the shipped Zoran-Driver 0.8 (with
Zoran-Module 0.7). Using the /usr/sbin/update-zoran script I didn�t even get
my kernel to recognize my card. So I downloaded the latest zoran-driver
(0.9.4) and compiled it. When using
./update dc10plus
the card wasn�t recognized by the zoran-module, too, so I figured out, that I
had to use the dc10old driver for my card with
./update dc10old
insmod zoran card=0 (and other stuff like debug=3 ...).
After succesfully enabling the driver I was able to watch the incoming signal
with motv / xawtv 3.85 (but I had to use the -noxv switch) (using PAL over
Composite line in).
But when I try to record the incoming signal, I get syncing errors after the
first set of JPEG-Buffers. Meanwhile I updated to the latest mjpegtools
(1.6.2) and even tried the ZORAN_VIDEO_DEV2 from CVS and tried almost all
releases of the zoran-driver (from 0.7 up to now) but none worked with
recording.
I played around with several switches of the zoran module and tried most of
the lavrec-options (like changing the buffersize and using file-flush and so
on ) but none of them worked. The card seems to have a ZR36057 Chip and worked
fine under W2K (yeah, I know ;-)
Below you�ll find the output from lspci, lavrec, and the /var/log/messages
while initialising and recording.
So if anyone could give me a hint what to do, I would really appreciate that.
I�m really stuck right now and don�t have any idea left ...
(BTW: I have installed the linux-nvidia-driver for my graphic-card - might
that have anything to do with it?!?)
Thanks!
Marcel Selhorst
lspci output
=====================================================================
00:0f.0 Multimedia video controller: Zoran Corporation ZR36057PQC Video
cutting chipset (rev 01)
Flags: bus master, fast devsel, latency 48, IRQ 5
Memory at e7800000 (32-bit, non-prefetchable) [size=4K]
Konsole output while recording with lavrec -f a -a 0 test.avi
=================================================================
++ WARN: [lavrec] Closing file(s) and exiting - output file(s) my not be
readable due to error
**ERROR: [lavrec] Error syncing on a buffer: Timer expired
**ERROR: [lavrec] Error resetting buffer-queue: Invalid argument0.000
Recording time : 0.00.00:01
Lost frames : 000
A/V sync ins/del: 000/000
Audio errors : 000
/var/log/messages output while initialising
==========================================================
Feb 9 22:58:15 admin kernel: Zoran MJPEG board driver version 0.9.4
Feb 9 22:58:15 admin kernel: MJPEG[0]: Zoran ZR36057 (rev 1) irq: 5, memory:
0xe7800000.
Feb 9 22:58:15 admin kernel: DC10(old)[0]: Initializing i2c bus...
Feb 9 22:58:15 admin kernel: DC10(old)[0]: i2c_client_register() - driver id
= 42
Feb 9 22:58:15 admin kernel: DC10(old)[0]: Initializing videocodec bus...
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - sleep
GPIO=0x81008888
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - wake
GPIO=0x85008888
Feb 9 22:58:17 admin kernel: ZORAN: 1 card(s) found
Feb 9 22:58:17 admin kernel: DC10(old)[0]: zr36057_init() - initializing
card[0], zr=d30cd8c0
Feb 9 22:58:17 admin kernel: DC10(old)[0]: dc10_init()
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - sleep
GPIO=0x23008888
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - wake
GPIO=0x27008888
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - wake
GPIO=0x2f008888
Feb 9 22:58:17 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - sleep
GPIO=0x2b008888
Feb 9 22:58:17 admin kernel: DC10(old)[0]: enable_jpg(IDLE)
Feb 9 22:58:17 admin kernel: DC10(old)[0]: Guests: 0x00 0x20 0x20 0x20 0x20
0x20 0x01
Feb 9 22:58:17 admin kernel: DC10(old)[0]: Detecting guests activity, please
wait...
Feb 9 22:58:17 admin kernel: DC10(old)[0]: Guests: 0x00 0x20 0x20 0x20 0x20
0x20 0x01
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 77: 6 => 0x00
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 20: 6 => 0x20
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 40: 6 => 0x00
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 221: 6 => 0x20
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 20: 6 => 0x00
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 61: 6 => 0x20
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 20: 6 => 0x00
Feb 9 22:58:17 admin kernel: DC10(old)[0]: 60: 6 => 0x20
Feb 9 22:58:18 admin kernel: DC10(old)[0]: interrupts received: GIRQ1:50
GIRQ0:50 queue_state=0/0/0/0
Feb 9 22:58:18 admin kernel: DC10(old)[0]: procfs entry /proc/zoran0
allocated. data=d30cd8c0
Feb 9 22:58:19 admin kernel: ALSA via82xx.c:699: invalid via82xx_cur_ptr,
using last valid pointer
/var/log/messages output while recording
==========================================================
DC10(old)[0]: VIDIOCCAPTURE - on=1
Feb 9 22:43:59 admin kernel: DC10(old)[0]: set_vfe() - width = 384, height =
288
Feb 9 22:44:03 admin kernel: DC10(old)[0]: VIDIOCCAPTURE - on=0
Feb 9 22:44:03 admin kernel: zoran_irq: astat: 0x60000000, mask: 0x01000000
Feb 9 22:44:08 admin kernel: zoran_irq: astat: 0x60000000, mask: 0x01000000
Feb 9 22:44:09 admin kernel: DC10(old)[0]: zoran_open(lavrec, pid=[6292]),
users(-)=1
Feb 9 22:44:09 admin kernel: DC10(old)[0]: BUZIOC_G_STATUS
Feb 9 22:44:10 admin kernel: DC10(old)[0]: BUZIOC_G_STATUS
Feb 9 22:44:11 admin kernel: DC10(old)[0]: VIDIOCSCHAN - channel=0, norm=0
Feb 9 22:44:11 admin kernel: DC10(old)[0]: VIDIOCGCHAN - channel=0
Feb 9 22:44:11 admin kernel: DC10(old)[0]: VIDIOCGCAP
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_G_PARAMS
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_S_PARAMS
Feb 9 22:44:11 admin kernel: DC10(old)[0]: check_jpg_settings() - dec: 0,
Hdcm: 4, Vdcm: 2, Tdcm: 2
Feb 9 22:44:11 admin kernel: DC10(old)[0]: check_jpg_settings() - x: 0, y: 0,
w: 768, y: 288
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_REQBUFS - count=64,
size=262144
Feb 9 22:44:11 admin kernel: DC10(old)[0]: jpg_fbuffer_alloc() - 8192 KB
allocated
Feb 9 22:44:11 admin kernel: DC10(old)[0]: mmap(MJPEG) of
0x402e4000-0x40ae4000 (size=8388608)
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=0
Feb 9 22:44:11 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - wake
GPIO=0x2f008888
Feb 9 22:44:11 admin kernel: DC10(old)[0]: enable_jpg(MOTION_COMPRESS)
Feb 9 22:44:11 admin kernel: DC10(old)[0]: jpeg_start
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=1
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=2
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=3
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=4
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=5
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=6
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=7
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=8
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=9
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=10
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=11
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=12
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=13
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=14
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=15
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=16
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=17
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=18
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=19
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=20
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=21
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=22
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=23
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=24
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=25
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=26
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=27
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=28
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=29
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=30
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=31
Feb 9 22:44:11 admin kernel: DC10(old)[0]: BUZIOC_SYNC
Feb 9 22:44:21 admin kernel: DC10(old)[0]: jpg_sync() - timeout: codec
isr=0x18
Feb 9 22:44:21 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=-1
Feb 9 22:44:21 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - wake
GPIO=0x2f008888
Feb 9 22:44:21 admin kernel: DC10(old)[0]: jpeg_codec_sleep() - sleep
GPIO=0x2b008888
Feb 9 22:44:21 admin kernel: DC10(old)[0]: enable_jpg(IDLE)
Feb 9 22:44:21 admin kernel: DC10(old)[0]: BUZIOC_QBUF_CAPT - frame=-1
Feb 9 22:44:21 admin kernel: DC10(old)[0]: jpg_qbuf() - stop streaming but
not in streaming mode
Feb 9 22:44:21 admin kernel: DC10(old)[0]: munmap(MJPEG)
Feb 9 22:44:21 admin kernel: DC10(old)[0]: zoran_close(lavrec, pid=[6292])
Feb 9 22:44:21 admin kernel: DC10(old)[0]: jpg_fbuffer_free()
Feb 9 22:44:21 admin kernel: DC10(old)[0]: zoran_close() done
Feb 9 22:45:15 admin kernel: ALSA via82xx.c:699: invalid via82xx_cur_ptr,
using last valid pointer
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users