-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
setting hwdec to vaapi does not work #781
Comments
BTW, I just wanted to say thanks for this project. I've been using smplayer for over a decade, mostly for the mpv backend and access to settings for gpu acceleration, subtitle settings etc. Having found this project i realised most of those settings were actually provided by mpv, and Celluloid fits into my desktop much better than smplayer does, while exposing only those controls I regularly use. The others I can use the mpv keyboard shortcuts when needed |
The problem is probably with hybrid graphics. VAAPI works fine on my machine, but I don't hybrid graphics to test with. Would you be able to check if it works outside of Flatpak? |
I could try to check outside of flatpak, is there a recommended way to install it on Fedora 36 outside of flatpak? I'm not sure it's going to be relevant though, as I can run the mpv flatpak with the same settings and there the vaapi backend just works, as well as nvdec-copy. As it's also a flatpak, I don't think it's a result of my flatpak configuration, and I've checked in flatseal that my settings for both flatpaks is the same. My guess would be that some configuration in the Celluloid flatpak itself is different:
|
Same problem, but with amd solo GPU (vega64). Even when I try to run it from command line with: So, my assumption so far is that |
Still have this issue on Thinkpad T480 (Intel HD Graphics 620, no discrete GPU) running Fedora 38. VLC has no issues playing video files at full framerate while Celluloid looks choppy. |
Wayland? |
Tested on Xorg. Still the same. |
Lines 423 to 424 in c587612
It seems |
The GL provided by |
Desktop Ubuntu 23.10 @ Intel 12100 here - hwdec=vaapi falls back to software rendering, while vaapi-copy works. With a huge performance penalty as far as CPU utilization goes. mpv works with hwdec=vaapi as expected. UPD
Further investigation (googling) suggest (as per mpv-player/mpv#10424 (comment)) this might be because Celluloid uses GLX Opengl backend instead of EGL. |
Overview Description:
I have a dell xps 9570 with integrated intel gpu and discrete nvidia 1050 gpu. I'm using the flatpak version of Celluloid, and when setting hwdec=auto and vo=gpu in the config for celluloid, it uses nvdec-copy, and when explicitly setting hwdec=vaapi, it falls back to the software decoder.
However, when running the mpv flatpak, I can freely choose between nvdec-copy and vaapi, both work as expected.
Steps to Reproduce:
Actual Results:
software decoder is used
Expected Results:
vaapi decoder is used
Version: 0.23
Additional Information:
The text was updated successfully, but these errors were encountered: