-
-
Notifications
You must be signed in to change notification settings - Fork 12.3k
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
Linux - MPV is missing Wayland dependency #169315
Comments
Please add the Wayland dependency as currently no video is displayed when playing on Fedora 40. |
Can you open a PR to update the formula? |
@carlocab I am unfamiliar with mpv, I just quoted from the developers of mpv in the above report. Also I am not much familiar with the homebrew and ruby. I was hoping that the person who created the mpv formula could update it. I am also not sure if just adding that dependency would solve the problem. Also i saw that Wayland package is already installed with homebrew on Linux (not by mpv formula but by some other formula). |
The formula was added almost 10 years ago in 2d56414, and the author has not contributed to Homebrew/core since then. Formulae in homebrew/core are maintained by the community, so there isn't really anyone better to try to fix this problem than you! I am happy to try to help you with this, though.
Yes, you are correct. However, can you try to apply this patch and rebuild diff --git a/Formula/m/mpv.rb b/Formula/m/mpv.rb
index ec274dcc262..f6a8c2af7dd 100644
--- a/Formula/m/mpv.rb
+++ b/Formula/m/mpv.rb
@@ -34,6 +34,9 @@ class Mpv < Formula
on_linux do
depends_on "alsa-lib"
+ depends_on "wayland"
+ depends_on "wayland-protocols"
+ depends_on "libxkbcommon"
end
def install To do this, copy the patch above into, say,
Hopefully this should fix your issue. You can Let me know if it helps so we can fix the formula. I don't have a Linux machine to test this, so I am unable to try it myself. |
@carlocab getting following Log, which states that
Log
|
Try looking for the log somewhere inside The whole |
Logs: https://0x0.st/XHgn.zip |
This comment was marked as off-topic.
This comment was marked as off-topic.
1 similar comment
I want How I can do |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
I would guess minimum would be missing There is a Vulkan backend though I don't know what state of drivers are ( Personally not able to test GL/Wayland-based backend since I only have Linux container on macOS. So, only can confirm old X11 backend can work running through XQuartz (would need to support |
#180000 added support for Mesa (e.g. EGL, GL, and some Vulkan drivers), Wayland, and X11 on Linux which should provide a couple different video outputs.
Closing as complete. Feel free to report if there are still issues. |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputOutput of
brew doctor
Verification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Use mpv on Linux
Description of issue
This issue was reported at MPV repository but developers closed it as the scope of it lies with Homebrew.
Please check: mpv-player/mpv#13893
Diagnosis
Missing Wayland dependency on Linux!
What happened (include all command output)?
What did you expect to happen?
There is no video output!
MPV Log file
https://0x0.st/X-DK.txt
Step-by-step reproduction instructions (by running
brew
commands)Installation of MPV with BREW (output)
https://0x0.st/X-DZ.txt
The text was updated successfully, but these errors were encountered: