libjpeg-turbo work with Gentoo and ZM 1.24.3
Posted: Sun Jan 02, 2011 7:43 pm
Hello
That work under an Linux Gentoo update (64b)
for perf i say you in a couple of day
ok have 14-20% cpu usage with ZM v1.23.2 with standard jpeg
now have 3-10% cpu usage with ZM V1.24.3 With libjpeg turbo and +1 to +2 fps by ip camera
little procedure for gentoo (must adapt for you...)
# emerge --sync
# emerge zoneminder
configure it and when all are ok and work fine you can
(nb: i copy this procedure from gentoo bugzilla)
# emerge --unmerge jpeg-6b-r9
# emerge --unmerge jpeg-8b
# echo "=media-libs/libjpeg-turbo-1.0.1 **" >> /etc/portage/package.keywords
# mkdir /etc/portage/profile
# echo "media-libs/jpeg-6b-r9" >> /etc/portage/profile/package.provided
# echo "media-libs/jpeg-8b" >> /etc/portage/profile/package.provided
# emerge --pretend libjpeg-turbo
# revdep-rebuild
and install svn of zm:
# emerge SVN-Mirror
# svn co http://svn.zoneminder.com/svn/zm/trunk /usr/share/zoneminder
# cd /usr/share/zoneminder
# ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg --with-webdir=/var/www/zoneminder/htdocs --with-cgidir=/var/www/zoneminder/cgi-bin --with-webuser=apache --with-webgroup=apache --enable-debug=no --enable-crashtrace=no --enable-mmap=no ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass CXXFLAGS=-D__STDC_CONSTANT_MACROS
# make
# make install
# zmupdate.pl -f
Warning on gentoo libjpeg-turbo, break OpenOffice package (now resolved with recently gentoo update)
Have a probleme with scaling not work in montage view but don't know if that a svn bug
Scalling is ok in one cam view or event view
If you have an idea for that write me
That work under an Linux Gentoo update (64b)
for perf i say you in a couple of day
ok have 14-20% cpu usage with ZM v1.23.2 with standard jpeg
now have 3-10% cpu usage with ZM V1.24.3 With libjpeg turbo and +1 to +2 fps by ip camera
little procedure for gentoo (must adapt for you...)
# emerge --sync
# emerge zoneminder
configure it and when all are ok and work fine you can
(nb: i copy this procedure from gentoo bugzilla)
# emerge --unmerge jpeg-6b-r9
# emerge --unmerge jpeg-8b
# echo "=media-libs/libjpeg-turbo-1.0.1 **" >> /etc/portage/package.keywords
# mkdir /etc/portage/profile
# echo "media-libs/jpeg-6b-r9" >> /etc/portage/profile/package.provided
# echo "media-libs/jpeg-8b" >> /etc/portage/profile/package.provided
# emerge --pretend libjpeg-turbo
# revdep-rebuild
and install svn of zm:
# emerge SVN-Mirror
# svn co http://svn.zoneminder.com/svn/zm/trunk /usr/share/zoneminder
# cd /usr/share/zoneminder
# ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-libarch=lib64 --with-mysql=/usr --with-ffmpeg --with-webdir=/var/www/zoneminder/htdocs --with-cgidir=/var/www/zoneminder/cgi-bin --with-webuser=apache --with-webgroup=apache --enable-debug=no --enable-crashtrace=no --enable-mmap=no ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass CXXFLAGS=-D__STDC_CONSTANT_MACROS
# make
# make install
# zmupdate.pl -f
Warning on gentoo libjpeg-turbo, break OpenOffice package (now resolved with recently gentoo update)
Have a probleme with scaling not work in montage view but don't know if that a svn bug
Scalling is ok in one cam view or event view
If you have an idea for that write me