Initializing JOGL on a laptop with switchable graphics
When trying to initialize JOGL on my laptop with two graphics devices (internal is Intel HD Graphics 520, secondary is AMD Radeon R7 M360), I get an exception saying there is a problem with shared resources. I setup my application to use the radeon gpu via the radeon settings which seems to run fine. I couldn't detect any issues when running the application this way though.
Re: Initializing JOGL on a laptop with switchable graphics
I'm not sure that this problem is caused by the presence of two GPUs.
Just as a reminder, what you do is fine, most softwares using OpenGL are unable to handle a change of GPU at runtime, disabling Optimus or similar technologies by choosing which GPU to use is the way to go.