Skip to content
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

libmpv1 deprecated on Ubuntu 24.02 LTS/Linux Mint 22 #270

Open
FlameSoulis opened this issue Nov 10, 2024 · 3 comments
Open

libmpv1 deprecated on Ubuntu 24.02 LTS/Linux Mint 22 #270

FlameSoulis opened this issue Nov 10, 2024 · 3 comments
Assignees
Labels
bug Something isn't working build system

Comments

@FlameSoulis
Copy link

Attempting to setup the build environment for this project requires libmpv1, which is no longer available as of Ubuntu 24.02 and, by extension, Linux Mint 22. Compiling with libmpv2 does work with a few warnings, but I have been unsuccessful in running the project, resulting in errors related to #228.

/linux-wallpaperengine /home/flame/.steam/debian-installation/steamapps/workshop/content/431960/3133917889/ [1109/212414.801860:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. [1109/212415.936080:FATAL:zygote_host_impl_linux.cc(215)] Check failed: . : Invalid argument (22) [1] 24563 trace trap (core dumped) ./linux-wallpaperengine --list-properties

I have both symlinked and directly copied the assets folder in case the auto-detection did not work. This is being tested using x11/Cinnamon.

CMake Log: cmake.log

Build Log: build.log

@Xavantex
Copy link

you can do a temporary fix by symlinking libmpv.so.1 to libmpv.so.2, ln -s /lib/x86_64-linux-gnu/libmpv.so.2 /lib/x86_64-linux-gnu/libmpv.so.1, at least for when you build it from source. Don't know what will happen for built binaries.
Still get the [1109/212414.801860:WARNING:resource_util.cc(94)] Please customize CefSettings.root_cache_path for your application. Use of the default value may lead to unintended process singleton behavior. which is worrisome and would like to know why.

@Almamu
Copy link
Owner

Almamu commented Nov 25, 2024

The crash seems to be unrelated to the change to libmpv actually. Looks like CEF doesn't like some parameters, I'll need to investigate this a bit further. The warning about root_cache_path is something we should be able to remove too.

@Almamu Almamu added bug Something isn't working build system labels Nov 25, 2024
@FlameSoulis
Copy link
Author

Anything I can do to provide more information or test? I'm a bit rusty when it comes to debugging, let alone in Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build system
Projects
None yet
Development

No branches or pull requests

3 participants