[vtk-developers] Failed tests

Ken Martin ken.martin at kitware.com
Mon Jul 2 11:11:41 EDT 2018


I'm not right now. Very busy time of year. But I'm keeping it in my inbox
in case I get some free time.

On Mon, Jul 2, 2018 at 3:26 AM, Todd <nztoddler at yahoo.com> wrote:

> Is anyone looking at this?
>
> On 27 Jun 2018 3:40 p.m., Todd Martin via vtk-developers <
> vtk-developers at public.kitware.com> wrote:
>
> With respect to the TestSpherePoints/TestSphereVertex tests the problem
> seems to be in vtkOpenGLPolyDataMapper::ReplaceShaderNormal() with the
> substituted text for the shader. When the following is commented out the
> points show as squares. Otherwise they are altogether absent.
>
>   //if (this->DrawingSpheres(*this->LastBoundBO, actor))
>   //{
>   //  vtkShaderProgram::Substitute(FSSource,
>   //    "//VTK::Normal::Dec",
>   //    "uniform float ZCalcS;\n"
>   //    "uniform float ZCalcR;\n"
>   //    );
>   //  vtkShaderProgram::Substitute(FSSource,
>   //    "//VTK::Normal::Impl",
>
>   //    " float xpos = 2.0*gl_PointCoord.x - 1.0;\n"
>   //    " float ypos = 1.0 - 2.0*gl_PointCoord.y;\n"
>   //    " float len2 = xpos*xpos+ ypos*ypos;\n"
>   //    " if (len2 > 1.0) { discard; }\n"
>   //    " vec3 normalVCVSOutput = normalize(\n"
>   //    "   vec3(2.0*gl_PointCoord.x - 1.0, 1.0 - 2.0*gl_PointCoord.y,
> sqrt(1.0 - len2)));\n"
>
>   //    " gl_FragDepth = gl_FragCoord.z + normalVCVSOutput.z*ZCalcS*
> ZCalcR;\n"
>   //    " if (cameraParallel == 0) {\n"
>   //    "  float ZCalcQ = (normalVCVSOutput.z*ZCalcR - 1.0);\n"
>   //    "  gl_FragDepth = (ZCalcS - gl_FragCoord.z) / ZCalcQ + ZCalcS; }\n"
>   //    );
>
>   //   shaders[vtkShader::Fragment]->SetSource(FSSource);
>   //   return;
>   //}
>
>
> Todd Martin, PhD.
> *Freelance Engineer/Software Architect.*
>
>
>
> On Wednesday, June 27, 2018, 11:58:35 AM GMT+12, Todd Martin via
> vtk-developers <vtk-developers at public.kitware.com> wrote:
>
>
> Here's what's happening with depth peeling, where the data path on my
> machine is
> D:\3RD_PARTY\Build-VTK8-1_64\ExternalData\Testing\Data
> [image: Inline image]
>
>
>
> Todd Martin, PhD.
> *Freelance Engineer/Software Architect.*
>
>
>
> On Wednesday, June 27, 2018, 11:38:00 AM GMT+12, Todd Martin <
> nztoddler at yahoo.com> wrote:
>
>
>
>
> On Wednesday, June 27, 2018, 1:02:24 AM GMT+12, Ken Martin <
> ken.martin at kitware.com> wrote:
>
>
> What graphics card model do you have?
>
> Actually its an integrated GPU. Not Radeon at all.
>
>            Card name: Intel(R) HD Graphics 4600
>         Manufacturer: Intel Corporation
>            Chip type: Intel(R) HD Graphics Family
>             DAC type: Internal
>          Device Type: Full Device (POST)
>           Device Key: Enum\PCI\VEN_8086&DEV_0416&SUBSYS_1940103C&REV_06
>        Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|
> DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
>  Device Problem Code: No Problem
>  Driver Problem Code: Unknown
>       Display Memory: 2160 MB
>     Dedicated Memory: 112 MB
>        Shared Memory: 2048 MB
>         Current Mode: 1920 x 1080 (32 bit) (60Hz)
>          HDR Support: Not Supported
>     Display Topology: External
>  Display Color Space: DXGI_COLOR_SPACE_RGB_FULL_G22_NONE_P709
>      Color Primaries: Red(0.648938,0.339367), Green(0.282727,0.603039),
> Blue(0.143078,0.070813), White Point(0.313000,0.329602)
>    Display Luminance: Min Luminance = 0.500000, Max Luminance =
> 270.000000, MaxFullFrameLuminance = 270.000000
>         Monitor Name: AOC 2236
>        Monitor Model: 2236
>           Monitor Id: AOC2236
>          Native Mode: 1920 x 1080(p) (60.000Hz)
>          Output Type: HD15
> Monitor Capabilities: HDR Not Supported
> Display Pixel Format: DISPLAYCONFIG_PIXELFORMAT_32BPP
>       Advanced Color: Not Supported
>          Driver Name: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,
> igd12umd64.dll
>  Driver File Version: 20.19.0015.4835 (English)
>       Driver Version: 20.19.15.4835
>          DDI Version: 12
>       Feature Levels: 11_1,11_0,10_1,10_0,9_3,9_2,9_1
>         Driver Model: WDDM 2.0
>  Graphics Preemption: Primitive
>   Compute Preemption: Thread group
>             Miracast: Supported
>  Hybrid Graphics GPU: Integrated
>       Power P-states: Not Supported
>       Virtualization: Not Supported
>           Block List: No Blocks
>   Catalog Attributes: Universal:N/A Declarative:N/A
>    Driver Attributes: Final Retail
>     Driver Date/Size: 16/10/2017 12:00:00 PM, 39861272 bytes
>          WHQL Logo'd: Yes
>      WHQL Date Stamp: Unknown
>    Device Identifier: {D7B78E66-4756-11CF-6F61-4F39BAC2D935}
>            Vendor ID: 0x8086
>            Device ID: 0x0416
>            SubSys ID: 0x1940103C
>          Revision ID: 0x0006
>   Driver Strong Name: oem40.inf:5f63e534dd929195:
> iHSWM_w10:20.19.15.4835:pci\ven_8086&dev_0416&subsys_1940103c
>       Rank Of Driver: 00D10001
>          Video Accel: ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C
>          DXVA2 Modes: DXVA2_ModeMPEG2_VLD  DXVA2_ModeMPEG2_IDCT
> DXVA2_ModeVC1_D2010  DXVA2_ModeWMV9_IDCT  DXVA2_ModeVC1_IDCT
> DXVA2_ModeH264_VLD_NoFGT  DXVA2_ModeH264_VLD_Stereo_Progressive_NoFGT
> DXVA2_ModeH264_VLD_Stereo_NoFGT  DXVA2_ModeH264_VLD_Multiview_NoFGT
> DXVA2_ModeHEVC_VLD_Main
>         D3D9 Overlay: Supported
>              DXVA-HD: Supported
>         DDraw Status: Enabled
>           D3D Status: Enabled
>           AGP Status: Enabled
>        MPO MaxPlanes: 1
>             MPO Caps: Not Supported
>          MPO Stretch: Not Supported
>      MPO Media Hints: Not Supported
>          MPO Formats: Not Supported
>     PanelFitter Caps: Not Supported
>  PanelFitter Stretch: Not Supported
>
> One thing you might try is commenting out this line in
> vtkOpenGL2ContextDevice2D.cxx, it is around line 1169
>
>     // We can actually use point sprites here
> comment this ->    // if (this->RenderWindow->IsPointSpriteBugPresent())
>     {
>
> Well that fixed the chart tests. Now there's just vtkRenderingOpenGL2Cxx
> (spheres and verticies) and vtkRenderingVolumneOpenGL2Cxx (depth peeling).
> I will investigate further.
>
> On Mon, Jun 25, 2018 at 7:14 PM Todd Martin <nztoddler at yahoo.com> wrote:
>
> I updated the graphics card drivers but it made no difference.
>
> What I did find is that if I explicitly set the plot points marker style
> to either VTK_MARKER_CROSS or VTK_MARKER_SQUARE in the TestLinePlot2 test
> it works; although it always draws squares.
>
> VTK_MARKER_PLUS, VTK_MARKER_CIRCLE and VTK_MARKER_DIAMOND produce nothing.
> The default style is VTK_MARKER_CIRCLE
>
>
>
> Todd Martin, PhD.
> *Freelance Engineer/Software Architect.*
>
>
>
> On Tuesday, June 26, 2018, 6:23:34 AM GMT+12, Ken Martin <
> ken.martin at kitware.com> wrote:
>
>
> In case no one has suggested this yet, have you made sure you have the
> latest driver? That seems to often solve these types of issues.
>
>
>
> On Wed, Jun 20, 2018 at 9:45 PM Todd Martin via vtk-developers <
> vtk-developers at public.kitware.com> wrote:
>
> Hi.
>
> I recently built and ran the VTK tests with VS2017 on a 64bit Windows 10
> laptop with a Radeon graphics card.
>
> 1>The following tests FAILED:
> 1>     51 - vtkChartsCoreCxx-TestBagPlot (Failed)
> 1>     59 - vtkChartsCoreCxx-TestChartBadPoints (Failed)
> 1>     60 - vtkChartsCoreCxx-TestChartDouble (Failed)
> 1>     61 - vtkChartsCoreCxx-TestChartDoubleColors (Failed)
> 1>     62 - vtkChartsCoreCxx-TestChartMatrix (Failed)
> 1>     65 - vtkChartsCoreCxx-TestChartsOn3D (Failed)
> 1>     68 - vtkChartsCoreCxx-TestContext (Failed)
> 1>     81 - vtkChartsCoreCxx-TestLegendHiddenPlots (Failed)
> 1>     87 - vtkChartsCoreCxx-TestLinePlot2 (Failed)
> 1>     88 - vtkChartsCoreCxx-TestLinePlotInteraction (Failed)
> 1>     97 - vtkChartsCoreCxx-TestPlotMatrix (Failed)
> 1>    100 - vtkChartsCoreCxx-TestScatterPlot (Failed)
> 1>    102 - vtkChartsCoreCxx-TestScatterPlotMatrixVehicles (Failed)
> 1>    103 - vtkChartsCoreCxx-TestScatterPlotMatrixVisible (Failed)
> 1>    104 - vtkChartsCoreCxx-TestScientificPlot (Failed)
> 1>    1186 - vtkRenderingOpenGL2Cxx-TestSpherePoints (Failed)
> 1>    1187 - vtkRenderingOpenGL2Cxx-TestSphereVertex (Failed)
> 1>    1220 - vtkRenderingVolumeCxx-TestGPURayCastDepthPeeling (Failed)
> 1>    1221 - vtkRenderingVolumeCxx-TestGPURayCastDepthPeelingBlendModes
> (Failed)
> 1>    1222 - vtkRenderingVolumeCxx-TestGPURayCastDepthPeelingClip (Failed)
> 1>    1223 - vtkRenderingVolumeCxx-TestGPURayCastDepthPeelingOpaque
> (Failed)
> 1>    1224 - vtkRenderingVolumeCxx-TestGPURayCastDepthPeelingTransVol
> (Failed)
>
> With respect to vtkChartsCoreCxx and vtkRenderingOpenGL2Cxx the failures
> all exhibit the same feature - no points/verticies. I have attached images
> to illustrate the problem. I don't know if it is relevant, but I noticed an
> inability to display points in SalomE (which uses VTK for displaying
> meshes) many years ago after switching from a desktop machine with a Nvidia
> graphics card to a laptop with a Radeon graphics card. I always assumed the
> bug was in SalomE, but it might be this failure in VTK itself.
>
>
> Todd Martin, PhD.
> Freelance Engineer/Software Architect.
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 101 East Weaver Street
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> Carrboro, North Carolina
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> 27510 USA
>
> 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
> Distinguished Engineer
> Kitware Inc.
> 101 East Weaver Street
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> Carrboro, North Carolina
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> 27510 USA
>
> 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.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
101 East Weaver Street
Carrboro, North Carolina
27510 USA

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: <https://public.kitware.com/pipermail/vtk-developers/attachments/20180702/f821f1dc/attachment-0001.html>


More information about the vtk-developers mailing list