Hi all,
I hope this is the correct place to ask about this bug.
If it's not does anybody knows where to post this (bugparade ?) ?

Ok,
I used j3d without problems with this configuration

jdk 1.3.1_02
j3d 1.2.1_01-fcs
kernel 2.2.17 / debian 2.2r0 / libc-2.2.3
xfree 4.1.0
NVIDIA_kernel/GLX 1541
Geforce 2 MX

Now I tryed to install j3d 1.3beta1 with jdk 1.4 (1.4.0-b92)
In the readme says it's require NVIDIA driver > 2313 so i tryed 2314
first, 2880 then.

This is the final part the ouput of

java -verbose:jni -cp . HelloUniverse

[Dynamic-linking native method
javax.media.j3d.NativeConfigTemplate3D.isSceneAntialiasingAvailable ... JNI]
[Dynamic-linking native method javax.media.j3d.Canvas3D.useSharedCtx ...
JNI]
[Dynamic-linking native method java.lang.StrictMath.tan ... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.initIDs
... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.lock
... JNI]
[Dynamic-linking native method
sun.awt.motif.MDrawingSurfaceInfo.getDrawable ... JNI]
[Dynamic-linking native method
sun.awt.motif.MDrawingSurfaceInfo.getVisualID ... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.unlock
... JNI]
Segmentation fault

Before the error a window appear for half a second.
Using

java -Dj3d.sharedctx=false -verbose:jni -cp . HelloUniverse

i get the same thing.

I checked NVIDIA readme several times and all seems ok. I think I have
no other ogl libs around (like mesa) and symlinks looks ok.
I checked with this

bash-2.03# ldconfig -p | grep -i gl
        libvgagl.so.1 (libc6) => /usr/lib/libvgagl.so.1
        libglib.so (libc6) => /usr/lib/libglib.so
        libglib-1.2.so.0 (libc6) => /usr/lib/libglib-1.2.so.0
        libGLcore.so.1 (ELF) => /usr/lib/libGLcore.so.1
        libGL.so.1 (libc6) => /usr/lib/libGL.so.1
        libGL.so (libc6) => /usr/lib/libGL.so

In my XF86Config-4 I have

Section "Device"
      Identifier  "NV AGP"
      VendorName  "nvidia"
      Driver   "nvidia"
      # update this with the PCI id of your card.  Consult the output
      # of the 'lspci' command.
      BusID       "PCI:1:0:0"
EndSection

Section "Module"
      Load        "dbe"
      # Load the glx module.
      Load  "glx"
      Load        "extmod"
      Load  "type1"
      Load  "freetype"
EndSection

I have NOT GLcore and dri beacuse NVIDIA readme explicitly says to
remove them. Anyway I tryed to add those and nothing changed.

I checked

http://www.iol.ie/~goldens/david/x3d/linux/x3d-linux-tips.html

with no success.
In some post on this list I have see working config using XFree 4.2.
I'll try that too, but I don't think that will solve much.


If this could be useful if I run j3d 1.2 demo with jdk 1.3 I get

[Dynamic-linking native method
javax.media.j3d.NativeConfigTemplate3D.chooseOglVisual ... JNI]
[Dynamic-linking native method
javax.media.j3d.J3dGraphicsConfig.isValidVisualID ... JNI]
[Dynamic-linking native method
javax.media.j3d.Screen3D.getDisplayParameters ... JNI]
[Dynamic-linking native method
javax.media.j3d.NativeConfigTemplate3D.isDoubleBufferAvailable ... JNI]
[Dynamic-linking native method
javax.media.j3d.NativeConfigTemplate3D.isStereoAvailable ... JNI]
[Dynamic-linking native method
javax.media.j3d.NativeConfigTemplate3D.isSceneAntialiasingAvailable ... JNI]
[Dynamic-linking native method javax.media.j3d.Canvas3D.useSharedCtx ...
JNI]
[Dynamic-linking native method java.lang.StrictMath.tan ... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.initIDs
... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.lock
... JNI]
[Dynamic-linking native method
sun.awt.motif.MDrawingSurfaceInfo.getDrawable ... JNI]
[Dynamic-linking native method
sun.awt.motif.MDrawingSurfaceInfo.getVisualID ... JNI]
[Dynamic-linking native method sun.awt.motif.MDrawingSurfaceInfo.unlock
... JNI]
Segmentation fault

(that is different from 1.4+1.3 output)

Any idea ?

Thanks

Bye

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to