<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Jose, (cc'ing the list)<br>
<br>
In your bug report there was<br>
<pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:left;font-style:normal;background-color:rgb(216,216,216);margin-bottom:0px;font-weight:normal;line-height:normal;text-transform:none;font-size:13px;margin-top:0px;word-spacing:0px">vtkRenderingOpenGLCxx-LoadOpenGLExtension ...***Exception: SegFault 0.21 sec</pre>
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.<br>
<br>
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? <a
href="http://review.source.kitware.com/#/c/12514/">http://review.source.kitware.com/#/c/12514/</a><br>
<br>
Thanks<br>
Burlen<br>
<br>
On 08/29/2013 12:15 PM, Jose Ignacio Prieto wrote:<br>
</div>
<blockquote
cite="mid:CANkppu6-50E7r4cM7edKZ9QY=KszPAq9Y6QFcoL5EcgC+ROPSw@mail.gmail.com"
type="cite">
<div dir="ltr">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?<br>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Thu, Aug 29, 2013 at 3:07 PM, burlen
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:burlen.loring@gmail.com" target="_blank">burlen.loring@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>the cmake cache looks fine. <br>
<br>
I see two bugs in the extension checking code. I'll push
a fix onto gerrit today.<br>
<br>
It doesn't explain why LoadOpenGLExt test segv's. Any
chance you could share a stack trace?
<div>
<div class="h5"><br>
<br>
On 08/29/2013 11:22 AM, Jose Ignacio Prieto wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">./CMakeCache_v6.0.0.txt:409:OPENGL_INCLUDE_DIR:PATH=/usr/include<br>
./CMakeCache_v6.0.0.txt:412:OPENGL_gl_LIBRARY:FILEPATH=/usr/lib/libGL.so<br>
./CMakeCache_v6.0.0.txt:415:OPENGL_glu_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libGLU.so<br>
./CMakeCache_v6.0.0.txt:418:OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND<br>
./CMakeCache_v6.0.0.txt:3584:OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.0.0.txt:3586:OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.0.0.txt:3588:OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.0.0.txt:3590:OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.1.txt:444:OPENGL_INCLUDE_DIR:PATH=/usr/include<br>
./CMakeCache_v6.1.txt:447:OPENGL_gl_LIBRARY:FILEPATH=/usr/lib/libGL.so<br>
./CMakeCache_v6.1.txt:450:OPENGL_glu_LIBRARY:FILEPATH=/usr/lib/x86_64-linux-gnu/libGLU.so<br>
./CMakeCache_v6.1.txt:453:OPENGL_xmesa_INCLUDE_DIR:PATH=OPENGL_xmesa_INCLUDE_DIR-NOTFOUND<br>
./CMakeCache_v6.1.txt:3660:OPENGL_INCLUDE_DIR-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.1.txt:3662:OPENGL_gl_LIBRARY-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.1.txt:3664:OPENGL_glu_LIBRARY-ADVANCED:INTERNAL=1<br>
./CMakeCache_v6.1.txt:3666:OPENGL_xmesa_INCLUDE_DIR-ADVANCED:INTERNAL=1<br>
~<br>
~<br>
~<br>
~<br>
<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Aug 29, 2013 at
2:08 PM, burlen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:burlen.loring@gmail.com"
target="_blank">burlen.loring@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><br>
<blockquote type="cite">
<pre style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:left;font-style:normal;background-color:rgb(216,216,216);margin-bottom:0px;font-weight:normal;line-height:normal;text-transform:none;font-size:13px;margin-top:0px;word-spacing:0px">vtkRenderingOpenGLCxx-LoadOpenGLExtension ...***Exception: SegFault 0.21 sec</pre>
</blockquote>
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.<br>
<br>
Could you report the output of<br>
<br>
grep ^OPENGL_ CMakeCache.txt<br>
<br>
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.
<div>
<div><br>
<br>
On 08/29/2013 10:47 AM, Jose Ignacio
Prieto wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">The issue is <a
moz-do-not-send="true"
href="http://www.vtk.org/Bug/view.php?id=14254"
target="_blank">0014254</a></div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Aug
29, 2013 at 12:51 PM, burlen <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:burlen.loring@gmail.com"
target="_blank">burlen.loring@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF"
text="#000000">
<div>Jose, <br>
<br>
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.<br>
<br>
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.<br>
<br>
To confirm which driver
you're using include the
output from<br>
<br>
ctest -R LoadOpenGLExt
--verbose<br>
<br>
Please include this in your
bug report.<span><font
color="#888888"><br>
<br>
Burlen</font></span>
<div>
<div><br>
<br>
On 08/29/2013 08:27 AM,
David E DeMarle wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Yes
please file a bug on
mantis at <a
moz-do-not-send="true"
href="http://vtk.org/Bug/my_view_page.php" target="_blank">http://vtk.org/Bug/my_view_page.php</a>.
<div><br>
</div>
<div>In the report,
please fill in the
whatever error
messages you can and
point out that
commit 520ba015c0b7a451242d0712bd60fd953aa9dfcf
was the likely
culprit.</div>
<div><br>
</div>
<div>thanks</div>
</div>
<div class="gmail_extra"><br
clear="all">
<div>David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY
12065-8662<br>
Phone: <a
moz-do-not-send="true"
href="tel:518-881-4909" value="+15188814909" target="_blank">518-881-4909</a></div>
<br>
<br>
<div
class="gmail_quote">On
Thu, Aug 29, 2013 at
11:20 AM, Jose
Ignacio Prieto <span
dir="ltr"><<a
moz-do-not-send="true"
href="mailto:joseignacio.prieto@gmail.com" target="_blank">joseignacio.prieto@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0 0
0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>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.<br>
</div>
I don't know how
to report bugs
the
institutional
way. I will try
to assign a
mantis ticket
later. <br>
</div>
<div>
<div>
<div
class="gmail_extra"><br>
<br>
<div
class="gmail_quote">On
Wed, Aug 28,
2013 at 2:44
PM, Jose
Ignacio Prieto
<span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:joseignacio.prieto@gmail.com"
target="_blank">joseignacio.prieto@gmail.com</a>></span>
wrote:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div dir="ltr">
<div>
<div>
<div>
<div>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. <br>
</div>
I got
interested in
trying itk
filters solved
through gpu,
so I installed
CUDA following
this link:<br>
<a
moz-do-not-send="true"
href="http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation"
target="_blank">http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/index.html#package-manager-installation</a><br>
</div>
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
<br>
<p
style="margin:0px;text-indent:0px"><span
style="font-family:'Monospace';font-size:9pt;color:rgb(190,20,20)">ERROR:
In
/home/cib/Source/Vtk6/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx,
line 4101</span></p>
<p
style="margin:0px;text-indent:0px"><span
style="font-family:'Monospace';font-size:9pt;color:rgb(190,20,20)">vtkOpenGLGPUVolumeRayCastMapper
(0x7299be0):
Rendering
failed because
the following
OpenGL
extensions are
required but
not supported:
<br>
</span></p>
<p
style="margin:0px;text-indent:0px"><br>
<span
style="font-family:'Monospace';font-size:9pt;color:rgb(190,20,20)"></span></p>
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
<br>
</div>
I am using
ubuntu 12.4,
my graphics
card is nvidia
geforce 9800
and qt 4.8.5<br>
<br>
</div>
Thank you very
much!<span><font
color="#888888"><br>
<div>
<div>
<div>
<div><br
clear="all">
<div>
<div>
<div><br>
-- <br>
José Ignacio
Prieto<br>
celular(nuevo):
94348182 </div>
</div>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</blockquote>
</div>
<br>
<br
clear="all">
<br>
-- <br>
José Ignacio
Prieto<br>
celular(nuevo):
94348182 </div>
</div>
</div>
<br>
_______________________________________________<br>
Powered by <a
moz-do-not-send="true"
href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other
Kitware
open-source
projects at <a
moz-do-not-send="true"
href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep
messages on-topic
and check the VTK
FAQ at: <a
moz-do-not-send="true"
href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link
to
subscribe/unsubscribe:<br>
<a
moz-do-not-send="true"
href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Powered by <a moz-do-not-send="true" href="http://www.kitware.com" target="_blank">www.kitware.com</a>
Visit other Kitware open-source projects at <a moz-do-not-send="true" href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a>
Please keep messages on-topic and check the VTK FAQ at: <a moz-do-not-send="true" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a>
Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
José Ignacio Prieto<br>
celular(nuevo): 94348182 </div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
José Ignacio Prieto<br>
celular(nuevo): 94348182 </div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
José Ignacio Prieto<br>
celular(nuevo): 94348182 </div>
</blockquote>
<br>
</body>
</html>