[vtkusers] VTK OPENGL UBUNTU NVIDIA error
burlen
burlen.loring at gmail.com
Thu Aug 29 15:43:51 EDT 2013
Jose, (cc'ing the list)
In your bug report there was
vtkRenderingOpenGLCxx-LoadOpenGLExtension ...***Exception: SegFault 0.21 sec
this is a different issue than the VolumeRaycastMapper issue you
initially mentioned. It's a very basic test. assuming it's not a bug in
the test itself, if there's a segv there it can indicate that the
driver's are being mixed up or other run time issue. If that test
doesn't run cleanly I have no confidence in any other OpenGL code
running correctly in this build. On the other hand if it's a bug in the
test we need to identify and fix it, either way a stack trace would
help. If you run this test with --verbose the command line is displayed.
You can use that to start the test in a debugger and get a backtrace
after the crash.
Back to your original issue. I shared a patch that has fixes for a
couple of bugs in the logic for detecting feature support for the
VolumeRaycastMapper. Would you mind trying it?
http://review.source.kitware.com/#/c/12514/
Thanks
Burlen
On 08/29/2013 12:15 PM, Jose Ignacio Prieto wrote:
> Sorry, I am new here. What do you mean, the call stack? the program
> doesnt break, just dont show the volume. I can put a breakpoint in
> line 4101 of that file. Is that what you want?
>
>
> On Thu, Aug 29, 2013 at 3:07 PM, burlen <burlen.loring at gmail.com
> <mailto:burlen.loring at gmail.com>> wrote:
>
> the cmake cache looks fine.
>
> I see two bugs in the extension checking code. I'll push a fix
> onto gerrit today.
>
> It doesn't explain why LoadOpenGLExt test segv's. Any chance you
> could share a stack trace?
>
>
> On 08/29/2013 11:22 AM, Jose Ignacio Prieto wrote:
>> ./CMakeCache_v6.0.0.txt:409:OPENGL_INCLUDE_DIR:PATH=/usr/include
>> ./CMakeCache_v6.0.0.txt:412:OPENGL_gl_LIBRARY:FILEPATH=/usr/lib/libGL.so
>> ./CMakeCache_v6.0.0.txt:415:OPENGL_glu_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libGLU.so
>> ./CMakeCache_v6.0.0.txt:418:OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND
>> ./CMakeCache_v6.0.0.txt:3584:OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.0.0.txt:3586:OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.0.0.txt:3588:OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.0.0.txt:3590:OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.1.txt:444:OPENGL_INCLUDE_DIR:PATH=/usr/include
>> ./CMakeCache_v6.1.txt:447:OPENGL_gl_LIBRARY:FILEPATH=/usr/lib/libGL.so
>> ./CMakeCache_v6.1.txt:450:OPENGL_glu_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libGLU.so
>> ./CMakeCache_v6.1.txt:453:OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND
>> ./CMakeCache_v6.1.txt:3660:OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.1.txt:3662:OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.1.txt:3664:OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1
>> ./CMakeCache_v6.1.txt:3666:OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1
>> ~
>> ~
>> ~
>> ~
>>
>>
>>
>> On Thu, Aug 29, 2013 at 2:08 PM, burlen <burlen.loring at gmail.com
>> <mailto:burlen.loring at gmail.com>> wrote:
>>
>>
>>> vtkRenderingOpenGLCxx-LoadOpenGLExtension ...***Exception: SegFault 0.21 sec
>> Perhaps you've linked libraries from multiple drivers? I've
>> seen this test segv when two GL libs are mixed, the render
>> context is invalid and glGetString returns NULL. In that case
>> it's not a bug in VTK but rather a build issue since you
>> should only be using a single OpenGL library.
>>
>> Could you report the output of
>>
>> grep ^OPENGL_ CMakeCache.txt
>>
>> If you haven't already rm your build re-configure and re
>> make. you should do this after any changes to the open gl
>> drivers.
>>
>>
>> On 08/29/2013 10:47 AM, Jose Ignacio Prieto wrote:
>>> The issue is 0014254 <http://www.vtk.org/Bug/view.php?id=14254>
>>>
>>>
>>> On Thu, Aug 29, 2013 at 12:51 PM, burlen
>>> <burlen.loring at gmail.com <mailto:burlen.loring at gmail.com>>
>>> wrote:
>>>
>>> Jose,
>>>
>>> with all of your driver woes I think it's likely that
>>> you're unintentionally using Ubuntu's Mesa libGL rather
>>> than NVIDIA's. At least this will explain the error
>>> report below.
>>>
>>> Mesa, depending on release version and renderer, has
>>> some bugs that prevent this class from working correctly
>>> and some or all of the vtkOpenGLGPUVolumeRayCastMapper
>>> ctests fail. That's why the class has been disabled if
>>> the driver is Mesa.
>>>
>>> To confirm which driver you're using include the output from
>>>
>>> ctest -R LoadOpenGLExt --verbose
>>>
>>> Please include this in your bug report.
>>>
>>> Burlen
>>>
>>>
>>> On 08/29/2013 08:27 AM, David E DeMarle wrote:
>>>> Yes please file a bug on mantis at
>>>> http://vtk.org/Bug/my_view_page.php.
>>>>
>>>> In the report, please fill in the whatever error
>>>> messages you can and point out that
>>>> commit 520ba015c0b7a451242d0712bd60fd953aa9dfcf was the
>>>> likely culprit.
>>>>
>>>> thanks
>>>>
>>>> David E DeMarle
>>>> Kitware, Inc.
>>>> R&D Engineer
>>>> 21 Corporate Drive
>>>> Clifton Park, NY 12065-8662
>>>> Phone: 518-881-4909 <tel:518-881-4909>
>>>>
>>>>
>>>> On Thu, Aug 29, 2013 at 11:20 AM, Jose Ignacio Prieto
>>>> <joseignacio.prieto at gmail.com
>>>> <mailto:joseignacio.prieto at gmail.com>> wrote:
>>>>
>>>> I finally installed and uninstall nvidia drivers
>>>> and xorg and nothing worked. Then I realized that
>>>> the conflicting file
>>>> Rendering/volumeopengl/vtkopenglgpuvolumeraycasmapper.cxx
>>>> was modified 8 days ago. I switched back from head
>>>> to v.6.0.0 and it worked again.
>>>> I don't know how to report bugs the institutional
>>>> way. I will try to assign a mantis ticket later.
>>>>
>>>>
>>>> On Wed, Aug 28, 2013 at 2:44 PM, Jose Ignacio
>>>> Prieto <joseignacio.prieto at gmail.com
>>>> <mailto:joseignacio.prieto at gmail.com>> wrote:
>>>>
>>>> Hi, I know this is not exactly vtk but I hope
>>>> you can get my opengl error. I made a mistake
>>>> updating a driver and now I have no idea how to
>>>> solve it.
>>>> I got interested in trying itk filters solved
>>>> through gpu, so I installed CUDA following this
>>>> link:
>>>> http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation
>>>> Then I realized they were useless so I built a
>>>> new set of vtk6.1+itk4.5+qt4.8.5. The problem
>>>> is that my old files compiled with
>>>> vtk6.1+itk4.5+qt4.8.4 don't work anymore.
>>>> Specifically I had a volume rendered with
>>>> vtkGPUVolumeRayCastMapper and now it shows an
>>>> error
>>>>
>>>> ERROR: In
>>>> /home/cib/Source/Vtk6/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx,
>>>> line 4101
>>>>
>>>> vtkOpenGLGPUVolumeRayCastMapper (0x7299be0):
>>>> Rendering failed because the following OpenGL
>>>> extensions are required but not supported:
>>>>
>>>>
>>>> I have installed-uninstalled nvidia drivers
>>>> many times but I have no clue on what is going
>>>> on. Seems that it changed
>>>> /usr/local/x86.../libGL.so and libGLU.so
>>>> I am using ubuntu 12.4, my graphics card is
>>>> nvidia geforce 9800 and qt 4.8.5
>>>>
>>>> Thank you very much!
>>>>
>>>>
>>>> --
>>>> José Ignacio Prieto
>>>> celular(nuevo): 94348182
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> José Ignacio Prieto
>>>> celular(nuevo): 94348182
>>>>
>>>> _______________________________________________
>>>> Powered by www.kitware.com <http://www.kitware.com>
>>>>
>>>> Visit other Kitware open-source projects at
>>>> http://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ
>>>> at: http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Powered bywww.kitware.com <http://www.kitware.com>
>>>>
>>>> Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html
>>>>
>>>> Please keep messages on-topic and check the VTK FAQ at:http://www.vtk.org/Wiki/VTK_FAQ
>>>>
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.vtk.org/mailman/listinfo/vtkusers
>>>
>>>
>>>
>>>
>>> --
>>> José Ignacio Prieto
>>> celular(nuevo): 94348182
>>
>>
>>
>>
>> --
>> José Ignacio Prieto
>> celular(nuevo): 94348182
>
>
>
>
> --
> José Ignacio Prieto
> celular(nuevo): 94348182
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130829/f029a4e0/attachment.htm>
More information about the vtkusers
mailing list