We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOpenGL and 3D Libraries › Cannot run OPENGL example on Linux
Poll Poll
Question: Cannot run OPENGL example on Linux



« Created by: duckrabbit on: Feb 16th, 2010, 7:13am »

Page Index Toggle Pages: 1
Cannot run OPENGL example on Linux (Read 2287 times)
Cannot run OPENGL example on Linux
Feb 16th, 2010, 7:13am
 
Hi,
I am a  Fedora 7 linux user. I cannot run the Processing OpenGL example. Whenever I run the example, Processing just shuts down.

Can anyone solve my problem?

thank you.
Re: Cannot run OPENGL example on Linux
Reply #1 - Feb 16th, 2010, 9:07am
 
Hi,

this code works on Ubuntu:

Code:

import processing.opengl.*;

void setup() {
 size(100, 100, OPENGL);
 background(153);
}

void draw() {
 line(0, 0, 0, width, height, -200);
}


If that doesn't work on Fedora, you could start Processing from the command line and see if that gives you an error message.
Re: Cannot run OPENGL example on Linux
Reply #2 - Feb 17th, 2010, 6:31am
 
Dear alvaro

When I run your code, a screen appears. But within a second, it disappears.

My video card is :Intel 82946GZ/GL Integrated Graphics Contoller

Can the problem be related to :

http://dev.processing.org/bugs/show_bug.cgi?id=908

Thank you.
Re: Cannot run OPENGL example on Linux
Reply #3 - Feb 17th, 2010, 10:46am
 
Hi

difficult to say without an error report. If you export your sketch to application, then open a console, cd to sketchbook/sketch_feb17a/application.linux and then execute the sketch ./sketch_feb17a then you might get lucky and see an error.
Re: Cannot run OPENGL example on Linux
Reply #4 - Feb 18th, 2010, 5:15am
 
Dear alvaro

After exporting to an application, I run it.
The error is : Segmentation fault.

[apple@localhost application.linux]$ ./opengl_sketch_feb17a
./opengl_sketch_feb17a: line 4:  4512 Segmentation fault      java -Djava.library.path="$APPDIR" -cp "$APPDIR/lib/opengl_sketch_feb17a.jar:$APPDIR/lib/core.jar:$APPDIR/lib/opengl.ja
r:$APPDIR/lib/jogl.jar:$APPDIR/lib/gluegen-rt.jar" opengl_sketch_feb17a

[apple@localhost application.linux]$ java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

But I can run other examples except opengl.

thank you.
Re: Cannot run OPENGL example on Linux
Reply #5 - Feb 18th, 2010, 8:22am
 
Hi

just a shot in the dark but I've had problems with the jogl library before.

The thing is, a jogl problem would throw an UnsatisfiedLinkError rather than a Segmentation Fault. This looks more like a graphic card driver problem.

Just to make sure, you could try this jogl demo:

http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/Gears.jnlp

(this is a java webstart file, if java web start is installed, you can just double-click it)

If the demo crashes just the same, it's a Fedora problem.
Re: Cannot run OPENGL example on Linux
Reply #6 - Feb 18th, 2010, 10:06am
 
do the usual opengl samples work, the ones that ship with linux? glxgears for instance. i'm not entirely convinced you're set up for opengl or that your card can handle it (googling opengl and your card doesn't find much)

what does the glxinfo command say?

are you running a 3d desktop like compiz? i get awful screen corruption and errors galore running opengl sketches and compiz at the same time.

also, fedora 7 is about 5 versions behind the times... i'm using 12 (dual booting with ubuntu)(actually quad booting with ubuntu koala, mint 7 and vista)
Re: Cannot run OPENGL example on Linux
Reply #7 - Feb 19th, 2010, 9:05am
 
Dear alvaro :

I have run your example on shell. It shows the following error and even generates a log file.

[apple@localhost processing-1.0.9]$ javaws Gears.jnlp
[apple@localhost processing-1.0.9]$ #
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x4203d4b7, pid=3968, tid=3027147664
#
# JRE version: 6.0_18-b07
# Java VM: Java HotSpot(TM) Client VM (16.0-b13 mixed mode, sharing linux-x86 )
# Problematic frame:
# C  [libc.so.6+0x704b7]  memset+0x37
#
# An error report file with more information is saved as:
# /home/apple/Desktop/processing-1.0.9/hs_err_pid3968.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

I use the javaws which bundled with the processing package. However, from the error message, the jdk executing javaws is not belong to the processing package.



Dear Koogy :

I am new to opengl. I don't konw how to set up to program opengl.


Dear ALL :

I hereby copy and paste the error log file as follows :

---------------  T H R E A D  ---------------

Current thread (0x09aff800):  JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3987, stack(0xb4699000,0xb46ea000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0xb45c9000

Registers:
EAX=0x00000000, EBX=0xb4179a08, ECX=0x00047dfb, EDX=0x00000000
ESP=0xb4592b68, EBP=0xb46e8808, ESI=0xb4592ba8, EDI=0xb45c9000
EIP=0x4203d4b7, CR2=0xb45c9000, EFLAGS=0x00210246

Top of Stack: (sp=0xb4592b68)
0xb4592b68:   09df8894 b3f7a5c3 b4592ba8 00000000
0xb4592b78:   00155c44 09df8894 09df89ec 00000000
0xb4592b88:   00000000 b46e87ec 00000000 0a4eac10
0xb4592b98:   09df7218 00000000 00000000 00000000
0xb4592ba8:   00000000 00000000 00000000 00000000
0xb4592bb8:   00000000 00000000 00000000 00000000
0xb4592bc8:   00000000 00000000 00000000 00000000
0xb4592bd8:   00000000 00000000 00000000 00000000

Instructions: (pc=0x4203d4b7)
0x4203d4a7:   aa 49 89 ca c1 e9 02 83 e2 03 69 c0 01 01 01 01
0x4203d4b7:   f3 ab 89 d1 f3 aa 8b 44 24 08 5f c3 90 90 90 90

Stack: [0xb4699000,0xb46ea000],  sp=0xb4592b68,  free space=fffffbe6b4592500k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x704b7]  memset+0x37
C  [i965_dri.so+0x460b3]
C  [i965_dri.so+0x2e427]
C  [i965_dri.so+0x2e8be]
C  [i965_dri.so+0x2ed7c]
C  [i965_dri.so+0x3b2b2]
C  [i965_dri.so+0x1438a]
C  [i965_dri.so+0x191cdc]
C  [libjogl.so+0x4eb77]  Java_com_sun_opengl_impl_GLImpl_glClear__I+0x1d
j  com.sun.opengl.impl.GLImpl.glClear(I)V+0
j  demos.gears.Gears.display(Ljavax/media/opengl/GLAutoDrawable;)V+60
j  com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;
)V+29
j  javax.media.opengl.GLCanvas$DisplayAction.run()V+80
j  com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Lja
vax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418
j  javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;
Ljava/lang/Runnable;)V+36
j  javax.media.opengl.GLCanvas.display()V+9
j  javax.media.opengl.GLCanvas.paint(Ljava/awt/Graphics;)V+125
j  sun.awt.RepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6
j  sun.awt.X11.XRepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)
V+23
j  sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+326
j  sun.awt.X11.XComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+224
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+853
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/aw
t/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava
/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub
V  [libjvm.so+0x2189e0]
V  [libjvm.so+0x33dee8]
V  [libjvm.so+0x2181e7]
V  [libjvm.so+0x21829a]
V  [libjvm.so+0x298cc5]
V  [libjvm.so+0x3e4e8e]
V  [libjvm.so+0x33f3de]
C  [libpthread.so.0+0x5322]

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.sun.opengl.impl.GLImpl.glClear(I)V+0
j  demos.gears.Gears.display(Ljavax/media/opengl/GLAutoDrawable;)V+60
j  com.sun.opengl.impl.GLDrawableHelper.display(Ljavax/media/opengl/GLAutoDrawable;
)V+29
j  javax.media.opengl.GLCanvas$DisplayAction.run()V+80
j  com.sun.opengl.impl.GLDrawableHelper.invokeGL(Ljavax/media/opengl/GLDrawable;Lja
vax/media/opengl/GLContext;Ljava/lang/Runnable;Ljava/lang/Runnable;)V+418
j  javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(Ljava/lang/Runnable;
Ljava/lang/Runnable;)V+36
j  javax.media.opengl.GLCanvas.display()V+9
j  javax.media.opengl.GLCanvas.paint(Ljava/awt/Graphics;)V+125
j  sun.awt.RepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)V+6
j  sun.awt.X11.XRepaintArea.paintComponent(Ljava/awt/Component;Ljava/awt/Graphics;)
V+23
j  sun.awt.RepaintArea.paint(Ljava/lang/Object;Z)V+326
j  sun.awt.X11.XComponentPeer.handleEvent(Ljava/awt/AWTEvent;)V+224
j  java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V+853
j  java.awt.Component.dispatchEvent(Ljava/awt/AWTEvent;)V+2
j  java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j  java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/aw
t/EventFilter;)V+30
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava
/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Condi
Re: Cannot run OPENGL example on Linux
Reply #8 - Feb 19th, 2010, 9:08am
 
cont'd

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
 0xb0454000 JavaThread "Thread-10" [_thread_blocked, id=3999, stack(0xb43e3000,0xb4434000)]
 0x09d17400 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=3989, stack(0xb4527000,0xb4578000)]
 0x09c67000 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=3988, stack(0xb4578000,0xb45c9000)]
=>0x09aff800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=3987, stack(0xb4699000,0xb46ea000)]
 0x09afe800 JavaThread "AWT-Shutdown" [_thread_blocked, id=3986, stack(0xb46ea000,0xb473b000)]
 0x09aee800 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=3985, stack(0xb473b000,0xb478c000)]
 0x09ada000 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=3984, stack(0xb478c000,0xb47dd000)]
 0x09ad8800 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=3983, stack(0xb47dd000,0xb482e000)]
 0x09ad6000 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3982, stack(0xb482e000,0xb487f000)]
 0xb4b26c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=3969, stack(0xb7629000,0xb767a000)]
 0xb4b22c00 JavaThread "Javaws Secure Thread" daemon [_thread_blocked, id=3980, stack(0xb48d0000,0xb4921000)]
 0xb4b21800 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=3979, stack(0xb4921000,0xb4972000)]
 0xb4b0c000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3978, stack(0xb4972000,0xb49c3000)]
 0x09a37400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3976, stack(0xb4efe000,0xb4f4f000)]
 0x09a34000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3975, stack(0xb4f4f000,0xb4fd0000)]
 0x09a32800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3974, stack(0xb4fd0000,0xb5021000)]
 0x09a2a400 JavaThread "Finalizer" daemon [_thread_blocked, id=3973, stack(0xb5303000,0xb5354000)]
 0x09a28c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=3972, stack(0xb5354000,0xb53a5000)]

Other Threads:
 0x09a27400 VMThread [stack: 0xb53a5000,0xb5426000] [id=3970]
 0x09a39400 WatcherThread [stack: 0xb4e7d000,0xb4efe000] [id=3977]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation   total 4928K, used 3511K [0x7f7d0000, 0x7fd20000, 0x84d20000)
 eden space 4416K,  67% used [0x7f7d0000, 0x7fabde20, 0x7fc20000)
 from space 512K, 100% used [0x7fc20000, 0x7fca0000, 0x7fca0000)
 to   space 512K,   0% used [0x7fca0000, 0x7fca0000, 0x7fd20000)
tenured generation   total 10944K, used 1202K [0x84d20000, 0x857d0000, 0x8f7d0000)
  the space 10944K,  10% used [0x84d20000, 0x84e4cb10, 0x84e4cc00, 0x857d0000)
compacting perm gen  total 12288K, used 5402K [0x8f7d0000, 0x903d0000, 0x937d0000)
  the space 12288K,  43% used [0x8f7d0000, 0x8fd16ba0, 0x8fd16c00, 0x903d0000)
   ro space 10240K,  61% used [0x937d0000, 0x93df3068, 0x93df3200, 0x941d0000)
   rw space 12288K,  60% used [0x941d0000, 0x949046d0, 0x94904800, 0x94dd0000)

Dynamic libraries:
08048000-08052000 r-xp 00000000 fd:00 32473110   /usr/local/jdk1.6.0_18/jre/bin/java
08052000-08053000 rwxp 00009000 fd:00 32473110   /usr/local/jdk1.6.0_18/jre/bin/java
099fe000-0a52f000 rwxp 099fe000 00:00 0
415fc000-41617000 r-xp 00000000 fd:00 47780289   /lib/ld-2.6.so
41617000-41618000 r-xp 0001a000 fd:00 47780289   /lib/ld-2.6.so
41618000-41619000 rwxp 0001b000 fd:00 47780289   /lib/ld-2.6.so
4161b000-41622000 r-xp 00000000 fd:00 47780299   /lib/i686/nosegneg/librt-2.6.so
41622000-41623000 r-xp 00006000 fd:00 47780299   /lib/i686/nosegneg/librt-2.6.so
41623000-41624000 rwxp 00007000 fd:00 47780299   /lib/i686/nosegneg/librt-2.6.so
41626000-4163c000 r-xp 00000000 fd:00 47780310   /lib/libselinux.so.1
4163c000-4163e000 rwxp 00015000 fd:00 47780310   /lib/libselinux.so.1
41640000-4167b000 r-xp 00000000 fd:00 47780309   /lib/libsepol.so.1
4167b000-4167c000 rwxp 0003b000 fd:00 47780309   /lib/libsepol.so.1
4167c000-41686000 rwxp 4167c000 00:00 0
41688000-4169d000 r-xp 00000000 fd:00 47780303   /lib/libnsl-2.6.so
4169d000-4169e000 r-xp 00014000 fd:00 47780303   /lib/libnsl-2.6.so
4169e000-4169f000 rwxp 00015000 fd:00 47780303   /lib/libnsl-2.6.so
4169f000-416a1000 rwxp 4169f000 00:00 0
416a3000-416a5000 r-xp 00000000 fd:00 47780301   /lib/libcap.so.1.10
416a5000-416a6000 rwxp 00002000 fd:00 47780301   /lib/libcap.so.1.10
416b2000-416c2000 r-xp 00000000 fd:00 47780305   /lib/libresolv-2.6.so
416c2000-416c3000 r-xp 0000f000 fd:00 47780305   /lib/libresolv-2.6.so
416c3000-416c4000 rwxp 00010000 fd:00 47780305   /lib/libresolv-2.6.so
416c4000-416c6000 rwxp 416c4000 00:00 0
416c8000-41702000 r-xp 00000000 fd:00 47780302   /lib/libdbus-1.so.3.2.0
41702000-41703000 rwxp 00039000 fd:00 47780302   /lib/libdbus-1.so.3.2.0
41705000-41709000 r-xp 00000000 fd:00 47780300   /lib/libgthread-2.0.so.0.1200.11
41709000-4170a000 rwxp 00003000 fd:00 47780300   /lib/libgthread-2.0.so.0.1200.11
4170c000-4170e000 r-xp 00000000 fd:00 47780306   /lib/libcom_err.so.2.1
4170e000-4170f000 rwxp 00001000 fd:00 47780306   /lib/libcom_err.so.2.1
41711000-4182d000 r-xp 00000000 fd:00 47780307   /lib/libcrypto.so.0.9.8b
4182d000-4183f000 rwxp 0011c000 fd:00 47780307   /lib/libcrypto.so.0.9.8b
4183f000-41843000 rwxp 4183f000 00:00 0
41845000-4184c000 r-xp 00000000 fd:00 30993521   /usr/lib/libkrb5support.so.0.1
4184c000-4184d000 rwxp 00006000 fd:00 30993521   /usr/lib/libkrb5support.so.0.1
4184f000-418de000 r-xp 00000000 fd:00 30993523   /usr/lib/libkrb5.so.3.3
418de000-418e0000 rwxp 0008f000 fd:00 30993523   /usr/lib/libkrb5.so.3.3
418e2000-41907000 r-xp 00000000 fd:00 30993522   /usr/lib/libk5crypto.so.3.1
41907000-41908000 rwxp 00025000 fd:00 30993522   /usr/lib/libk5crypto.so.3.1
4190a000-4194b000 r-xp 00000000 fd:00 47780308   /lib/libssl.so.0.9.8b
4194b000-4194f000 rwxp 00040000 fd:00 47780308   /lib/libssl.so.0.9.8b
41951000-41953000 r-xp 00000000 fd:00 47780304   /lib/libkeyutils-1.2.so
41953000-41954000 rwxp 00001000 fd:00 47780304   /lib/libkeyutils
Re: Cannot run OPENGL example on Linux
Reply #9 - Feb 19th, 2010, 9:11am
 
cont'd

VM Arguments:
jvm_args: -Xbootclasspath/a:/usr/local/jdk1.6.0_18/jre/lib/javaws.jar:/usr/local/jdk1.6.0_
18/jre/lib/deploy.jar:/usr/local/jdk1.6.0_18/jre/lib/plugin.jar -Djava.security.policy=file:/usr/local/jdk1.6.0_18/jre/lib/security/javaws.polic
y -DtrustProxy=true -Xverify:remote -Djnlpx.home=/usr/local/jdk1.6.0_18/jre/bin -Dsun.awt.warmup=true -Djnlpx.origFilenameArg=Gears.jnlp -Djnlpx.remove=true -Dsun.java2d.noddraw=true -Djnlpx.splashport=50711 -Djnlpx.jvm=/usr/local/jdk1.6.0_18/jre/bin/java -Djnlpx.vmargs=-Dsun.java2d.noddraw=true
java_command: com.sun.javaws.Main /tmp/javawhYVHgC
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=/usr/local/jdk1.6.0_18/bin
PATH=/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/b
in:/home/apple/bin:/usr/local/jdk1.6.0_18/bin:/home/apple/bin:/home/apple/bin:/u
sr/local/jdk1.6.0_18/bin
USERNAME=apple
LD_LIBRARY_PATH=/usr/local/jdk1.6.0_18/jre/lib/i386/client:/usr/local/jdk1.6.0_1
8/jre/lib/i386:/usr/local/jdk1.6.0_18/jre/../lib/i386
SHELL=/bin/bash
DISPLAY=:0.0

Signal Handlers:
SIGSEGV: [libjvm.so+0x417270], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x417270], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x33ccc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x33ccc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x33ccc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x33ccc0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x33f900], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x33f630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x33f630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x33f630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x33f630], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004


---------------  S Y S T E M  ---------------

OS:Fedora release 7 (Moonshine)

uname:Linux 2.6.20-2925.9.fc7xen #1 SMP Tue May 22 08:53:03 EDT 2007 i686
libc:glibc 2.6 NPTL 2.6
rlimit: STACK 10240k, CORE 0k, NPROC 30316, NOFILE 1024, AS infinity
load average:0.13 0.23 0.17

CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3

Memory: 4k page, physical 1932052k(1089724k free), swap 2031608k(2031608k free)

vm_info: Java HotSpot(TM) Client VM (16.0-b13) for linux-x86 JRE (1.6.0_18-b07), built on Dec 17 2009 13:58:25 by "java_re" with gcc 3.2.1-7a (J2SE release)

time: Fri Feb 19 23:52:19 2010
elapsed time: 5 seconds

thank you.

Re: Cannot run OPENGL example on Linux
Reply #10 - Feb 19th, 2010, 9:35am
 
> I am new to opengl. I don't konw how to set up to program opengl.

you don't need to in order to just run the commands glxgears and glxinfo in a terminal window and post the output here. if those don't work then there's no point in trying to get opengl java programs to work.
Page Index Toggle Pages: 1