GhostNaN / mpvpaper

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

Dropping all frames #29

Closed 0wg closed 1 year ago

0wg commented 1 year ago
❯ mpvpaper HDMI-A-1 -v Desktop/Untitled.m4v
[*] Output HDMI-A-1 (HKC OVERSEAS LIMITED C299Q CDR6956062280) selected
[*] OpenGL 4.6 EGL context created
 (+) Video --vid=1 (*) (h264 2560x1080 30.000fps)
File tags:
 Title: Untitled
[*] Loaded Desktop/Untitled.m4v
VO: [libmpv] 2560x1080 yuv420p
V: 00:00:39 / 00:00:39 (100%) Dropped: 1185

[*] Exiting mpvpaper

Same thing happens if i use a different wallpaper, with a different resolution.

Currently using hyprland.

GhostNaN commented 1 year ago

I can't replicate the issue, it's working fine for me on hyprland. I'm using the default hyprland config with only small modifications. Make sure you don't have another wallpaper service running.

Did you see any images at all? Is the video working with just mpv? I've never seen the m4v video format before, have you tried something like mp4 or mov? What kind of hardware are you running?

Let me know what you find.

0wg commented 1 year ago

Did you see any images at all?

Nope, just a black background.

Is the video working with just mpv?

Playback in mpv seems fine.

I've never seen the m4v video format before, have you tried something like mp4 or mov?

I've tried using an mp4, but not a mov file.

What kind of hardware are you running?

3070ti with nvidia-open-dkms drivers.

GhostNaN commented 1 year ago

I don't have any Nvidia hardware to test on. Do you have a IGPU in your CPU you could play with? Would you be willing to try mpvpaper in sway, to see if it works there?

0wg commented 1 year ago

I have a UHD 770 I could use. Don't have sway installed though.

0wg commented 1 year ago

Seems to be just an nvidia issue, currently using it with my Intel iGPU and it works fine.

GhostNaN commented 1 year ago

Great, it's a driver issue then.

GhostNaN commented 1 year ago

Although, this could also be any issue with hyprland. This wouldn't be the first: https://github.com/hyprwm/Hyprland/issues/33

GhostNaN commented 1 year ago

You could upstream the issue to hyprland: https://github.com/hyprwm/Hyprland/issues and see what they have to say. Or you could just enjoy mpvpaper on your IGPU. That's what I would do if I had a IGPU anyways, might as well offload the work off your 3070ti.

GhostNaN commented 1 year ago

You could also give sway a try and see if it has the same issue.

0wg commented 1 year ago

You could also give sway a try and see if it has the same issue.

Will be trying that, although there are some weird glitches with sway (such as dmenu-wl causing my entire system to lock up)

GhostNaN commented 1 year ago

What did you end up doing, if I may ask?