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

crash immediately after the launch of hyprland 0.42.0 #7311

Closed
iamdenchik opened this issue Aug 13, 2024 · 6 comments
Closed

crash immediately after the launch of hyprland 0.42.0 #7311

iamdenchik opened this issue Aug 13, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@iamdenchik
Copy link

Regression?

No

System Info and Version

I can't run hyprctl systeminfo -c
yet. I will rebuild hyprland in the near future and reboot to version 0.42.0

version 0.41.2 is fully functional

Description

installing from home-manager on nixos

{
  description = "Home Manager configuration of admin";

  inputs = {
    # Specify the source of Home Manager and Nixpkgs.
    # nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1&ref=main&rev=9a09eac79b85c846e3a865a9078a3f8ff65a9259"; # 0.42.0
  };

after the reboot in the console, I run hyrpland and immediately crush

How to reproduce

run ./hyprland

Crash reports, logs, images, videos

hyprlandCrashReport2138.txt

@iamdenchik iamdenchik added the bug Something isn't working label Aug 13, 2024
@sjcobb2022
Copy link

Same as #6967

Fix at the bottom. Follow stable nixpkgs.

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Aug 13, 2024
@iamdenchik
Copy link
Author

@sjcobb2022 Hello! I tried two options and both don't work

  inputs = {
    # Specify the source of Home Manager and Nixpkgs.
    # nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    hyprland = {
      type = "git";
      url = "https://github.com/hyprwm/hyprland";
      rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259";
      submodules = true;
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };
  inputs = {
    # Specify the source of Home Manager and Nixpkgs.
    # nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };

     aquamarine = {
      url = "github:hyprwm/aquamarine";
      inputs.nixpkgs.follows = "nixpkgs";
     };

     hyprland = {
      type = "git";
      url = "https://github.com/hyprwm/hyprland";
      rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259";
      submodules = true;
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.aquamarine.follows = "aquamarine";
    };
  };

crash logs:
hyprlandCrashReport13016.txt
hyprlandCrashReport2085.txt

@sjcobb2022
Copy link

Because you are using nixpkgs as nixpkgs-unstable.

You need to use nixos-24.05 or another stable branch.

@gunererd
Copy link

I also begin to have same problem but I'm not using nix. I'm using AUR package.

[CRITICAL] m_pAqBackend couldn't start! This usually means aquamarine could not find a GPU or encountered some issues. Make sure you're running either on a tty or on a Wayland session, NOT an X11 one.

@iamdenchik
Copy link
Author

iamdenchik commented Aug 17, 2024

working config:

  inputs = {
    # Specify the source of Home Manager and Nixpkgs.
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
    home-manager = {
      type = "git";
      url = "https://github.com/nix-community/home-manager";
      ref = "release-24.05";
      inputs.nixpkgs.follows = "nixpkgs";
    };

    hyprland = {
      type = "git";
      url = "https://github.com/hyprwm/hyprland";
      rev = "9a09eac79b85c846e3a865a9078a3f8ff65a9259"; # v0.42.0
      submodules = true;
      inputs.nixpkgs.follows = "nixpkgs";

    };
...

@sjcobb2022
Copy link

I also begin to have same problem but I'm not using nix. I'm using AUR package.

[CRITICAL] m_pAqBackend couldn't start! This usually means aquamarine could not find a GPU or encountered some issues. Make sure you're running either on a tty or on a Wayland session, NOT an X11 one.

Try using hyprland-git and aquamarine-git

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

No branches or pull requests

4 participants