Raw stream viewer
That fixed my first issue. Worked fine in my Ubuntu Edgy test system after installing libmysqlclient12. Then I tried on a Feisty system, and had to find libmysqlclient12, and only 15 is available in the repositories. Then it fails with an auth issue... (I think because 12 will not auth with the mysql using 15.) Any hints or hope for a patch? It is so handy, and I really want it on the production system!
Did you tried to recompile xlib_shm?(make clean, make)Lee Sharp wrote:That fixed my first issue. Worked fine in my Ubuntu Edgy test system after installing libmysqlclient12. Then I tried on a Feisty system, and had to find libmysqlclient12, and only 15 is available in the repositories. Then it fails with an auth issue... (I think because 12 will not auth with the mysql using 15.) Any hints or hope for a patch? It is so handy, and I really want it on the production system!
Did you compiled zm by yourself?
Maybe you need to change some includes in xlib_shm.c or something in makefile.
As a policy, we compile nothing on production systems. It makes upgrades painful. Stand alone binaries are slid in under the wire, but packages (from repositories) are the preferred method. Perhaps this could be integrated into Peter's debs for Ubuntu and Debian?
But to answer your question, no I did not compile, and I installed from the debs. I was hoping a new version was forthcoming, and thought I would check first. It keeps patch management simple.
But to answer your question, no I did not compile, and I installed from the debs. I was hoping a new version was forthcoming, and thought I would check first. It keeps patch management simple.
So you should ask him to include xlib_shm to his debs. I think this is a good idea.Lee Sharp wrote:As a policy, we compile nothing on production systems. It makes upgrades painful. Stand alone binaries are slid in under the wire, but packages (from repositories) are the preferred method. Perhaps this could be integrated into Peter's debs for Ubuntu and Debian?
Try to compile only xlib_shm it should help, cause my binary was compiled on older system.But to answer your question, no I did not compile, and I installed from the debs. I was hoping a new version was forthcoming, and thought I would check first. It keeps patch management simple.
You have to run it with root or with your zm user - probably www-data, or change permissions of shared memory in zm source code.sesam_pt wrote:Hello, i'm trying to setup zoneminder with xlib_shm-gl on ubuntu feisty, but it only runs using sudo, if i try to run with normal user it states
ERROR:Failed to shmget
EACESS - no rights to access segment
Can someone help-me with the needed permissions. thank you
hi
I'm trying to run xlib_shm and xlib_shm_gl without luck.
I have (gentoo system):
gcc-4.1.1
2.6.20-gentoo-r8
libmysqlclient.so.15
xorg-server-1.4-r1
xf86-video-i810 (dri) -2.1.1
zoneminder-1.22.3
They both compile ok, but after start i get 'segmentation fault' only.
Is there chance to make them more verbose ?
I didnt find 'configure' scripts.
Occasionally xlib_shm (no GL) will run but for some time (secodns to minutes) and them 'segfault'.
Sorry for my english
greetings
I'm trying to run xlib_shm and xlib_shm_gl without luck.
I have (gentoo system):
gcc-4.1.1
2.6.20-gentoo-r8
libmysqlclient.so.15
xorg-server-1.4-r1
xf86-video-i810 (dri) -2.1.1
zoneminder-1.22.3
They both compile ok, but after start i get 'segmentation fault' only.
Is there chance to make them more verbose ?
I didnt find 'configure' scripts.
Occasionally xlib_shm (no GL) will run but for some time (secodns to minutes) and them 'segfault'.
Sorry for my english
greetings
Did you used version 0.6.3?muzyk10 wrote:hi
I'm trying to run xlib_shm and xlib_shm_gl without luck.
I have (gentoo system):
gcc-4.1.1
2.6.20-gentoo-r8
libmysqlclient.so.15
xorg-server-1.4-r1
xf86-video-i810 (dri) -2.1.1
zoneminder-1.22.3
They both compile ok, but after start i get 'segmentation fault' only.
Is there chance to make them more verbose ?
I didnt find 'configure' scripts.
Occasionally xlib_shm (no GL) will run but for some time (secodns to minutes) and them 'segfault'.
Sorry for my english
greetings
Send email to me so I can help you using pl language, would be much simpler for both of us:)
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Just wanted to say thanks for the stream viewer. I use it often and the performance is very good. I have been using the gl version....no issues.
Here is a KDE desktop shortcut that I setup to launch the viewer. You will need to adjust the path to the binary and the options to want to use for xlib_shm and you may also need to icon setting, but this should get you going:
Save as a .desktop file in ~/Desktop/...I called mine "ZMstream.desktop". Just click to launch.
Here is a KDE desktop shortcut that I setup to launch the viewer. You will need to adjust the path to the binary and the options to want to use for xlib_shm and you may also need to icon setting, but this should get you going:
Code: Select all
[Desktop Entry]
Categories=Qt;KDE;Core;
Comment=
Comment[en_US]=
Encoding=UTF-8
Exec=kdesudo "/home/dave/bin/xlib_shm -m1 -m2 -m3 -m4 -w 1024 -h 768"
GenericName=ZoneMinder Stream Viewer
GenericName[en_US]=ZoneMinder Stream Viewer
Icon=tv
MimeType=
Name=ZoneMinder Stream
OnlyShowIn=KDE;
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DCOP-ServiceType=
X-KDE-SubstituteUID=false
X-KDE-Username=
bad view
Hi,
i'm trying xlib_shm (gl version and "no gl" version, same results ) with zm 1.22.3 from debian package ( 1.22.3-8 ) on debian sid, kernel 2.6.18 self compiled, xlib_shm version 0.6.3.
Hardware info:
CPU AMD Athlon(tm) X2 Dual Core Processor BE-2300
RAM: 2 gigs
capture card: pv155 card ( 16 ports x 4 chip Bt878 )
cams: 11 CCTV PAL color rgb24 at 320x240 ( work well in web gui of zm )
+1 linksys with a ugly hack with mplayer, so, local jpeg at 320x240
When i launch xlib_shm with: ./xlib_shm -m 20 -c 1 -w 320 -h 240
i get: http://danex.nexlab.it/xlib_shm.jpg
Any idea? what's wrong?
i'm trying xlib_shm (gl version and "no gl" version, same results ) with zm 1.22.3 from debian package ( 1.22.3-8 ) on debian sid, kernel 2.6.18 self compiled, xlib_shm version 0.6.3.
Hardware info:
CPU AMD Athlon(tm) X2 Dual Core Processor BE-2300
RAM: 2 gigs
capture card: pv155 card ( 16 ports x 4 chip Bt878 )
cams: 11 CCTV PAL color rgb24 at 320x240 ( work well in web gui of zm )
+1 linksys with a ugly hack with mplayer, so, local jpeg at 320x240
When i launch xlib_shm with: ./xlib_shm -m 20 -c 1 -w 320 -h 240
i get: http://danex.nexlab.it/xlib_shm.jpg
Any idea? what's wrong?
Debian packages compiled against sid:
deb http://packages.medianix.net/ mercury main
deb-src http://packages.medianix.net/ mercury main
xlib-shm and xlib-shm-gl
deb http://packages.medianix.net/ mercury main
deb-src http://packages.medianix.net/ mercury main
xlib-shm and xlib-shm-gl
For those that do not want to add the repo, do you have a stand alone download as well?nextime wrote:Debian packages compiled against sid:
deb http://packages.medianix.net/ mercury main
deb-src http://packages.medianix.net/ mercury main
xlib-shm and xlib-shm-gl
-
- Posts: 374
- Joined: Wed Nov 07, 2007 1:59 am
- Location: Huntington Beach, California
- Contact:
Re: bad view
Looks like a bad pallette settings. Are you sure you are using rgb24 on all cameras?nextime wrote:Hi,
i'm trying xlib_shm (gl version and "no gl" version, same results ) with zm 1.22.3 from debian package ( 1.22.3-8 ) on debian sid, kernel 2.6.18 self compiled, xlib_shm version 0.6.3.
Hardware info:
CPU AMD Athlon(tm) X2 Dual Core Processor BE-2300
RAM: 2 gigs
capture card: pv155 card ( 16 ports x 4 chip Bt878 )
cams: 11 CCTV PAL color rgb24 at 320x240 ( work well in web gui of zm )
+1 linksys with a ugly hack with mplayer, so, local jpeg at 320x240
When i launch xlib_shm with: ./xlib_shm -m 20 -c 1 -w 320 -h 240
i get: http://danex.nexlab.it/xlib_shm.jpg
Any idea? what's wrong?