hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.95k stars 912 forks source link

disable_hyprland_logo option causes rendering issues on NixOS #8613

Open gamayagama opened 3 days ago

gamayagama commented 3 days ago

Already reported ? *

Regression?

No

System Info and Version

System/Version info ```sh Hyprland 0.45.0 built from branch at commit 8f83d29f00bfa89d1e8fe94b4dda98fe898b6b0e (). Date: 2024-11-28 Tag: , commits: built against aquamarine 0.5.0 flags set: debug System Information: System name: Linux Node name: lethe Release: 6.6.63 Version: #1-NixOS SMP PREEMPT_DYNAMIC Fri Nov 22 14:38:37 UTC 2024 GPU information: 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106 [GeForce GTX 1060 3GB] [10de:1c02] (rev a1) (prog-if 00 [VGA controller]) os-release: ANSI_COLOR="1;34" BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues" BUILD_ID="24.11.20241123.0c58267" CPE_NAME="cpe:/o:nixos:nixos:24.11" DEFAULT_HOSTNAME=lethe DOCUMENTATION_URL="https://nixos.org/learn.html" HOME_URL="https://nixos.org/" ID=nixos ID_LIKE="" IMAGE_ID="" IMAGE_VERSION="" LOGO="nix-snowflake" NAME=NixOS PRETTY_NAME="NixOS 24.11 (Vicuna)" SUPPORT_END="2025-06-30" SUPPORT_URL="https://nixos.org/community.html" VARIANT="" VARIANT_ID="" VENDOR_NAME=NixOS VENDOR_URL="https://nixos.org/" VERSION="24.11 (Vicuna)" VERSION_CODENAME=vicuna VERSION_ID="24.11" plugins: ======Config-Start====== Config File: /home/gama/.config/hypr/hyprland.conf: Read Succeeded $mod=SUPER animations { animation=windows, 1, 2, default, popin 80% animation=border, 1, 3, default animation=fade, 1, 1, default animation=workspaces, 1, 2, default } decoration { blur { passes=2 size=12 } rounding=4 } dwindle { preserve_split=true pseudotile=true } general { border_size=1 gaps_in=2 gaps_out=4 layout=master } master { orientation=center } misc { disable_hyprland_logo=true disable_splash_rendering=true } bind=$mod, Q, killactive bind=$mod, F, togglefloating bind=$mod, V, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy bind=$mod_SHIFT, Return, exec, kitty bind=$mod, Return, exec, rofi -show drun bind=$mod, H, movefocus, l bind=$mod, J, movefocus, d bind=$mod, K, movefocus, u bind=$mod, L, movefocus, r bind=$mod, code:10, workspace, 1 bind=$mod SHIFT, code:10, movetoworkspace, 1 bind=$mod, code:11, workspace, 2 bind=$mod SHIFT, code:11, movetoworkspace, 2 bind=$mod, code:12, workspace, 3 bind=$mod SHIFT, code:12, movetoworkspace, 3 bind=$mod, code:13, workspace, 4 bind=$mod SHIFT, code:13, movetoworkspace, 4 bind=$mod, code:14, workspace, 5 bind=$mod SHIFT, code:14, movetoworkspace, 5 bind=$mod, code:15, workspace, 6 bind=$mod SHIFT, code:15, movetoworkspace, 6 bind=$mod, code:16, workspace, 7 bind=$mod SHIFT, code:16, movetoworkspace, 7 bind=$mod, code:17, workspace, 8 bind=$mod SHIFT, code:17, movetoworkspace, 8 bind=$mod, code:18, workspace, 9 bind=$mod SHIFT, code:18, movetoworkspace, 9 exec-once=/nix/store/9bs9lnf68vwj5psfnvbj0kbyzapak64r-start/bin/start ======Config-End======== ```

Description

I enable "disable_hyprland_logo" in the "Misc." section, and at first it does not cause any issues, but after a reboot of my machine, several programs have rendering issues.

Example 1

Kitty (my terminal emulator) does launch, but only shows the hyprland border, not the actual terminal or anything I'm writing in it. Inputs are still working though as I was able to reboot from the terminal even without being able to see anything.

Example 2

Rofi (wayland version of course) does not seem to launch at all, although it was hard to tell because I couldn't tell if I was launching any programs from it without being able to see.

Notes

Keep in mind that I am using the Nix language to configure Hyprland if that has any relevance to this issue. I would have liked to include screenshots, but due to the nature of the bug, it would be very troublesome to do so. Let me know if there's anything else I can do to assist in solving this issue. If it helps, my current config can be found here in my NixOS repository

How to reproduce

Seems to just be caused by enabling the "disable_hyprland_logo" setting under the "Misc." section while on NixOS. No other settings seemed to affect anything in this regard.

Crash reports, logs, images, videos

No response

gamayagama commented 3 days ago

One thing I forgot to mention: I did test this with lightdm as my displayManager instead of Ly and the issue remained the same.

vaxerski commented 2 days ago

tried launching from tty?

Generally I have no clue how this could happen

gamayagama commented 2 days ago

Hmm, I don't seem to be able to launch from TTY. I just get a message saying the 'hyprland' command doesn't exist. Maybe I'm doing something wrong, I don't know if I've ever launched a graphical environment like this directly from a TTY, so let me know if I'm missing something.

As for the bug, I am also very confused. My only guess is it has something to do with Nvidia acting up.

fufexan commented 2 days ago

Ah yeah, Meson doesn't install the hyprland symlink. The command is Hyprland.

gamayagama commented 1 day ago

Ah yeah, Meson doesn't install the hyprland symlink. The command is Hyprland.

Oh of course! Thank you. Unfortunately it seems like the issue is the same even when launching from TTY though. This is not a critical bug by any means, but I do really wonder what could be causing it, as the setting seems like such an inconsequential thing.