Hi All,
I'm having a small issue trying to capture from my DC10, done a lot of
searches and have got quite a way to getting it to work, so I think I
just need a final nudge to get this cracked.
DC10(new) board installed, modprobe'd with:
modprobe zoran card=1 v4l_bufsize=2048
Sep 16 09:02:20 geostat kernel: i2c-core.o: i2c core module version
2.8.0 (20030714)
Sep 16 09:02:20 geostat kernel: Linux video codec intermediate layer: v0.2
Sep 16 09:02:20 geostat kernel: Zoran MJPEG board driver version 0.9.4
Sep 16 09:02:20 geostat kernel: PCI: Found IRQ 11 for device 01:08.0
Sep 16 09:02:20 geostat kernel: PCI: Sharing IRQ 11 with 00:01.0
Sep 16 09:02:20 geostat kernel: MJPEG[0]: Zoran ZR36057 (rev 1) irq:
11, memory: 0xff8fe000.
Sep 16 09:02:20 geostat kernel: ZORAN: 1 card(s) found
Sep 16 09:02:20 geostat kernel: DC10(new)[0]: zr36057_init() -
initializing card[0], zr=d134d080

So all looks good. I then try to grab an image from it using videodog
and get the error:
Sep 16 09:02:35 geostat kernel: DC10(new)[0]: zoran_open(videodog,
pid=[9034]), users(-)=0
Sep 16 09:02:35 geostat kernel: ZORAN: get_high_mem() - requested
4194304, avail 262144
Sep 16 09:02:35 geostat kernel: DC10(new)[0]: v4l_fbuffer_alloc() -
get_high_mem (size = 4096 KB) for V4L bufs failed
Sep 16 09:02:35 geostat kernel: DC10(new)[0]: zoran_close(videodog, pid=[9034])

Which as I've found is the bigmem / bigphysarea patch. So I duly
patched my kernel, so its now 2.4.21-215-default-bigphys  (This is
SuSE 9.0 btw, but my own compiled kernel).
And added in:
bigphysarea=4096 bigpages=4MB
to my grub loader line (I've added both as it seems my kernel/distro
prefers the bigpages param)

So when the systems up I can do cat /proc/bigphysarea and get:
Big physical area, size 16384 kB
                       free list:             used list:
number of blocks:             1                      0
size of largest block:    16384 kB                   0 kB
total:                    16384 kB                   0 kB

Which is where I have a query, why is it showing 16384 kB, when the
kernel params are 4096 and 4Mb ?
I'm guessing this is why videodog is failing to capture with the not
enough memory failure.
Can anyone suggest what number I should be specifying in my kernel
params to get this to work??
I've checked, and IRQ's are ok:
 11:        627          XT-PIC  DC10(new)[0]
Nothing sharing 11 in /proc/interrupts.

I've just tried lavrec -v2 -f a -i P -d 1 -q 95 -a 0 -w test1.avi
and that produces a video file no problems, so the card does appear to
be working, so just a hint on the right bigmem settings would be
great!

Thanks for any suggestions folks, i'm sooooo close to getting this
working, and I'll be very happy as i've had my DC10 card for many
years and only recently dug it out to give the linux drivers a go.

Cheers!
-- 
Andy
thebmwz3 @ gmail.com
http://www.thebmwz3.co.uk/


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to