"Surface With Edges" rendering goes wild when viewing multidimensional meshes

I’ve been working with some Exodus II files containing both 2D and 3D elements (very basic example in the first image below, Exodus II file also attached). When using the “Surface With Edges” representation, every time I move or rotate in the viewport, geometric chaos ensues with coloured spikes (matching the mesh colours) appearing everywhere (as pictured in images 2 and 3). These shapes sometimes remain visible once moving around in the viewport is complete, and I’ve noticed moving the mouse outside the viewport toggles them on or off (repeatably) if they do persist.

I’m running Paraview 5.11.1 on an Intel core MacBook Pro with AMD Radeon graphics processor.

mixed_dim_example.e (12.2 KB)

This is unfortunately a known issue on some Intel macs: https://gitlab.kitware.com/paraview/paraview/-/issues/20206

This looks very similar to a known bug that I put an issue in years ago. It occurs on some MacBooks, but not all, and occurs when rendering with “Surface With Edges”.

The issue is here: https://gitlab.kitware.com/paraview/paraview/-/issues/20206. There are many posts, but the summary is that this is probably an issue with the graphics driver, but this issue has not been fixed because Kitware cannot reproduce it easily.

The workaround for this is to first create a shallow copy of the data using the Pass Arrays filter. Then set the representation of the original dataset to Surface, and set the duplicate representation to be Wireframe.