Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Hi,
I've been playing around with JOGL for a couple of weeks now, and have had no problems with Windows. I recently installed Ubuntu 11.04, and the exact same code that has worked fine on Windows, hangs up on Linux unless the window receives a mouse or keyboard event. I'm using NativeWindow, ATI accelerated drivers for a 4890. Can post code if required - it's based on the RedSquare demo with minor changes only, and looks fine - no graphical glitches or anything. The stack looks like this when a freeze happens: EITHER: Thread [main] (Suspended) GLX.dispatch_glXSwapBuffers1(long, long, long) line: not available [native method] GLX.glXSwapBuffers(long, long) line: 1124 X11OnscreenGLXDrawable(X11GLXDrawable).swapBuffersImpl() line: 68 X11OnscreenGLXDrawable(GLDrawableImpl).swapBuffers() line: 94 GLDrawableHelper.invokeGL(GLDrawable, GLContext, Runnable, Runnable) line: 366 GLWindow.display(boolean) line: 547 GLWindow.display() line: 523 JoglTestShader.main(String[]) line: 32 OR: Thread [main] (Suspended) GLX.dispatch_glXMakeContextCurrent1(long, long, long, long, long) line: not available [native method] GLX.glXMakeContextCurrent(long, long, long, long) line: 936 X11OnscreenGLXContext(X11GLXContext).glXMakeContextCurrent(long, long, long, long) line: 152 X11OnscreenGLXContext(X11GLXContext).makeCurrentImpl(boolean) line: 412 X11OnscreenGLXContext(GLContextImpl).makeCurrentLocking() line: 419 X11OnscreenGLXContext(GLContextImpl).makeCurrent() line: 352 GLDrawableHelper.invokeGL(GLDrawable, GLContext, Runnable, Runnable) line: 348 GLWindow.display(boolean) line: 547 GLWindow.display() line: 523 JoglTestShader.main(String[]) line: 32 Is this an error on my part, or in JOGL/Ubuntu? Charlie |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Hi!
I frequently test JOGL on several Linux distros (KUbuntu, Mandriva, Mageia, Cent OS, Debian, etc...) and I have never experienced such problems. However, there might be some problems with some particular drivers but they concern all OpenGL applications, not only those using JOGL. For example, the Nouveau driver on NVIDIA graphics card gives me a black screen with JOGL 1.1.1a on Mageia Linux 1 whereas the proprietary driver works fine. ATI Radeon HD drivers work bad sometimes, try to use an ATI Radeon driver instead. Which driver do you use?
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by charlie
Some French Linux Debian users had to use Vesa drivers which work reliably but are quite slow in order to work around this problem :( I remind you that it is not a problem specific to JOGL.
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by charlie
Do you call initSingleton ?
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
In reply to this post by charlie
On Monday, June 20, 2011 02:38:03 AM charlie [via jogamp] wrote:
> > Hi, > I've been playing around with JOGL for a couple of weeks now, and have had > no problems with Windows. I recently installed Ubuntu 11.04, and the exact > same code that has worked fine on Windows, hangs up on Linux unless the > window receives a mouse or keyboard event. I'm using NativeWindow, ATI > accelerated drivers for a 4890. https://jogamp.org/bugzilla/show_bug.cgi?id=502 let's say it stutters :( yup, already known. will push a workaround .. ~Sven |
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
Is thig bug reproducible with GLCanvas?
Julien Gouesse | Personal blog | Website
|
Loading... |
Reply to author |
Edit post |
Move post |
Delete this post |
Delete this post and replies |
Change post date |
Print post |
Permalink |
Raw mail |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Administrator
|
On Monday, June 20, 2011 03:45:12 PM gouessej [via jogamp] wrote:
> > Is thig bug reproducible with GLCanvas? no, because AWT utilization is not multi threaded :) ~Sven |
Free forum by Nabble | Edit this page |