-
Notifications
You must be signed in to change notification settings - Fork 2
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
Blur doesn't work #7
Comments
Hi, I think the problem you're facing is a problem with imagemagick. If that does not fix it, I don't know what the problem might be. Do you have the same issue with all pictures? |
The code in |
The wallpaper is not the issue. I tried with 10+ wallpapers and its the same problem |
Okay... |
Have you tried building from source? |
Yes. Still the same. I did however "make it work". It still is nowhere near automatical but its a step in the right direction. |
Could you download blur-test.zip, unzip it, and run This file is the part of the plugin that I suspect does not work for you. It should write the blurred [input] to [output]. It works for me. If it does not work for you, the problem might be a problem with imagemagick, or a problem with your images (I doubt it's the latter). |
Any ideas? |
I have no idea... |
i tried the above |
Version 0.1.4 improves the error messages. Could you look what error is printed in |
Then I might have an idea what the problem may be. The code exits with failure before writing the file in v0.1.4. Look at the following code
The For logging to the file I asked you to check, you need to have installed chunkwm with the option |
How can I install it with |
|
Ok. I actually got some logs this time. |
Then it’s a problem with |
Yes I did. I even ran the command in the terminal to set it |
I had the same issue as this, uninstalled the plugin for now, but I found an unmodified picture in /tmp of my current wallpaper |
@slifin, what version of imagemagick do you have? |
@slifin, can you find anything in the log? |
Same here :S |
@chicocode, could you run the following commands and look whether there are any differences with my output (the text between $ chunkwm --version
chunkwm 0.4.3
$ magick --version
Version: ImageMagick 7.0.8-3 Q16 x86_64 2018-06-25 https://www.imagemagick.org
Copyright: © 1999-2018 ImageMagick Studio LLC
License: https://www.imagemagick.org/script/license.php
Features: Cipher DPC HDRI Modules
Delegates (built-in): bzlib freetype jng jpeg ltdl lzma png tiff xml zlib
$ chunkwm | grep blur
PluginName 'blur'
2018-07-07 18:23:54 DEBUG: chunkwm: plugin 'blur.so' loaded!
2018-07-07 18:23:54 DEBUG: Plugin 'blur' subscribed to 'chunkwm_export_application_terminated'
[ ... subscriptions ... ] I still have no clue what might cause this issue ... |
Hello, same issue here: I have both set the wallpaper in
|
I think one of the causes of this issue is the time it takes ImageMagick to blur the image. The blurring happens in the same thread chunkwm runs, and essentially blocks it at startup. (I think plugins don't run in different threads, but I'm not sure.) I'm going to add some more debugging logging, and I think I might have to redesign parts of the plugin. |
My load order is the following:
And for the first ~45 seconds border and tiling do indeed not work, but ffm does. Once the other plugins started working I checked I then stopped chunkwm and changed to a smaller image, which gave me the same result. Then I set the blur to a fixed value of 25 and got a blurred image in |
@splintah Just filling in some info here regarding the plugin system. So plugins in chunkwm does not run on their separate thread, but we process multiple plugins simultaneously. There is basically a single event queue, and this event queue is serialized, meaning The reason for this design is such that we know that the context (event data) is valid until ALL plugins have finished handling the event. This allows us to NOT have to duplicate the event data (and event list) for every single plugin. I could change the system so that each plugin has their own event-queue, and references an event in the main queue. When all plugins have finished processing the event, it is removed from the main queue and THEN we can free the context. This would allow plugins to run in a separate thread completely. For tihs specific instance, you could just have your plugin spawn a thread that blurs the image and sets the wallpaper. End of rambling.. |
Hello.
I downloaded the blur.so and followed the instructions. It doesn't do anything. I checked the /tmp/ folder and it does indeed create a "blurred" file there but that file is IDENTICAL with my wallpaper. No blur is applied to it. I did however try changing the blur strength as suggested and it did nothing. Set it up as high as 50.
The text was updated successfully, but these errors were encountered: