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.23- fails to start #765

Open t-matze opened 2 years ago

t-matze commented 2 years ago

Overview Description: Whether I want to start Celluloid from the start menu or from the command line, it fails to start. CLI gives more information, which nevertheless doesn't seem to point to a solution, since I have an Intel, not NVIDIA graphic. CLI-Output: $ celluloid Cannot load libcuda.so.1 Speicherzugriffsfehler (Speicherabzug geschrieben)

Steps to Reproduce:

  1. Open terminal
  2. type 'celluloid' and press enter
  3. see whether or not celluloid starts.

Actual Results: Celluloid doesn't start, it tells me that it misses a (symlink to a) library that my system doesn't require.

Expected Results: Celluloid should start (with or without a file to play). It used to work well for me until some weeks past.

Version: 0.23-1

Additional Information: run on vanilla arch linux. Error-log and stout attached: celluloid.log Celluloid-stout.log

gnome-mpv commented 2 years ago

Cannot load libcuda.so.1

This is just mpv probing for Nvidia driver. It's normal even if you don't have an Nvidia card.

What WM/DE are you using?

t-matze commented 2 years ago

Hi, I'm using XFCE as a DE. mpv starts fine, when I run it from the start menu or from the command line (with a file to run). How can I narrow it further down?

gnome-mpv commented 2 years ago

How can I narrow it further down?

The best thing to do would be to get a backtrace using GDB. You may need to compile Celluloid from source to get debugging symbols.

t-matze commented 2 years ago

Thank you for your advice. I was able to get a backtrace using GDB, see the attached file, where I recorded the output. It started celluloid seemingly alright, I was able to play an audio file (mp3) without any noticable error. But when I wanted to play a video file (mp4), the picture froze on the first frame and it only played the audio of the video. I had to kill the process in cli. I then started celluloid plain (without GDB) and repeated the process, stout was narrowed down to the error messages/warnings (so it was rather sterr than stout). I pasted it onto the end of the log. Celluloid-debug.log Does this bring any light?

gnome-mpv commented 2 years ago

the picture froze on the first frame and it only played the audio of the video. I had to kill the process in cli.

That sounds a bit like #610. There might have been another performance regression recently, but I no longer have an Intel machine to test with.

Celluloid-debug.log Does this bring any light?

The log looks normal to me.

t-matze commented 2 years ago

Thank you for checking the log file and for referencing a possible reason for the problem.

uname -r 5.17.1-arch1-1

shows me that I have a kernel much further advanced than the 5.7 that was identified as the regression point in the bug report #610, which was >=5.7. The problem for me only occurred recently, I must have been past 5.7 a long time already when it was still working fine. How can I test it for the suspected recent performance regression?

gnome-mpv commented 2 years ago

You can try downgrading the kernel and see if the problem goes away. Since the problem started happening a few weeks ago, 5.15 could be a good starting point.

It might also be a good idea to try downgrading Celluloid as well so that we can rule out regressions in Celluloid.

t-matze commented 2 years ago

Hm, I didn't have time to follow your advice last week. Tonight, when I was about to proceed with downgrading celluloid, I tested it first, expecting to see the same failures. But it started immediately and played all tested files (video as well as audio) flawlessly. Just when changing from small window to maximized window to fullscreen or back, I noticed that the menu bar kept the last image instead of displaying just the menu bar itself - until I hovered over it with the mouse, then it was back to normal.

Schweber commented 2 years ago

I have the same problem with celluloid not launching or launching just to hang immediately and having to be killed. The last working version for me is 0.21, which works fine.

The problems started for me with 0.22 and above. I also upgraded to an i5-11600 at this time, so maybe this is related. I am using Manjaro KDE 5.17 with an RTX2070 at the moment. In my opinion, there is a problem with celluloid.