[GEM-dev] [pix_image] backend 'magick' unavailable on Linux

Jonghyun Kim agitato816 at gmail.com
Sat Feb 20 18:18:58 CET 2016


It's strange. The pd-deken's <gem_image*> files are broken. [pix_image]
works properly after replacing broken deken's(~/pd-externals/Gem) folder
with pd-extended's(/usr/lib/pd-extended/Gem). It must be checked?

best,
jonghyun


On Sun, Feb 21, 2016 at 1:46 AM, Jonghyun Kim <agitato816 at gmail.com> wrote:

> error log
>
> =====
> tried /home/ak/pd-externals/Gem/Gem.pd_linux and succeeded
> verbose(6): not registering [pix_filmQT] again...
> verbose(4): GEM: Graphics Environment for Multimedia
> verbose(4): GEM: ver: 0.93.3
> verbose(4): GEM: compiled: Aug  8 2013
> verbose(4): GEM: maintained by IOhannes m zmoelnig
> verbose(4): GEM: Authors : Mark Danks (original version)
> verbose(4): GEM: Chris Clepper
> verbose(4): GEM: Cyrille Henry
> verbose(4): GEM: IOhannes m zmoelnig
> verbose(4): GEM: with help by Guenter Geiger, Daniel Heckenberg, James
> Tittle, Hans-Christoph Steiner, et al.
> verbose(4): GEM: found a bug? miss a feature? please report it:
> verbose(4): GEM: homepage http://gem.iem.at/
> verbose(4): GEM: bug-tracker http://sourceforge.net/projects/pd-gem/
> verbose(4): GEM: mailing-list http://lists.puredata.info/listinfo/gem-dev/
> open: /etc/pd/gem.conf: No such file or directory
> open: /home/ak/.pd/gem.conf: No such file or directory
> open: ./gem.conf: No such file or directory
> tried ./hsv2rgb.pd and failed
> tried /mnt/HDD-1T/Cloud/Dropbox/3.PROJECTS/z.Library-Pd/hsv2rgb.pd and
> failed
> tried /home/ak/pd-externals/Gem/hsv2rgb.pd and succeeded
> verbose(4): GEM: compiled for SIMD architecture: SSE2 MMX
> verbose(4): GEM: using SSE2 optimization
> tried /home/ak/Desktop/pd-png/png.pd and succeeded
> [pix_draw]: requesting [pix_draw] - consider using [pix_texture]
> tried /home/ak/pd-externals/Gem/gem_imageJPEG.so and succeeded
> tried /home/ak/pd-externals/Gem/gem_imageSGI.so and succeeded
> tried /home/ak/pd-externals/Gem/gem_imageTIFF.so and succeeded
> *verbose(6): backend 'magick' unavailable*
> verbose(6): trying to add 'SGI' as backend
> verbose(6): added backend#0 'SGI' @ 0x1ce8680
> verbose(6): trying to add 'jpeg' as backend
> verbose(6): added backend#1 'jpeg' @ 0x1ce3e20
> Image loading support: SGI jpeg
> GEM: Only using 8 color bits
> GEM: Direct Rendering enabled!
> verbose(4): GEM: GLEW version 1.5.4
> verbose(3): GEM: Start rendering
> tried /home/ak/Desktop/test.png and failed
> verbose(5): loading image '/home/ak/Desktop/test.png' with ID:1
> verbose(6): reading '/home/ak/Desktop/test.png' with libJPEG
> *error: [pix_image]: failed to load image '/home/ak/Desktop/test.png'*
> verbose(4): ... you might be able to track this down from the Find menu.
> Pd: signal 2
> ====
>
> thanks,
> jonghyun
>
> On Sun, Feb 21, 2016 at 1:35 AM, Jonghyun Kim <agitato816 at gmail.com>
> wrote:
>
>> hi list,
>>
>> when I open PNG image, Pd says "backend 'magick' unavailable" I installed
>> imagemagick and gem-plugin-magick, but it still can't load. how to solve it?
>>
>> Ubuntu 14.04-3 x64
>> Pd-0.46-7 self compiled
>> GEM: ver: 0.93.3 / GEM: compiled: Aug  8 2013 / from Pd-Deken
>>
>> mail archive attached.
>>
>> thanks,
>> jonghyun
>>
>> ---------- Forwarded message ----------
>> From: Claude Heiland-Allen <claude at mathr.co.uk>
>> Date: Sun, Feb 21, 2016 at 1:08 AM
>> Subject: Re: [PD] [pix_image] available image format on linux?
>> To: "pd-list at lists.iem.at" <pd-list at lists.iem.at>
>>
>>
>> Thanks for the additional information.
>>
>> On 20/02/16 15:51, Jonghyun Kim wrote:
>>
>>> Sure I already restarted Pd. I compiled Pd(0.46-7) myself, and Gem is
>>> installed by Pd-DEKEN(https://github.com/pure-data/deken). Here is my
>>> information.
>>>
>>> Installed Pd ver on my ubuntu 14.04-3
>>> Pd-0.46-7 (compiled myself)
>>> Pd-0.45-4 (by Ubuntu Repo)
>>> Pd-extended 0.43.4 (manually installed by .deb)
>>> Pd-l2ork 20151230 (manually installed by .deb)
>>> Result with Pd-0.46-7 (compiled myself)
>>> 1. $ which pd
>>> /usr/local/bin/pd
>>>
>>> 2. $ pd -stderr -verbose your-patch.pd 2>log.txt
>>> attatched
>>>
>>
>>
>> The log contains:
>>
>> verbose(6): backend 'magick' unavailable
>>
>> As far as I can tell, this means it detected ImageMagick plugin, but
>> couldn't proceed - I don't know why, and the code is a maze of twisty
>> plugin factories that I don't yet understand.  Maybe one of the GEM devs
>> can help you debug this - it might be a problem with how it is packaged in
>> Deken, or a missing library dependency on your system, or something else.
>>
>> Sorry, and good luck,
>>
>>
>> Claude
>>
>>
>>
>>> many thanks,
>>> jonghyun
>>>
>>>
>>>
>>> On Sun, Feb 21, 2016 at 12:31 AM, Claude Heiland-Allen <
>>> claude at mathr.co.uk>
>>> wrote:
>>>
>>> You have to restart Pd for GEM to notice the new plugins.  If you did
>>>> that
>>>> already, maybe there is a conflict between self-compiled Pd GEM and
>>>> system-installed Pd GEM?  Please send more information:
>>>>
>>>> $ which pd                                     # should be /usr/bin/pd
>>>> $ pd -stderr -verbose your-patch.pd 2>log.txt  # attach log.txt to mail
>>>>
>>>>
>>>>
>>>> On 20/02/16 15:20, Jonghyun Kim wrote:
>>>>
>>>> thanks claude, I installed it by "sudo apt-get install
>>>>> gem-plugin-magick",
>>>>> but it still can't load PNG. Pd says same as before: only "Image
>>>>> loading
>>>>> support: SGI jpeg". how to solve it?
>>>>>
>>>>> thanks,
>>>>> jonghyun
>>>>>
>>>>>
>>>>> On Sun, Feb 21, 2016 at 12:05 AM, Claude Heiland-Allen <
>>>>> claude at mathr.co.uk>
>>>>> wrote:
>>>>>
>>>>> On 20/02/16 14:49, Jonghyun Kim wrote:
>>>>>
>>>>>>
>>>>>> on ubuntu 14.04 linux, [pix_image] handles only JPEG files. No PNG, No
>>>>>>
>>>>>>> others. How to load PNG or TIFF files? when I make [pix_image], Pd
>>>>>>> says
>>>>>>> "Image loading support: SGI jpeg"
>>>>>>>
>>>>>>> FYI, on Mac OS X, it handles PNG files, but on linux doesn't. Why
>>>>>>> linux can't do that?
>>>>>>>
>>>>>>>
>>>>>>> Linux can do that, don't worry.  GEM uses a plugin system for image
>>>>>> loaders/savers - probably GEM is distributed with them split out into
>>>>>> multiple packages. Try:
>>>>>>
>>>>>> $ aptitude search gem-plugin-
>>>>>>
>>>>>> which lists many available to my Debian system, not all of which I
>>>>>> have
>>>>>> installed.  I think gem-plugin-magick should be enough to load PNG and
>>>>>> other common formats.
>>>>>>
>>>>>>
>>>>>> Claude
>>>>>> --
>>>>>> http://mathr.co.uk
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pd-list at lists.iem.at mailing list
>>>>>> UNSUBSCRIBE and account-management ->
>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> _______________________________________________
>>>> Pd-list at lists.iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>>
>>
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20160221/fa939d3d/attachment.html>


More information about the GEM-dev mailing list