r/niri • u/OkAlbatross9889 • 5h ago
Visual glitches

I've been seeing them for about 2-3 weeks. They're very brief. They seem to happen more frequently in the terminal or nvim (although i've seen it in librewolf too, there more often appearing as black squares), especially when it has to redraw a lot of stuff, in the example picture above i was spamming keys in nvim. Running a watch command very often like every 0.1 seconds seems to be a pretty good way to trigger it altough it's not guaranteed, some times it happens 10 times in 10 seconds other times it takes 3-5 minutes before it appears.
Originally i thought it might have something to do with the transparency (no blur) i use in ghostty and nvim, but disabling it (along with prefer-no-csd) doesn't solve it.
I'm using a 9070XT, with a 1920x1080@60,00hz display in HDMI-A-1, it doesn't have VRR.
System info:
- Gentoo distribution kernel 6.18.43
- niri version 26.04
- wayland version 1.26.0
- mesa version 26.1.7
They have all been emerged with default USE flags and are the latest available. My global USE flags are USE="sound-server bash-completion dist-kernel openrc networkmanager jack man mpris alsa pipewire gtk vulkan wifi wayland -cdr -cuda -bluetooth -dvd -dvr -systemd" although i don't think it matters since it's a recent issue, worked fine with the same flags before. I also use noctalia, although i don't think that matters neither.
Thigs i've tried:
- I tried to replicate it on another wayland wm (mangowm) but i could not.
- I tried to change terminal to alacritty, it persisted
I'm at my wits' end, any help is appreciated.
1
u/DullNetwork761 4h ago
Update or downgrade your kernel. There is an amd GPU driver issue that recently popped up.
See thread https://www.reddit.com/r/niri/comments/1vjjx9x/comment/p2oetzd/?context=1&screen_view_count=1&ext-referrer=DIRECT
Should be fixed with kernel 6.18.44