# Animation is slow on 5.10 but not on 5.8.2

**URL:** https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067
**Category:** ParaView Support
**Created:** [February 25, 2022, 8:45am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067 "2022-02-25T08:45:12Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 8:45am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/1 "2022-02-25T08:45:12Z")

</div>

Hello,

I am trying to use the animation scene. The pipeline is pretty basic: one pvd file and a glyph filter (see picture).

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

Version 5.10.0: When using the snap to time step mode the animation is super slow, with lags when you pull manually the time cursor. Same for the real time mode, when changing the overall duration to a lower 10s the animation is only showing a sequence of 10 images out of 4497 in my case. So it seems that the glyph filter is really slow and Paraview cannot apply this filter fast enough.

Version 5.8.2: The animation is much faster for this version I don’t know why. Really it is night and day. So I guess there is a default parameter somewhere in Paraview that allows maybe Paraview to apply the filter to all timesteps before launching the animation? That’s my own interpretation.

Question: Do you know if there are anything that can be done to make the animation faster on 5.10? I would like to precise that I do only one loop of the animation as it is quite long (real time is 788s).

---

<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: [February 25, 2022, 8:55am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/2 "2022-02-25T08:55:27Z")

</div>

You can try to use animation cache

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 9:22am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/3 "2022-02-25T09:22:13Z")

</div>

Thanks for your quick reply.

The animation cache is on. The thing is that this animation cache is only working once you have already done one loop of visualization if I am not wrong.  
You can see the difference in animation speed below:

[/uploads/default/original/2X/3/387b51a88b01e689b6932dd517029776cd773518.mp4](https://discourse.paraview.org/uploads/default/original/2X/3/387b51a88b01e689b6932dd517029776cd773518.mp4)

---

<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: [February 25, 2022, 9:25am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/4 "2022-02-25T09:25:37Z")

</div>

please share your data.

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 9:30am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/5 "2022-02-25T09:30:02Z")

</div>

Here it is:  
[5474.7z](https://discourse.paraview.org/uploads/short-url/cmZrKtZorExBOOHlIBbjIlly7DS.7z) (675.0 KB)

---

<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: [February 25, 2022, 9:33am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/6 "2022-02-25T09:33:36Z")

</div>

It is fast here (ParaView 5.10.0 binary release, ArchLinux)

![Peek 2022-02-25 10-33](https://discourse.paraview.org/uploads/default/original/2X/f/f45f4f221952c33e0390bc46dd321010d136d501.gif)

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 9:38am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/7 "2022-02-25T09:38:28Z")

</div>

So no clues why it is fast on yours but not on mine?  
I am on windows

 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/76dab2869e30eb0cfd5e9e3d20c1cbeaae3fec63.png)

---

<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: [February 25, 2022, 9:41am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/8 "2022-02-25T09:41:53Z")

</div>

You want to identify what exactly is slow ? Reading time ? Filter execution ? Rendering ?

Use the Tools → TimerLog for that.

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 9:53am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/9 "2022-02-25T09:53:24Z")

</div>

It’s not clear what steps are time consuming from the timer log, maybe changing the pvd ID but still 0.03s is fast:  
[TimerLog.txt](https://discourse.paraview.org/uploads/short-url/47gsXHtPBvQJ5BsBFtWkX994xus.txt) (4.3 KB)

---

<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: [February 25, 2022, 9:58am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/10 "2022-02-25T09:58:19Z")

</div>

The log is missing any reading time from file. Here what I would have expected for a single timestep:

```auto
Local Process
RenderView::Update, 0.005497 seconds
    vtkPVView::Update, 0.005263 seconds
        Execute 5474.pvd id: 22357, 0.001401 seconds
        Execute 5474.pvd(UnstructuredGridRepresentation)/SurfaceRepresentation id: 22573, 0.00046 seconds
        Execute 5474.pvd(ExtractSelection:0) id: 22358, 1.2e-05 seconds
        Execute Glyph1 id: 22708, 0.001706 seconds
        Execute Glyph1(GeometryRepresentation)/SurfaceRepresentation id: 22966, 0.000216 seconds
        Execute Glyph1(ExtractSelection:0) id: 22709, 1.1e-05 seconds
PVDReader::GatherInformation, 0.000702 seconds
vtkSMRepresentationProxy::GetRepresentedDataInformation, 0.000561 seconds
PVDReader::GatherInformation, 0.000253 seconds
Glyph::GatherInformation, 0.000487 seconds
vtkSMRepresentationProxy::GetRepresentedDataInformation, 0.000266 seconds
Still Render, 0.001925 seconds
    Render (use_lod: 0), (use_distributed_rendering: 0), (use_ordered_compositing: 0)
    OpenGL Dev Render, 0.000531 seconds
    OpenGL Dev Render, 0.000361 seconds
    OpenGL Dev Render, 1.2e-05 seconds

```

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 10:03am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/11 "2022-02-25T10:03:27Z")

</div>

My bad, the time threshold was active at 0.001s. Here is what I get when I put it on ‘show all’:  
[TimerLog.txt](https://discourse.paraview.org/uploads/short-url/svI4lzE9EkRBEkK53uLLD9dOa78.txt) (6.4 KB)

---

<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: [February 25, 2022, 10:04am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/12 "2022-02-25T10:04:14Z")

</div>

Then I have no idea what is causing the slowness tbh.

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [February 25, 2022, 10:29am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/13 "2022-02-25T10:29:07Z")

</div>

The filter does not seem to be the cause, it is slow even without it…  
If I find a fix I’ll let you know

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [March 2, 2022, 12:37am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/14 "2022-03-02T00:37:59Z")

</div>

If you want to compress the dataset with something other than 7z, I will take a look. I cannot open a 7z format.

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [March 2, 2022, 7:06am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/15 "2022-03-02T07:06:58Z")

</div>

I guess zip format is better:  
[5474.zip](https://discourse.paraview.org/uploads/short-url/nUtWjmtm1LdnoM2cEHb5yXJ8NRl.zip) (1.5 MB)

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [March 2, 2022, 7:11am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/16 "2022-03-02T07:11:41Z")

</div>

For your info I did the timerlog with the 5.8 version to compare with 5.10. The biggest difference is in the render view update when it executes the next pvd id.  
[TimerLog5.8](https://discourse.paraview.org/uploads/short-url/5UWYjYRUy1KKQgSBsqxuwBTYn09.8) (28.0 KB)

---

<div class="post-metadata">

### Author: ![wascott](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/w/8e8cbc/32.png) [@wascott](https://discourse.paraview.org/u/wascott)
#### Post date: [March 2, 2022, 6:53pm UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/17 "2022-03-02T18:53:58Z")

</div>

OK, I took a look at this. A few disjoint thoughts

- I am seeing a slowdown between 5.8 and 5.10. However, it is very small. With 5.8, I’m getting around 14 timesteps per second, on 5.10 I’m getting about 11 timesteps per second. This is on my Macbook. I then tried Linux, and Linux remote server (software rendered). Only the software rendering seemed to lag somewhat, but was still extremely usable.
- I tested with just play, then drug the Annotate Time time slider. Again, results were extremely similar.
- Your dataset is a weird one. Time is not consistent. I believe this was not the issue, but it is strange.
- My speculation is that you are falling out of hardware rendering into software for some reason.
- Try deleting your configuration files. These tend to “rot”, and if you have been using paraview for years, but haven’t cleared the out, now is a good time. Edit/ Reset to Default Settings.
- As a diagnostic tool, so we can add numbers to “man, this feels slow”, in the settings/ Renderview/ Advanced at the bottom is a “Show Annotation” checkbox.
- As another diagnostic tool, look in Help/ About, and look at the rendering between 5.8.0 and 5.10.0. Are they both hardware?

That’s about all I can think of…

Alan

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [March 3, 2022, 7:18am UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/18 "2022-03-03T07:18:37Z")

</div>

Thanks Alan for taking some time for this issue,

- I tried with some other computers (always on windows) and the same issue was encountered.
- The reset to default settings was not successful (I already reinstalled Paraview in an attempt to solve this problem).
- The show annotation checkbox gave me this information:  
Mode: still  
Level of detail: no  
Remote/parallel rendering: no  
Frame rate: 500fps (oscillating between 500 and 1000)  
As a comparison I did the same with 5.8 and the frame rate is constant at 1000fps, no oscillation at all.
- Looking at the About section, I could not spot any difference between 5.8 and 5.10 (you already have a screenshot of the about section of version 5.10 a few messages above). I then put here 5.8.

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

Thanks again for your time

---

<div class="post-metadata">

### Author: ![todoooo](https://discourse.paraview.org/user_avatar/discourse.paraview.org/todoooo/32/2819_2.png) [@todoooo](https://discourse.paraview.org/u/todoooo)
#### Post date: [March 3, 2022, 12:39pm UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/19 "2022-03-03T12:39:27Z")

</div>

How many cores does your Windows machine have?

---

<div class="post-metadata">

### Author: ![gu.defromont](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/g/ed655f/32.png) [@gu.defromont](https://discourse.paraview.org/u/gu.defromont)
#### Post date: [March 3, 2022, 12:55pm UTC](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067/20 "2022-03-03T12:55:09Z")

</div>

4 cores exactly!

[Next page](https://discourse.paraview.org/t/animation-is-slow-on-5-10-but-not-on-5-8-2/9067.md?page=2)
