Archived issue #0024363

Automated Tests - optimize testing environment for visualization tests

Open CASCADEOCCT:Testsclosed7 public notes

Search issues

Description

There are several issues observed during testing OCCT on currently used versions of Mesa on Windows (Mesa 7.8.2, GDI) and Linux (Mesa 9.1, X11).

Initially, it was proposed to consider evaluation of newer Mesa releases. However, efforts needed to build up-to-date Mesa and to make it work (especially under Windows) are inadequately high and are likely to require creation of our own Mesa clone.

Meanwhile, the time spent by DTN visualization team on analysis of false visualization bugs actually located inside Mesa grows constantly, especially as soon as we try to use modern OpenGL capabilities inside OCCT. Usage of Mesa for automatic visualization testing becomes too expensive.

Thus the only reasonable compromise is to use dedicated physical workstations (Linux and Windows) with physical mid-range graphic hardware for automatic execution of OCCT visualization tests.

An reasonable option for graphic hardware is to consider OpenCL support so as to test the OCCT ray tracing functionality.

Hardware requirements for the workstations used for visualization testing can be refined afterwards, as soon as we accumulate some usage experience mostly related to testing performance.

Public activity

7 archived notes

Participants are labeled by their role within this record.

01Author
Please notice, that there are many complains about GLSL issues when used current LLVM 3.3 release, and most of them should be already fixed in working version (but unfortunately LLVM 3.4 is not yet released).
02Author
Note that within FPE exceptions disabled (#0024589) it is quite possible to use recent Mesa releases.

Here can be found useful pre-build binaries created by Mingw using LLVM 3.4/3.5 ("mingw-w64-x86_64-Mesa-10.0.0-2-any.pkg.tar.xz" checked for example):
http://www.mirrorservice.org/sites/downloads.sourceforge.net/m/ms/msys2/REPOS/MINGW/
  GLdevice    = 'Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)'
  GLversion   = '2.1 Mesa 10.0.2 (git-675cd84)'
  GLSLversion = '1.30'
  GLdebug     =  ON
03Commenter 3
Please check if this issue is still relevant, after integration of #0024589
04Commenter 1
After request of Visualization team execution of all the Visualization tests have been moved form virtual station to real hardware on Windows and Linux platforms
05Author
> After request of Visualization team execution of all the Visualization tests
> have been moved form virtual station to real hardware on Windows and Linux platforms

Dear Commenter 1, this statement is not completely true - some test grids creating 3D viewer snapshots are regularly executed on MS OpenGL implementation.

Please consider reliability to perform tests on virtual machine using recent Mesa library builds (e.g. compare tests execution time, snapshots stability, tests failures).
06Commenter 1
OCCT has been tested on Windows with Mesa 10.2.4-1.
Draw[1]> OpenGL info:
  GLvendor = 'VMware, Inc.'
  GLdevice = 'Gallium 0.4 on llvmpipe (LLVM 3.4, 256 bits)'
  GLversion = '3.0 Mesa 10.2.4 (git-d92815a)'
  GLSLversion = '1.30'
  GLdebug = ON
Results:
1. No regressions
2. A slight improvement in performance were noted

All Jenkins systems have been moved to new messa

07Commenter 1
JFYI

I tried to test occt visualization on virtual stations with new Mesa.
The some problems were detected.
See link below.

http://jenkins-test-04.nnov.opencascade.com:8080/job/mnt-master-master_occt_tests_windows_vis_start/3/

Related records