Posted by
gst0098 on
Oct 06, 2017; 12:04pm
URL: https://forum.jogamp.org/Error-mapping-GL4bc-tp4038221p4038233.html
gouessej wrote
Hi
You have to use a profile supported by your graphics card and your driver. All drivers don't support all profiles. The graphics card AMD Radeon RX580 should support OpenGL 4.5, the forward compatible profile should work but I've never tested it with the backward compatible profile. Which driver do you use? Please be a lot more accurate. Do you use Mesa?
Telling that other OpenGL softwares work doesn't mean that JOGL is to blame.
Sorry if a made that impression, I'm not here to blame JOGL at the contrary, I appreciate it much, I'm only giving informations to describe my environment and that puntualization was due solely to prove that the driver is working.
BTW I'm using the open source driver (amdgpu) that comes with my distro (arch linux). It uses mesa, querying with glxinfo I get:
Extended renderer info (GLX_MESA_query_renderer):
Vendor: X.Org (0x1002)
Device: AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.18.0 / 4.13.3-1-ARCH, LLVM 5.0.0) (0x67df)
Version: 17.2.1
Accelerated: yes
Video memory: 8143MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.1
OpenGL vendor string: X.Org
OpenGL renderer string: AMD Radeon (TM) RX 480 Graphics (AMD POLARIS10 / DRM 3.18.0 / 4.13.3-1-ARCH, LLVM 5.0.0)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.2.1
OpenGL core profile shading language version string: 4.50
As you stated in your reply the card I have is 4.5 compliant.
I can change the profile if this could help, how can I accomplish this ? Is there a tutorial on how to do it ?
Thanks,
Giuseppe