Bug 428

Summary: "No profile available" exception on 32-bit Windows XP system
Product: [JogAmp] Jogl Reporter: Wade Walker <wwalker3>
Component: windowsAssignee: Sven Gothel <sgothel>
Status: VERIFIED DUPLICATE    
Severity: critical CC: mazafaka1
Priority: P2    
Version: 2   
Hardware: pc_x86_32   
OS: windows   
Type: --- SCM Refs:
7262641429b542929efc699e392f410f1dee2187
Workaround: ---
Attachments: The log file output of etc\test.bat
Log file with debug switches turned on

Description Wade Walker 2010-11-13 16:27:32 CET
Created attachment 161 [details]
The log file output of etc\test.bat

When I unzip b211 on my old laptop and run the etc\test.bat, I get this exception:

Exception in thread "main" javax.media.opengl.GLException: No profile available: [GL2, GL3bc, GL4bc, GL2GL3, GL3, GL4, GL2ES2, GLES2, GL2ES1, GLES1], GLAvailability[Native[GL4bc false, GL4 false, GL3bc false, GL3 false, GL2 false, GL2ES1 false, GLES1 false, GL2ES2 false, GLES2 false], Profiles[, default null]]
	at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:111)
	at javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1096)
	at javax.media.opengl.GLProfile.getDefault(GLProfile.java:339)
	at com.jogamp.newt.opengl.GLWindow.main(GLWindow.java:849)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: Could not initialize class javax.media.opengl.GLDrawableFactory
	at javax.media.opengl.GLProfile$2.run(GLProfile.java:1080)
	at java.lang.Thread.run(Unknown Source)

This laptop runs JOGL 1.1.1a apps with no problem. Here are the OpenGL properties for the laptop that I pulled from one of those apps:

GL class: com.sun.opengl.impl.GLImpl
GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: MOBILITY RADEON X300 x86/SSE2
GL_VERSION: 2.0.5279 WinXP Release

I'll also attach the test.log from etc\test.bat to this bug.
Comment 1 Wade Walker 2010-11-13 19:41:38 CET
Created attachment 162 [details]
Log file with debug switches turned on

Forgot to turn on the debug switches the first time I did this log.
Comment 2 LedAlex 2010-11-18 15:02:53 CET
Same thing happens on ATI Redeon X300, ATI Redeon X1300 desktop cards with b211.

Caused by: javax.media.opengl.GLException: No profile available: [GL2, GL3bc, GL4bc, GL2GL3, GL3, GL4, GL2ES2, GLES2, GL2ES1, GLES1], GLAvailability[Native[GL4bc false, GL4 false, GL3bc false, GL3 false, GL2 false, GL2ES1 false, GLES1 false, GL2ES2 false, GLES2 false], Profiles[, default null]]
	at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:111)
	at javax.media.opengl.GLProfile.validateInitialization(GLProfile.java:1096)
	at javax.media.opengl.GLProfile.getDefault(GLProfile.java:339)
	at javax.media.opengl.awt.GLCanvas.<clinit>(GLCanvas.java:84)

I have also tried previous program version that uses "Sun JOGL 2.0 Beta 10". It works fine on these configurations.
Comment 3 Sven Gothel 2010-11-19 00:19:33 CET
http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing

please run it also with all debug flags enabled, since I don't have these cards / OS
combination.

thanks you
Comment 4 Sven Gothel 2010-11-19 04:14:58 CET
Thank you Wade, got it. Seems all to be related to #397.

*** This bug has been marked as a duplicate of bug 397 ***