Bug 262

Summary: DRIHack problems with ATI and possibly other drivers
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:49:52 CET


---- Reported by kbr 2007-01-20 17:23:55 ----

Dave Collins from the WW collaborative research project reported that JOGL is
not picking up ATI's hardware-accelerated drivers. Other users have reported
problems even with NVidia's drivers on recent Linux distributions: see
http://www.javagaming.org/forums/index.php?topic=15610.0 . Experimentation has
shown that attempting to dlopen() libGL.so via GlueGen's NativeLibrary class
ends up picking up Mesa's drivers, but dlopen()ing libGL.so.1 explicitly picks
up the correct drivers. Unclear exactly why this is, but changes need to be made
to support this usage mode in the NativeLibrary run-time class.



---- Additional Comments From kbr 2007-01-20 17:27:41 ----

Added support to GlueGen's NativeLibrary class for relative library
path names which do not require expansion; for example, "libGL.so.1".
Changed the DRIHack to first attempt to open libGL.so.1 instead of
"GL", which expanded to "libGL.so". For some reason, this causes ATI's
drivers to be picked up properly. Tested with various JOGL demos.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:49 EDT  ---

This bug was previously known as _bug_ 262 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=262