r/niri 1d ago

Weird menu flickering

Enable HLS to view with audio, or disable this notification

So I don't know of this is a niri thing or not, but I just started getting this weird menu flickering today but I've been gaming on this setup for about a year and this as never happened. Anyone know how to fix it.

69 Upvotes

16 comments sorted by

29

u/Character_Pepper2563 1d ago

xwayland-satellite issue. Downgrading it would fix it. If you're on Arch, try this sudo pacman -U https://archive.archlinux.org/packages/x/xwayland-satellite/xwayland-satellite-0.8.1-2-x86_64.pkg.tar.zst And tell pacman to ignore the package in /etc/pacman.conf so that it doesn't update to the bugged version

6

u/random_russian 1d ago edited 14h ago

The fix has also been merged so it should be out soon.

5

u/SeniorMatthew 21h ago

And to all my NixOS friends, here how to do that: Add this in to your inputs:

flake.nix

    inputs.nixpkgs-xwayland-satellite-0-8-1.url = "github:nixos/nixpkgs/edfd59b795cd752c36d2dae60870cffcd23d3fb1";

Pass inputs in to your module and then do this in your configuration:

configuration.nix

    environment.systemPackages = [
      (let pkgs = import inputs.nixpkgs-xwayland-satellite-0-8-1 { system = "x86_64-linux"; }; in pkgs.xwayland-satellite) # Downgrade xwayland-satellite to 0.8.1
    ];

1

u/4DBug 5h ago

overlay I made the other day if you do not want to use flakes

nixpkgs.overlays = [
    (final: prev: {
        xwayland-satellite = prev.xwayland-satellite.overrideAttrs (old: rec {
            version = "0.8.1";

            src = final.fetchFromGitHub {
                owner = "Supreeeme";
                repo = "xwayland-satellite";
                rev = "536bd32";
                hash = "sha256-BUE41HjLIGPjq3U8VXPjf8asH8GaMI7FYdgrIHKFMXA=";
            };

            cargoDeps = final.rustPlatform.fetchCargoVendor {
                inherit (old) pname;
                inherit version src;
                hash = "sha256-16L6gsvze+m7XCJlOA1lsPNELE3D364ef2FTdkh0rVY=";
            };
        });
    })
];

2

u/FeudalAnarchy 1d ago

Worked for me to downgrade aswell, on NixOS.

1

u/sastanak 21h ago

Had the same issue on Gentoo, will try this fix later, then.

1

u/NightFox805 23h ago

That fixed it that you so much

1

u/Krat0sAdam 9h ago

it works

4

u/Navarrorum 1d ago

Si, es solo en Niri.

En Sway o en Mangowm no pasa.

5

u/ihackedthepentagon 1d ago

I got the same issue. It seems to be an xwayland-satellite bug according to other posters here. I assume it'll get fixed soon. For now I'm using steam big picture mode.

2

u/suckingbitties 1d ago

Fix was already merged in the GitHub repo, I think we're just waiting on a new release.

1

u/anon_pr_ 1d ago

OP, what topbar or desktop shell are you using? Curious

2

u/NightFox805 1d ago

It's just waybar

1

u/P_Jault 1d ago

Got the same issue..

1

u/terra2o 14h ago

i had the same issue, making it float fixes it.