aunetx / blur-my-shell

Extension that adds a blur look to different parts of the GNOME Shell, including the top panel, dash and overview
https://extensions.gnome.org/extension/3193/blur-my-shell/
GNU General Public License v3.0
1.54k stars 89 forks source link

Blur effect not working - multi monitor. #40

Closed pallebone closed 2 weeks ago

pallebone commented 3 years ago

Hello, I am opening bug as per request.

I have attached 2 screenshots showing an issue relating to setting a sigma value. When it is above 0 then you do not see a background on secondary monitor, at least for me.

Please see 2 screenshots:

Kind regards Peter Screenshot from 2021-04-21 15-16-33 Screenshot from 2021-04-21 15-16-26

pallebone commented 3 years ago

Not sure if relevant but the desktop background is 9MB in size.

here is picture of background I am using: 10-14-Night

EDIT: I tried a different smaller picture and had same issue so guess not.

aunetx commented 3 years ago

Thanks for the issue! This seems weird, the sigma value should not change a lot of things... In looking glass (alt+f2, then lg), could you give me the output of the following lines?

Main.layoutManager.overviewGroup.get_child_at_index(0)
Main.layoutManager.overviewGroup.get_child_at_index(1)
Main.layoutManager.overviewGroup.get_child_at_index(0).get_effects()[0]
Main.layoutManager.overviewGroup.get_child_at_index(1).get_effects()[0]

And, when you have a non-zero value of sigma, try this and tell me if it makes the background reappear (even with no blur):

Main.layoutManager.overviewGroup.get_child_at_index(1).remove_effect(Main.layoutManager.overviewGroup.get_child_at_index(1).get_effects()[0])
pallebone commented 3 years ago

Hello,

Yes it reappeared immediately when typing that, but without a blur on the second monitor.

I have attached a screenshot with the commands and outputs. Apologies I had not used lg before so ignore the unrelated mistake before realizing how to type the commands you wanted :)

Screenshot from 2021-04-21 23-12-43

Pete

pallebone commented 3 years ago

Another thing I am thinking that might be related is that I have 2 displays running off my laptop, but the laptop built in display is disabled, as I am just using my laptop with 2 external monitors. Unsure if this is relevant. Essentially the laptop monitor itself is unused but has 2 monitors plugged into it.

pallebone commented 3 years ago

Also I like the purple snow/winter background you have on your example screenshot on the front page, how can I find this and download it?

pallebone commented 3 years ago

Also thanks for your help and interest.

pallebone commented 3 years ago

I have more information. I have noticed if I am on workspace 1 then the blur is working on all monitors on the latest update (not sure if it was before I updated but I updated today then noticed this). If I am on a different workspace like 2, or 3 or 4 then the secondary monitor does not have the blur effect.

pallebone commented 3 years ago

I might have spoken too soon. Sometimes when on the first workspace it does not work, although sometimes it does, so its sometimes working and sometimes not working. Im not sure how to trigger it working and how to trigger it not working at this stage. I dont remember it sometimes working and sometimes not working before I updated.

aunetx commented 3 years ago

This bug sure is weird, the sigma value should not have anything to do with how the background is displayed... What is the resolution of your monitors? And, is it possible for you to test it either with another monitor, or with another resolution or with wayland/xorg? So I make sure this is not a very specific bug, and I know how to reproduce it

Btw, the wallpaper used is one of the default wallpapers in gnome :)

pallebone commented 3 years ago

ok give me a few days I will try do some testing with different setups and find if I can get it to behave differently in any way.

aunetx commented 3 years ago

Ok thanks a lot!

pallebone commented 3 years ago

I did find something quite quickly. If I log out and go into X11, I cannot reproduce the error. In wayland I get the sometimes it works and sometimes it does not problem. I am wondering if you have tested under wayland? Maybe you will have to click the activities button a lot of times to see it happen if you have a super fast machine, mine is a little older.

aunetx commented 3 years ago

Oh ok, that's clearer now! I can't test it today (as I have a nvidia graphic card, and nvidia hates wayland for the moment...), but will try with multiple monitors on wayland soon. Thanks a lot, now I understand why it worked well for me!

pallebone commented 3 years ago

No worries I also have an older nvidia card but just disabled the blacklisting so I could use wayland. I also tried removing the proprietary drivers and using nouveau and same problem. I will carry on with nouveau for a while and see what performance is like.

I disabled blacklisting by editing "sudo nano /lib/udev/rules.d/61-gdm.rules" and commenting out the blacklisting of nvidia like 3 lines down.

p1u3o commented 3 years ago

I have this issue with AMD on Wayland, but it doesn't appear on Xorg.

Blur only appears on secondary monitor unless sigma is 0

tydog98 commented 3 years ago

Also having this issue on AMD Wayland.

aunetx commented 3 years ago

This definitively is a gnome-shell bug, my extension should have nothing to do with X11 and Wayland... I will need to find a working machine with Wayland on it to test :)

Does this bug happen no matter the disposition/resolution or the screens (primary one at left, right, ...)? And when it disappears, is it after for example getting out from sleep, or just without any apparent reason?

pallebone commented 3 years ago

Hi,

I have switched back to X11 as I had some other things that were not working, and I had not heard from you for a while. I dont believe that is has anything to do with resolution etc and when it happens on Wayland it just is random, although it happens most of the time (90%?). I just keep clicking and it sometimes goes away for a single time or two.

One thing I would say is both my monitors are the same monitor and I noticed they both have the same serial number. I saw another gnome bug that affected me with night light and monitors that have the same serial number (because they came from the same factory and were bought at a similar time - ie in my case I bought 2 off amazon on the same purchase). Not sure if this gnome issue relating to identifying monitors and having trouble (if they have the same serial no) could be related but just mentioning it in case.

As I mentioned under X11 there is no issue and I am using that at this moment so there is no urgency to fix it other than, this might be a bigger issue when more people start using wayland so good tho have in the back of the mind now in case something comes up.

Kind regards P

aunetx commented 3 years ago

Thanks for the follow-up, and sorry for taking a very long time to answer...

To be honest, I don't really now how to solve this bug, until I have a decent computer that can run wayland (if I don't find one, I will login with wayland on my own computer, but for the moment I prefer to avoid it, as I broke my setup last time I did that due to a bug with cursor being scaled down that I could not fix without reinstalling...)

What I find weird is that this bug happen with AMD and nvidia, but AMD is very well supported on wayland... So it looks like a deeper bug than "nvidia not supported for the moment", but I don't know where to search first

pallebone commented 3 years ago

No worries. Also unsure.

JustCryen commented 3 years ago

Hi I have similar issue on X11 Nvidia. No blur in overview on my secondary 21:9 display regardless of sigma level set. The primary display is a 16:9 built-in laptop display.

nilathedragon commented 3 years ago

I have a triple monitor setup (AMD CPU and GPU) with Wayland / Gnome 40. Both Monitor 3 (My primary) and Monitor 1 are always showing the blurred background in the overview, only Monitor 2 is sometimes showing grey background for me...

Monitor 1 and 2 are the same Model of Monitor if that makes any difference

pallebone commented 3 years ago

After updating to latest version of gnome/wayland etc on ubuntu Impish branch this bug no longer exists. Propose closing issue if other people can update to the latest version and confirm this also no longer happens.

aunetx commented 3 years ago

Really? That's some very great news!

I will let this open so that other people can confirm, and close it in some days if everything works OK :)

aunetx commented 3 years ago

I close this issue as an update made this work, please reopen if not.

Crylia commented 3 years ago

I'm facing this issue on Pop!_OS 21.04 with two monitors on xorg. The second monitor gets blurred and the first monitor gets the application overview. My system is fully udated btw

pallebone commented 3 years ago

That (version of pop os) does not have gnome 40.4? This is a question.

If not, please update to gnome 40.4.

P

MIJmker commented 2 years ago

I am still facing this issue with a fresh install of Pop! OS 21.04, running Gnome 40.4 on xorg Using a triple monitor setup, with center one as the main monitor. When enabling this extension the blur is applied on the left monitor while the application list is on the center monitor.

JustCryen commented 2 years ago

I'm on Arch with gnome-shell 40.5 and the issue still persists. xorg-server 1.20.13-3

aunetx commented 2 years ago

I reopen this, but don't know how to resolve this tbh...

dhrichards commented 2 years ago

I have this issue also, gnome 41.1, Arch, Wayland. With a laptop + external monitor the laptop display consistently blurs, and the external monitor fails to blur ~70% of the time. This is the same no matter which display is set as the primary.

aldo-medina commented 2 years ago

Hello! In my case I use a laptop with 2 additional screens. All screens have different resolutions. The error only occurs when the laptop's internal display is active. If I deactivate this screen, the error stops happening. When I re-activate the integrated screen, the problem appears again.

ufshk commented 2 years ago

@aunetx

After an update to GNOME 41.3, issue seems to be resolved on ArchLinux for me. Shell is consistently blurred with no issues on both monitors.

Didn't notice the working effect until now (had updated GNOME a week ago) as I had turned off the extension until I tested it today.

I've also had a kernel update (5.15 -> 5.16) but I'd guess it doesn't have anything to do with this. I am using a customized kernel that is on 5.15 right now and it seems to be working here as well fwiw.

snarkyalyx commented 2 years ago

@aunetx

I'm on GNOME 41.3 and I'm still experiencing these issues. However, here's a lead: When disabling animations in Gnome Tweaks, it works 100% of the time just fine. When enabling it, its inconsisent.

bdaase commented 2 years ago

Might this gnome-shell bug be related https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3206?

bdaase commented 2 years ago

I don't experience this anymore since upgrading to gnome-shell 42.

gcstr commented 2 years ago

I'm on a fresh fedora 36 install with gnome 42 and I can reproduce it. It was the same on Fedora 35 with gnome 41

updeshxp commented 2 years ago

Same, I have this issue with the latest fedora 36 and I am using wayland.

aunetx commented 2 years ago

I'm trying to fix this in #271, sorry there seem to be quite a lot of duplicates...

NotBigIntoBooks commented 2 years ago

Can intermittently reproduce, shell extension 39, Gnome 42.3, Intel Mesa, Wayland, Fedora 36. Opening the overview occasionally blur properly applies, sometimes not.

Henry-Hiles commented 1 year ago

Same issue here, Gnome 43, shell extension version 44, wayland, arch-based distro. Blur only applies on laptop screen, not external monitor.

Henry-Hiles commented 1 year ago

Appears on external monitor without blur after running Main.layoutManager.overviewGroup.get_child_at_index(1).remove_effect(Main.layoutManager.overviewGroup.get_child_at_index(1).get_effects()[0]) three times, it is consistently three, perhaps it is my other extensions interfering.

ipg0 commented 1 year ago

@aunetx

I'm on GNOME 41.3 and I'm still experiencing these issues. However, here's a lead: When disabling animations in Gnome Tweaks, it works 100% of the time just fine. When enabling it, its inconsisent.

what exactly did you disable in gnome-tweaks?

NotBigIntoBooks commented 1 year ago

@aunetx I'm on GNOME 41.3 and I'm still experiencing these issues. However, here's a lead: When disabling animations in Gnome Tweaks, it works 100% of the time just fine. When enabling it, its inconsisent.

what exactly did you disable in gnome-tweaks?

No OP, but disabling animations in the accessibility settings has the effect described.

luismiaresse commented 1 year ago

I also have this issue in GNOME 43.2. I have two monitors with this layout

image

and it's very inconsistent on the display 2, sometimes working perfectly sometimes never working, the latter happening more frequently. It always works on display 1 though. But when changing layout to this

image

just works all the time on both. It also works in vertical. I have no idea why this happens, but I hope it gives some leads. Thank you for this awesome extension.

Fresh installed Arch Linux, Wayland, AMD GPU. Display 1 is 1920x1080@75, display 2 is 2560x1440@165. EDIT: Switching DP positions of both displays leads to the same behavior, so seems not related to indexes.

kernelb00t commented 1 year ago

Same issue : Capture d’écran du 2023-01-30 19-15-50 image

PC Config :

This is a fresh install downloaded from Fedora's servers the 29th January 2023. This is Fedora Workstation, with : image

Capture de Capture vidéo du 2023-01-30 19-12-12 webm Capture de Capture vidéo du 2023-01-30 19-12-12 webm - 1 Capture de Capture vidéo du 2023-01-30 19-12-12 webm - 2 The actual grey glitches are coming from the recording, the monitor doesn't displays that.

image image image image image image image Executing the command doesn't makes the blur appear, it is still random.

crtvrmn commented 1 year ago

i am pretty confident, that this has something to do with the user theme extension. i tried out another theme, didn't like it and after switching back to adwaita my second (external) monitor is lacking the blur too. not sure if that helps, well. i guess its never touch a running system agian :>

TelekomHacker commented 11 months ago

Excuse me if this "fix" has already been posted, but it worked for me: https://www.reddit.com/r/gnome/comments/1208tve/blurmyshell_not_working_on_2_monitors_setups/ just move the monitor where it is not working a little bit up or down in system settings and save and if its still not working move it again up or down again and save until blur works everytime. Hope this could help someone. It seems that it doesn't really matter if the displays are perfectly aligned or not, just move them around and save until it works.

pallebone commented 11 months ago

Excuse me if this "fix" has already been posted, but it worked for me: https://www.reddit.com/r/gnome/comments/1208tve/blurmyshell_not_working_on_2_monitors_setups/ just move the monitor where it is not working a little bit up or down in system settings and save and if its still not working move it again up or down again and save until blur works everytime. Hope this could help someone. It seems that it doesn't really matter if the displays are perfectly aligned or not, just move them around and save until it works.

That is an incredible fix and worked perfectly for me thanks!!

42Willow commented 11 months ago

Excuse me if this "fix" has already been posted, but it worked for me: https://www.reddit.com/r/gnome/comments/1208tve/blurmyshell_not_working_on_2_monitors_setups/ just move the monitor where it is not working a little bit up or down in system settings and save and if its still not working move it again up or down again and save until blur works everytime. Hope this could help someone. It seems that it doesn't really matter if the displays are perfectly aligned or not, just move them around and save until it works.

edit: It worked for a bit for me, then stopped working, thanks for sending it here though.

it works off and on for some reason :confused: