Author Topic: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started  (Read 782 times)

OutOfSpace

  • Newbie
  • *
  • Posts: 9
AMD Ryzen 7 3700X
32GB RAM
NVIDIA GeForce RTX 2060 SUPER

I'm having an issue where the application becomes unresponsive for about 4 seconds after playback has started. The video plays fine, but the UI cannot be interacted with. Everything that has been interacted with during those 4 seconds will suddenly trigger once the UI freeze is over.

This is a screencast of the issue : https://knowledge.autodesk.com/community/screencast/2eb556c3-0df0-4f03-a150-a66796cc6e96

This screencast shows the application being skinned by WindowBlinds, however the issue also happens when it is excluded from WindowBlinds skinning.
« Last Edit: September 06, 2019, 12:51:37 AM by OutOfSpace »

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #1 on: September 06, 2019, 05:36:58 AM »
Are you immediately stopping playback (klicking Play/Pause the second time) and then trying to interact with the GUI? Can't reproduce with just starting playback and immediately changing encoder or muxer after that on macOS and on Windows 10 with samples up to 1080p.

With 4k samples which Avidemux can't decode in real time anyway, everything is laggy (this is nothing new).

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #2 on: September 06, 2019, 05:41:10 AM »
I am pressing play and then attempting to press stop. The video won't stop right away because the UI is unresponsive after playback has started. Clicking the other UI elements was just to show that the whole UI becomes unresponsive.
I am not playing 4k video. This is 720p.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #3 on: September 06, 2019, 05:42:24 AM »
What is the size of the cache?

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #4 on: September 06, 2019, 05:42:57 AM »
16

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #5 on: September 06, 2019, 05:44:31 AM »
Okay, then WFM.

(Avidemux seeks back to the last displayed picture on stopping playback, this picture is normally still in the cache, otherwise stopping may be not immediate)
« Last Edit: September 06, 2019, 05:46:37 AM by eumagga0x2a »

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #6 on: September 06, 2019, 05:45:50 AM »
Same hardware?

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #7 on: September 06, 2019, 05:47:16 AM »
No, a MBP (i.e. just a fraction of the resources your system has)
« Last Edit: September 06, 2019, 05:48:57 AM by eumagga0x2a »

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #8 on: September 06, 2019, 05:51:31 AM »
Okay so will this be considered not an issue because it works on your hardware? It also works fine on my laptop with different specs but not on this computer which is a fresh system and fresh install.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #9 on: September 06, 2019, 05:56:13 AM »
Do you experience the same issue with WindowBlinds compeltely uninstalled? And with a different video output (enable OpenGL and select OpenGL output or simply with unaccelerated Qt)? And with DXVA2 hw accelerated decoding disabled?

I need to be able to reproduce (don't think I would be able to do anything about it...). Might be something related to graphics drivers.
« Last Edit: September 06, 2019, 05:58:19 AM by eumagga0x2a »

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #10 on: September 06, 2019, 06:15:44 AM »
Alright! The UI reacts normally when video display is set to Qt or OpenGL. So I guess the issue is fixed! Thank you!

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #11 on: September 06, 2019, 06:26:39 AM »
Good, we've identified the trigger. Will try something later, thank you.

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #12 on: September 06, 2019, 09:09:52 AM »
Good, we've identified the trigger. Will try something later, thank you.

I can test builds on my machine if you need me to.

eumagga0x2a

  • Moderator
  • Hero Member
  • *****
  • Posts: 3406
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #13 on: September 06, 2019, 09:49:06 AM »
Could you please clarify whether the issue is really tied to the DXVA2 output only or rather to the combination of DXVA2 decoding AND output? If you disable just the hw accelerated decoding and keep DXVA2 output, is it enough to trigger the problem? Have you tried completely uninstalling WindowBlinds?

OutOfSpace

  • Newbie
  • *
  • Posts: 9
Re: 2.7.3 - 2.7.5 Avidemux becomes unresponsive for 4s after playback started
« Reply #14 on: September 06, 2019, 11:36:33 AM »
"Decode video using DXVA2 (windows)" was never enabled.

I have not tried uninstalling WindowBlinds. That would have required a restart which I couldn't do at the time. However unloading WindowBlinds removes all the hooks from the system so uninstalling should not be necessary. If you really want me to try uninstalling it, I can do that later.
« Last Edit: September 06, 2019, 11:38:17 AM by OutOfSpace »