yes the changes are shown via ipcs -l after the echo'ed changes
i even edited the sysctl. file so the changes were set after a reboot.
as said it seems no matter how much memory change is done , the result stays the same ie unable to set monitor res higher then 384x288
error below
- Jul 31 16:51:58 zmhost zma_m1[21521]: INF [House-back: 1669000 - Processing at 24.39 fps]
Jul 31 16:52:12 zmhost zma_m2[21048]: INF [House-front: 1086000 - Processing at 15.38 fps]
Jul 31 16:52:13 zmhost zma_m3[2287]: INF [Landing-dome: 46000 - Processing at 12.05 fps]
Jul 31 16:52:18 zmhost zmc_dvideo2[5634]: INF [Landing-dome: 1750000 - Capturing at 11.90 fps]
Jul 31 16:52:20 zmhost zmfix[2954]: INF [New Debug Level = 2, New Debug Log = /var/log/zm/zm_debug.log.02954]
Jul 31 16:52:20 zmhost zmdc[5594]: INF ['zmc -d /dev/video1' stopping at 08/07/31 16:52:20]
Jul 31 16:52:20 zmhost zmc_dvideo1[5751]: INF [Got signal (Terminated), exiting]
Jul 31 16:52:20 zmhost zmdc[5594]: INF ['zmc -d /dev/video1' exited normally]
Jul 31 16:52:20 zmhost zmdc[5594]: INF ['zmc -d /dev/video1' starting at 08/07/31 16:52:20, pid = 2964]
Jul 31 16:52:20 zmhost zmdc[2964]: INF ['zmc -d /dev/video1' started at 08/07/31 16:52:20]
Jul 31 16:52:20 zmhost zmc_dvideo1[2964]: INF [Debug Level = 0, Debug Log = <none>]
Jul 31 16:52:20 zmhost zmc_dvideo1[2964]: INF [New Debug Level = 2, New Debug Log = /var/log/zm/zm_debug.log.02964]
Jul 31 16:52:20 zmhost zmc_dvideo1[2964]: ERR [Can't shmget, probably not enough shared memory space free: Invalid argument]
this is after setting monitor res to 640x480, (house-front) Video1
ZM debug out put
- 07/31/08 16:52:20.834547 zmc_dvideo1[2964].INF-zm_debug.c/305 [New Debug Level = 2, New Debug Log = /var/log/zm/zm_debug.log.02964]
07/31/08 16:52:20.835486 zmc_dvideo1[2964].DB1-zm_monitor.cpp/1579 [Got 1 monitors]
07/31/08 16:52:20.835614 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/91 [Old P:3]
07/31/08 16:52:20.835638 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/92 [Old D:16]
07/31/08 16:52:20.835659 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/93 [Old B:32768]
07/31/08 16:52:20.835681 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/94 [Old h:32768]
07/31/08 16:52:20.835702 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/95 [Old Cl:32768]
07/31/08 16:52:20.835723 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/96 [Old Cn:32768]
07/31/08 16:52:20.835760 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/140 [Old X:0]
07/31/08 16:52:20.835781 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/141 [Old Y:0]
07/31/08 16:52:20.835804 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/142 [Old W:384]
07/31/08 16:52:20.835825 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/143 [Old H:288]
07/31/08 16:52:20.835859 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/166 [vmb.frames = 16]
07/31/08 16:52:20.835881 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/167 [vmb.size = 34078720]
07/31/08 16:52:20.835927 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/192 [Old C:0]
07/31/08 16:52:20.835948 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/193 [Old F:0]
07/31/08 16:52:20.835970 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/194 [Old Fl:2]
07/31/08 16:52:20.835991 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/195 [Old T:2]
07/31/08 16:52:20.836015 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/212 [New X:0]
07/31/08 16:52:20.836037 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/213 [New Y:0]
07/31/08 16:52:20.836057 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/214 [New W:640]
07/31/08 16:52:20.836078 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/215 [New H:480]
07/31/08 16:52:20.836100 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/222 [New P:3]
07/31/08 16:52:20.836122 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/223 [New D:16]
07/31/08 16:52:20.836143 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/224 [New B:32768]
07/31/08 16:52:20.836164 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/225 [New h:32768]
07/31/08 16:52:20.836184 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/226 [New Cl:32768]
07/31/08 16:52:20.836206 zmc_dvideo1[2964].DB1-zm_local_camera.cpp/227 [New Cn:32768]
07/31/08 16:52:20.842092 zmc_dvideo1[2964].DB1-zm_monitor.cpp/259 [monitor purpose=1]
07/31/08 16:52:20.842138 zmc_dvideo1[2964].DB1-zm_monitor.cpp/266 [shm.size=36865188]
07/31/08 16:52:20.842223 zmc_dvideo1[2964].ERR-zm_monitor.cpp/270 [Can't shmget, probably not enough shared memory space free: Invalid argument]
output from zmwatch.log
08/02/08 12:27:40.574310 zmwatch[17467].ERR [Can't get shared memory id '7a6d0002', 2: No such file or directory]
memory settings
cat /proc/sys/kernel/shmall 384000000
i have set all monitor size to 480x360
even with the monitor sizes set to 384x288 i was still getting the same memory errors
thanks for your time with this Cordel.
Neil