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 elpochodelage...@gmail.com 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

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 siguc...@gmail.com wrote: On 18 February 2012 04:15, Javier Pimás elpochodelage...@gmail.com wrote: After

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

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: ---

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

2012-02-10 Thread Javier Pimás
I'm trying to create an OpenGL context on linux but glxChooseVisual fails. Maybe there's someone there experienced with this that can help. The code I'm trying is: display := NBXLibDisplay open. window := display defaultRootWindow. visualInfo := NBXLibVisualInfo fromPointer: (gl chooseVisual:

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

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

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 elpochodelage...@gmail.com 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 siguc...@gmail.com wrote: Btw, javier i cannot load your package to

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 siguc...@gmail.com wrote: On 10 February 2012 19:48, Javier Pimás elpochodelage...@gmail.com wrote: To load NBOpenGL-X package you need to load NBXLib-core first i