-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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 at start, NixOS with Home Manager, Nvidia. #2572
Comments
I don't know if it's crashing because of fcitx5 or something else. I see you're using Nvidia. Some people reported problems and removing the nvidia-specific env variables one by one seemed to fix the issue. You could try that. |
I have been trying for 7 hours yesterday to try with different environment variables, but none of them worked. I didn't enable KDE Plasma on my system, I don't know why there's a KDE desktop portal.
|
Since you're using NixOS, is there a reason you're not using |
Home Manager can make the configs of Hyprland reproducible, programs.hyprland seems can not. |
Solved by adding this to the hyprland.conf file:
The bug is caused by there are fhs directories in the source code. Line 2344 in 01f85a0
|
Oh, didn't know about that. Wonder why it worked for me and others all this time. I'll try to patch it. |
NixOS doesn't seem to have a similar directory, so I don't think patching is required. It's weird that you've had an error due to this, and I don't know how to solve it besides the config option you've needed to enable. |
Is $XDG_DESKTOP_PORTAL_DIR the correct directory?
on OS: NixOS 23.11.20230623.3ae20aa (Tapir) x86_64. |
Oh, that makes it easier to check in that case. I'll have a look at patching it! |
I've patched it yesterday, the fix is in the main branch. Can you check whether Hyprland still crashes for you? |
Tested main branch in Home Manager with Flakes. Works fine. |
Btw. Is this fixed in the Hyprland package in Nixpkgs? |
Not yet. It will be when the next update arrives. |
Please consult the issue guidelines at
https://github.com/vaxerski/Hyprland/blob/main/docs/ISSUE_GUIDELINES.md
BEFORE submitting.
Ping @fufexan .
===== SYSTEM INFO: =====
System name: Linux
Node name: legion-y9000x
Release: 6.3.7
Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Jun 9 08:48:26 UTC 2023
GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-P Integrated Graphics Controller [8086:46a6] (rev 0c) (prog-if 00 [VGA controller])
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] [10de:2560] (rev a1) (prog-if 00 [VGA controller])
My Hyprland configuration files:
My Nvidia-related NixOS configs:
Crash report:
Screenshots:


The text was updated successfully, but these errors were encountered: