Posted by
DeCiBelZerg on
Apr 12, 2023; 9:46pm
URL: https://forum.jogamp.org/Unable-to-determine-GraphicsConfiguration-tp4042444.html
I've done a lot of googling and I've seen this has been posted a ton, but following each thread and trying each workaround/fix that's been listed hasn't really worked for me.
This is my first post and I'm not sure if I'm breaking any community guidelines by posting this, so please bear with me.
Right now I'm trying to run an old program that *was* working, but upon revisiting it has somehow magically decided not to work anymore.
My
system is:
Processor: Intel i7-8700 3.20GHz
RAM: 32.0GB
Edition: Windows 10 Home (V. 22H2)
Graphics Card: NVIDIA GeForce GTX 1060 3GB
My
PATH is:
C:\Program Files\Zulu\zulu-11\bin\
C:\Program Files\Zulu\zulu-18\bin\
C:\Program Files (x86)\Razer Chroma SDK\bin
C:\Program Files\Razer Chroma SDK\bin
C:\Program Files (x86)\Razer\ChromaBroadcast\bin
C:\Program Files\Razer\ChromaBroadcast\bin
C:\Program Files\Common Files\Oracle\Java\javapath
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0\
C:\Windows\System32\OpenSSH\
C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common
D:\Git\cmd
My
IDE is:
VS Code (using RedHat for Java)
Java Version: C:\Program Files\Zulu\zulu-18
launch.json:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit:
https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Code",
"request": "launch",
"mainClass": "a2.Code",
"projectName": "Assignment 2_a05f56dc"
},
{
"type": "java",
"name": "Code",
"request": "launch",
"mainClass": "a2.Code",
"projectName": "Assignment 2_4d0a9515"
},
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "Code",
"request": "launch",
"mainClass": "a2.Code",
"projectName": "Assignment 2_5fced8d",
"args": "-Dsun.java2d.d3d=false -Dsun.java2d.uiScale=1"
}
]
}
My
File structure is:
...hard to type out, so let me get back to you on this.
My
Error is:
Exception in thread "main" com.jogamp.opengl.GLException: Unable to determine GraphicsConfiguration: WindowsWGLGraphicsConfiguration[DefaultGraphicsScreen[WindowsGraphicsDevice[type .windows, connection decon, unitID 0, handle 0x0, owner false, NullToolkitLock[obj 0x7acd9cd4]], idx 0], pfdID 9, ARB-Choosen true,
requested GLCaps[rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms 16/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]],
chosen GLCaps[wgl vid 9 arb: rgba 8/8/8/0, opaque, accum-rgba 16/16/16/16, dp/st/ms 24/0/0, dbl, mono , hw, GLProfile[GL4bc/GL4bc.hw], on-scr[.]]]
at jogamp.opengl.windows.wgl.awt.WindowsAWTWGLGraphicsConfigurationFactory.chooseGraphicsConfigurationImpl(WindowsAWTWGLGraphicsConfigurationFactory.java:182)
at com.jogamp.nativewindow.GraphicsConfigurationFactory.chooseGraphicsConfiguration(GraphicsConfigurationFactory.java:424)
at com.jogamp.opengl.awt.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:1513)
at com.jogamp.opengl.awt.GLCanvas.addNotify(GLCanvas.java:609)
at java.desktop/java.awt.Container.addNotify(Container.java:2804)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4846)
at java.desktop/java.awt.Container.addNotify(Container.java:2804)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4846)
at java.desktop/java.awt.Container.addNotify(Container.java:2804)
at java.desktop/javax.swing.JComponent.addNotify(JComponent.java:4846)
at java.desktop/javax.swing.JRootPane.addNotify(JRootPane.java:721)
at java.desktop/java.awt.Container.addNotify(Container.java:2804)
at java.desktop/java.awt.Window.addNotify(Window.java:791)
at java.desktop/java.awt.Frame.addNotify(Frame.java:495)
at java.desktop/java.awt.Window.show(Window.java:1053)
at java.desktop/java.awt.Component.show(Component.java:1729)
at java.desktop/java.awt.Component.setVisible(Component.java:1676)
at java.desktop/java.awt.Window.setVisible(Window.java:1036)
at a2.Code.<init>(Code.java:144)
at a2.Code.main(Code.java:1008)