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

intermittent waybar flickering on hyprland #3869

Open
icy-comet opened this issue Jan 5, 2025 · 7 comments
Open

intermittent waybar flickering on hyprland #3869

icy-comet opened this issue Jan 5, 2025 · 7 comments
Labels
bug Something isn't working hyprland

Comments

@icy-comet
Copy link

Waybar constantly flickers on Hyprland with auto-variations in its size, not respecting the border-radius or having an extra window-like border. I am not sure if the issue lies on the Hyprland side, but starting here. Waybar doesn't crash or report any errors/warnings whatsoever. There seems to be no consistent way to reproduce the issue. I managed to record some of the artifacts, but not all of them in a video attached below.

I am on Waybar v0.11.0 and using the hyprland-git package.

Hyprland Version Info

Hyprland 0.46.0 built from branch main at commit b0bae15499ad57bbfeae8be958df8c022201e583  (master: make loop around optional when cycling (8926)).
Date: Sat Jan 4 22:10:33 2025
Tag: v0.46.0-73-gb0bae154, commits: 5628
built against:
 aquamarine 0.5.1
 hyprlang 0.6.0
 hyprutils 0.3.1
 hyprcursor 0.1.11
 hyprgraphics 0.1.1


no flags were set

Sample Video

-6000.mp4
@github-actions github-actions bot added bug Something isn't working hyprland labels Jan 5, 2025
@icy-comet
Copy link
Author

icy-comet commented Jan 5, 2025

hyprwm/Hyprland#8896 seems to be related as well as hyprwm/Hyprland#8889

@littleblack111
Copy link

its a hyprland issue, happen to some other applications too...

@icy-comet
Copy link
Author

hyprwm/Hyprland@1b06d22 fixed the flickering issue. however, some border artifacts still remain. waiting for hyprwm/Hyprland#8896.

@ninetailedtori
Copy link

Yep, same results as just above for me for Hyprland commit b9f110e .

@icy-comet
Copy link
Author

waybar is sending an incorrect opaque region

from hyprwm/Hyprland#8896 (comment) suggests the border artifacts aren't caused by an issue at Hyprland's end.

@ninetailedtori
Copy link

Flickering feels very similar to issue with the general NVIDIA issues with hyprland, I'd check your config to make sure you're setting all default renderers to nvidia?

# See https://wiki.hyprland.org/Nvidia/

env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = __GL_VRR_ALLOWED,1
env = WLR_DRM_NO_ATOMIC,1

cursor:no_hardware_cursors = true

The artifacts I can't seem to reproduce, it may be your blur or shadow around the edges that you may have set flickering? There's a known hyprland issue with layerrule blurs and box shadows being rendered incorrectly as solid or blur boxes around objects.

@icy-comet
Copy link
Author

setting all default renderers to nvidia

i have a OPTIMUS laptop without a MUX switch. can't use the discrete GPU for display rendering.

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

No branches or pull requests

3 participants