Re: [PD] Can't create gem window on a beagleboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-24 11:19, Alexandros Drymonitis wrote: When trying to create a gem window on a beagleboard I get the following: error: GEM: Unable to create single buffer window error: GEM: Error creating const context error: GEM: A serious error occured creating const Context error: GEM: Continue at your own risk! error: GEM: Unable to create double buffer window error: GEM: Unable to create window error: [gemwin]: no window made Anyone has any idea why, or what should I do? does any opengl application work on the beagleboard? (e.g. glxgears) does the beagleboard even have openGL? (or does it only have openGL-ES, which is currently not supported by Gem) famsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEBE0MACgkQkX2Xpv6ydvR7pgCfXe3G4qu/Rrw2qC4lmfPTOlR7 PDAAn3UY0jgHJ7x9MQ7fvIl+YnFdjA/T =iJ8E -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create gem window on a beagleboard
Well, I'm not aware of such details, to be honest. Since Gem is installed the Pd version my beagleboard has, I tried to do something with it. The objects are being created, but no gem window.. On Thu, Jan 24, 2013 at 12:56 PM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-24 11:19, Alexandros Drymonitis wrote: When trying to create a gem window on a beagleboard I get the following: error: GEM: Unable to create single buffer window error: GEM: Error creating const context error: GEM: A serious error occured creating const Context error: GEM: Continue at your own risk! error: GEM: Unable to create double buffer window error: GEM: Unable to create window error: [gemwin]: no window made Anyone has any idea why, or what should I do? does any opengl application work on the beagleboard? (e.g. glxgears) does the beagleboard even have openGL? (or does it only have openGL-ES, which is currently not supported by Gem) famsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEBE0MACgkQkX2Xpv6ydvR7pgCfXe3G4qu/Rrw2qC4lmfPTOlR7 PDAAn3UY0jgHJ7x9MQ7fvIl+YnFdjA/T =iJ8E -END PGP SIGNATURE- ___ 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
Re: [PD] Can't create gem window on a beagleboard
From wikipedia : accelerated video and audio decoding, and an Imagination Technologies PowerVR SGX530 GPU to provide accelerated 2D and 3D rendering that supports OpenGL ES 2.0 Means no GEM at the moment. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create gem window on a beagleboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-24 12:15, Alexandros Drymonitis wrote: Well, I'm not aware of such details, to be honest. Since Gem is installed the Pd version my beagleboard has, I tried to do something with it. The objects are being created, but no gem window.. well, you don't get a Gem-window because it seems that the gfx-card is not supported. it's similar to when you install Pd on a computer without a soundcard, and try to use the [dac~] object (which probably won't give you a nice error, but no sound either) fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEBJbYACgkQkX2Xpv6ydvS+gwCgqAsb4jYkB/t2adOlAasZqh0e S8cAn1Klfb0vsNRQRTDh04Zp7xlsr+1t =zzhV -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create gem window on a beagleboard
Is there a solution to this? On Thu, Jan 24, 2013 at 2:14 PM, IOhannes m zmoelnig zmoel...@iem.atwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-24 12:15, Alexandros Drymonitis wrote: Well, I'm not aware of such details, to be honest. Since Gem is installed the Pd version my beagleboard has, I tried to do something with it. The objects are being created, but no gem window.. well, you don't get a Gem-window because it seems that the gfx-card is not supported. it's similar to when you install Pd on a computer without a soundcard, and try to use the [dac~] object (which probably won't give you a nice error, but no sound either) fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEBJbYACgkQkX2Xpv6ydvS+gwCgqAsb4jYkB/t2adOlAasZqh0e S8cAn1Klfb0vsNRQRTDh04Zp7xlsr+1t =zzhV -END PGP SIGNATURE- ___ 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
Re: [PD] Can't create gem window on a beagleboard
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-01-24 13:26, Alexandros Drymonitis wrote: Is there a solution to this? install a gfx-card that is openGL capable (which is not very practical, though; so for now the answer is no; alternatives include finding dmotd and asking him to publish his initial port of Gem to openGL-ES) ghsmd IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEBKb8ACgkQkX2Xpv6ydvTa+gCeOvFbBja0EQVsq++sl85l7eRN 2xkAn2OODxPaRvfwGj1FBdSnWiYj3zQt =MtSi -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create gem window on a beagleboard
(oops, didn't send to list) On 2013-01-24 13:26, Alexandros Drymonitis wrote: Is there a solution to this? install a gfx-card that is openGL capable (which is not very practical, though; It's an ARM SoC .. there's no way to replace the graphics-chip (even if there would be a full-GL pin-compatible one). I think 'not practical' is an understatement ;) alternatives include finding dmotd and asking him to publish his initial port of Gem to openGL-ES) I've been eyeing the progress on this for a while, seems the project has been stagnant for a long time already (unless there's work being done under the radar). It would be absolutely awesome if GEM worked on GLES chips as a whole range of mobile devices would be able to do a lot of neat things! There are some projects that are working on providing a replacement libGL that presents a (full) GL-spec to the software and does the translation/emulation behind the scenes, see: http://boards.openpandora.org/index.php/topic/11506-opengl-implementation-tldr-more-games/for instance. drmr ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create gem window on a beagleboard
On 01/24/2013 09:50 AM, dreamer wrote: (oops, didn't send to list) On 2013-01-24 13:26, Alexandros Drymonitis wrote: Is there a solution to this? install a gfx-card that is openGL capable (which is not very practical, though; It's an ARM SoC .. there's no way to replace the graphics-chip (even if there would be a full-GL pin-compatible one). I think 'not practical' is an understatement ;) There are USB graphics cards... alternatives include finding dmotd and asking him to publish his initial port of Gem to openGL-ES) I've been eyeing the progress on this for a while, seems the project has been stagnant for a long time already (unless there's work being done under the radar). It would be absolutely awesome if GEM worked on GLES chips as a whole range of mobile devices would be able to do a lot of neat things! There are some projects that are working on providing a replacement libGL that presents a (full) GL-spec to the software and does the translation/emulation behind the scenes, see: http://boards.openpandora.org/index.php/topic/11506-opengl-implementation-tldr-more-games/for instance. That sounds very promising. Sounds like a good project for someone to take on who wants to further the Gem port to embedded systems :) .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create Gem window
do glxgears work? yes. if so, what is your pixel-depth? Gem wants to create a 24bit buffer, so if you are running your X in 8bit/palette mode it will bail out. xorg.conf says 24, using proprietary ATI driver for the HD7700 DefaultDepth 24 this is what Gem requests: { GLX_RED_SIZE=4, GLX_GREEN_SIZE=4, GLX_BLUE_SIZE=4, GLX_DEPTH_SIZE=16, GLX_STENCIL_SIZE=8, GLX_ACCUM_RED_SIZE=8, GLX_ACCUM_GREEN_SIZE=8, GLX_ACCUM_BLUE_SIZE=8, GLX_DOUBLEBUFFER } verbose output of glxinfo indicates doubleBuffer =1 rgba are all =8 depth =24 stencil =8 accum are all =16 doubleBuffer =1 system spec: Intel Core i5 Radeon HD7700 graphics card. Ubuntu 10.04 I am wondering if the ati proprietary driver might be to blame, but I am not sure how to check this... Ed looks good: Visual ID: 6b depth=0 class=DirectColor bufferSize=32 level=0 renderType=rgba doubleBuffer=1 stereo=0 rgba: redSize=8 greenSize=8 blueSize=8 alphaSize=8 auxBuffers=0 depthSize=24 stencilSize=8 accum: redSize=16 greenSize=16 blueSize=16 alphaSize=16 multiSample=0 multiSampleBuffers=0 visualCaveat=None Opaque. check the output of glxinfo, whether your config supports such a setting. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBpZRkACgkQkX2Xpv6ydvR5VgCgng37YHFrRQoZJk+CMDFz1OGZ fp4AoNrTWuQGqvAg8OgJ2XimzEa9KamQ =gGaA -END PGP SIGNATURE- ___ 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
Re: [PD] Can't create Gem window
Hey, On 05/10/12 12:09, Ed Kelly wrote: Intel Core i5 Radeon HD7700 graphics card. Ubuntu 10.04 64bit OS? This is probably irrelevant as Wheezy is newer than Lucid, but... In Debian Wheezy I have no end of trouble with proprietary NVIDIA driver due to multiarch transition, in the end my workaround is to remember to sudo rm mesa software rasterizer (super slow) /usr/lib/x86_64-linux-gnu/libGL.so and symlink it to the proprietary one installed in /usr/lib/libGL.so - painful claude@cappuccino:~$ ls -l /usr/lib/x86_64-linux-gnu/libGL.so lrwxrwxrwx 1 root root 11 Oct 1 16:35 /usr/lib/x86_64-linux-gnu/libGL.so - ../libGL.so I am wondering if the ati proprietary driver might be to blame, but I am not sure how to check this... Dunno - is there some dual graphics laptop card thing that needs optirun or what have you to get good performance? check the output of glxinfo, whether your config supports such a setting. $ LIBGL_DEBUG=verbose glxinfo | head name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.4 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control, GLX_EXT_swap_control, GLX_EXT_swap_control_tear, GLX_EXT_texture_from_pixmap, GLX_ARB_create_context, --- you definitely don't want to see swrast stuff in the debug output (if there is any) Claude -- http://mathr.co.uk ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create Gem window
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2012-10-01 11:08, Ed Kelly wrote: ...when I try to create a Gem window. Looking at a previous post in the archive, setting the environment variable GEM_SINGLE_CONTEXT to 1 does not change this. I'm stuck! GL screensavers are working correctly... do glxgears work? if so, what is your pixel-depth? Gem wants to create a 24bit buffer, so if you are running your X in 8bit/palette mode it will bail out. this is what Gem requests: { GLX_RED_SIZE=4, GLX_GREEN_SIZE=4, GLX_BLUE_SIZE=4, GLX_DEPTH_SIZE=16, GLX_STENCIL_SIZE=8, GLX_ACCUM_RED_SIZE=8, GLX_ACCUM_GREEN_SIZE=8, GLX_ACCUM_BLUE_SIZE=8, GLX_DOUBLEBUFFER } check the output of glxinfo, whether your config supports such a setting. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBpZRkACgkQkX2Xpv6ydvR5VgCgng37YHFrRQoZJk+CMDFz1OGZ fp4AoNrTWuQGqvAg8OgJ2XimzEa9KamQ =gGaA -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Can't create Gem window
On 2012-10-01 11:08, Ed Kelly wrote: ...when I try to create a Gem window. Looking at a previous post in the archive, setting the environment variable GEM_SINGLE_CONTEXT to 1 does not change this. I'm stuck! GL screensavers are working correctly... do glxgears work? Hmmm... glxgears gives me this: Error: couldn't get an RGB, Double-buffered visual I tried to find a way of adjusting this in the graphics card application, but no luck... e if so, what is your pixel-depth? Gem wants to create a 24bit buffer, so if you are running your X in 8bit/palette mode it will bail out. this is what Gem requests: { GLX_RED_SIZE=4, GLX_GREEN_SIZE=4, GLX_BLUE_SIZE=4, GLX_DEPTH_SIZE=16, GLX_STENCIL_SIZE=8, GLX_ACCUM_RED_SIZE=8, GLX_ACCUM_GREEN_SIZE=8, GLX_ACCUM_BLUE_SIZE=8, GLX_DOUBLEBUFFER } check the output of glxinfo, whether your config supports such a setting. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBpZRkACgkQkX2Xpv6ydvR5VgCgng37YHFrRQoZJk+CMDFz1OGZ fp4AoNrTWuQGqvAg8OgJ2XimzEa9KamQ =gGaA -END PGP SIGNATURE- ___ 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
Re: [PD] Can't create Gem window
After adding export LIBGL_ALWAYS_INDIRECT=1 to $home/.bashrc glxgears works fine, but not Gem. Still the same. ?! glxinfo gives me a lot of output, and the table seems to indicate better-than the values you gave below, e.g. Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs 0x23 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0 I can't find GLX_DOUBLEBUFFER Could it be that I need to add some lines to xorg.conf (wherever it is in Lucid Ubuntu) On 2012-10-01 11:08, Ed Kelly wrote: ...when I try to create a Gem window. Looking at a previous post in the archive, setting the environment variable GEM_SINGLE_CONTEXT to 1 does not change this. I'm stuck! GL screensavers are working correctly... do glxgears work? Hmmm... glxgears gives me this: Error: couldn't get an RGB, Double-buffered visual I tried to find a way of adjusting this in the graphics card application, but no luck... e if so, what is your pixel-depth? Gem wants to create a 24bit buffer, so if you are running your X in 8bit/palette mode it will bail out. this is what Gem requests: { GLX_RED_SIZE=4, GLX_GREEN_SIZE=4, GLX_BLUE_SIZE=4, GLX_DEPTH_SIZE=16, GLX_STENCIL_SIZE=8, GLX_ACCUM_RED_SIZE=8, GLX_ACCUM_GREEN_SIZE=8, GLX_ACCUM_BLUE_SIZE=8, GLX_DOUBLEBUFFER } check the output of glxinfo, whether your config supports such a setting. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlBpZRkACgkQkX2Xpv6ydvR5VgCgng37YHFrRQoZJk+CMDFz1OGZ fp4AoNrTWuQGqvAg8OgJ2XimzEa9KamQ =gGaA -END PGP SIGNATURE- ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list