-
-
Notifications
You must be signed in to change notification settings - Fork 21
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 during launch with Hyprland v0.35 KeyError: 'physical-width' and with Hyprland v0.37.1 KeyError: 'monitor' #54
Comments
All the display detection part has already been re-written on the no-wlr-randr branch. However, the change also resolves #35, and relies on this commit on the Hyprland side. This means I cannot release until Hyprland > 0.36 is available. I know that v0.37.1 has been released yesterday, but on Arch we're still on v0.35. |
Update: New Error now on Arch with Hyprland v0.37.1 : KeyError: 'monitor' nwg-displays
|
OK, I managed to reproduce the crash and find a quick fix while at the office. Will take a closer look at it tonight, at home. |
The commit above should prevent the program from crashing when Gdk.Monitor assignment fails. It won't resolve other problems we're still experiencing on Hyprland, however. E.g.: mirroring monitors are not listed as active. When you re-launch nwg-displays, they will show up as disabled with x and y values = 0. I don't think we can do much about it. |
Thanks for the quick turnaround @nwg-piotr 👍🏼 Now keeping fingers crossed that I can get mirroring to work on Hyprland ! 🤔 😅 |
OS: Arch
WM: Hyprland v0.35
Monitor config in Hyprland:
hyprctl monitors all
wlr-randr
Trying to manually enable DP-2 causes Hyprland to crash and takes me back to SDDM login screen
wlr-randr --dry-run --output DP-2 --on
OR
wlr-randr --output DP-2 --on
Finally,
nwg-displays
System information (inxi -Faz) is attached.
system_info.txt
Let me know what other information you need. Thank you.
The text was updated successfully, but these errors were encountered: