-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
m_pAqBackend couldn't start, hyprland crashes #6967
Comments
I've had the same problem |
#6956 might be related.
what? It's AQ_DRM_DEVICES |
Same error on another PC, neither are multi-GPU setups. |
set |
I have the same exact issue, I have tested (in order:) |
If I try to launch from Gdm login as well, I get the same / similar error as the other crash reports. If this helps at all, I'll grab crash report later. |
can you give hyprland log with HYPRLAND_TRACE=1 and AQ_TRACE=1 |
I am not sure if you mean setting |
i meant something like this |
Ok, this is weird. when I do Btw I am running nixos, so I can share my whole system if you want Edit: After another reboot this no longer happens and it just doesn't work anymore. |
try setting AQ_DRM_DEVICES to intel igpu when running from tty aswell and give the same log |
I don't have an intel igpu. Here is what Anyways, here are some more logs in case you care (Hyprland crashes): EDIT: |
this seems like you have simple-framebuffer enabled in your kernel, could be from upgrading to 6.10.0 |
you only need AQ_DRM_DEVICES env var to be set |
Does Regardless this issue seems to be fixed on my end somehow. I'll keep testing and if there is an issue I'll be back |
it might, but you're right you should just use AQ_DRM_DEVICES instead |
I have a different error with AQ saying it cannot find the GPU..... |
are you sure /dev/dri/card1 is there |
I am sure.....
Anyway attached the latest crash log, which now atleast shows a different error, I just removed AQ explicit env and tried again now it looks like just wayland. Attached for reference. Or did I miss understand the log you wanted? |
sorry i meant the |
Whoops sorry I missed that here you go: |
Setting |
I am having the same issue. Also on NixOS with a hybrid /Nvidia laptop. With wlroots I had a symlink to /.config/hypr/card. This no longer works, and says that the card does not exist. This may be a totally separate issue, as this means aquamarine may not be able to resolve symlinks. Hardcoding the path (to my amd iGPU) gives me this crash log: It seems to find the card, start aquamarine and the Wayland backend, but the backend is unable to start. Every single post on this thread is using NixOS, so I assume it is a nix path issue, which would make total sense given the logs. I hope this info helps. |
the wayland fail is expected as you are running from a tty and not on a wayland compositor. That's a non-issue. The issue is:
|
Ah so a different issue @vaxerski? |
I dont remember all the reports but most were about this I believe |
Ah I didn't see this post getting the same error. With a different file descriptor but nevertheless, the same GBM error. After quick search (I'm on my phone because I haven't gotten round to pinning hypr to an older version yet), it seems that similar issues on different platforms are caused by outdated or broken Mesa drivers. Not sure if this helps. Thank you for all your hard work and support @vaxerski |
Ok that clarifies it, if I try from Gnome login (GDM) I get the same behavior, I'll have to check if it's running Wayland. This worked fine under WLroots so just trying to understand what is different now. |
I have fixed my issue by building the hyprland-git package from source, instead of using hyprland |
@alyraffauf does this still happen on hl-git + aq-git? |
this used to not work for me only when building from source for hl debug |
I have tried multiple options as mentioned above, using hyprland and aq from git, hyprland without mentioning aq and both with and without using mesa from hyprland git repo. It still is not working for me on Nix. Anyone who made it work, could you share your nix config? |
Hyprland did start to work on a tty, when I used hyprland when I used:
After
|
Did you try with the following stable nixpkgs? What is the main nixpkgs input that you use? |
I noticed most of the commenters here are reporting problems with Hyprland installed on NixOS using Nix. I am on Arch Linux with the Nix package manager installed. I noticed that the |
@sjcobb2022 I am using the stable nixpkgs 24.05. I just used the default |
Can confirm the same issue when using the latest flake with 24.05 on both Intel and AMD GPUs on two different thinkpads. |
In order for the flake to work with NixOS 24.05 you will have to override hyprland's nixpkgs input. This means you'll have to recompile almost everything. The unstable package should work again, as aquamarine 0.3.3 has made it into nixos-unstable. |
Still not starting for me. Tested with nixpkgs-unstable and git hyprland = {
type = "git";
url = "https://github.com/hyprwm/Hyprland";
submodules = true;
inputs.nixpkgs.follows = "nixpkgs-unstable";
#inputs.nixpkgs.follows = "nixpkgs";
}; |
That worked - I was able to get it to launch, thank you. Many things broken though (external displays not detected; hard hangs; bambu studio menus not working), so will just wait for it to be backported to 24.05. On the plus side I did notice other issues gone, e.g. menu positioning is now correct and chromium-based apps are being sized properly and not stuck in some squashed state. |
@erahhal sadly we can't backport new Hyprland versions to 24.05 since the transition to aquamarine is considered a breaking change, and those are not allowed for backports. We may do something similar to wlroots' packaging and package multiple versions at the same time, under names such as |
Ugh, ok, thanks for letting us know! |
Why don't you use the flake? That will allow you to leverage the new versions of Hyprland on 24.05. |
Read my earlier comment. It has major issues. Doesn't seem to be a problem when I use the flake with nixos unstable but if I use it with stable it's very broken. |
for the not detected monitors (actually they are detected) try disconnecting and reconnecting the HDMI cable maybe multiple times and wait a few seconds between connects( for me it works only on the HDMI connector not on the USBc to HDMI connector). Hard hangs, try kernel lower than 6.10 |
Using kernel 6.6 and DP cables. |
I get the same issue, hyprland crashes with greetd if I use Crash report is attached. |
I get the same issue. I am using arch Linux and amd gpu. I was using hyprland in the past, but I switch to gnome and deleted a package of hyprland, but recently I wanted to use hyprland again. And I got this error. |
I got the same issue with the |
Well, after some poking around, it turns out I did not have |
I have both installed and it crashed for me. I just have Intel Xe Graphics, no dedicated extra GPU. |
Still broken on NixOS for me. Following nixpkgs unstable. |
Ok I haven't found the solution but here's journalctl, I think this is the root cause. The log is also different now |
Just to maybe contribute with my 2 cents, I also have set |
Regression?
Yes
System Info and Version
System/Version info
Description
Hyprland (post-aquamarine) is crashing on startup, claiming it can not find a GPU.
How to reproduce
Start Hyprland with greetd or from tty, it crashes almost instantly.
Crash reports, logs, images, videos
hyprlandCrashReport111372.txt
The text was updated successfully, but these errors were encountered: