celluloid-player / celluloid

A simple GTK+ frontend for mpv
https://celluloid-player.github.io
GNU General Public License v3.0
1.1k stars 87 forks source link

Celluloid 0.22 opening extremely slowly #707

Open atiredman opened 2 years ago

atiredman commented 2 years ago

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

gnome-mpv commented 2 years ago

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

Can you post the log?

atiredman commented 2 years ago

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.

D33M0N commented 2 years ago

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

Matthis-F commented 2 years ago

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:

Hope that helps