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 07:41 AM

remote OpenGL impossible ?
 
Hello,

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 09: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.

thanks,
Lonni

clearer 07-13-07 10: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 11: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
xorg-x11-6.8.2-1.EL.18

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 ->
libGL.so.100.14.11
-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 ->
../../usr/X11R6/lib/libGLU.so
lrwxrwxrwx 1 root root 31 Jul 3 20:21 /usr/lib/libGLU.so.1 ->
../../usr/X11R6/lib/libGLU.so.1
lrwxrwxrwx 1 root root 22 Jul 10 12:12 /usr/lib/libGLcore.so.1 ->
libGLcore.so.100.14.11
-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 ->
libGLU.so.1.3
lrwxrwxrwx 1 root root 13 Jul 3 20:21 /usr/X11R6/lib/libGLU.so.1 ->
libGLU.so.1.3
-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 ->
libGLw.so.1.0
-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-14-07 12:49 AM

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

grasso 07-16-07 04:25 AM

Re: remote OpenGL impossible ?
 
Hello,

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 05:53 AM

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

http://www2.autistici.org/encelo/dow..._pointz.tar.gz

from the page

Encelo's Projectz - Programming - OpenGL Demos and Tests
http://www2.autistici.org/encelo/prog_gldemos.php

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 05:54 PM.

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