Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The app fails to play video: celluloid-CRITICAL **: Failed to initialize render context #992

Open
barracuda156 opened this issue Nov 14, 2024 · 3 comments

Comments

@barracuda156
Copy link

Overview Description:
celluloid fails to play any video on macOS 10.6. (Yes, it is a rather old version, but I have all dependencies working in current/recent versions.)

Steps to Reproduce:
Reproducing it could be somewhat challenging, but install mpv-legacy +libmpv port and build celluloid against it.

Actual Results:
Trying to load a video for playback, I get instead an error message: Playback was terminated abnormally. Reason: something happened.
Terminal has the following:

(io.github.celluloid_player.Celluloid:26663): celluloid-CRITICAL **: 13:14:36.072: Failed to initialize render context

Expected Results:
I hope it can work normally, since mpv itself works.

Version: 0.27

Additional Information: MacPorts environment.

What can I try? I understand that perhaps nobody has 10.6, but maybe the issue looks familiar.

@gnome-mpv
Copy link
Collaborator

I don't have a Mac to test with, but my guess is that it's something to do with your OpenGL version. We're using GtkGLArea, which requires at least OpenGL 3.2 to work. What version do you have?

@barracuda156
Copy link
Author

I don't have a Mac to test with, but my guess is that it's something to do with your OpenGL version. We're using GtkGLArea, which requires at least OpenGL 3.2 to work. What version do you have?

@gnome-mpv Thank you for responding!

From a quick search, it is at 2.1 or 3.0.
So 3.2 is probably off question, unless it can be supported via mesa etc.

I could try an earlier version of celluloid. Perhaps anything that used GTK3 will work – all other apps using it do.

@barracuda156
Copy link
Author

@gnome-mpv Confirmed, 0.21 (apparently the last to support GTK3) builds and outputs the video.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants