[vtkusers] Display Error under Ubuntu 16.04
Andrea Borsic
aborsic at ne-scientific.com
Fri Oct 28 05:05:46 EDT 2016
Hi,
Thanks for your kind consideration. I have run the ctest Python tests
and they all run fine.
I am still trying to workout why the script would crash and I have found
out that it will crash (under Linux) when the interactor is started. The
same script on the same data works fine with VTK 7.0 OpenGL2 under
Windows 10.
Just in case, I am attaching a minimal script that demonstrates the
problem. The script will load python pickled data that I have saved in a
single file available at:
https://www.dropbox.com/s/me8cbtjh9p8qfid/data.pck?dl=0
The script displays the data, waits 5 seconds, and than starts the
interactor (crashing).
Best Regards,
Andrea
On 27/10/2016 23:25, Ken Martin wrote:
> Hmm, well that means VTK's rendering engine is initializing OK and
> running. So it could be something specific to the python app. If you
> run some of the python tests do they work? ala
>
> ctest -R Python -I ,,23
>
> thats runs 1/23rd of the python tests
>
> if those all pass then it must be something specific to your script
>
>
>
> On Thu, Oct 27, 2016 at 5:16 PM, Andrea Borsic
> <aborsic at ne-scientific.com <mailto:aborsic at ne-scientific.com>> wrote:
>
> Hi Ken,
>
> The test seems to run fine, I am attaching below the output.
>
> Best Regards,
>
> Andrea
>
>
> -----------------------
>
> andrea at i7-Desktop:/opt/VTK-7.1.0.rc1-bin$
> <mailto:andrea at i7-Desktop:/opt/VTK-7.1.0.rc1-bin$> sudo ctest -R
> VBOPLY -VV
> UpdateCTestConfiguration from
> :/opt/VTK-7.1.0.rc1-bin/DartConfiguration.tcl
> Parse Config file:/opt/VTK-7.1.0.rc1-bin/DartConfiguration.tcl
> Add coverage exclude regular expressions.
> Add coverage exclude: vtk.*TCLInit.cxx
> Add coverage exclude: vtk[^\.]+(Java|Python|Tcl).cxx
> Add coverage exclude: .*vtkOpenGLState.*
> Add coverage exclude: .*Testing.Cxx.*cxx
> Add coverage exclude: .*Testing.Cxx.*h
> Add coverage exclude: .*moc_.*cxx
> Add coverage exclude: .*/Rendering/OpenGL/vtkgl.*
> Add coverage exclude: .*/Utilities/.*
> Add coverage exclude: .*/ThirdParty/.*
> Add coverage exclude: .*vtkOpenGLPolyDataMapper.*
> SetCTestConfiguration:CMakeCommand:/usr/bin/cmake
> UpdateCTestConfiguration from
> :/opt/VTK-7.1.0.rc1-bin/DartConfiguration.tcl
> Parse Config file:/opt/VTK-7.1.0.rc1-bin/DartConfiguration.tcl
> Test project /opt/VTK-7.1.0.rc1-bin
> Constructing a list of tests
> Done constructing a list of tests
> Checking test dependency graph...
> Checking test dependency graph end
> test 1551
> Start 1551: vtkRenderingOpenGL2Cxx-TestVBOPLYMapper
>
> 1551: Test command:
> /opt/VTK-7.1.0.rc1-bin/bin/vtkRenderingOpenGL2CxxTests
> "TestVBOPLYMapper" "-D"
> "/opt/VTK-7.1.0.rc1-bin/ExternalData//Testing" "-T"
> "/opt/VTK-7.1.0.rc1-bin/Testing/Temporary" "-V"
> "/opt/VTK-7.1.0.rc1-bin/ExternalData/Rendering/OpenGL2/Testing/Data/Baseline/TestVBOPLYMapper.png"
> 1551: Test timeout computed to be: 3600
> 1551: first render time: 0.132993
> 1551: opengl version 4.5
> 1551: interactive render time: 0.0166377
> 1551: number of triangles: 871414
> 1551: triangles per second: 5.2376e+07
> 1551: <DartMeasurement name="ImageError"
> type="numeric/double">0</DartMeasurement><DartMeasurement
> name="BaselineImage"
> type="text/string">Standard</DartMeasurement><DartMeasurement
> name="WallTime" type="numeric/double">0.059715</DartMeasurement>
> 1551: <DartMeasurement name="CPUTime"
> type="numeric/double">0.037073</DartMeasurement>
> 1/1 Test #1551: vtkRenderingOpenGL2Cxx-TestVBOPLYMapper ...
> Passed 0.91 sec
>
> The following tests passed:
> vtkRenderingOpenGL2Cxx-TestVBOPLYMapper
>
> 100% tests passed, 0 tests failed out of 1
>
> Label Time Summary:
> vtkRenderingOpenGL2 = 0.91 sec (1 test)
>
> Total Test time (real) = 0.97 sec
>
>
>
>
>
> On 27/10/2016 18:56, Ken Martin wrote:
>> Can you try running ctest -R VBOPLY -VV and let us know the output?
>>
>> On Thu, Oct 27, 2016 at 12:46 PM, Andrea Borsic
>> <aborsic at ne-scientific.com <mailto:aborsic at ne-scientific.com>> wrote:
>>
>> Dear All,
>>
>> I have successfully compiled VTK 7.0.0 under Ubuntu 16.04.1
>> LTS on a computer with the following hw configuration:
>>
>> Processor: Intel Core i7
>>
>> GPU: NVIDIA GTX Titan Black
>>
>> ---
>>
>> VTK has been configured for:
>>
>> OpenGL 2 back-end
>>
>> Use Qt 5.7
>>
>> Use OpenMP for SMP
>>
>> Wrap Python 3 (ver 3.5.2 on the system)
>>
>> ---
>>
>> A simple python script which displays an unstructured grid
>> and which works fine under Windows, opens (under Ubuntu) a
>> rendering window and crashes with the message below:
>>
>> X Error of failed request: GLXBadDrawable
>> Major opcode of failed request: 154 (GLX)
>> Minor opcode of failed request: 11 (X_GLXSwapBuffers)
>> Serial number of failed request: 111
>> Current serial number in output stream: 111
>>
>>
>> Do you have any hint about this? Should I try the RC 7.1 or
>> switch to the plain OpenGL back-end ?
>>
>> Thanks in advance for any suggestion,
>>
>> Best Regards,
>>
>> Andrea
>>
>> _______________________________________________
>> Powered by www.kitware.com <http://www.kitware.com>
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> <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 <http://www.vtk.org/Wiki/VTK_FAQ>
>>
>> Search the list archives at:
>> http://markmail.org/search/?q=vtkusers
>> <http://markmail.org/search/?q=vtkusers>
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>> <http://public.kitware.com/mailman/listinfo/vtkusers>
>>
>>
>>
>>
>> --
>> Ken Martin PhD
>> Chairman & CFO
>> Kitware Inc.
>> 28 Corporate Drive
>> Clifton Park NY 12065
>> 518 371 3971 <tel:518%20371%203971>
>>
>> This communication, including all attachments, contains
>> confidential and legally privileged information, and it is
>> intended only for the use of the addressee. Access to this email
>> by anyone else is unauthorized. If you are not the intended
>> recipient, any disclosure, copying, distribution or any action
>> taken in reliance on it is prohibited and may be unlawful. If you
>> received this communication in error please notify us immediately
>> and destroy the original message. Thank you.
>
>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential
> and legally privileged information, and it is intended only for the
> use of the addressee. Access to this email by anyone else is
> unauthorized. If you are not the intended recipient, any disclosure,
> copying, distribution or any action taken in reliance on it is
> prohibited and may be unlawful. If you received this communication in
> error please notify us immediately and destroy the original message.
> Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161028/4e0497ca/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DisplayExample.py
Type: text/x-python
Size: 3424 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161028/4e0497ca/attachment.py>
More information about the vtkusers
mailing list