GhostNaN / mpvpaper

A video wallpaper program for wlroots based wayland compositors.
GNU General Public License v3.0
713 stars 21 forks source link

MPVPaper is opening in a new window and not displaying as the background. #64

Closed ILOVEPIE closed 3 months ago

ILOVEPIE commented 4 months ago

Any idea what might be causing this? I'm not getting any error output.

GhostNaN commented 4 months ago

Are you running with a X11 compositor? If so: https://github.com/GhostNaN/mpvpaper/issues/61

ILOVEPIE commented 4 months ago

No, I'm running under sway on archlinux with an AMD GPU.

GhostNaN commented 4 months ago

Odd. What does your mpv config look like under ~/.config/mpv/mpv.conf?

ILOVEPIE commented 4 months ago

https://termbin.com/gpoz

GhostNaN commented 4 months ago

Looks like the default config.

Well, let's get a better log from mpv. Run mpvpaper with this: mpvpaper -v -o "--log-file=output.txt" DP-3 /my/video.mp4 And upload the log file it creates.

ILOVEPIE commented 4 months ago

Looks like the default config.

Well, let's get a better log from mpv. Run mpvpaper with this: mpvpaper -v -o "--log-file=output.txt" DP-3 /my/video.mp4 And upload the log file it creates.

I'll get this done today I've just been a little busy.

ILOVEPIE commented 3 months ago

It turns out, this is because I have a Nvidia GPU running on nouveau/NVK attached to the system, even though it's not the GPU i'm using it seems to confuse mpvpaper. I managed to work around it by adding --mpv-options "--vo=vulkan"

GhostNaN commented 3 months ago

I see.

Have you tried manually selecting the GPU you want to use? With something like --vulkan-device=my_gpu https://mpv.io/manual/stable/#options-vulkan-device

I managed to work around it by adding --mpv-options "--vo=vulkan"

I don't understand, mpvpaper only allows the "libmpv" as a VO there should be no choice. And there is no --vo=vulkan did you mean --hwdec=vulkan? https://mpv.io/manual/stable/#options-hwdec

ILOVEPIE commented 3 months ago

I don't understand, mpvpaper only allows the "libmpv" as a VO there should be no choice. And there is no --vo=vulkan did you mean --hwdec=vulkan? https://mpv.io/manual/stable/#options-hwdec

IDK, but that fixes it. Specifying --vo=wlshm fixes it too.

fjueic commented 3 months ago

Specifying --vo=wlshm fixes it too.

thanks it worked for me

leaty commented 3 months ago

Can confirm, but it seems any value works so it's likely some new bug. E.g. --vo=_ and --vo=asdf works, but to avoid any warning you can do --vo=libmpv.

EDIT: This affects mpv 0.38.0, 0.37.0 works fine.