celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

Celluloid 0.22 opening extremely slowly

Open atiredman opened this issue 4 years ago • 4 comments

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:

  1. Try opening Celluloid 0.22
  2. Measure how long it takes
  3. Compare to 0.21

Actual Results: Opens in ~18 seconds

Expected Results: Opens instantly

Version: 0.22

Additional Information: Arch Linux with Cinnamon Desktop

atiredman avatar Nov 12 '21 18:11 atiredman

I can't reproduce this. It opens in about a second for me even in a VM.

Can you post the log?

gnome-mpv avatar Nov 13 '21 11:11 gnome-mpv

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.

atiredman avatar Nov 13 '21 16:11 atiredman

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

D33M0N avatar Dec 03 '21 10:12 D33M0N

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

Matthis-F avatar Dec 20 '21 10:12 Matthis-F