We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Problem in OpenGL + Linux + 0148
Page Index Toggle Pages: 1
Problem in OpenGL + Linux + 0148? (Read 1155 times)
Problem in OpenGL + Linux + 0148?
Aug 22nd, 2008, 2:51am
 
Did anyone get this error when trying to run opengl sketches under Linux with the latest release (0148):

java.lang.RuntimeException: GLDrawableFactory.chooseGraphicsConfiguration() was not used when creating this Component
at processing.core.PApplet.makeGraphics(PApplet.java:1171)
at processing.core.PApplet.size(PApplet.java:1003)
at processing.core.PApplet.size(PApplet.java:947)
at Matrix.setup(Matrix.java:12)
at processing.core.PApplet.handleDraw(PApplet.java:1377)
at processing.core.PApplet.run(PApplet.java:1305)
at java.lang.Thread.run(Unknown Source)

(I'm using Ubuntu 8.04)
Re: Problem in OpenGL + Linux + 0148?
Reply #1 - Aug 22nd, 2008, 9:24pm
 
same problem on slackware 12.1, with latest nvidia drivers
Re: Problem in OpenGL + Linux + 0148?
Reply #2 - Aug 22nd, 2008, 10:29pm
 
perhaps this?
http://dev.processing.org/bugs/show_bug.cgi?id=891
Re: Problem in OpenGL + Linux + 0148?
Reply #3 - Aug 23rd, 2008, 7:10am
 
No, I don't think so. I got the error running on a Pentium M (32 bits) machine.

BTW, I was also using the latest nvidia drivers.
Re: Problem in OpenGL + Linux + 0148?
Reply #4 - Aug 23rd, 2008, 7:16am
 
I have the same issue - Ubuntu 8.04 here too.

In regards to whether it's bug 891 they're likely unrelated as that's focusing on the AMD64 architecture and I'm not on 64bit - Intel Centrino Duo myself.

After having a look it seems to be something quite specific to OpenGL as if you replace the renderer with P3D then it works.
//size(screen.width, screen.height, OPENGL => P3D);

I'd love to look into it further but I really don't have much experience with Java, less so with the internal libraries. My only guess is it's something to do with JOGL specifically.
Re: Problem in OpenGL + Linux + 0148?
Reply #5 - Aug 24th, 2008, 1:57am
 
That's strange - I have the same error.  I've been running my project on 0144 in Ubuntu 8.04 with no errors, then changed my gpu from ati to nvidia and upgraded to 0148 before trying to run the same project.  It returned exactly the same error output as posted above.

I've tried going back to running it on 0144 and the errors are now appearing there, too.  As my machine's gpu drivers have been changed, I can't rule out an nvidia problem (but I've also installed java6 then gone back to 5 as the error kept appearing - so that's another reason I may be having problems: the remnants of a java6 install still existing somewhere).

I've tried downloading and replacing the JOGL files, as suggested in fry's bug link, but that hasn't worked.

Should I post this as a bug even with all the shifting parameters (don't have a fresh 2nd machine to test this on, I'm afraid), or are we coming to the conclusion that it may be an nvidia problem?
Re: Problem in OpenGL + Linux + 0148?
Reply #6 - Aug 24th, 2008, 1:58am
 
Oh, and I'm not running 64bit either.
Re: Problem in OpenGL + Linux + 0148?
Reply #7 - Aug 27th, 2008, 4:23pm
 
im getting same error as well running:

Intel Core 2 Duo, 2.4Ghz
NVIDIA GeForce 8600M GT
Re: Problem in OpenGL + Linux + 0148?
Reply #8 - Sep 2nd, 2008, 4:58pm
 
now tracking the problem here:
http://dev.processing.org/bugs/show_bug.cgi?id=908

if anyone can provide more background to help me find a fix is most appreciated. my ubuntu machines don't have the problem so i'm trying to replicate it.
Page Index Toggle Pages: 1