A few questions about Pd-L2ork/Purr Data on osX
I don't know if it helps but there are a lot of useful instructions on how to built gem in umläute's ghithub wiki page:
https://github.com/umlaeute/Gem/wiki/Getting-Started:-Working-on-native-64-bit-OSX-Plugins#
I took a shot at this on OSX VM. It compiled ok. It installed in /Gem for some reason but I could at least get Purr Data to load the Gem lib.
Unfortunately I couldn't create a gem window in any of the help patches:
error: [gemcocoawindow]: failed to init GLEW: your system only supports openGL-1.0
I don't have time to debug or develop Gem. But if someone can successfully get it to compile, install, successfully create a Gem window, and write clear unambiguous instructions on how to achieve all of that then I'll take it from there. (And again, the discipline is only to use brew install
and the build instructions at the link above.)
how to install gem library in pd
@maddynakedymaddy A bit hard to work out like this at a distance....
If you have put the "contents" of the 0.94-test3 folder in a folder called Gem inside the extra folder then you will need to put....... exactly....
C:/Program_Files_(x86)/Pd/extra/Gem/Gem
If you have put the 0.94-test3 folder in a folder called Gem inside the extra folder then you will need to put........ exactly.......
C:/Program_Files_(x86)/Pd/extra/Gem/0.94-test3/Gem
In both cases the last "Gem"..... /Gem loads the Gem.dll (the library) in the folder that contains it...... it is a bit confusing... and "abnormal"....
Spaces in names are not tolerated in Pd, and spaces are not tolerated in paths in Windows7 or previous versions....... Windows 10? I don't know?
Backslashes...... \ .... are dropped (ignored) in Pd..... they need to be forwards....... /
David.
how to install gem library in pd
@maddynakedymaddy Do you get these lines in terminal? or others? (obviously not the same paths though)
tried C:/Users/David/Desktop/dot/0.94-test3/Gem.dll and succeeded
GEM: Graphics Environment for Multimedia
GEM: ver: 0.93.CVS
GEM: compiled: Sep 22 2014
GEM: compiled for MMX/SSE2 architecture
GEM: using SSE2 optimization
GEM: detected 8 CPUs
GEM: image loading support: QT SGI
GEM: image saving support: QT SGI
Probably you get others...... as it is not working.
What do you get?
You might simply need to to set startup preferences like this (again...... not "desktop/david"...put whatever your path is.....)
You need the complete path to the "Gem" within 0.94-test3. It is documented somewhere. "Gem" is the library, not the folder that contains Gem.dll ..... It must be Gem with a capital, and without the extension.
You don't need -noautopatch........ it is just one of my preferences.
David.
audio error when external monitor is plugged in
@georgehiggs Yes dragging windows around (in fact any redrawing) often causes clicks in Pd. I will dig out a monitor and make some dummy audio samples, and give it a go in the next few days.
AND it could be a common problem. I just fell over this.... https://puredata.info/downloads/gem/documentation/faq/how-do-i-use-gem-in-a-performance
and hence this......
https://puredata.info/downloads/gem/documentation/faq/why-do-i-get-clicks-in-the-audio
so maybe you should try running Pd twice, splitting your patch using netsend/netreceive as suggested.
Under windows that is easy. I am not sure how to do it with a Mac. It should be as easy as opening two Pd terminal windows and starting one part of the patch in each........ if that is possible. If not there is an object...... [pd~] for Linux I think..... that should run the audio in a separate process.
David.
Load Libraries, plug-ins
@Balwyn I've follow your steps but still nothing this is what i got in the console:
'pd-gui' connecting to 'pd' on localhost 5400 ...
------------------ done with main ----------------------
Default font: DejaVu Sans Mono
tried ./Gem.m_i386 and failed
tried ./Gem.dll and failed
tried ./Gem/Gem.m_i386 and failed
tried ./Gem/Gem.dll and failed
tried ./Gem.pd and failed
tried ./Gem.pat and failed
tried ./Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem.dll and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.dll and succeeded
C:\Users\Jose\pd-externals\Gem\Gem.dll: couldn't load
tried C:/Users/Jose/pd-externals/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem.pat and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.m_i386 and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.dll and succeeded
C:\Users\Jose\pd-externals\Gem\Gem.dll: couldn't load
tried C:/Users/Jose/pd-externals/Gem/Gem.pd and failed
tried C:/Users/Jose/pd-externals/Gem/Gem.pat and failed
tried C:/Users/Jose/pd-externals/Gem/Gem/Gem.pd and failed
Gem: can't load library
Loading plugin: C:/Program Files (x86)/Pd/tcl/pd_deken.tcl
The Pd window filtered 26 lines
The Pd window filtered 27 lines
Gem window crashes / Install struggles on Ubuntu
Please help! Sooooo many hours trying to figure this out, should be simple I think but I'm not a sophisticated user of Linux.
The Gem objects appear properly when I open the windows, but whenever I try to open/create a gemwindow, it immediately crashes (however, it seems to respond when I change the data - for instance, I can see color changes when i make those changes, but again, the gem window crashes immediately...)
A possible solution lies here but haven't been able to get a response when I attempt to implement this
"
Why does Gem crash when creating the Gem-window? !
When I try to create a Gem-window, my X-server crashes (or worse)? btw, I am using Ubuntu/hoary with fglrx drivers.
quick
try setting the environment variable GEM_SINGLE_CONTEXT to 1
explanation
Gem establishes an (invisible) openGL-context at startup, even if no Gem-window is created yet. When you create the Gem-window, a 2nd openGL-context is used (which shares some properties with the invisible context).
For some reasons this seems to be not possible with some gfx-drivers (e.g. ATI's proprietary fglrx drivers) and some window-managers (i suspect compiz/beryll), leading to crashes of the X-server and/or system freezes.
The current workaround is to set the environment variable GEM_SINGLE_CONTEXT=1, which prevents this dual-context magic.
how?
if you are starting Pd from the bash, you can start Pd/Gem with GEM_SINGLE_CONTEXT=1 pd -lib Gem
on bash, you can also set this permanently by adding a the line export GEM_SINGLE_CONTEXT=1 to either ~/.bashrc (the bash-configuration file in your home-directory) or to /etc/bash.bashrc (to set it for all users)
"
- newer linux user but though I followed compiling instructions for installing Gem, it seems never to create a conf file.. when I open pd-extended in terminal, I get this message:
open: ./gem.conf: No such file or directory
any thoughts or input would be VERY APPRECIATED, thanks!
Compiling gem for Vanilla on Mac OS 10.9.5
Could anyone give me some tips for how to compile the GEM library for Vanilla? Maybe just a short list of instructions to get me started? I am a total noob at this stuff and there are so many files
PS I'm sure i have to compile because just moving the GEM library into one of pd's paths gives me this at the console:
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/Gem.pd_darwin: dlopen(/Applications/Pd-extended.app/Contents/Resources/extra/Gem/Gem.pd_darwin, 10): no suitable image found. Did find:
/Applications/Pd-extended.app/Contents/Resources/extra/Gem/Gem.pd_darwin: mach-o, but wrong architecture Gem: can't load library
Pd-extended 0.40.3 released, dedicated to Jamie Tittle
@hans said:
Finally, it's done! The most polished release of Pd yet. We are further refining Pd into a truly powerful and usable programming platform.
http://puredata.org/downloads/
This release is dedicated to Jamie Tittle, aka tigital, who recently died of cancer. He was a long time and key contributor to Gem and Pd in general, even while he was in the hospital undergoing treatment. He is sorely missed in this community, and I am sure by many others.
Some highlights of this release:
* more functional namespace tools ([declare] and [import])
* new appearance designed to enhance readability
* GLSL shader support in Gem
* usability improvements
* on Mac OS X, you can now build "standalone" applications
* standard locations for user-installed externals
* many bug fixesHere's the rough changelog:
next visual appearance designed for readability
default locations for user-installed externals, helpfiles, etc.
GNU/Linux: /usr/local/lib/pd-externals and ~/pd-externals
Mac OS X: /Library/Pd and ~/Library/Pd
Windows: %ProgramFiles%/Common Files/Pd and %UserProfile%/Application Data/Pdlots of standard key bindings added:
Enter/Return for OK
Escape for Cancel
Ctrl/Cmd-W closes all windows
on Mac OS X, Cmd-` cycles thru open windows
on Mac OS X, Cmd-m minimizes windows
Ctrl/Cmd-R raises/lowers Pd window
Ctrl/Cmd-Shift-R shrinks/grows Pd window
Ctrl/Cmd-Shift-L clears Pd window's text console
Ctrl/Cmd-B opens the Help Browseryou can now use "~" in all paths to mean home folder, and on Windows you can use environment variables, lie %UserProfile% in paths
improved Cut/Copy/Paste support for working in object and message boxes
fixed Cut/Copy/Paste for the Pd window's console
[declare] and [import] now sorted out for loading (but much work needs to be done before there namespace support is complete)
"File -> Save As" defaults to the Home folder (~/) on Mac OSX
new patches default to the folder last saved in
included pgp_opengl aka 3dp on GNU/Linux and Mac OS X
'hardware' and 'deprecated' removed from libraries loaded by default
On Debian/Ubuntu, the packages now install into /usr rather than /usr/local
On Mac OS X, you can now build "standalone" applications from the File menu.
bug fixes and clean up of [hid] and mapping externals
included config in Info.plist for the Spotlight Importer
KNOWN BUGS
check http://puredata.info/dev/bugtracker before reporting bugs
Escape, Enter, and Ctrl/Cmd-W don't close the Path and Startup preferences
pdp_opengl is alpha and will definitely crash Pd
loading pdp_opengl will crash Pd if X11 is not open before trying to load it
the GUI runs slower in some situations
The new visual style is very nice indeed,
Newb can't use GEM
Hi, thought I'd post here even thought the thread is old before starting a new topic because my problem is exactly that as described here, though none of the suggestions have help and no one seems to have my exact error console output, which is as follows:
WARNING: Font family 'Courier' not found, using default (DejaVu Sans Mono)
tried ./gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem.l_i386 and failed
tried /home/digithree/pd-externals/gem.l_i386 and failed
tried /usr/local/lib/pd-externals/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem.l_i386 and failed
tried /usr/lib/pd/extra/gem.l_i386 and failed
tried ./gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem.pd_linux and failed
tried /home/digithree/pd-externals/gem.pd_linux and failed
tried /usr/local/lib/pd-externals/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem.pd_linux and failed
tried /usr/lib/pd/extra/gem.pd_linux and failed
tried ./gem/gem.l_i386 and failed
tried /usr/lib/pd/extra/Gem/gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
tried /home/digithree/pd-externals/gem/gem.l_i386 and failed
tried /usr/local/lib/pd-externals/gem/gem.l_i386 and failed
tried /usr/lib/puredata/extra/gem/gem.l_i386 and failed
tried /usr/lib/pd/extra/gem/gem.l_i386 and failed
tried ./gem/gem.pd_linux and failed
tried /usr/lib/pd/extra/Gem/gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
tried /home/digithree/pd-externals/gem/gem.pd_linux and failed
tried /usr/local/lib/pd-externals/gem/gem.pd_linux and failed
tried /usr/lib/puredata/extra/gem/gem.pd_linux and failed
tried /usr/lib/pd/extra/gem/gem.pd_linux and failed
gem: can't load library
input channels = 2, output channels = 2
audio buffer set to 25
opened input device name hw:0
configuring sound input...
Sample width set to 2 bytes
configuring sound output...
Sample width set to 2 bytes
tried but couldn't sync A/D/A
So I've added the word "gem" (with no quotes) to the Startup list, and the external library locations (whose paths can be seen in the above output) yet it doesn't work.
Any ideas? I've verified that both pd and gem are installed and at the lastest version. I'm using Ubuntu 11.10
Thanks
GEM alternative for Tk GUIs?
GEM interactive GUI, evaluation so far
I tried to translate one of my setups, SliceJockey, to a GEM GUI. But by now, when the work is almost done, the setup is full of not-so-ideal workarounds and I must conclude that it worked just more straightforward with Tk.
I won't completely give up on GEM, because it is fairly well possible that audio and control procedures in SliceJockey are somehow 'tuned' to the Tk GUI because they were developed there, and a setup developed with GEM right from the start may work smooth.
Anyway, I've noticed some characteristics of GEM which are sort of incompatible with the notion of a general GUI framework. GEM is optimally suited for motion graphics and video manipulation. It is efficient where Tk is slow, when it comes to updating the screen. But the other way round is also true. Rendering of static information is in some cases much easier with Pd Tk than GEM. Some GEM bottlenecks:
-
good quality text rendering (crossplatform, with [text2d]): way too expensive
-
plotting of static arrays like sample waveform: cumbersome and expensive
-
separate Pd instances required for GEM and audio patches
GEM aspects which I find *very* attractive for GUI purpose:
-
GEM window with all it's content can be created at any size, and thus accommodated to screen size
-
fairly easy to set up an x-y pad with multiple objects of any shape or size
-
fairly easy to animate objects in response to audio data
-
option to create pictogrammed control objects
Katja