Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-11-08, 06:45 PM   #1
ambro887
Registered User
 
Join Date: Nov 2007
Posts: 31
Default OpenGL 2 with indirect rendering

Hi,
I'm trying to get some OpenGL program to render on an X server on the network (actually it's from a VM) that has Nvidia hardware. So I configure X to allow clients from some IP, and on the client set the address of the X server:
Code:
export DISPLAY=IP:0
X programs work properly, however I have problems with OpenGL. If I use the Mesa library (7.1) on the client, only OpenGL version 1.4 is reported by glxinfo and all version 2 extensions are missing (but it works). If I use nvidia's libGL on the client, version 2.1 is reported and some more extensions are available, but most are still missing, and Quake 3 renders some things black (while it worked with Mesa).

As far as I know Nvidia drivers implement AIGLX which allows for hardware-accelerated rendering using the GLX protocol. But why is half of the interface missing? Is it something with my configuration? Or is it really unimplemented?
ambro887 is offline   Reply With Quote
Old 09-12-08, 05:14 AM   #2
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: OpenGL 2 with indirect rendering

Let me get this clear client also contains Nvidia hardware?

First of all AIGLX is a buzzword for DRI drivers, those didn't accelerate indirect rendering while Nvidia has supported this for a much longer time. They use a very different driver architecture.

In case of OpenGL all GL extensions which can be supported over a network (indirect rendering) need to have a GLX wire specification. Not all extensions have this I believe shader related extensions are among those. For instance if you compare the output of 'glxinfo' to 'glxinfo -i' (which forces indirect rendering) you can see the difference.

The version of Mesa which you are using might not implement the GLX protocol of all GL extensions and for that reason show a lower version number. On the other hand since a lot of functionality which makes OpenGL 2.x (e.g. GLSL GL_ARB_shader_language_100 which is required for OpenGL 2.x) isn't available in the glxinfo -i output, the driver isn't OpenGL 2.x capable at all, so the version number is wrong.

It could be that the Nvidia driver is buggy in case of indirect rendering to a remote X server. Mesa should behave the same as both the Nvidia and Mesa library need to go through X.
Thunderbird is offline   Reply With Quote
Old 09-12-08, 06:21 AM   #3
ambro887
Registered User
 
Join Date: Nov 2007
Posts: 31
Default Re: OpenGL 2 with indirect rendering

The client is a virtual machine and does not contain any video hardware. I only copied the Nvidia OpenGL libraries from the host system.

Anyway thanks for the explanation. Yes, 'glxinfo -i' on the real machine fails to show OpenGL 2 extensions. So I suppose it's impossible to get OpenGL 2 over a network right now.
ambro887 is offline   Reply With Quote
Old 09-12-08, 01:13 PM   #4
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: OpenGL 2 with indirect rendering

Since the client is a VM you can just use Mesa.
Thunderbird is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL book Airstrip1 Software Development 2 08-12-12 09:55 AM
[GeForce 8800 GTS] 2D rendering regression (extreme slowdown) introduced with 295.49 Seb L. NVIDIA Linux 0 06-22-12 07:48 AM
Major WineX prob... I think it has to do with the vidcard... Linewbie NVIDIA Linux 20 10-09-02 10:58 PM
Multiple OpenGL applications and NVidia gbrauer NVIDIA Linux 7 09-01-02 05:47 PM
Slow OpenGL on 7.3 kl899 NVIDIA Linux 1 08-04-02 08:58 PM

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


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