Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-19 Thread Igor Stasenko
btw, to rebind to right version of glXGetProcAddress(), try glXGetProcAddress("glXGetProcAddress") :) i do something similar to this for windows. On 19 February 2012 14:57, Igor Stasenko wrote: > On 18 February 2012 04:15, Javier Pimás wrote: >> After one day of very low level debugging I foun

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-19 Thread Igor Stasenko
On 18 February 2012 04:15, Javier Pimás wrote: > After one day of very low level debugging I found part of the problem. I'll > explain because maybe I'm doing something wrong. > > There seem to be a duplicated load of the opengl library, one for statically > linked calls and other dynamically load

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-17 Thread Javier Pimás
After one day of very low level debugging I found part of the problem. I'll explain because maybe I'm doing something wrong. There seem to be a duplicated load of the opengl library, one for statically linked calls and other dynamically loaded. I tried in gdb $> p listVisuals() which calls direc

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-11 Thread Igor Stasenko
ok, so If no conforming visual exists, NULL is returned. It is hard to imagine, that these attributes not supported {GLX_RGBA. GLX_DEPTH_SIZE. 24. GLX_DOUBLEBUFFER. 0} the code seems to be fine. This is what i found: --- http://www.opengl.org/wiki/Programming_OpenGL_in_Linux:_GLX_and_Xli

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Javier Pimás
yes, notice that it is in a different repo: http://www.squeaksource.com/NBXLib On Fri, Feb 10, 2012 at 3:53 PM, Igor Stasenko wrote: > On 10 February 2012 19:48, Javier Pimás > wrote: > > To load NBOpenGL-X package you need to load NBXLib-core first > > > i don't see it. did you uploaded it? >

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Igor Stasenko
On 10 February 2012 19:48, Javier Pimás wrote: > To load NBOpenGL-X package you need to load NBXLib-core first > i don't see it. did you uploaded it? > > On Fri, Feb 10, 2012 at 3:39 PM, Igor Stasenko wrote: >> >> Btw, javier i cannot load your package to check what you did: >> >> This package d

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Javier Pimás
To load NBOpenGL-X package you need to load NBXLib-core first On Fri, Feb 10, 2012 at 3:39 PM, Igor Stasenko wrote: > Btw, javier i cannot load your package to check what you did: > > This package depends on the following classes: > NBXLibConstants > You must resolve these dependencies before y

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Igor Stasenko
Btw, javier i cannot load your package to check what you did: This package depends on the following classes: NBXLibConstants You must resolve these dependencies before you will be able to load these definitions: NBGLXContextDriver supportsCurrentPlatform createContext: On 10 February 2

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Igor Stasenko
On 10 February 2012 19:19, Lawson English wrote: > Is that code even ready for consumption? > > I was told that until there is a new ConfigurationOfNBOpenGL ready, to not > load the new packages. > you could try :) but this is what i working on now (slowly integrating the parts of Javier's code,

Re: [Pharo-project] Need help with OpenGL visual creation on linux

2012-02-10 Thread Lawson English
Is that code even ready for consumption? I was told that until there is a new ConfigurationOfNBOpenGL ready, to not load the new packages. L. On 2/10/12 10:12 AM, Javier Pimás wrote: I'm trying to create an OpenGL context on linux but glxChooseVisual fails. Maybe there's someone there experi