GhostNaN / mpvpaper

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

breaks with mpv 38 #68

Closed fabolous005 closed 7 months ago

fabolous005 commented 7 months ago

when running mpvpaper with mpv 38, it opens a new window rather then playing the video on the background. But when a wallpaper is already running (in the background) mpvpaper with mpv 38 will still make the old wallpaper go dark.

Config and features for mpvpaper 37

Configuration: -Db_lto=true -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dcplayer=true -Dlibmpv=true -Dtests=false -Dhtml-build=enabled -Dmanpage-build=enabled -Dpdf-build=disabled -Dbuild-date=false -Dlibarchive=disabled -Dlibbluray=disabled -Dcdda=disabled -Dcplugins=enabled -Ddvbin=disabled -Ddvdnav=disabled -Dsdl2-gamepad=disabled -Diconv=enabled -Djavascript=disabled -Dlibavdevice=enabled -Dlcms2=disabled -Dlua=luajit -Drubberband=disabled -Dsdl2=disabled -Duchardet=enabled -Dvapoursynth=disabled -Dzimg=disabled -Dzlib=enabled -Dalsa=enabled -Dcoreaudio=disabled -Djack=disabled -Dopenal=disabled -Dpipewire=enabled -Dpulse=disabled -Dsdl2-audio=disabled -Dsndio=disabled -Dx11=disabled -Dcocoa=disabled -Ddrm=enabled -Djpeg=disabled -Dcaca=disabled -Dsdl2-video=disabled -Dsixel=disabled -Dwayland=enabled -Dxv=disabled -Dgl=enabled -Degl=enabled -Degl-x11=disabled -Dgbm=enabled -Degl-drm=enabled -Degl-wayland=enabled -Dplain-gl=enabled -Dgl-x11=disabled -Dgl-cocoa=disabled -Dvulkan=enabled -Dshaderc=enabled -Dcuda-hwaccel=disabled -Dcuda-interop=disabled -Dvaapi=enabled -Dvaapi-x11=disabled -Dvaapi-drm=enabled -Dvaapi-wayland=enabled -Dvdpau=disabled -Dvdpau-gl-x11=disabled -Dvideotoolbox-gl=disabled -Dprefix=/usr -Dlibdir=lib64 -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/var/tmp/portage/media-video/mpv-0.37.0-r1/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-0.37.0-r1/temp/luajit/pkgconfig:/usr/share/pkgconfig -Dpkg_config_path=/var/tmp/portage/media-video/mpv-0.37.0-r1/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-0.37.0-r1/temp/luajit/pkgconfig:/usr/share/pkgconfig --native-file=/var/tmp/portage/media-video/mpv-0.37.0-r1/temp/meson.x86_64-pc-linux-gnu.amd64.ini
List of enabled features: alsa av-channel-layout avif-muxer cplugins dmabuf-interop-gl dmabuf-wayland drm egl egl-drm egl-helpers egl-wayland ffmpeg gbm gl glibc-thread-name glob glob-posix gpl html-build iconv jpegxl lavu-uuid libass libavdevice libdl libm libplacebo librt linux-fstatfs luajit manpage-build memfd-create noexecstack pipewire posix posix-shm ppoll shaderc threads uchardet vaapi vaapi-drm vaapi-wayland vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 zlib

Config and features for mpvpaper 38

Configuration: -Db_lto=true -Db_pch=false -Dwerror=false -Dbuildtype=plain -Dcplayer=true -Dlibmpv=true -Dtests=false -Dhtml-build=enabled -Dmanpage-build=enabled -Dpdf-build=disabled -Dbuild-date=false -Dlibarchive=disabled -Dlibbluray=disabled -Dcdda=disabled -Dcplugins=enabled -Ddvbin=disabled -Ddvdnav=disabled -Dsdl2-gamepad=disabled -Diconv=enabled -Djavascript=disabled -Dlibavdevice=enabled -Dlcms2=disabled -Dlua=luajit -Drubberband=disabled -Dsdl2=disabled -Duchardet=enabled -Dvapoursynth=disabled -Dzimg=disabled -Dzlib=enabled -Dalsa=enabled -Dcoreaudio=disabled -Djack=disabled -Dopenal=disabled -Dpipewire=enabled -Dpulse=disabled -Dsdl2-audio=disabled -Dsndio=disabled -Dx11=disabled -Dcocoa=disabled -Ddrm=enabled -Djpeg=disabled -Dcaca=disabled -Dsdl2-video=disabled -Dsixel=disabled -Dwayland=enabled -Dxv=disabled -Dgl=enabled -Degl=enabled -Degl-x11=disabled -Dgbm=enabled -Degl-drm=enabled -Degl-wayland=enabled -Dplain-gl=enabled -Dgl-x11=disabled -Dgl-cocoa=disabled -Dvulkan=enabled -Dcuda-hwaccel=disabled -Dcuda-interop=disabled -Dvaapi=enabled -Dvaapi-x11=disabled -Dvaapi-drm=enabled -Dvaapi-wayland=enabled -Dvdpau=disabled -Dvdpau-gl-x11=disabled -Dvideotoolbox-gl=disabled -Dprefix=/usr -Dlibdir=lib64 -Dlocalstatedir=/var/lib -Dsysconfdir=/etc -Dwrap_mode=nodownload -Dbuild.pkg_config_path=/var/tmp/portage/media-video/mpv-0.38.0/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-0.38.0/temp/luajit/pkgconfig:/usr/share/pkgconfig -Dpkg_config_path=/var/tmp/portage/media-video/mpv-0.38.0/temp/python3.11/pkgconfig:/var/tmp/portage/media-video/mpv-0.38.0/temp/luajit/pkgconfig:/usr/share/pkgconfig --native-file=/var/tmp/portage/media-video/mpv-0.38.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini
List of enabled features: alsa av-channel-layout avif-muxer cplugins dmabuf-interop-gl dmabuf-wayland drm egl egl-drm egl-wayland ffmpeg gbm gl glibc-thread-name glob glob-posix gpl iconv jpegxl lavu-uuid libass libavdevice libdl libplacebo linux-fstatfs luajit memfd-create pipewire posix posix-shm ppoll pthread-condattr-setclock uchardet vaapi vaapi-drm vaapi-wayland vector vk-khr-display vt.h vulkan vulkan-interop wayland wayland-protocols-1-27 wayland-protocols-1-31 wayland-protocols-1-32 zlib

Do you know why that is? let me know if you need more information...

GhostNaN commented 7 months ago

Fixed as of this commit: https://github.com/GhostNaN/mpvpaper/commit/8fe75d88505b0fd857f8efea3750586ae5ffc096