i'd like to start a patch automatically upon booting. is there a file i can edit to load a whatever.pd patch by the end of the start up sequence? GUI is not required.
Epic Jefferson wrote:
i'd like to start a patch automatically upon booting. is there a file i can edit to load a whatever.pd patch by the end of the start up sequence? GUI is not required.
Create a script named /etc/init.d/pdauto containing :
#!/bin/sh su -c "pd mypatch.pd" your_username
Make it executable : chmod a+x /etc/init.d/pdauto
Then run : update-rc.d pdauto defaults 99 to make it run at startup
See 11.6 in http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html for more details.
Charles
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:
Epic Jefferson wrote:
i'd like to start a patch automatically upon booting. is there a file i can edit to load a whatever.pd patch by the end of the start up sequence? GUI is not required.
Create a script named /etc/init.d/pdauto containing :
#!/bin/sh su -c "pd mypatch.pd" your_username
Make it executable : chmod a+x /etc/init.d/pdauto
Then run : update-rc.d pdauto defaults 99 to make it run at startup
See 11.6 in http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options.
.hc
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner hans@at.or.atwrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:
Epic Jefferson wrote:
i'd like to start a patch automatically upon booting. is there a file i
can
edit to load a whatever.pd patch by the end of the start up sequence?
GUI
is not required.
Create a script named /etc/init.d/pdauto containing :
#!/bin/sh su -c "pd mypatch.pd" your_username
Make it executable : chmod a+x /etc/init.d/pdauto
Then run : update-rc.d pdauto defaults 99 to make it run at startup
See 11.6 in http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options.
.hc
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Yes the instructions conflict., you should only edit /etc/defaults/pd-extended, not /etc/init.d/pd-extended. And you will need to specify the complete path to the patch you wnat to open.
.hc
On 11/25/2012 12:10 AM, Epic Jefferson wrote:
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner hans@at.or.atwrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote:
Epic Jefferson wrote:
i'd like to start a patch automatically upon booting. is there a file i
can
edit to load a whatever.pd patch by the end of the start up sequence?
GUI
is not required.
Create a script named /etc/init.d/pdauto containing :
#!/bin/sh su -c "pd mypatch.pd" your_username
Make it executable : chmod a+x /etc/init.d/pdauto
Then run : update-rc.d pdauto defaults 99 to make it run at startup
See 11.6 in http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options.
.hc
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit :
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.at mailto:hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there a file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details. Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian. Edit /etc/default/pd to change the startup options. .hc _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hans:
to make sure i had everything correct i started from scratch, i did everything you indicated including the exact patch location, still nothing. i added the auto login as suggested by Cyrille, nada.
Cyrille: could you be more specific as to what i would replace the startx with? should i indicate the exact path as well?
like so: su pi -c /home/pi/Desktop/whatever.pd
i tested it with startx and it did not work anyway.
On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry ch@chnry.net wrote:
hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_**Auto_Loginhttp://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit :
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.**pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.atmailto: hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there a
file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/**manuals/debian-faq/ch-** customizing.en.htmlhttp://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise
you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options. .hc ______________________________**_________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
Hi Epic,
I got Pd running at startup on the RPi without modifying /etc/init.d/pd-extended. All I did is add a line in /etc/rc.local, something like 'pd -nogui -audiobuf 100 -noadc /home/pi/mypatch.pd'
This will start Pd, without GUI, with a buffer big enough for the RPi, without audio in (there's no capture on the RPi), and open the patch called 'mypatch.pd' in the home folder.
This should work a fresh Raspbian install. Pd will start without the user having to login, nor start X.
There's also an alternate solution involving the cration of a bash script. I described it here on my blog : http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-rasp...
Cheers,
Pierre.
PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi.
2012/11/25 Epic Jefferson jeffreyconcepcion@gmail.com
Hans:
to make sure i had everything correct i started from scratch, i did everything you indicated including the exact patch location, still nothing. i added the auto login as suggested by Cyrille, nada.
Cyrille: could you be more specific as to what i would replace the startx with? should i indicate the exact path as well?
like so: su pi -c /home/pi/Desktop/whatever.pd
i tested it with startx and it did not work anyway.
On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry ch@chnry.net wrote:
hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_**Auto_Loginhttp://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit :
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.**pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.atmailto: hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there a
file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/**manuals/debian-faq/ch-** customizing.en.htmlhttp://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise
you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options. .hc ______________________________**_________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pierre/Cyrille: it worked. since i have pd-extended installed, i added this line to /etc/rc.local:
pd-extended nogui -audiobuf 100 -noadc /home/pi/Desktop/mypatch.pd
Hans: i copied the script to /etc/init.d/pd-extended. it still didn't work for me. i crosschecked the file you attached with the one i already had and they look exactly the same to me. Perhaps you accidentally attached the old version?
On Sun, Nov 25, 2012 at 3:55 PM, Pierre Massat pimassat@gmail.com wrote:
Hi Epic,
I got Pd running at startup on the RPi without modifying /etc/init.d/pd-extended. All I did is add a line in /etc/rc.local, something like 'pd -nogui -audiobuf 100 -noadc /home/pi/mypatch.pd'
This will start Pd, without GUI, with a buffer big enough for the RPi, without audio in (there's no capture on the RPi), and open the patch called 'mypatch.pd' in the home folder.
This should work a fresh Raspbian install. Pd will start without the user having to login, nor start X.
There's also an alternate solution involving the cration of a bash script. I described it here on my blog : http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-rasp...
Cheers,
Pierre.
PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi.
2012/11/25 Epic Jefferson jeffreyconcepcion@gmail.com
Hans:
to make sure i had everything correct i started from scratch, i did everything you indicated including the exact patch location, still nothing. i added the auto login as suggested by Cyrille, nada.
Cyrille: could you be more specific as to what i would replace the startx with? should i indicate the exact path as well?
like so: su pi -c /home/pi/Desktop/whatever.pd
i tested it with startx and it did not work anyway.
On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry ch@chnry.net wrote:
hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_**Auto_Loginhttp://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit :
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.**pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.atmailto: hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there
a file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/**manuals/debian-faq/ch-** customizing.en.htmlhttp://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details.
Pd-extended Debian packages should install /etc/init.d/pd,
otherwise you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options. .hc ______________________________**_________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Oops, sorry, yes, I sent the old version. This should be the actual, updated script:
.hc
On Nov 26, 2012, at 1:12 PM, Epic Jefferson wrote:
Pierre/Cyrille: it worked. since i have pd-extended installed, i added this line to /etc/rc.local:
pd-extended nogui -audiobuf 100 -noadc /home/pi/Desktop/mypatch.pd
Hans: i copied the script to /etc/init.d/pd-extended. it still didn't work for me. i crosschecked the file you attached with the one i already had and they look exactly the same to me. Perhaps you accidentally attached the old version?
On Sun, Nov 25, 2012 at 3:55 PM, Pierre Massat pimassat@gmail.com wrote: Hi Epic,
I got Pd running at startup on the RPi without modifying /etc/init.d/pd-extended. All I did is add a line in /etc/rc.local, something like 'pd -nogui -audiobuf 100 -noadc /home/pi/mypatch.pd'
This will start Pd, without GUI, with a buffer big enough for the RPi, without audio in (there's no capture on the RPi), and open the patch called 'mypatch.pd' in the home folder.
This should work a fresh Raspbian install. Pd will start without the user having to login, nor start X.
There's also an alternate solution involving the cration of a bash script. I described it here on my blog : http://guitarextended.wordpress.com/2012/08/28/running-pd-on-a-headless-rasp...
Cheers,
Pierre.
PS : this is for Pd-vanilla, i've never tried pd-extended on the Pi.
2012/11/25 Epic Jefferson jeffreyconcepcion@gmail.com Hans:
to make sure i had everything correct i started from scratch, i did everything you indicated including the exact patch location, still nothing. i added the auto login as suggested by Cyrille, nada.
Cyrille: could you be more specific as to what i would replace the startx with? should i indicate the exact path as well?
like so: su pi -c /home/pi/Desktop/whatever.pd
i tested it with startx and it did not work anyway.
On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry ch@chnry.net wrote: hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit : Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.at mailto:hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there a file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details. Pd-extended Debian packages should install /etc/init.d/pd, otherwise you can get it from pure-data SVN: trunk/scripts/debian. Edit /etc/default/pd to change the startup options. .hc _______________________________________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Sorry if this has already been answered, but is it possible to run GEM on the raspberry pi?
I've just installed the Pd-0.43.3-extended-20121004.deb file from http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-w...
So far so good, but when I try to open a gemwin the following error occurs:
"GEM: X server has no OpenGL GLX extension"
Googling for info I came across this:
GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems:
doesn't actually support OpenGL, just OpenGL ES (1.1 and 2.0).
driver for the pi right now is the fbdev driver, which doesn't support GLX. I don't know of any drivers that are working on GLX support, but they'd have to provide some kind of translation mechanism as well to convert unsupported GL calls into their GL ES equivalents.
For the foreseeable future, you're probably out of luck.
Is that the case? Is there no way of running GEM on the raspberry pi at present?
Cheers,
Iain
That is correct, there is presently no way to run Gem on the RPi. There was some work done on porting Gem to OpenGL ES in the past, sounds like someone should revisit that since there is demand. It would mean that Gem would also run on Android and iOS.
.hc
On Dec 14, 2012, at 12:07 PM, Iain Mott wrote:
Sorry if this has already been answered, but is it possible to run GEM on the raspberry pi?
I've just installed the Pd-0.43.3-extended-20121004.deb file from http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-w...
So far so good, but when I try to open a gemwin the following error occurs:
"GEM: X server has no OpenGL GLX extension"
Googling for info I came across this:
GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems:
- GLX is currently only designed to support OpenGL, not OpenGL ES. RPi
doesn't actually support OpenGL, just OpenGL ES (1.1 and 2.0).
- The underlying xf86-video driver needs to support GLX. The default X
driver for the pi right now is the fbdev driver, which doesn't support GLX. I don't know of any drivers that are working on GLX support, but they'd have to provide some kind of translation mechanism as well to convert unsupported GL calls into their GL ES equivalents.
For the foreseeable future, you're probably out of luck.
Is that the case? Is there no way of running GEM on the raspberry pi at present?
Cheers,
Iain
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Reviving an old thread here. Just wondering if anyone is working on this port at the moment? I'd be very interested in supporting this work somehow.
Thanks
On Sat, Dec 15, 2012 at 6:37 AM, Hans-Christoph Steiner hans@at.or.atwrote:
That is correct, there is presently no way to run Gem on the RPi. There was some work done on porting Gem to OpenGL ES in the past, sounds like someone should revisit that since there is demand. It would mean that Gem would also run on Android and iOS.
.hc
On Dec 14, 2012, at 12:07 PM, Iain Mott wrote:
Sorry if this has already been answered, but is it possible to run GEM on the raspberry pi?
I've just installed the Pd-0.43.3-extended-20121004.deb file from
http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-w...
So far so good, but when I try to open a gemwin the following error occurs:
"GEM: X server has no OpenGL GLX extension"
Googling for info I came across this:
GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems:
- GLX is currently only designed to support OpenGL, not OpenGL ES. RPi
doesn't actually support OpenGL, just OpenGL ES (1.1 and 2.0).
- The underlying xf86-video driver needs to support GLX. The default X
driver for the pi right now is the fbdev driver, which doesn't support GLX. I don't know of any drivers that are working on GLX support, but they'd have to provide some kind of translation mechanism as well to convert unsupported GL calls into their GL ES equivalents.
For the foreseeable future, you're probably out of luck.
Is that the case? Is there no way of running GEM on the raspberry pi at present?
Cheers,
Iain
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Perhaps have a look at glshim: https://github.com/lunixbochs/glshim
Not all GEM functions are working yet, but anyone porting to GL ES could start there.
On Mon, Sep 9, 2013 at 7:45 AM, Richie Cyngler glitchpop@gmail.com wrote:
Reviving an old thread here. Just wondering if anyone is working on this port at the moment? I'd be very interested in supporting this work somehow.
Thanks
On Sat, Dec 15, 2012 at 6:37 AM, Hans-Christoph Steiner hans@at.or.atwrote:
That is correct, there is presently no way to run Gem on the RPi. There was some work done on porting Gem to OpenGL ES in the past, sounds like someone should revisit that since there is demand. It would mean that Gem would also run on Android and iOS.
.hc
On Dec 14, 2012, at 12:07 PM, Iain Mott wrote:
Sorry if this has already been answered, but is it possible to run GEM on the raspberry pi?
I've just installed the Pd-0.43.3-extended-20121004.deb file from
http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-w...
So far so good, but when I try to open a gemwin the following error occurs:
"GEM: X server has no OpenGL GLX extension"
Googling for info I came across this:
GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems:
- GLX is currently only designed to support OpenGL, not OpenGL ES. RPi
doesn't actually support OpenGL, just OpenGL ES (1.1 and 2.0).
- The underlying xf86-video driver needs to support GLX. The default X
driver for the pi right now is the fbdev driver, which doesn't support GLX. I don't know of any drivers that are working on GLX support, but they'd have to provide some kind of translation mechanism as well to convert unsupported GL calls into their GL ES equivalents.
For the foreseeable future, you're probably out of luck.
Is that the case? Is there no way of running GEM on the raspberry pi at present?
Cheers,
Iain
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks dreamer,
I'll see if I can get that to work. Git confuses the hell out of me but the install instructions look pretty clear. Have you tried this? If so does GEM just work once glshim is installed?
cheers
On Mon, Sep 9, 2013 at 4:16 PM, dreamer dreamer@puikheid.nl wrote:
Perhaps have a look at glshim: https://github.com/lunixbochs/glshim
Not all GEM functions are working yet, but anyone porting to GL ES could start there.
On Mon, Sep 9, 2013 at 7:45 AM, Richie Cyngler glitchpop@gmail.comwrote:
Reviving an old thread here. Just wondering if anyone is working on this port at the moment? I'd be very interested in supporting this work somehow.
Thanks
On Sat, Dec 15, 2012 at 6:37 AM, Hans-Christoph Steiner hans@at.or.atwrote:
That is correct, there is presently no way to run Gem on the RPi. There was some work done on porting Gem to OpenGL ES in the past, sounds like someone should revisit that since there is demand. It would mean that Gem would also run on Android and iOS.
.hc
On Dec 14, 2012, at 12:07 PM, Iain Mott wrote:
Sorry if this has already been answered, but is it possible to run GEM on the raspberry pi?
I've just installed the Pd-0.43.3-extended-20121004.deb file from
http://puredata.info/downloads/pd-extended-0-43-3-on-raspberry-pi-raspbian-w...
So far so good, but when I try to open a gemwin the following error occurs:
"GEM: X server has no OpenGL GLX extension"
Googling for info I came across this:
GLX is an extension to the X windows server which allows GL programs to pass their commands through to the underlying renderer. On the pi there are two fundamental problems:
- GLX is currently only designed to support OpenGL, not OpenGL ES. RPi
doesn't actually support OpenGL, just OpenGL ES (1.1 and 2.0).
- The underlying xf86-video driver needs to support GLX. The default X
driver for the pi right now is the fbdev driver, which doesn't support GLX. I don't know of any drivers that are working on GLX support, but they'd have to provide some kind of translation mechanism as well to convert unsupported GL calls into their GL ES equivalents.
For the foreseeable future, you're probably out of luck.
Is that the case? Is there no way of running GEM on the raspberry pi at present?
Cheers,
Iain
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2013-09-09 12:20, Richie Cyngler wrote:
Thanks dreamer,
I'll see if I can get that to work. Git confuses the hell out of me but the install instructions look pretty clear. Have you tried this? If so does GEM just work once glshim is installed?
i guess nobody ever tried...
anyhow, the "INSTALLATION" instructions of the glshim library explains how to trick Gem into using glshim: you have to set the LD_LIBRARY_PATH variable, in order to make Gem find the new functions. you probably SHOULD NOT make this a system-wide (or even user-wide) default, but instead only do this for when trying to start Pd/Gem (or another application that needs GL1-on-GLES)
LD_LIBRARY_PATH=/path/to/glshim/src/ pd -lib Gem
(you could also create a wrapper script that does this for you).
anyhow, Gem will also need GLU.
and there is the little problem that Gem will (by default) create a window using GLX (on non-w32 and non-osx), which i think is not available on android either. luckily the git version of Gem has alternative windowing code (still highly experimental), e.g. using SDL or GLFW, which might work.
fgamsdr IOhannes
I found a bug in the script. I fixed it and committed the fix. I attached it here as well. Copy this to /etc/init.d and try again.
.hc
On 11/25/2012 12:11 PM, Epic Jefferson wrote:
Hans:
to make sure i had everything correct i started from scratch, i did everything you indicated including the exact patch location, still nothing. i added the auto login as suggested by Cyrille, nada.
Cyrille: could you be more specific as to what i would replace the startx with? should i indicate the exact path as well?
like so: su pi -c /home/pi/Desktop/whatever.pd
i tested it with startx and it did not work anyway.
On Sun, Nov 25, 2012 at 4:14 AM, Cyrille Henry ch@chnry.net wrote:
hello,
to start a patch on a RPi, you can also follow this instruction : http://elinux.org/RPi_Debian_**Auto_Loginhttp://elinux.org/RPi_Debian_Auto_Login
once autologin work, you can replace the startX by pd.
works for me. cheers c
Le 25/11/2012 06:10, Epic Jefferson a écrit :
Charles:
i found /etc/init.d/pd-extended and added
su -c "pd whetever.pd" pi
(am i supposed to specify the exact location of the patch? /home/pi/Desktop/pd/whatever.**pd)
then $ chmod a+x /etc/init.d/pd-extended $ update-rc.d pd-extended defaults 99
i rebooted but no pd patch on startup
Hans: i also tried editing /etc/default/pd-extended by un-commenting RUNPDDAEMON=yes DAEMON=/usr/bin/pd-extended and i set the patch location and the user: USER=pi
still nothing on start up. perhaps there is a conflict between Charles' and Hans' instructions?
On Sat, Nov 24, 2012 at 9:37 PM, Hans-Christoph Steiner <hans@at.or.atmailto: hans@at.or.at> wrote:
On Nov 24, 2012, at 6:49 PM, Charles Goyard wrote: > Epic Jefferson wrote: >> i'd like to start a patch automatically upon booting. is there a
file i can >> edit to load a whatever.pd patch by the end of the start up sequence? GUI >> is not required. > > Create a script named /etc/init.d/pdauto containing : > > #!/bin/sh > su -c "pd mypatch.pd" your_username > > Make it executable : chmod a+x /etc/init.d/pdauto > > Then run : > update-rc.d pdauto defaults 99 > to make it run at startup > > See 11.6 in > http://www.debian.org/doc/**manuals/debian-faq/ch-** customizing.en.htmlhttp://www.debian.org/doc/manuals/debian-faq/ch-customizing.en.html > for more details.
Pd-extended Debian packages should install /etc/init.d/pd, otherwise
you can get it from pure-data SVN: trunk/scripts/debian.
Edit /etc/default/pd to change the startup options. .hc ______________________________**_________________ Pd-list@iem.at <mailto:Pd-list@iem.at> mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/**
listinfo/pd-list http://lists.puredata.info/listinfo/pd-list
-- www.epicjefferson.com http://www.epicjefferson.com www.avmachinists.org http://www.avmachinists.org Puerto Rico based Art Collective/ Non-Profit Org
______________________________**_________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/** listinfo/pd-list http://lists.puredata.info/listinfo/pd-list