rvaiya/warpd

Not working on hyprland

glyh opened this issue · 9 comments

glyh commented

When I tried warpd --hint, it says:

[destroyed object]: error 4: surface was destroyed before its role object
rijkvp commented

I get the same error with Hyprland on NixOS. But the program also hangs and consumes 100% CPU which seems related to #214.

rat857 commented

@glyh me too
image

I get the same error with Hyprland on NixOS. But the program also hangs and consumes 100% CPU which seems related to #214.

Same situation with Sway on ArchLinux.

warpd: v1.3.5 (built from: 5d27d1c) (installed via AUR package warpd)
sway: v1.9-dev-bbabb9aa (installed via AUR package sway-git)
archlinux: 6.6.7-arch1-1

did not work in hyprland with hyprland-portal which I prefer

I too am getting this error in Hyprland + NixOS

I spun up sway briefly to test in there and warpd works fine, so it's most likely a hyprland issue, although it could be something about how I have hyprland configured.

I don't know about nixos (since Arch btw) but, Have you tried building/installing after setting environment variable that disables building for X(DISABLE_X)?

I was banging my head for 2 days until I tried this, and it worked.

Using this overlay to override to the latest commit on NixOS worked for me:

nixpkgs.overlays = [
  (self: super: {
    warpd = (super.warpd.overrideAttrs (old: {
      src = super.fetchFromGitHub {
        owner = "rvaiya";
        repo = "warpd";
        rev = "01650eabf70846deed057a77ada3c0bbb6d97d6e";
        sha256 = "sha256-61+kJvOi4oog0+tGucc1rWemdx2vp15wlluJE+1PzTs=";
      };
    })).override{withX = false;};
  })
];

I suspect the pinned version in nixpkgs might be broken.