[vtk-developers] OpenGL Extension loading with OSMesa?
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Wed Apr 17 13:23:20 EDT 2013
Thanks for the dashboard, Kevin. Burlen, your changes seem reasonable
to me. The commit for that change is posted below. After looking at
the commit log and the change, I think it would make sense to not do
the "workaround" when using Mesa. I'm going to approve the topic. Feel
free to merge.
Utkarsh
commit d64cfbc286c7e5e51ac7ccaa3669ab02a9999b92
Author: François Bertel <francois.bertel at kitware.com>
Date: Tue May 11 09:35:22 2010 -0400
BUG:10621 Workaround for an nVidia bug in X11 indirect rendering mode.
The version reported by the driver in X11 indirect rendering mode
is above what
the driver can do (for example it tells it supports 2.1 (Xserver on GeForce
6800) or even 3.2 (Xserver on Quadro FX 3600M)) when it cannot
actually support
PBO (pixel buffer objects) which is core in 2.1. It does not
advertise PBO as
an extension. The workaround makes vtkOpenGLExtensionManager
returns false in
indirect mode for any requested OpenGL version, which let the algorithms to
only tests against advertised extensions.
It has been tested with nVidia driver 195.36.15 (shipped with Ubuntu 10.04).
On Wed, Apr 17, 2013 at 12:22 PM, Kevin H. Hobbs <hobbsk at ohio.edu> wrote:
> On 04/17/2013 11:30 AM, burlen wrote:
>> Hi Utkarsh,
>>
>> It's almost working, there's a test in the extension manager that always
>> fails when using software rendering, for OS Mesa tests for any and all
>> extensions fail weather they're actually support or not. The comment on
>> this test says it has to do with nvidia driver over ssh -X and mentions
>> a ParaView bug but doesn't say which one. Are you familiar with that
>> issue? Although nvidia is mentioned the comment, the test doesn't
>> differentiate between nvidia and other vendors. I pushed a patch on
>> Gerrit that lets OS Mesa report it's true
>> capabilities(http://review.source.kitware.com/#/c/10927/). Could you
>> take a look?
>>
>
> This build uses the patch and OSMesa :
>
> http://open.cdash.org/buildSummary.php?buildid=2878607
>
> and has OpenGL 2.1 features.
>
More information about the vtk-developers
mailing list