zm works 320x240 but not 640x480

Forum for questions and support relating to the 1.24.x releases only.
Locked
lfs
Posts: 13
Joined: Fri Aug 08, 2008 8:47 pm

zm works 320x240 but not 640x480

Post by lfs »

I have zm 1.24.2 (from the arch livecd install), using it with a aviosys 9100a and Q-See QSC48030 cam, just using monitor mode.

If I set the 9100a to do 320x240, and I set zm for the same, (source type remote, give path to jpg and IP address of the 9100a), then everything works fine.

If I change the 9100a to do 640x480 and change zm to the same, I get just an empty white spot where the video monitor should be in zm. I can connect to the 9100a and see the video fine there.

When I switch to 640x480 I start getting this in the logs:
zmwatch[17461].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]

Not only that but I have to restart httpd as it gets super slow and unresponsive after that.

in /proc/sys/kernel:
# cat shmall
134217728
# cat shmmax
134217728

This is running in a virtualbox VM with 512 megs of ram for testing before I install on a standalone box.
# free
total used free shared buffers cached
Mem: 514744 391108 123636 0 127768 125836
-/+ buffers/cache: 137504 377240
Swap: 1020088 0 1020088


Wow, I tried 360x270 and get the same problems. Looks like any resolution greater than 320x480 does not work.

Any ideas?

Thanks,
-K
lfs
Posts: 13
Joined: Fri Aug 08, 2008 8:47 pm

Post by lfs »

I increased ram for the VM to 1.4 gig.

I also tried these

# cat /proc/sys/kernel/shmmax
4194304000


cat /proc/sys/kernel/shmall
2048000

Still getting the same error in the log. And it doesn't matter if the resolution is higher or lower, I still get the same issue. The only thing that works is 320x240.

-K
lfs
Posts: 13
Joined: Fri Aug 08, 2008 8:47 pm

Post by lfs »

Got fed up with the problems under arch, so I built my own packages for absolutely everything, including using Linux From Scratch as the base. (Well ok I didn't build java or mysql, only because Oracle has broken the builds for those).

I haven't tried recording but monitoring works great.

-K
Locked