Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worldwind 2.2.0 XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped #231

Open
FJBDev opened this issue Aug 25, 2021 · 0 comments
Open

Comments

@FJBDev
Copy link

FJBDev commented Aug 25, 2021

Description

I get this error when I try to launch Worldwind 2.2.0 on Debian 11

java -jar worldwindx.jar 
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at gov.nasa.worldwindx.examples.ApplicationTemplate.start(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate.main(Unknown Source)
Caused by: java.lang.InternalError: XXX0 profile[2]: GL2 -> profileImpl GL3bc !!! not mapped 
	at com.jogamp.opengl.GLProfile.computeProfileMap(GLProfile.java:2098)
	at com.jogamp.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1976)
	at com.jogamp.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1895)
	at com.jogamp.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1861)
	at com.jogamp.opengl.GLProfile.access$000(GLProfile.java:80)
	at com.jogamp.opengl.GLProfile$1.run(GLProfile.java:239)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at com.jogamp.opengl.GLProfile.initSingleton(GLProfile.java:225)
	at com.jogamp.opengl.GLProfile.getProfileMap(GLProfile.java:2324)
	at com.jogamp.opengl.GLProfile.get(GLProfile.java:1042)
	at com.jogamp.opengl.GLProfile.get(GLProfile.java:1071)
	at com.jogamp.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:824)
	at gov.nasa.worldwind.Configuration.getMaxCompatibleGLProfile(Unknown Source)
	at gov.nasa.worldwind.Configuration.getRequiredGLCapabilities(Unknown Source)
	at gov.nasa.worldwind.awt.WorldWindowGLCanvas.<init>(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppPanel.createWorldWindow(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppPanel.<init>(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.createAppPanel(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.initialize(Unknown Source)
	at gov.nasa.worldwindx.examples.ApplicationTemplate$AppFrame.<init>(Unknown Source)
	... 6 more

Steps to Reproduce

  1. Download Worldwind 2.2.0
  2. [Open a terminal and type java -jar worldwindx.jar

Expected behavior: Launch Worldwind

Actual behavior: Crash

Reproduces how often: Every time

Operating System and Version

Debian 11

Additional Information

It works fine with Worldwind 2.1.0

After hours of investigation, it seems to be an issue with the JOGL and MESA libraries when using an ATI card (see here and here)

I've tried to replace with the latest jogl jar files with no success

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant