nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   remote OpenGL impossible ? (http://www.nvnews.net/vbulletin/showthread.php?t=94817)

grasso 07-13-07 06:41 AM

remote OpenGL impossible ?

As the Linux sysadmin in our company, I am posting on behalf of our graphic developer :

we are developing a CAD software using OpenGL 2.0 (it's developed using Java and Jogl) ; locally on a 64-bits RHEL4 with some NVIDIA card the display is correct. I tried to get the display remotely (through ssh -X connection), on RHEL4 32-bits with a GeForce 7600 GS and the driver 100.14.11, and we get errors such as :

"Error: no OpenGL buffer object appears to be bound to target 0x8892"

"Error while compiling a shader : Shader : null"

Do you have any hint ?

Best regards
R. Grasso

netllama 07-13-07 08:13 AM

Re: remote OpenGL impossible ?
This depends heavily on which OS, GPU & OpenGL libraries you have on the client side when running ssh. You didn't state what you're using, so its not possible to comment. Also, please generate and attach an nvidia-bug-report.log from the system with the problem, along with the output from glxinfo.


clearer 07-13-07 09:53 AM

Re: remote OpenGL impossible ?
If you bothered to read his post, you would see that he uses:
RHEL 4 on two computers -- on is a 64 bit and one is a 32 bit processor. Since they use Java, that likely means he's running it on x86 machinery (since java on other platforms is really a joke, and nvidia doesn't provide the lastest drivers for Linux on anything but x86's).

He is using the nvidia drivers -- specifically 100.14.11 -- on the client. He did not say what he used on the sever (but I could imagine that it's not important).

There you go -- everything you needed, was right in his original post.

But to answer his question: Yes, it is very much so possible to do remote OpenGL, but perhaps not with nvidia's drivers -- although I have no problem doing this. It might be a problem with jogl or java.

grasso 07-13-07 10:40 AM

Re: remote OpenGL impossible ?
2 Attachment(s)
oh well, if much more accurate informations on the client machine can help, here they are (I apologize for cluttering this thread) :

OS: RHEL 4 (RedHat Enterprise Linux)
kernel : 2.6.9-55.0.2.ELhugemem

the OpenGL libraries should be the ones from the NVidia driver, as I did not get any error message during its installation, and did not update xorg-x11-Mesa-libGL (I fell once in this trap, it's enough !)

[root@cedrat05rhel4 log]# ll /usr/lib/*GL*
-rw-r--r-- 1 root root 659 Jul 10 12:12 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 10 Jul 10 12:12 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 18 Jul 10 12:12 /usr/lib/libGL.so.1 ->
-rwxr-xr-x 1 root root 652688 Jul 10 12:12 /usr/lib/libGL.so.100.14.11
lrwxrwxrwx 1 root root 29 Jul 3 20:20 /usr/lib/libGLU.so ->
lrwxrwxrwx 1 root root 31 Jul 3 20:21 /usr/lib/libGLU.so.1 ->
lrwxrwxrwx 1 root root 22 Jul 10 12:12 /usr/lib/libGLcore.so.1 ->
-rwxr-xr-x 1 root root 10552448 Jul 10 12:12 /usr/lib/libGLcore.so.100.14.11

[root@cedrat05rhel4 log]# ll /usr/X11R6/lib/*GL*
-rw-r--r-- 1 root root 645958 Apr 19 16:31 /usr/X11R6/lib/libGLU.a
lrwxrwxrwx 1 root root 13 Jul 3 20:20 /usr/X11R6/lib/libGLU.so ->
lrwxrwxrwx 1 root root 13 Jul 3 20:21 /usr/X11R6/lib/libGLU.so.1 ->
-rwxr-xr-x 1 root root 487460 Apr 19 16:33 /usr/X11R6/lib/libGLU.so.1.3
-rw-r--r-- 1 root root 27466 Apr 19 16:31 /usr/X11R6/lib/libGLw.a
lrwxrwxrwx 1 root root 13 Jul 3 20:19 /usr/X11R6/lib/libGLw.so.1 ->
-rwxr-xr-x 1 root root 21148 Apr 19 16:33 /usr/X11R6/lib/libGLw.so.1.0

nvidia-bug-report.log and glxinfo.log are attached

Best regards
R. Grasso

netllama 07-13-07 11:49 PM

Re: remote OpenGL impossible ?
Is this error only present when running your application, and no other OpenGL applications?

grasso 07-16-07 03:25 AM

Re: remote OpenGL impossible ?

So far, glxgears works perfectly - but I would need another OpenGL application requiring shaders so that the test is meaningful - and I don't have/know such applications - if you know any, this could help

grasso 07-16-07 04:53 AM

Re: remote OpenGL impossible ?
I just downloaded the following demo


from the page

Encelo's Projectz - Programming - OpenGL Demos and Tests

this demo contains shaders

if I compile and execute it locally, it works correctly; as soon as I try to execute it remotely, it fails immediately with the error message :

Missing extensions for OpenGL Shading Language!

so it seems, as I feared, that this operation mode is not available remotely

All times are GMT -5. The time now is 04:36 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.