Skip to main content

Exception (OpenGL) when running effects JNLP

2 replies [Last post]
Anonymous

Hi

I'm not sure if I should report this to the update-N team or here. I
tried running the new Effects Framework Webstart app (the version that
tries to use OGL or D3D) on:
Java 6 Update N build 11
Firefox 3 beta 2
Ati Radeon Mobility x700

The following exception shows in the console, though the application
does go through the demo (apparently using the CPU rendering,
according to the text in the lower left).

If you want me to file this as bug to one or the other project, let me
know, thanks.
Patrick

Java Web Start 1.6.0_10-ea
Using JRE version 1.6.0_10-ea Java HotSpot(TM) Client VM
User home directory = /home/patrick
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to
----------------------------------------------------
Error instantiating com.sun.scenario.effect.impl.hw.ogl.OGLRenderer:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.scenario.effect.impl.hw.HWEffectPeer.findHwRenderer(HWEffectPeer.java:116)
at com.sun.scenario.effect.impl.hw.HWEffectPeer.(HWEffectPeer.java:45)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.sun.scenario.effect.impl.EffectPeer.isHWEffectPeerAvailable(EffectPeer.java:293)
at com.sun.scenario.effect.impl.EffectPeer.getInstance(EffectPeer.java:219)
at com.sun.scenario.effect.AbstractGaussian.updatePeer(AbstractGaussian.java:118)
at com.sun.scenario.effect.AbstractGaussian.setRadius(AbstractGaussian.java:87)
at com.sun.scenario.effect.AbstractGaussian.(AbstractGaussian.java:55)
at com.sun.scenario.effect.Shadow.(Shadow.java:98)
at com.sun.scenario.effect.Shadow.(Shadow.java:85)
at com.sun.scenario.effect.Shadow.(Shadow.java:68)
at com.sun.scenario.effect.PhongLighting.(PhongLighting.java:59)
at demo.effect.intro.Intro.(Intro.java:114)
at demo.effect.intro.Intro$16.run(Intro.java:604)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:284)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.UnsatisfiedLinkError: no gluegen-rt in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1709)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1030)
at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:91)
at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:50)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:67)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.(X11GLDrawableFactory.java:99)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at com.sun.opengl.impl.GLDrawableFactoryImpl.getFactoryImpl(GLDrawableFactoryImpl.java:76)
at com.sun.opengl.impl.Java2D.invokeWithOGLSharedContextCurrent(Java2D.java:314)
at com.sun.opengl.impl.Java2D.initFBOShareContext(Java2D.java:557)
at com.sun.opengl.impl.Java2D.getShareContext(Java2D.java:451)
at com.sun.scenario.effect.impl.hw.ogl.OGLRenderer.(OGLRenderer.java:54)
... 27 more

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
For additional commands, e-mail: dev-help@scenegraph.dev.java.net

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Patrick Wright

I just tried updating to the very latest ATI drivers (from
mid-January). A little nerve-wracking (this is Ubuntu Gutsy, was a
nightmare trying to get stable drivers on this machine). Exception has
disappeared with the latest drivers--exception was appearing with this
version:

>fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X700
OpenGL version string: 2.0.6473 (8.37.6)

and has disappeared on this version
>fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON X700
OpenGL version string: 2.1.7276 Release

Which is good news. Apparently I don't get OGL acceleration--at least,
the demo notes "using CPU backend", but there are no errors or
messages on the console. Unfortunately, with this new driver, neither
JDK 6 _04 or update N allow me to use the OpenGL drivers anymore
(using the sun.java2d.opengl=True) when testing the Java2D demos...may
be some ATI config nonsense, it was working with the previous version.
I do appear to have acceleration in general tho, as glxgears is giving
me 4000+ fps (previous driver was 3000+).

Anyway, that's the news. I assume this is not related to scenegraph or
effects, but wanted to update in case someone else sees the same
exception being thrown.
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
For additional commands, e-mail: dev-help@scenegraph.dev.java.net

Hans Muller

Thanks for the detailed reports. We'll check out why HW acceleration
was disabled after you updated to the latest drivers later this week.

- Hans

Patrick Wright wrote:
> I just tried updating to the very latest ATI drivers (from
> mid-January). A little nerve-wracking (this is Ubuntu Gutsy, was a
> nightmare trying to get stable drivers on this machine). Exception has
> disappeared with the latest drivers--exception was appearing with this
> version:
>
>
>> fglrxinfo
>>
> display: :0.0 screen: 0
> OpenGL vendor string: ATI Technologies Inc.
> OpenGL renderer string: ATI MOBILITY RADEON X700
> OpenGL version string: 2.0.6473 (8.37.6)
>
> and has disappeared on this version
>
>> fglrxinfo
>>
> display: :0.0 screen: 0
> OpenGL vendor string: ATI Technologies Inc.
> OpenGL renderer string: ATI MOBILITY RADEON X700
> OpenGL version string: 2.1.7276 Release
>
> Which is good news. Apparently I don't get OGL acceleration--at least,
> the demo notes "using CPU backend", but there are no errors or
> messages on the console. Unfortunately, with this new driver, neither
> JDK 6 _04 or update N allow me to use the OpenGL drivers anymore
> (using the sun.java2d.opengl=True) when testing the Java2D demos...may
> be some ATI config nonsense, it was working with the previous version.
> I do appear to have acceleration in general tho, as glxgears is giving
> me 4000+ fps (previous driver was 3000+).
>
> Anyway, that's the news. I assume this is not related to scenegraph or
> effects, but wanted to update in case someone else sees the same
> exception being thrown.
> Patrick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
> For additional commands, e-mail: dev-help@scenegraph.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@scenegraph.dev.java.net
For additional commands, e-mail: dev-help@scenegraph.dev.java.net