Bug 262 - DRIHack problems with ATI and possibly other drivers
Summary: DRIHack problems with ATI and possibly other drivers
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
Depends on:
Reported: 2007-01-20 05:23 CET by Sven Gothel
Modified: 2010-03-24 07:49 CET (History)
0 users

See Also:
SCM Refs:
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
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