semotta wrote:
I checked video is 24bpp, running xlib_shm as root, zm running.
Question: is xlib_shm 0.6 compatible with zm 1.22.3 or only with zm 1.22.2?
Just made new version.
try version 0.6.3-gl or 0.6.3 it is compatible with 1.22.3.
There were some changes in shm beetween 1.22.2 vs 1.22.3
semotta wrote:
I checked video is 24bpp, running xlib_shm as root, zm running.
Question: is xlib_shm 0.6 compatible with zm 1.22.3 or only with zm 1.22.2?
Just made new version.
try version 0.6.3-gl or 0.6.3 it is compatible with 1.22.3.
There were some changes in shm beetween 1.22.2 vs 1.22.3
It worked with 0.6.3.
How about "WARNING: Couldn't find free Xv adaptor with RGB XvImage support
Falling back to ximage - slow and ugly rescalling"?
How about "WARNING: Couldn't find free Xv adaptor with RGB XvImage support
Falling back to ximage - slow and ugly rescalling"?
Could you explain this message?
Sure.
It indicates that your card doesn't support xv exntension in format RGB.
Only cards that I found working with this are nvidia's with nv driver.
Better use gl version it is much faster, and should work with every card if you configure it properly for opengl. Almost every ati and nvidia card should be working.
The minimal card for opengl is probably geforce 2 mx.
How about "WARNING: Couldn't find free Xv adaptor with RGB XvImage support
Falling back to ximage - slow and ugly rescalling"?
Could you explain this message?
Sure.
It indicates that your card doesn't support xv exntension in format RGB.
Only cards that I found working with this are nvidia's with nv driver.
Better use gl version it is much faster, and should work with every card if you configure it properly for opengl. Almost every ati and nvidia card should be working.
The minimal card for opengl is probably geforce 2 mx.
Understood. In fact, my video card is SiS 661 (on-board), and that's why gl version didn't
worked. Based on your experience, do you think it's worth buying something better,
like a geforce?
Would it help to lower system load?
I love ZoneMinder but there's one negative aspect: my P4 box is having a hard time to
deal with 8 bttv cams...I've been searching through this forum for performance hints, but
little progress has been made till now.
semotta wrote:
Understood. In fact, my video card is SiS 661 (on-board), and that's why gl version didn't
worked. Based on your experience, do you think it's worth buying something better,
like a geforce?
Would it help to lower system load?
yes it's worth it, because card like geforce 2 mx costs about 10 Euro. And it will give you better quality and very very minimal system load. On Pentium D 2,8GHz cpu use by xlib_shm is 0% displayed in `top`.
I love ZoneMinder but there's one negative aspect: my P4 box is having a hard time to
deal with 8 bttv cams...I've been searching through this forum for performance hints, but
little progress has been made till now.
I have pentium d 2,8GHz with 250GB fast SATA disks in RAID0 with 21 cameras, and it's working without problems. Framerate is about 4fps per camera.
Turn off every debug options, and set resolution to 352x288 and 4fps.
That should give you good results.
maciekc wrote:
It indicates that your card doesn't support xv exntension in format RGB.
Only cards that I found working with this are nvidia's with nv driver.
Better use gl version it is much faster, and should work with every card if you configure it properly for opengl. Almost every ati and nvidia card should be working.
The minimal card for opengl is probably geforce 2 mx.
I've installed GeForce4 MX 4000 and tried opengl version:
I am new in Zoneminder and would like to implement Raw stream viewer since it reduces load on the server and mine is needing it.
There is a lot of information on the 7 pages of this topic but
Finaly how is it done?
I would appeciate if someone would guide me on how to implement it.
gola10 wrote:I am new in Zoneminder and would like to implement Raw stream viewer since it reduces load on the server and mine is needing it.
There is a lot of information on the 7 pages of this topic but
Finaly how is it done?
I would appeciate if someone would guide me on how to implement it.
Read readme included in xlib_shm.
In few words:
It gets the image directly from zm and displays it in probably the most efficient way. F.e. mozilla gets the images through webserver(more load) and displays it very very slowly(a lot... of load).
The program was written to reduce the load, and replace hanging/disconnecting mozilla.
If you have some problems setting it up, don't hesitate to write to me.
I just upgrade zoneminder from version 1.22.2 (installed from mandriva livecd) to version 1.22.3.
Also downloaded xlib_shm for version 1.22.3.
When i run it i has this error message.
xlib_shm viewer for zm 1.22.3 version 0.6.3
Client does not support authentication protocol requested by server; consider upgrading MySQL client.
gola10 wrote:I just upgrade zoneminder from version 1.22.2 (installed from mandriva livecd) to version 1.22.3.
Also downloaded xlib_shm for version 1.22.3.
When i run it i has this error message.
xlib_shm viewer for zm 1.22.3 version 0.6.3
Client does not support authentication protocol requested by server; consider upgrading MySQL client.
[/home/guest/Download/xlib_shm-0.6.3]# make clean
rm -f *.o *.core xlib_shm
[/home/guest/Download/xlib_shm-0.6.3]# make
gcc -c xlib_shm.c -I/usr/X11R6/include
xlib_shm.c:57:22: error: X11/Xlib.h: No such file or directory
xlib_shm.c:66:34: error: X11/extensions/Xvlib.h: No such file or directory
xlib_shm.c:149: error: syntax error before 'XvImage'
xlib_shm.c:149: warning: no semicolon at end of struct or union
xlib_shm.c:153: error: syntax error before '}' token
xlib_shm.c:153: warning: data definition has no type or storage class
xlib_shm.c:155: error: syntax error before '*' token
xlib_shm.c:155: warning: data definition has no type or storage class
xlib_shm.c:163: error: syntax error before '*' token
xlib_shm.c:163: warning: data definition has no type or storage class
xlib_shm.c:171: error: syntax error before 'wm_delete_window'
xlib_shm.c:171: warning: data definition has no type or storage class
xlib_shm.c:175: error: syntax error before '*' token
xlib_shm.c: In function 'GetPortId':
xlib_shm.c:178: error: 'XvImageFormatValues' undeclared (first use in this function)
xlib_shm.c:178: error: (Each undeclared identifier is reported only once
xlib_shm.c:178: error: for each function it appears in.)
xlib_shm.c:178: error: 'formats' undeclared (first use in this function)
xlib_shm.c:179: error: 'XvAdaptorInfo' undeclared (first use in this function)
xlib_shm.c:179: error: 'info' undeclared (first use in this function)
xlib_shm.c:183: error: 'Success' undeclared (first use in this function)
xlib_shm.c:183: error: 'dpy' undeclared (first use in this function)
xlib_shm.c:189: error: 'XvImageMask' undeclared (first use in this function)
xlib_shm.c:202: error: 'CurrentTime' undeclared (first use in this function)
xlib_shm.c: In function 'main':
xlib_shm.c:380: error: request for member 'mon_id' in something not a structure or union
xlib_shm.c:381: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:386: error: request for member 'mon_id' in something not a structure or union
xlib_shm.c:387: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:448: error: request for member 'width' in something not a structure or union
xlib_shm.c:449: error: request for member 'height' in something not a structure or union
xlib_shm.c:450: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:460: error: request for member 'width' in something not a structure or union
xlib_shm.c:460: error: request for member 'height' in something not a structure or union
xlib_shm.c:460: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:460: error: request for member 'mon_id' in something not a structure or union
xlib_shm.c:464: error: request for member 'height' in something not a structure or union
xlib_shm.c:464: error: request for member 'height' in something not a structure or union
xlib_shm.c:465: error: request for member 'width' in something not a structure or union
xlib_shm.c:465: error: request for member 'width' in something not a structure or union
xlib_shm.c:479: error: request for member 'mon_id' in something not a structure or union
xlib_shm.c:483: error: 'Display' undeclared (first use in this function)
xlib_shm.c:483: error: 'dis' undeclared (first use in this function)
xlib_shm.c:485: error: 'Window' undeclared (first use in this function)
xlib_shm.c:485: error: syntax error before 'win'
xlib_shm.c:486: error: 'GC' undeclared (first use in this function)
xlib_shm.c:488: error: 'XEvent' undeclared (first use in this function)
xlib_shm.c:500: error: 'parent' undeclared (first use in this function)
xlib_shm.c:503: error: 'win' undeclared (first use in this function)
xlib_shm.c:505: error: 'None' undeclared (first use in this function)
xlib_shm.c:518: error: 'gc' undeclared (first use in this function)
xlib_shm.c:550: error: request for member 'image' in something not a structure or union
xlib_shm.c:550: error: request for member 'width' in something not a structure or union
xlib_shm.c:550: error: request for member 'height' in something not a structure or union
xlib_shm.c:551: error: request for member 'image' in something not a structure or union
xlib_shm.c:562: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:563: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:563: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:563: error: request for member 'width' in something not a structure or union
xlib_shm.c:563: error: request for member 'height' in something not a structure or union
xlib_shm.c:564: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:564: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:564: error: request for member 'width' in something not a structure or union
xlib_shm.c:564: error: request for member 'height' in something not a structure or union
xlib_shm.c:567: error: request for member 'mon_id' in something not a structure or union
xlib_shm.c:593: error: request for member 'shared_data' in something not a structure or union
xlib_shm.c:595: error: request for member 'shared_images' in something not a structure or union
xlib_shm.c:598: error: request for member 'image_buffer_count' in something not a structure or union
xlib_shm.c:618: error: 'StructureNotifyMask' undeclared (first use in this function)
xlib_shm.c:618: error: 'KeyPressMask' undeclared (first use in this function)
xlib_shm.c:620: error: 'XWindowAttributes' undeclared (first use in this function)
xlib_shm.c:620: error: syntax error before 'win_attrib'
xlib_shm.c:622: error: 'win_attrib' undeclared (first use in this function)
xlib_shm.c:637: error: 'ZPixmap' undeclared (first use in this function)
xlib_shm.c:637: warning: assignment makes pointer from integer without a cast
xlib_shm.c:653: error: request for member 'shared_data' in something not a structure or union
xlib_shm.c:669: error: request for member 'shared_data' in something not a structure or union
xlib_shm.c:671: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:672: error: request for member 'shared_images' in something not a structure or union
xlib_shm.c:672: error: request for member 'width' in something not a structure or union
xlib_shm.c:672: error: request for member 'height' in something not a structure or union
xlib_shm.c:673: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:674: error: request for member 'shared_images' in something not a structure or union
xlib_shm.c:674: error: request for member 'width' in something not a structure or union
xlib_shm.c:674: error: request for member 'height' in something not a structure or union
xlib_shm.c:680: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:682: error: request for member 'width' in something not a structure or union
xlib_shm.c:682: error: request for member 'height' in something not a structure or union
xlib_shm.c:691: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:693: error: request for member 'width' in something not a structure or union
xlib_shm.c:693: error: request for member 'height' in something not a structure or union
xlib_shm.c:706: error: request for member 'image' in something not a structure or union
xlib_shm.c:706: error: request for member 'width' in something not a structure or union
xlib_shm.c:706: error: request for member 'height' in something not a structure or union
xlib_shm.c:717: error: request for member 'height' in something not a structure or union
xlib_shm.c:718: error: request for member 'width' in something not a structure or union
xlib_shm.c:719: error: request for member 'width' in something not a structure or union
xlib_shm.c:722: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:730: error: request for member 'pallete' in something not a structure or union
xlib_shm.c:752: error: 'event' undeclared (first use in this function)
xlib_shm.c:753: error: 'ConfigureNotify' undeclared (first use in this function)
xlib_shm.c:764: warning: assignment makes pointer from integer without a cast
xlib_shm.c:768: error: 'ClientMessage' undeclared (first use in this function)
xlib_shm.c:776: error: 'KeyPress' undeclared (first use in this function)
xlib_shm.c:874: warning: assignment makes pointer from integer without a cast
make: *** [xlib_shm.o] Error 1
Maciekc:
it say "Could not find free Xv adapter........" but it is working anyway.
Thanks for your help.
I need to REMOTELY view all the cameras as i do with xlib_shm. Can it be used remotely?
I have tried to open a ssh session and run it but it is slow and only the first row of cameras is displayed.
Is there a remote viewer for Linux? other than Montage.