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

Blur effect not working - multi monitor. #40

Open
pallebone opened this issue Apr 21, 2021 · 58 comments · May be fixed by #271
Open

Blur effect not working - multi monitor. #40

pallebone opened this issue Apr 21, 2021 · 58 comments · May be fixed by #271
Assignees
Labels
bug Something isn't working external Something that comes from an external source (such as Gnome Shell)

Comments

@pallebone
Copy link

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
Copy link
Author

pallebone commented Apr 21, 2021

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
Copy link
Owner

aunetx commented Apr 21, 2021

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])

@aunetx aunetx self-assigned this Apr 21, 2021
@aunetx aunetx added bug Something isn't working Gnome 40 labels Apr 21, 2021
@pallebone
Copy link
Author

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
Copy link
Author

pallebone commented Apr 22, 2021

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
Copy link
Author

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
Copy link
Author

Also thanks for your help and interest.

@pallebone
Copy link
Author

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
Copy link
Author

pallebone commented Apr 22, 2021

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
Copy link
Owner

aunetx commented Apr 23, 2021

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
Copy link
Author

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
Copy link
Owner

aunetx commented Apr 23, 2021

Ok thanks a lot!

@pallebone
Copy link
Author

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
Copy link
Owner

aunetx commented Apr 23, 2021

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
Copy link
Author

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
Copy link

p1u3o commented Apr 27, 2021

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
Copy link

tydog98 commented Apr 28, 2021

Also having this issue on AMD Wayland.

@aunetx aunetx added external Something that comes from an external source (such as Gnome Shell) and removed gnome 40 labels May 26, 2021
@aunetx
Copy link
Owner

aunetx commented May 26, 2021

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
Copy link
Author

pallebone commented May 26, 2021

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
Copy link
Owner

aunetx commented Jul 1, 2021

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
Copy link
Author

No worries. Also unsure.

@JustCryen
Copy link

JustCryen commented Jul 10, 2021

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
Copy link

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
Copy link
Author

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.

@bdaase
Copy link

bdaase commented Jan 30, 2022

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

@bdaase
Copy link

bdaase commented Mar 14, 2022

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

@gcstr
Copy link

gcstr commented May 11, 2022

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
Copy link

updeshxp commented Jun 4, 2022

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

@aunetx
Copy link
Owner

aunetx commented Jun 4, 2022

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

@aunetx aunetx linked a pull request Jun 4, 2022 that will close this issue
@aunetx aunetx linked a pull request Jun 4, 2022 that will close this issue
@NotBigIntoBooks
Copy link

NotBigIntoBooks commented Aug 18, 2022

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
Copy link

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

@Henry-Hiles
Copy link

Henry-Hiles commented Nov 16, 2022

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
Copy link

ipg0 commented Dec 2, 2022

@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
Copy link

@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
Copy link

luismiaresse commented Jan 13, 2023

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
Copy link

kernelb00t commented Jan 30, 2023

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

PC Config :

  • i3 11 gen with iGPU (not Iris Xe)
  • 4GB of RAM
  • 128 MB of shared memory
  • NVMe 128Go
  • Dual boot with Windows via GRUB2
  • Second monitor connected via HDMI-to-VGA connector. (Laptop -> HDMI -> VGA -> 2nd monitor)

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

  • WhiteSur GTK Theme from vinceliuice

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
Copy link

crtvrmn commented Aug 5, 2023

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
Copy link

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
Copy link
Author

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
Copy link

42Willow commented Oct 25, 2023

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 😕

@Fxsch
Copy link

Fxsch commented Nov 14, 2023

This fix didn't work for me but I can't perfectly align them anyway. My main monitor is 1920x1080, 144 Hz and my second monitor is 1680x1050, 60 Hz.

@zastrixarundell
Copy link

I have 3 monitors. Setting my 3rd monitor to 59.94Hz instead of 60 fixed that issue on my left monitor. I also saw that when my screen is locked I don't see a background on the left monitor (the one which had the issue with blur my shell).

@aunetx
Copy link
Owner

aunetx commented Apr 19, 2024

Hello all, I've tried to test this a little bit (with still only one monitor, but a lot of sweat and some debug flags for gnome-shell...). I've came up with something that could do the trick: #575, which is compatible with GNOME 46.

This is really a kind of hack, that is not stable yet (I could not test it a lot, and I've only tested it for the panel blur anyway), but I need to know if that works a little bit...

If this is not very effective, you can try to increase the timeout in the pull request (currently at 100, but I guess depending on you screen / gpu / cpu / idk this could be increased or lowered). Please tell me if this works so that I can spend more time on this particular fix.

@kugelvlitz
Copy link

kugelvlitz commented Apr 19, 2024

Hello all, I've tried to test this a little bit (with still only one monitor, but a lot of sweat and some debug flags for gnome-shell...). I've came up with something that could do the trick: #575, which is compatible with GNOME 46.

I just applied the patch while on the latest commit, using gnome 46. I noticed that:

  • On the overview, while the background blur is still sometimes missing, it is present more often than without the changes. Roughly speaking before it felt like 1/10 times it appeared, now it's something like 1/3.
  • The background has a pop-in effect. Sometimes I'll see it for a split second and then it disappears. The opposite also happens.

This is the most progress I've seen in a while, please keep at it!

@aunetx
Copy link
Owner

aunetx commented Apr 19, 2024

@kugelvlitz thanks a lot! Could you try increasing the timeout number to something like 200? With that, the blur should appear nearly everytime, but a little bit delayed surely...

@kugelvlitz
Copy link

kugelvlitz commented Apr 19, 2024

@aunetx Frequency of the background appearing is about the same at 200, perhaps a bit better. When it does appear, it is delayed as you said. Playing with the value I found more success at consistency with 50.

@TParavani
Copy link

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 worked, thank you!

@SunilPant054
Copy link

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

Had the same issue .. switching to Xorg did the work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working external Something that comes from an external source (such as Gnome Shell)
Projects
None yet
Development

Successfully merging a pull request may close this issue.