Open AlexandreBonneau opened 4 years ago
Looks like MPV doesn't like the graphics drivers? (I'm not sure about the sub_scale error, it is being passed a float as required.)
Please try the following and let me know what happens:
flatpak update --system
pip
and let me know if that has the same problem.Flatpak has been known to cause unpredictable issues in the past that are not experienced with a regular install.
flatpak update --system
shows that jellyfin is up-to-date:
Looking for updates…
Nothing to do.
Well, I installed pip
and pip3
, then installed jellyfin-mpv-shim and the desktop version, then launched it via krunner..and everything worked as expected!
Although, it turns out I was launching the flatpak version!!
Just to be sure, I deleted uninstalled the flatpak version, then the pip one, then reinstalled the flatpak one, and everything works.
Perhaps it has something to do with the server, where I had trouble making the vaapi acceleration work from within firefox (it still does not work), and tinkered the admin playback settings?
Anyway, sorry for the trouble, it works now :)
Well, after having reinstalled my system, I still get a blue screen when launching jellyfin-mpv-desktop, from a flatpak or from a pip3 installation, with and without the kde compositor.
Would you need any particular log?
Are you using Wayland? I’d still need the logs, ideally from both MPV versions.
I had this same problem and had to switch the gpu api from opengl to vulkan. Is there any reason why vulkan is not the default? I am not an expert on any of this but from what I have read vulkan is the best on Windows/Linux right?
I don’t set a default unless you enable shader packs. The shader pack feature uses OpenGL because I have found it to work more often than the Vulcan backend.
I'm not using Wayland; I'm using Debian bullseye, Linux 5.7.17, Mesa 20.1.5, Mpv shim 1.8.0, and Kde plasma 5.17.5.
Here are the logs, when using flatpak: 2020-09-04 Log jellyfin mpv shim flatpack.log
and when using the pip3 installation: 2020-09-04 Log jellyfin mpv shim pip3.log
It definitely looks like broken graphics drivers. (MPV says it can't compile shaders.) I would guess that the mpv
executable, if you have one and try to play a video, would also be broken. (The error about the subtitle scale doesn't make sense, as it is a floating point number that is passed.)
Are you able to run MPV separately (i.e. not through MPV Shim)?
Does MPV work when you compile it from source and use the non-Flatpak version?
I tried the official mpv from the Debian testing repository from the command line and it works as expected, without blue screens. I also built mpv from source following your instructions in the README, and it also works as expected.
Just to be sure, I launched jellyfin-mpv-shim desktop and tried to read an Hevc movie...and it worked too!? I'm starting to think there must be something wrong with the current version of plasma I'm running. I'll post back here if and when it starts to gives a blue screen again. If it does give a blue screen using only mpv without jellyfin shim, then I'll bother the Kde devs ;)
Hi, I had the same problem with the pip3 installation on Linux Mint.
I fixed it by removing libmpv1
debian package and keeping only mpv
.
For some more context, I had mpv
and celluloid
(a GTK MPV frontend) installed. celluloid
was the only one depending on libmpv1
so when I removed Celluloid I saw that it was not in use anymore. I had the idea to see if removing it fixes this problem and it did.
You can also obtain a similar result by setting the mpv_ext option to true in the configuration. More concerning though is this means that libmpv1 package is broken or incompatible.
Describe the bug When clicking a movie or TV series, mpv is correctly launched, but you can only hear the sound; the video is just shown as a static bright blue screen.
To Reproduce Steps to reproduce the behavior:
Launch mpv shim Click on 'play' on any movie movie or TV series (H.264 or HEVC) Mpv is launched, but its window stays blue
Expected behavior Mpv should show the video from the selected file, instead of the static blue screen
OS: Win1 20H2 Updated as of 07/04/2021 Jellyfin Desktop v1.10.3 Jellyfin Server 10.7.1 on Win Server 2019
EDITED: Added modified config.json that makes it work conf.json.txt
Describe the bug When clicking a movie, mpv is correctly launched, but you can only hear the sound; the video is just shown as a static bright blue screen.
To Reproduce Steps to reproduce the behavior:
Expected behavior Mpv should show the video from the selected file, instead of the static blue screen
Screenshots
Desktop (please complete the following information):
Error Messages The console log when :