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.
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).
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.
What is the size of the cache?
16
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)
Same hardware?
No, a MBP (i.e. just a fraction of the resources your system has)
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.
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.
Alright! The UI reacts normally when video display is set to Qt or OpenGL. So I guess the issue is fixed! Thank you!
Good, we've identified the trigger. Will try something later, thank you.
Quote from: eumagga0x2a on September 06, 2019, 06:26:39 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.
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?
"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.
Quote from: OutOfSpace on September 06, 2019, 11:36:33 AM
"Decode video using DXVA2 (windows)" was never enabled.
Your screencast proves the opposite.
QuoteI 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.
Yes, please, try uninstalling WindowBlinds completely.
Oh my bad you're right. I didn't remember enabling it and it was disabled when I checked so I assumed I had never enabled it in the first place. The issue happens whether or not DXVA2 decoding is enabled and even when WindowBlinds is uninstalled.
Thanks for testing. I hoped that the problem were linked to DXVA2 decoding, in this case I would have something to try out (related to the way we allocate decoder surfaces), but well... no ideas ATM.
Any clues from admlog.txt? The NVIDIA graphics driver version is probably the latest, isn't it?
This problem persists in 2.7.6. Makes it really annoying when splicing clips together because spacebar to pause will sometimes be ignored completely. Sometimes the cursor will turn into a circle. Changing it to OpenGL did nothing until the program restarted after a crash.
Changing HW Accel DXVA2 leads to https://i.imgur.com/w97H3JX.png
Even after using OpenGL pausing or the UI doesn't always respond sometimes up to 10-15s during playback.
Seems like switching to QT solves it.
Does the problem affect all videos or only videos with frame rate equal the display refresh rate (usually 60 fps)? The latter is a known issue meanwhile, difficult to solve, unfortunately.