profileImpl GL4bc가 매핑되지 않았습니다.

profileImpl GL4bc가 매핑되지 않았습니다.

운영 체제: 리눅스 민트:

uname -a
Linux akshay-mint-desktop 4.13.0-37-generic #42~16.04.1-Ubuntu SMP Wed Mar 7 16:03:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

여러분, 안녕하세요,

임베디드 크롬 브라우저를 실행하기 위해 java-cef를 컴파일하고 설치했습니다. 불행하게도 응용프로그램을 실행하면 다음과 같은 오류가 발생합니다.

오류 기록:

javax.media.opengl.GLException: X11GLXDrawableFactory - Could not initialize shared resources for :0
    at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:317)
    at jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:295)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:625)
    at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:539)
    at jogamp.opengl.x11.glx.X11GLXDrawableFactory$SharedResourceImplementation.createSharedResource(X11GLXDrawableFactory.java:293)
    ... 2 more
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$154(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:748)
**Caused by: java.lang.InternalError: XXX0 profile[1]: GL3bc -> profileImpl GL4bc !!! not mapped** 
    at javax.media.opengl.GLProfile.computeProfileMap(GLProfile.java:2021)
    at javax.media.opengl.GLProfile.initProfilesForDeviceCritical(GLProfile.java:1889)
    at javax.media.opengl.GLProfile.initProfilesForDevice(GLProfile.java:1838)
    at javax.media.opengl.GLProfile.initProfilesForDefaultDevices(GLProfile.java:1807)
    at javax.media.opengl.GLProfile.access$000(GLProfile.java:77)
    at javax.media.opengl.GLProfile$1.run(GLProfile.java:201)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.media.opengl.GLProfile.initSingleton(GLProfile.java:187)
    at javax.media.opengl.GLProfile.getProfileMap(GLProfile.java:2246)
    at javax.media.opengl.GLProfile.get(GLProfile.java:992)
    at javax.media.opengl.GLProfile.get(GLProfile.java:1021)
    at javax.media.opengl.GLProfile.getMaxFixedFunc(GLProfile.java:774)
    at org.cef.browser.CefBrowserOsr.createGLCanvas(CefBrowserOsr.java:124)
    at org.cef.browser.CefBrowserOsr.<init>(CefBrowserOsr.java:71)
    at org.cef.browser.CefBrowserOsr.<init>(CefBrowserOsr.java:58)
    at org.cef.browser.CefBrowserFactory.create(CefBrowserFactory.java:16)
    at org.cef.CefClient.createBrowser(CefClient.java:144)
    at org.cef.CefClient.createBrowser(CefClient.java:137)
    at sample.Main.start(Main.java:36)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$161(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$174(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
    at com.sun.glass.ui.gtk.GtkApplication.lambda$null$48(GtkApplication.java:139)
    ... 1 more

무슨 문제가 있습니까? 감사해요.

답변1

jogl과 함께 사용해야 합니다. OpenGL의 일부 GPU 업데이트를 반영하려면 코드를 업데이트해야 하는데 AMD Polaris GPU의 영향을 받은 것 같습니다. 다음 버전에서 수정되었지만 ETA는 없는 것 같습니다.

자세한 내용은 여기(https://jogamp.org/bugzilla/show_bug.cgi?id=1357) 및 패치. Java에 익숙하지 않아서 적용할 수 없습니다.

관련 정보