-
Notifications
You must be signed in to change notification settings - Fork 22
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
mpvpaper hanging on startup #48
Comments
So even with Just to be sure this isn't a mpv issue, try running: |
The only way that could happen is if mpvpaper caught either SIGINT, SIGQUIT or SIGTERM while starting up. What kind of PC do you have? OS? Hardware? DE? |
I'm currently running the Arch version of Asahi Linux on an M1 Macbook Pro, and I'm using Wayland, wlroots compositor, sway window manager. |
M1 Macbook Pro? Did you try something other than a GIF or tried running in just the normal MPV player? |
I've tried an MP4, PNG, and JPEG as well all with the same weird hanging error.
a couple of times. Running Also while Asahi is a lil' buggy, the experience is still really nice. Highly recommend. |
I just realized you caused the SIGINT when you put in ctrl+c, my bad. So that makes sense. It could be even getting stuck just outputting the error. And again, it's breaking while just parsing the args. If you want to get your hands dirty to see if this is even possible to fix. |
Wait, it just got OpenGL 2.1 support? https://asahilinux.org/2022/12/gpu-drivers-now-in-asahi-linux/ |
Thankfully it was a small error that most likely came from how different systems store chars. I introduced a fix in #49 |
Huh, just like that? |
Yep! 100% working and even functioning in tandem with swaylock-plugin! |
I'm constantly humbled by others, thanks. |
So.... now I'm having this issue. |
Welp that’s not good. Let me see if treating the opt as an int works; if it does then a direct comparison with -1 ought to do the trick for all systems |
Read the MAN: https://linux.die.net/man/3/getopt_long |
Yeah, changing the type to an int still works on my system. Then since getopt_long returns |
I should've read the man page myself. Turns out they use int for opt as well. Thanks again. |
Happy to help!😄 |
I just fully realized what when wrong, if you are curious. |
The moment I try to run anything other than
mpvpaper --help
it just hangs with no output at all. It is doing some form of computation, as it is using 100% of one of my cores. Even if I try verbosely running it withmpvpaper -pv '*' [small gif]
there is no output and 100% usage on a core. This happens when usingmpvpaper
from the Arch repos,mpvpaper-git
from the AUR, and manually building from this repo. Is there any kind of log or output I can upload here for better debugging?The text was updated successfully, but these errors were encountered: