Celluloid 0.22 opening extremely slowly
Overview Description:
Ever since updating to 0.22 I have noticed Celluloid is taking an extremely long time to open. I just timed it with a stopwatch and found it took over 18 seconds to open! Version 0.21 opened in less than 1 second, and MPV continues to open videos instantly.
Steps to Reproduce:
- Try opening Celluloid 0.22
- Measure how long it takes
- Compare to 0.21
Actual Results: Opens in ~18 seconds
Expected Results: Opens instantly
Version: 0.22
Additional Information: Arch Linux with Cinnamon Desktop
I did another full system update before reinstalling 0.22 and have noticed some significant improvements over what I have been experiencing this past week. Celluloid 0.22 now seems to take between 3-4 seconds to open, which while still much slower than 0.21, is to the point I can live with it.
Here is the log I got from running G_MESSAGES_DEBUG=all celluloid --mpv-options='--msg-level=all=trace':
https://pastebin.com/P6C1BNMk
Thank you for your help.
For me it opens up instantly, but then freezes for like 3 seconds And 1 out of 10 times hangs entirely and becomes completely unresponsive (this exact bug is described best here: https://github.com/celluloid-player/celluloid/issues/711 ). Also what is this "cdplayer" nonsense I see in the logs? I don't have any optical disc type drive in my computer. celluloid-freeze.txt
Same issue Here, celluloid seems to hang for ~10 seconds before starting. Here logs of the command G_MESSAGES_DEBUG=all celluloid --mpv-options='--msg-level=all=trace' with timestamps included.
https://pastebin.com/LrAeqTAN
Edit : I ran strace attached to the celluloid process and found out it was stuck trying to load nvidia-modprobe. Turns out I didn't properly uninstall Nvidia drivers last time. Uninstalling the following packages and reinstalling libvdpau solved the issue. Packages I uninstalled:
- nvidia-utils
- opencl-nvidia
- cuda-11.0
Hope that helps