Login  Register

Re: [Ardor3d][JogAmp] Performance issue under Ubuntu

Posted by gouessej on May 19, 2016; 9:25am
URL: https://forum.jogamp.org/Ardor3d-JogAmp-Performance-issue-under-Ubuntu-tp4036694p4036728.html

Hi

Stefan wrote
good to know that Optimus is not supported. So, JOGL-based applications always run on the main GPU? Who decides this? The hardware, the driver, or the application?
It's not the software as it can't use NV GPU affinity. You can force the use of a particular GPU for a particular software or for all softwares in the GUI installed on machines support Optimus under Windows. I think that it's the operating system that decides which GPU to use depending on the power consumption and other criteria.

Stefan wrote
Regarding the redraw mechanism in Ardro3d: Is there any support to recognize when the scene got changed? You mentioned event listeners. I also recognized this interface but I have never used it. Is there a nice example around?
I was talking about SWT event listeners. You can use this method to know whether something is "dirty":
http://jogamp.org/deployment/ardor3d/javadoc/com/ardor3d/scenegraph/Spatial.html#isDirty-com.ardor3d.scenegraph.event.DirtyType-
Julien Gouesse | Personal blog | Website