Skip to main content

java3d-1_3_2-beta1 run j3d-examples/Text3D error

7 replies [Last post]
ozdemirdgn
Offline
Joined: 2004-05-12
Points: 0

compilation is ok but while running j3d-examples i got this error

************************************************************************
*** ERROR: Canvas3D constructed with a null GraphicsConfiguration
*** This will cause a NullPointerException in a subsequent release
************************************************************************
java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration
at javax.media.j3d.Canvas3D.(Unknown Source)
at javax.media.j3d.Canvas3D.(Unknown Source)
at Text3DLoad.init(Text3DLoad.java:228)
at com.sun.j3d.utils.applet.MainFrame.run(Unknown Source)
at java.lang.Thread.run(Thread.java:534)

(red hat enterprise WS 3)

Reply viewing options

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

You have problem right here.
NVidia doesnot use DRI !!

And glxgears, with properly HW drivers, runs at 1000-2000 fps, not 300-400.

Edit your /etc/X11/XF86Config-4 file (backup-it first !)
and follow the step below (from NVidia linux Readme):
ftp://download.nvidia.com/XFree86/Linux-x86/1.0-6629/README.txt

"
go to Device section and replace the line:
Driver "nv"
(or Driver "vesa")

with
Driver "nvidia"

In the Module section, make SURE you HAVE:

Load "glx"

You should also REMOVE the following lines:

Load "dri"
Load "GLcore"
"

If install is OK, you will see a screen size NVidia logo at start-up.

Alessandro

--- java3d-interest@javadesktop.org escreveu:
> glxgears ok. it runs and gave
> Xlib: extension "XFree86-DRI" missing on display ":0.0".
> 263 frames in 5.0 seconds = 52.600 FPS
> 320 frames in 6.0 seconds = 53.333 FPS
> 240 frames in 5.0 seconds = 48.000 FPS
> 160 frames in 5.0 seconds = 32.000 FPS
> 80 frames in 5.0 seconds = 16.000 FPS
> 80 frames in 5.0 seconds = 16.000 FPS
> 160 frames in 7.0 seconds = 22.857 FPS
> 160 frames in 5.0 seconds = 32.000 FPS
> 160 frames in 6.0 seconds = 26.667 FPS
> 560 frames in 5.0 seconds = 112.000 FPS
> 400 frames in 5.0 seconds = 80.000 FPS
> 320 frames in 5.0 seconds = 64.000 FPS
> ..............
>
>
> glxinfo gave the nvidia driver version that i installed.That is, it is ok.
> ---
> [Message sent by forum member 'ozdemirdgn' (Ozdemir Dogan)]
>
> http://www.javadesktop.org/forums/thread.jspa?messageID=42524ꘜ
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: interest-unsubscribe@java3d.dev.java.net
> For additional commands, e-mail: interest-help@java3d.dev.java.net
>
>

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/

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

ozdemirdgn
Offline
Joined: 2004-05-12
Points: 0

ok i uninstalled XFree86-Mesa-libGL-4.3.0-69.EL.i386.rpm package and now java3d runs.
thank you.

ozdemirdgn
Offline
Joined: 2004-05-12
Points: 0

glxgears ok. it runs and gave
Xlib: extension "XFree86-DRI" missing on display ":0.0".
263 frames in 5.0 seconds = 52.600 FPS
320 frames in 6.0 seconds = 53.333 FPS
240 frames in 5.0 seconds = 48.000 FPS
160 frames in 5.0 seconds = 32.000 FPS
80 frames in 5.0 seconds = 16.000 FPS
80 frames in 5.0 seconds = 16.000 FPS
160 frames in 7.0 seconds = 22.857 FPS
160 frames in 5.0 seconds = 32.000 FPS
160 frames in 6.0 seconds = 26.667 FPS
560 frames in 5.0 seconds = 112.000 FPS
400 frames in 5.0 seconds = 80.000 FPS
320 frames in 5.0 seconds = 64.000 FPS
..............

glxinfo gave the nvidia driver version that i installed.That is, it is ok.

Gilson Laurent

Hello

> glxgears ok. it runs and gave
> Xlib: extension "XFree86-DRI" missing on display ":0.0".
> 263 frames in 5.0 seconds = 52.600 FPS
> 320 frames in 6.0 seconds = 53.333 FPS

No, that's not OK. "Good" output looks like this:

5449 frames in 5.0 seconds = 1089.800 FPS
5449 frames in 5.0 seconds = 1089.800 FPS

Notice the difference in FPS ? That's on server with a radeon 7500 while
running SetiAtHome. You should get much more.

> glxinfo gave the nvidia driver version that i installed.

post that output here too.

(Your Y-Server-Config is broken. Your (Mesa) are using a openGL-emu-software.)

cu
[att1.dat]

ozdemirdgn
Offline
Joined: 2004-05-12
Points: 0

Blackdown-1.4.2-01

kcr
Offline
Joined: 2004-03-17
Points: 0

This indicates that no valid GraphicsConfiguration (a Visual on X11-based systems such as Linux) can be found supporting the requested set of features. This is most likely an installation problem. Can you run OpenGL programs? Have you verified correct installation of the OpenGL driver from the graphics vendor for your paticular graphics accelerator?

-- Kevin

Alessandro Borges

To check your OpenGL driver install on Linux type at console :

glxgears

This is a small 3D application, with FPS counting. HW accelerated system gets +1000 FPS .

glxinfo

This will print your OpenGL driver info. Check driver name. Your driver name and version will be there, instead of Mesa.

Alessandro

java3d-interest@javadesktop.org wrote:
This indicates that no valid GraphicsConfiguration (a Visual on X11-based systems such as Linux) can be found supporting the requested set of features. This is most likely an installation problem. Can you run OpenGL programs? Have you verified correct installation of the OpenGL driver from the graphics vendor for your paticular graphics accelerator?

-- Kevin
---
[Message sent by forum member 'kcr' (Kevin Rushforth)]

http://www.javadesktop.org/forums/thread.jspa?messageID=42274#42274;

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

__________________________________________________
Converse com seus amigos em tempo real com o Yahoo! Messenger
http://br.download.yahoo.com/messenger/
[att1.html]