# Bad display for large dataset

**URL:** https://discourse.paraview.org/t/bad-display-for-large-dataset/7562
**Category:** ParaView Support
**Tags:** vtk
**Created:** [July 7, 2021, 5:58am UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562 "2021-07-07T05:58:20Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 5:58am UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/1 "2021-07-07T05:58:20Z")

</div>

Hi everyone,

Recently I have been working with this dataset :  
VTU :: [restart\_00000000.vtu - Google Drive](https://drive.google.com/file/d/1Sqsi0ZhzPjjz1JMsB8yRF4b3r3TT2Yhy/view?usp=sharing)  
HDF5 + XDMF :: [restart\_00000000.h5 - Google Drive](https://drive.google.com/file/d/1rPmP9HD8ed3UzLrkCWt6SWTKJwQqaU9Y/view?usp=sharing) + [restart\_00000000.xdmf - Google Drive](https://drive.google.com/file/d/1I8kk_1BFoU4CozmPQDmALJ7-PnzAnM3N/view?usp=sharing)

It’s large but not huge yet I would say (only 50 million cells) so I wasn’t expecting any trouble, but it turns out that  
1/ although Paraview can display the mesh itself fine (when no field for color-mapping is chosen)  
2/ pieces of the data literally disappear when I choose to display a field on it.

I tried VTU, HDF5+XDMF, VTK legacy … nothing works, it’s always the same issue.  
Above are links to the data in case someone would want to try it : I left only one dataset “Density” that is supposed to be constant everywhere with a value of 1.4.

I tried Paraview 5.9.0\_RC2 and Paraview 5.9.1 on MacOSX Big Sur. I am sorry I cannot provide screenshots right now I do not have them with me, but the problem is quite clear as soon as one try to display the Density field … only 2 small pieces are still displayed, the rest disappears …

Thanks for our help !!

Thibault

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 9:10am UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/2 "2021-07-07T09:10:41Z")

</div>

Unable to reproduce here.

 ![image](https://discourse.paraview.org/uploads/default/original/2X/2/208da64a74c670f7fecea11e4af489581d4f962d.png)

ParaView 5.9.1, ArchLinux.

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 11:09am UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/3 "2021-07-07T11:09:39Z")

</div>

Thank you Mathieu.

Turns out I found a Paraview 5.8.0 on Centos 7 and it displays fine too. The machine I used here has 64 Go memory and opening the \*.vtu leads to about 50% memory use.

Is it therefore possible that on my Mac, the lack of memory leads to display glitches ?

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 2:23pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/4 "2021-07-07T14:23:17Z")

</div>

![image](https://discourse.paraview.org/uploads/default/original/2X/8/81373bdfbf29fc35bab8e9f71e35a6215ad80375.jpeg)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/4/4dcc1d86333f5c86a0d3bfaaf53f202db556305a.jpeg)

To add to the discussion, here is what I see when I try to visualize the mesh (it’s fine) and the density (not fine!).

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 2:52pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/5 "2021-07-07T14:52:43Z")

</div>

Here it is using 13Go CPU Ram and 2G GPU Ram.

Check your GPU RAM and GPU driver.

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 3:07pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/6 "2021-07-07T15:07:04Z")

</div>

As it turns out it uses 12.43 Go CPU RAM, but since the GPU is embedded in the CPU on the macbook pro, I cannot really give you the consumption on that end … 😕  
Is there a way to dump that from paraview maybe ?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 3:09pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/7 "2021-07-07T15:09:22Z")

</div>

Yeah, I think your integrated GPU is not able to handle rendering of a dataset that big.

You can try with `--mesa` option to not use your GPU at all.

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 3:14pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/8 "2021-07-07T15:14:43Z")

</div>

OK thanks. The exe I got from the paraview 5.9.1 dmg does not seem to like “paraview --mesa”, it is looking to open the file called “–mesa” … do I have to compile Paraview by hand ?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 3:15pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/9 "2021-07-07T15:15:51Z")

</div>

It should be in the release, no idea how to set the option on MacOS. Maybe @cory.quammen knows.

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 7, 2021, 3:22pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/10 "2021-07-07T15:22:05Z")

</div>

The macos binaries do not include mesa, so that option is not available to you.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 3:23pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/11 "2021-07-07T15:23:47Z")

</div>

Thanks @cory.quammen .

Sorry @tbridel , not sure there is a solution here.

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 3:24pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/12 "2021-07-07T15:24:09Z")

</div>

Ah … ok …  
I tried using the --force-offscreen-rendering but I think it also relies on GPU somewhat, or anyways it does not work either.  
So on the macs there is no way to disable the GPU use ?

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 3:24pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/13 "2021-07-07T15:24:58Z")

</div>

I think a feature should be added for macs. I means macbooks rarely have GPUs and a lot of Paraview users have those, so I find it strange that I’m the first one noticing this shortcoming … but okay, I’ll find a way !

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 7, 2021, 3:32pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/14 "2021-07-07T15:32:35Z")

</div>

MacOS integrated GPU can show data without issue. Your dataset is too big for your GPU. You just do not have the usual fallback of using mesa the other OSes have.

You can open a feature request in the dedicated category:

> **[Feature Requests](https://discourse.paraview.org/c/feature-requests/14)**
>
> Request features for future versions of ParaView. If a feature you want to see in ParaView has already been added to this category, please vote for it by liking the first post in the topic.

---

<div class="post-metadata">

### Author: ![tbridel](https://discourse.paraview.org/user_avatar/discourse.paraview.org/tbridel/32/7072_2.png) [@tbridel](https://discourse.paraview.org/u/tbridel)
#### Post date: [July 7, 2021, 3:35pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/15 "2021-07-07T15:35:58Z")

</div>

Okay.  
I can still compile paraview with MESA by hand right ?

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [July 7, 2021, 3:37pm UTC](https://discourse.paraview.org/t/bad-display-for-large-dataset/7562/16 "2021-07-07T15:37:28Z")

</div>

Perhaps. That configuration on macos is untested, so I’m not sure how successful it will be.
