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.65k stars 903 forks source link

Hyprland with legacyRenderer posts blank screen #1352

Closed shaunsingh closed 1 year ago

shaunsingh commented 1 year ago

Hi, thank you for the excellent project

I am using an m1 mac machine and wanted to use the hyprland wm, and so I referenced https://github.com/hyprwm/Hyprland/issues/1212 which told me to build with legacyRenderer support. However, hyprland starts up with a blank screen and doesn't display anything, though it registers my commands

Here is the coredump:

           PID: 43614 (Hyprland)
           UID: 1000 (shauryasingh)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Mon 2023-01-09 16:39:25 EST (17min ago)
  Command Line: Hyprland
    Executable: /nix/store/yfbi6cyawyhphxvjq40r4fm16d9arjs8-hyprland-0.20.1+date=2023-01-09_20a1a47/bin/Hyprland
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (shauryasingh)
       Boot ID: 0d5b36c9a978436d889bf2f3da99a7ad
    Machine ID: 0b12e4bf35a6436aa38cf9afaa370613
      Hostname: shaunsingh-laptop
       Storage: /var/lib/systemd/coredump/core.Hyprland.1000.0d5b36c9a978436d889bf2f3da99a7ad.43614.1673300365000000.zst (present)
  Size on Disk: 2.4M
       Message: Process 43614 (Hyprland) of user 1000 dumped core.

                Module libxml2.so.2 without build-id.
                Module libncursesw.so.6 without build-id.
                Module libxshmfence.so.1 without build-id.
                Module libxcb-sync.so.1 without build-id.
                Module libxcb-randr.so.0 without build-id.
                Module libxcb-dri2.so.0 without build-id.
                Module libX11-xcb.so.1 without build-id.
                Module libglapi.so.0 without build-id.
                Module libEGL_mesa.so.0 without build-id.
                Module libpcre2-8.so.0 without build-id.
                Module libgpg-error.so.0 without build-id.
                Module libgudev-1.0.so.0 without build-id.
                Module libbz2.so.1 without build-id.
                Module libexpat.so.1 without build-id.
                Module libGLX.so.0 without build-id.
                Module liblz4.so.1 without build-id.
                Module libzstd.so.1 without build-id.
                Module liblzma.so.5 without build-id.
                Module libgcrypt.so.20 without build-id.
                Module libcap.so.2 without build-id.
                Module libXdmcp.so.6 without build-id.
                Module libXau.so.6 without build-id.
                Module libwacom.so.9 without build-id.
                Module libevdev.so.2 without build-id.
                Module libmtdev.so.1 without build-id.
                Module libGLdispatch.so.0 without build-id.
                Module libz.so.1 without build-id.
                Module libXext.so.6 without build-id.
                Module libX11.so.6 without build-id.
                Module libXrender.so.1 without build-id.
                Module libpng16.so.16 without build-id.
                Module libfreetype.so.6 without build-id.
                Module libfontconfig.so.1 without build-id.
                Module libxcb-errors.so.0 without build-id.
                Module libxcb-res.so.0 without build-id.
                Module libxcb-icccm.so.4 without build-id.
                Module libxcb-composite.so.0 without build-id.
                Module libxcb-xinput.so.0 without build-id.
                Module libxcb-xfixes.so.0 without build-id.
                Module libxcb-shm.so.0 without build-id.
                Module libxcb-render-util.so.0 without build-id.
                Module libxcb-render.so.0 without build-id.
                Module libxcb-present.so.0 without build-id.
                Module libxcb-dri3.so.0 without build-id.
                Module libseat.so.1 without build-id.
                Module libudev.so.1 without build-id.
                Module libvulkan.so.1 without build-id.
                Module libGLESv2.so.2 without build-id.
                Module libgbm.so.1 without build-id.
                Module libdrm.so.2 without build-id.
                Module libffi.so.8 without build-id.
                Module libgcc_s.so.1 without build-id.
                Module libstdc++.so.6 without build-id.
                Module libGL.so.1 without build-id.
                Module libsystemd.so.0 without build-id.
                Module libxcb.so.1 without build-id.
                Module libinput.so.10 without build-id.
                Module libxkbcommon.so.0 without build-id.
                Module libEGL.so.1 without build-id.
                Module libwlroots.so.12 without build-id.
                Module Hyprland without build-id.
                Stack trace of thread 43614:
                #0  0x0000ffff56a7d9a8 __pthread_kill_implementation (libc.so.6 + 0x7d9a8)
                #1  0x0000ffff56a39be4 raise (libc.so.6 + 0x39be4)
                #2  0x0000ffff56a2716c abort (libc.so.6 + 0x2716c)
                #3  0x0000ffff56d4c988 _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6 + 0xac988)
                #4  0x0000ffff56d4a3ac _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6 + 0xaa3ac)
                #5  0x0000ffff56d4a410 _ZSt9terminatev (libstdc++.so.6 + 0xaa410)
                #6  0x0000ffff56d4a6f0 __cxa_throw (libstdc++.so.6 + 0xaa6f0)
                #7  0x0000000000486e2c _ZN11CCompositorC2Ev (Hyprland + 0x86e2c)
                #8  0x0000000000412a84 main (Hyprland + 0x12a84)
                #9  0x0000ffff56a273f4 __libc_start_call_main (libc.so.6 + 0x273f4)
                #10 0x0000ffff56a274d0 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x274d0)
                #11 0x0000000000426970 _start (Hyprland + 0x26970)
                ELF object binary architecture: AARCH64

Here is the log:

[LOG] Instance Signature: _1673300958
[LOG] Hyprland PID: 3705
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: shaunsingh-laptop
[LOG] Release: 6.1.0-asahi
[LOG] Version: #1-NixOS SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980

[LOG] GPU information:

[LOG] os-release:
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="23.05.20230109.c950d7a"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 23.05 (Stoat)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="23.05 (Stoat)"
VERSION_CODENAME=stoat
VERSION_ID="23.05"

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG] 
Current splash: What's in your head, in your head?

[LOG] Hyprland init finished.
[LOG] Creating the CHyprError!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 206.66µs. Estimated average calc time: 0.23µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 11.12µs. Estimated average calc time: 0.19µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 11.08µs. Estimated average calc time: 0.17µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 10.87µs. Estimated average calc time: 0.22µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 10.79µs. Estimated average calc time: 0.17µs.
[LOG] Registered dynamic var "$term" -> /nix/store/y6ngsjbj0i71vl1xc9zvixh5lkxi2yg5-foot-f19768e30406ad154ebdb7f75ce8a656a130db4c/bin/foot
[LOG] Registered dynamic var "$browser" -> firefox
[LOG] Registered dynamic var "$editor" -> nvim
[LOG] Registered dynamic var "$files" -> nemo
[LOG] Registered dynamic var "$launcher" -> /nix/store/y7g5ya75z80j5wp4mj6mls0409im3vhw-rofi-1.7.5+wayland1/bin/rofi -no-lazy-grab -show drun -theme index
[LOG] Registered dynamic var "$screenshotarea" -> hyprctl keyword animation "fadeOut,0,0,default"; /nix/store/q3kq7wxhayba17pi4jfz6q8f9pbjs6iv-screenshot/bin/screenshot; hyprctl keyword animation "fadeOut,1,4,default"
[LOG] Hypr socket started at /tmp/hypr/_1673300958/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 2.0 Mesa 23.0.0-devel
[LOG] Vendor: Asahi
[LOG] Renderer: Apple M1 (G13G B1)
[LOG] Supported extensions size: 69
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner 15c3a4c0: 15c3a500 -> 550910 (owner: XWayland Manager)
[LOG] Registered signal for owner 15c3a4c0: 15c3a510 -> 5508f8 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner 15311eb0: 15311ed8 -> 550838 (owner: Backend)
[LOG] Registered signal for owner 15b80850: 15b808a0 -> 5507f0 (owner: XDG Shell)
[LOG] Registered signal for owner 15b80920: 15b80938 -> 5507c0 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80948 -> 5507a8 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80958 -> 550790 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80968 -> 550778 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80978 -> 550760 (owner: WLRCursor)
[LOG] Hypr socket 2 started at /tmp/hypr/_1673300958/.socket2.sock
[LOG] Registered signal for owner 15b80920: 15b80988 -> 5505c8 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80998 -> 550598 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809a8 -> 5505b0 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809b8 -> 550580 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809c8 -> 550568 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809d8 -> 550550 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80a18 -> 5504d8 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80a08 -> 5504c0 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80a28 -> 5504a8 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b80a48 -> 550490 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809e8 -> 550478 (owner: WLRCursor)
[LOG] Registered signal for owner 15b80920: 15b809f8 -> 550460 (owner: WLRCursor)
[LOG] Registered signal for owner 15311eb0: 15311ec8 -> 550748 (owner: Backend)
[LOG] Registered signal for owner 153116e0: 15c33738 -> 550700 (owner: Seat)
[LOG] Registered signal for owner 153116e0: 15c33748 -> 5506e8 (owner: Seat)
[LOG] Registered signal for owner 153116e0: 15c33788 -> 550688 (owner: Seat)
[LOG] Registered signal for owner 153116e0: 15c33798 -> 550670 (owner: Seat)
[LOG] Registered signal for owner 153116e0: 15c33748 -> 5506e8 (owner: Seat)
[LOG] Registered signal for owner 153116e0: 15c33768 -> 5506d0 (owner: Seat)
[LOG] Registered signal for owner 15c339d0: 15c339f0 -> 550808 (owner: LayerShell)
[LOG] Registered signal for owner 15aa9fc0: 15aa9fe0 -> 550850 (owner: OutputLayout)
[LOG] Registered signal for owner 15c33c80: 15c33cb8 -> 5506b8 (owner: OutputMgr)
[LOG] Registered signal for owner 15c33c80: 15c33cc8 -> 5506a0 (owner: OutputMgr)
[LOG] Registered signal for owner 15b80b10: 15b80b40 -> 550658 (owner: InhibitMgr)
[LOG] Registered signal for owner 15b80b10: 15b80b50 -> 550640 (owner: InhibitMgr)
[LOG] Registered signal for owner 15b80d50: 15b80d68 -> 550718 (owner: PointerConstraints)
[LOG] Registered signal for owner 15b7db00: 15b7db30 -> 550628 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 15b80f50: 15b80f80 -> 550730 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 15b80ea0: 15b80ed0 -> 5504f0 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 153dd920: 153dd920 -> 550610 (owner: WLRRenderer)
[LOG] Registered signal for owner 15b812e0: 15b81310 -> 5505f8 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 15a70bc0: 15a70bf0 -> 550538 (owner: PowerMgr)
[LOG] Registered signal for owner 15b81760: 15b81790 -> 550520 (owner: IMEMgr)
[LOG] Registered signal for owner 15b816b0: 15b816e0 -> 550508 (owner: TextInputMgr)
[LOG] Registered signal for owner 15b81810: 15b81838 -> 5507d8 (owner: ActivationV1)
[LOG] Registered signal for owner 15311450: 15b810f0 -> 550820 (owner: DRM)
[LOG] Registered signal for owner 15311f40: 153120a0 -> 5505e0 (owner: Session)
[LOG] Running on WAYLAND_DISPLAY: wayland-1
[LOG] Attached a keyboard with name Apple Internal Keyboard / Trackpad
[LOG] Registered signal for owner 15a5d050: 15c7fe30 -> 15a5d058 (owner: Keyboard)
[LOG] Registered signal for owner 15a5d050: 15c7fe20 -> 15a5d0c0 (owner: Keyboard)
[LOG] Registered signal for owner 15a5d050: 15c7fd00 -> 15a5d190 (owner: Keyboard)
[LOG] Registered signal for owner 15a5d050: 15c7fe40 -> 15a5d128 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "apple-internal-keyboard-/-trackpad", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "Apple Internal Keyboard / Trackpad"
[LOG] New keyboard created, pointers Hypr: 15a5d050 and WLR: 15c7fce8
[LOG] Attached a mouse with name Apple Internal Keyboard / Trackpad
[LOG] New mouse has libinput sens 0.00 (0.00) with accel profile 2 (2)
[LOG] Applied config to mouse apple-internal-keyboard-/-trackpad-1, sens 0.00
[LOG] Registered signal for owner 15a69d80: 15cad4b0 -> 15a69e40 (owner: Mouse)
[LOG] New mouse created, pointer WLR: 15cad498
[LOG] Attached a keyboard with name Apple SMC power/lid events
[LOG] Registered signal for owner 15cbb390: 15cbafa0 -> 15cbb398 (owner: Keyboard)
[LOG] Registered signal for owner 15cbb390: 15cbaf90 -> 15cbb400 (owner: Keyboard)
[LOG] Registered signal for owner 15cbb390: 15cbae70 -> 15cbb4d0 (owner: Keyboard)
[LOG] Registered signal for owner 15cbb390: 15cbafb0 -> 15cbb468 (owner: Keyboard)
[LOG] ApplyConfigToKeyboard for "apple-smc-power/lid-events", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "Apple SMC power/lid events"
[LOG] New keyboard created, pointers Hypr: 15cbb390 and WLR: 15cbae58
[LOG] Attached a switch device with name Apple SMC power/lid events
[LOG] New switch with name "Apple SMC power/lid events" added
[LOG] Registered signal for owner 15aa7500: 15cbb108 -> 15aa7508 (owner: SwitchDevice)
[LOG] Registered signal for owner 15aa7500: 15cbb128 -> 15aa7570 (owner: SwitchDevice)
[LOG] Adding completely new monitor.
[LOG] Registered signal for owner 15d11770: 15d11570 -> 15d118c0 (owner: )
[LOG] Registered signal for owner 15d11770: 15d11600 -> 15d11928 (owner: )
[LOG] Registered signal for owner 15d11770: 15d115f0 -> 15d11990 (owner: )
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Added new monitor with name eDP-1 at 0,0 with size 2560x1600, pointer 15d11430
[LOG] New monitor: WORKSPACEID 1, exists: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Hyprland is ready, running the event loop!
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /nix/store/mv18zwcpnw2zx6kcwq0k69xgbjschwh4-dbus-1.14.4/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
[LOG] Process Created with pid 3729
[LOG] ApplyConfigToKeyboard for "apple-internal-keyboard-/-trackpad", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "Apple Internal Keyboard / Trackpad"
[LOG] ApplyConfigToKeyboard for "apple-smc-power/lid-events", hasconfig: 0
[LOG] Attempting to create a keymap for layout us with variant  (rules: , model: , options: )
[LOG] Set the keyboard layout to us and variant to  for keyboard "Apple SMC power/lid events"
[LOG] Applied config to mouse apple-internal-keyboard-/-trackpad-1, sens 0.00
[LOG] Applying monitor rule for eDP-1
[LOG] Setting preferred mode for eDP-1
[LOG] Monitor eDP-1 -> destroyed all render data
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Allocated texture for BGTex
[LOG] Background created for monitor eDP-1
[LOG] Shaders initialized successfully.
[LOG] OutputMgr Applied/Tested.
[LOG] New TextInput added!
[LOG] Registered signal for owner 163224a0: 1631f728 -> 163224b0 (owner: textInput)
[LOG] Registered signal for owner 163224a0: 1631f738 -> 16322580 (owner: textInput)
[LOG] Registered signal for owner 163224a0: 1631f748 -> 16322518 (owner: textInput)
[LOG] Registered signal for owner 163224a0: 1631f758 -> 163225e8 (owner: textInput)
[LOG] Registered signal for owner 163410e0: 16322be8 -> 16341230 (owner: layerSurface)
[LOG] Registered signal for owner 163410e0: 1631d860 -> 163410f8 (owner: layerSurface)
[LOG] Registered signal for owner 163410e0: 1631d870 -> 16341160 (owner: layerSurface)
[LOG] Registered signal for owner 163410e0: 1631d880 -> 163411c8 (owner: layerSurface)
[LOG] Registered signal for owner 163410e0: 1631d890 -> 16341298 (owner: layerSurface)
[LOG] LayerSurface 1631d7a0 (namespace wallpaper layer 0) created on monitor eDP-1
[LOG] LayerSurface 16095940 arranged: x: 0 y: 0 w: 1280 h: 800 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Applying monitor rule for eDP-1
[LOG] Not applying a new rule to eDP-1 because it's already applied!
[LOG] LayerSurface 16095940 arranged: x: 0 y: 0 w: 1280 h: 800 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] LayerSurface 1631d7a0 mapped
[LOG] LayerSurface 16095940 arranged: x: 0 y: 0 w: 1280 h: 800 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor eDP-1 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /nix/store/y6ngsjbj0i71vl1xc9zvixh5lkxi2yg5-foot-f19768e30406ad154ebdb7f75ce8a656a130db4c/bin/foot
[LOG] Process Created with pid 3740
[LOG] New TextInput added!
[LOG] Registered signal for owner 1631ff40: 1631b228 -> 1631ff50 (owner: textInput)
[LOG] Registered signal for owner 1631ff40: 1631b238 -> 16320020 (owner: textInput)
[LOG] Registered signal for owner 1631ff40: 1631b248 -> 1631ffb8 (owner: textInput)
[LOG] Registered signal for owner 1631ff40: 1631b258 -> 16320088 (owner: textInput)
[LOG] New XDG Surface created. (class: foot)
[LOG] Registered signal for owner 162ff860: 16325230 -> 162ff8c8 (owner: XDG Window)
[LOG] Registered signal for owner 162ff860: 16325240 -> 162ff930 (owner: XDG Window)
[LOG] Registered signal for owner 162ff860: 16325200 -> 162ff998 (owner: XDG Window)
[LOG] Registered signal for owner 162ff860: 163421b0 -> 162ffe78 (owner: Toplevel)
[LOG] Registered signal for owner 162ff860: 163421c0 -> 162ffee0 (owner: Toplevel)
[LOG] Registered signal for owner 162ff860: 163421d0 -> 162ffe10 (owner: Toplevel)
[LOG] Searching for matching rules for foot (title: foot)
[ERR] Regex error at *.exe
[LOG] OPENINGON: 1631cef0, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface 16324d60, with window name: foot
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 162ff860: 16325028 -> 162ff860 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 16311700 -> 162ffa00 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 16325220 -> 162ffb38 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 16311690 -> 162ffc70 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 163116b0 -> 162ffc08 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 163116c0 -> 162ffba0 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 163116d0 -> 162ffcd8 (owner: XDG Window Late)
[LOG] Registered signal for owner 162ff860: 163116a0 -> 162ffad0 (owner: XDG Window Late)
[LOG] Registered signal for owner 16209a00: 16325038 -> 16209a08 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 16209a00: 16325028 -> 16209a70 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 16209a00: 16325048 -> 16209ad8 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface 16311c40
[LOG] Registered signal for owner 16180de0: 16311cd8 -> 16180df8 (owner: Subsurface)
[LOG] Registered signal for owner 16180de0: 16311ce8 -> 16180e60 (owner: Subsurface)
[LOG] Registered signal for owner 16180de0: 16311cc8 -> 16180ec8 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: 162ff860)
[LOG] Map request dispatched, monitor eDP-1, xywh: 0.000000 0.000000 1280.000000 800.000000
[LOG] Searching for matching rules for foot (title: ~)
[ERR] Regex error at *.exe
[LOG] Window 162ff860 set title to ~
[LOG] Searching for matching rules for foot (title:      ~)
[ERR] Regex error at *.exe
[LOG] Window 162ff860 set title to      ~
[LOG] Searching for matching rules for foot (title: ~)
[ERR] Regex error at *.exe
[LOG] Window 162ff860 set title to ~
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /nix/store/y6ngsjbj0i71vl1xc9zvixh5lkxi2yg5-foot-f19768e30406ad154ebdb7f75ce8a656a130db4c/bin/foot
[LOG] Process Created with pid 3926
[LOG] New TextInput added!
[LOG] Registered signal for owner 1633da40: 1633d9e8 -> 1633da50 (owner: textInput)
[LOG] Registered signal for owner 1633da40: 1633d9f8 -> 1633db20 (owner: textInput)
[LOG] Registered signal for owner 1633da40: 1633da08 -> 1633dab8 (owner: textInput)
[LOG] Registered signal for owner 1633da40: 1633da18 -> 1633db88 (owner: textInput)
[LOG] New XDG Surface created. (class: foot)
[LOG] Registered signal for owner 163666a0: 1633e7f0 -> 16366708 (owner: XDG Window)
[LOG] Registered signal for owner 163666a0: 1633e800 -> 16366770 (owner: XDG Window)
[LOG] Registered signal for owner 163666a0: 1633e7c0 -> 163667d8 (owner: XDG Window)
[LOG] Registered signal for owner 163666a0: 16367ea0 -> 16366cb8 (owner: Toplevel)
[LOG] Registered signal for owner 163666a0: 16367eb0 -> 16366d20 (owner: Toplevel)
[LOG] Registered signal for owner 163666a0: 16367ec0 -> 16366c50 (owner: Toplevel)
[LOG] Searching for matching rules for foot (title: foot)
[ERR] Regex error at *.exe
[LOG] OPENINGON: 1631cef0, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface 1633e320, with window name: foot
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 163666a0: 1633e5e8 -> 163666a0 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633ea10 -> 16366840 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e7e0 -> 16366978 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e9a0 -> 16366ab0 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e9c0 -> 16366a48 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e9d0 -> 163669e0 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e9e0 -> 16366b18 (owner: XDG Window Late)
[LOG] Registered signal for owner 163666a0: 1633e9b0 -> 16366910 (owner: XDG Window Late)
[LOG] Registered signal for owner 15aa9ba0: 1633e5f8 -> 15aa9ba8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15aa9ba0: 1633e5e8 -> 15aa9c10 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15aa9ba0: 1633e608 -> 15aa9c78 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface 1633f030
[LOG] Registered signal for owner 15a69c10: 1633f0c8 -> 15a69c28 (owner: Subsurface)
[LOG] Registered signal for owner 15a69c10: 1633f0d8 -> 15a69c90 (owner: Subsurface)
[LOG] Registered signal for owner 15a69c10: 1633f0b8 -> 15a69cf8 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: 163666a0)
[LOG] Map request dispatched, monitor eDP-1, xywh: 12.000000 12.000000 619.000000 776.000000
[LOG] Searching for matching rules for foot (title: ~)
[ERR] Regex error at *.exe
[LOG] Window 163666a0 set title to ~
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /nix/store/y6ngsjbj0i71vl1xc9zvixh5lkxi2yg5-foot-f19768e30406ad154ebdb7f75ce8a656a130db4c/bin/foot
[LOG] Process Created with pid 4009
[LOG] New TextInput added!
[LOG] Registered signal for owner 163d28d0: 163d2878 -> 163d28e0 (owner: textInput)
[LOG] Registered signal for owner 163d28d0: 163d2888 -> 163d29b0 (owner: textInput)
[LOG] Registered signal for owner 163d28d0: 163d2898 -> 163d2948 (owner: textInput)
[LOG] Registered signal for owner 163d28d0: 163d28a8 -> 163d2a18 (owner: textInput)
[LOG] New XDG Surface created. (class: foot)
[LOG] Registered signal for owner 163d1360: 163be5a0 -> 163d13c8 (owner: XDG Window)
[LOG] Registered signal for owner 163d1360: 163be5b0 -> 163d1430 (owner: XDG Window)
[LOG] Registered signal for owner 163d1360: 163be570 -> 163d1498 (owner: XDG Window)
[LOG] Registered signal for owner 163d1360: 163bdc40 -> 163d1978 (owner: Toplevel)
[LOG] Registered signal for owner 163d1360: 163bdc50 -> 163d19e0 (owner: Toplevel)
[LOG] Registered signal for owner 163d1360: 163bdc60 -> 163d1910 (owner: Toplevel)
[LOG] Searching for matching rules for foot (title: foot)
[ERR] Regex error at *.exe
[LOG] OPENINGON: 1633a220, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface 163be0d0, with window name: foot
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 163d1360: 163be398 -> 163d1360 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be7c0 -> 163d1500 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be590 -> 163d1638 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be750 -> 163d1770 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be770 -> 163d1708 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be780 -> 163d16a0 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be790 -> 163d17d8 (owner: XDG Window Late)
[LOG] Registered signal for owner 163d1360: 163be760 -> 163d15d0 (owner: XDG Window Late)
[LOG] Registered signal for owner 15e95cf0: 163be3a8 -> 15e95cf8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15e95cf0: 163be398 -> 15e95d60 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15e95cf0: 163be3b8 -> 15e95dc8 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface 163be9f0
[LOG] Registered signal for owner 163b7790: 163bea88 -> 163b77a8 (owner: Subsurface)
[LOG] Registered signal for owner 163b7790: 163bea98 -> 163b7810 (owner: Subsurface)
[LOG] Registered signal for owner 163b7790: 163bea78 -> 163b7878 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: 163d1360)
[LOG] Map request dispatched, monitor eDP-1, xywh: 12.000000 12.000000 619.000000 379.000000
[LOG] Searching for matching rules for foot (title: ~)
[ERR] Regex error at *.exe
[LOG] Window 163d1360 set title to ~
[LOG] Keybind triggered, calling dispatcher (64, , 65293)
[LOG] Executing WAYLAND_DISPLAY=wayland-1 DISPLAY=:0 /nix/store/y6ngsjbj0i71vl1xc9zvixh5lkxi2yg5-foot-f19768e30406ad154ebdb7f75ce8a656a130db4c/bin/foot
[LOG] Process Created with pid 4108
[LOG] New TextInput added!
[LOG] Registered signal for owner 163bd9a0: 163ba738 -> 163bd9b0 (owner: textInput)
[LOG] Registered signal for owner 163bd9a0: 163ba748 -> 163bda80 (owner: textInput)
[LOG] Registered signal for owner 163bd9a0: 163ba758 -> 163bda18 (owner: textInput)
[LOG] Registered signal for owner 163bd9a0: 163ba768 -> 163bdae8 (owner: textInput)
[LOG] New XDG Surface created. (class: foot)
[LOG] Registered signal for owner 1639e4f0: 163bb9b0 -> 1639e558 (owner: XDG Window)
[LOG] Registered signal for owner 1639e4f0: 163bb9c0 -> 1639e5c0 (owner: XDG Window)
[LOG] Registered signal for owner 1639e4f0: 163bb980 -> 1639e628 (owner: XDG Window)
[LOG] Registered signal for owner 1639e4f0: 163bc6c0 -> 1639eb08 (owner: Toplevel)
[LOG] Registered signal for owner 1639e4f0: 163bc6d0 -> 1639eb70 (owner: Toplevel)
[LOG] Registered signal for owner 1639e4f0: 163bc6e0 -> 1639eaa0 (owner: Toplevel)
[LOG] Searching for matching rules for foot (title: foot)
[ERR] Regex error at *.exe
[LOG] OPENINGON: 16367ae0, Workspace: 1, Monitor: 0
[LOG] Set keyboard focus to surface 163baeb0, with window name: foot
[LOG] Window got assigned a surfaceTreeNode 0
[LOG] Registered signal for owner 1639e4f0: 163bb178 -> 1639e4f0 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbbd0 -> 1639e690 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bb9a0 -> 1639e7c8 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbb60 -> 1639e900 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbb80 -> 1639e898 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbb90 -> 1639e830 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbba0 -> 1639e968 (owner: XDG Window Late)
[LOG] Registered signal for owner 1639e4f0: 163bbb70 -> 1639e760 (owner: XDG Window Late)
[LOG] Registered signal for owner 15a5e7f0: 163bb188 -> 15a5e7f8 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15a5e7f0: 163bb178 -> 15a5e860 (owner: SurfaceTreeNode)
[LOG] Registered signal for owner 15a5e7f0: 163bb198 -> 15a5e8c8 (owner: SurfaceTreeNode)
[LOG] Added a new subsurface 1639f500
[LOG] Registered signal for owner 161810b0: 1639f598 -> 161810c8 (owner: Subsurface)
[LOG] Registered signal for owner 161810b0: 1639f5a8 -> 16181130 (owner: Subsurface)
[LOG] Registered signal for owner 161810b0: 1639f588 -> 16181198 (owner: Subsurface)
[LOG] Creating a surfaceTree Root! (pWindow: 1639e4f0)
[LOG] Map request dispatched, monitor eDP-1, xywh: 12.000000 12.000000 299.000000 379.000000
[LOG] Searching for matching rules for foot (title: ~)
[ERR] Regex error at *.exe
[LOG] Window 1639e4f0 set title to ~
[LOG] Hyprland received signal 15
[LOG] Destroying workspace ID 1
[WARN] Suppressed (ignoreevents true / shutting down) event of type destroyworkspace, content: 1
[LOG] Callback 162fff08 -> 162fff00, Toplevel removed.
[LOG] Callback 162ffea0 -> 162ffe98, Toplevel removed.
[LOG] Callback 162ffe38 -> 162ffe30, Toplevel removed.
[LOG] Callback 162ffd00 -> 162ffcf8, XDG Window Late removed.
[LOG] Callback 162ffc98 -> 162ffc90, XDG Window Late removed.
[LOG] Callback 162ffc30 -> 162ffc28, XDG Window Late removed.
[LOG] Callback 162ffbc8 -> 162ffbc0, XDG Window Late removed.
[LOG] Callback 162ffb60 -> 162ffb58, XDG Window Late removed.
[LOG] Callback 162ffaf8 -> 162ffaf0, XDG Window Late removed.
[LOG] Callback 162ffa28 -> 162ffa20, XDG Window Late removed.
[LOG] Callback 162ff9c0 -> 162ff9b8, XDG Window removed.
[LOG] Callback 162ff958 -> 162ff950, XDG Window removed.
[LOG] Callback 162ff8f0 -> 162ff8e8, XDG Window removed.
[LOG] Callback 162ff888 -> 162ff880, XDG Window Late removed.
[LOG] Callback 16366d48 -> 16366d40, Toplevel removed.
[LOG] Callback 16366ce0 -> 16366cd8, Toplevel removed.
[LOG] Callback 16366c78 -> 16366c70, Toplevel removed.
[LOG] Callback 16366b40 -> 16366b38, XDG Window Late removed.
[LOG] Callback 16366ad8 -> 16366ad0, XDG Window Late removed.
[LOG] Callback 16366a70 -> 16366a68, XDG Window Late removed.
[LOG] Callback 16366a08 -> 16366a00, XDG Window Late removed.
[LOG] Callback 163669a0 -> 16366998, XDG Window Late removed.
[LOG] Callback 16366938 -> 16366930, XDG Window Late removed.
[LOG] Callback 16366868 -> 16366860, XDG Window Late removed.
[LOG] Callback 16366800 -> 163667f8, XDG Window removed.
[LOG] Callback 16366798 -> 16366790, XDG Window removed.
[LOG] Callback 16366730 -> 16366728, XDG Window removed.
[LOG] Callback 163666c8 -> 163666c0, XDG Window Late removed.
[LOG] Callback 163d1a08 -> 163d1a00, Toplevel removed.
[LOG] Callback 163d19a0 -> 163d1998, Toplevel removed.
[LOG] Callback 163d1938 -> 163d1930, Toplevel removed.
[LOG] Callback 163d1800 -> 163d17f8, XDG Window Late removed.
[LOG] Callback 163d1798 -> 163d1790, XDG Window Late removed.
[LOG] Callback 163d1730 -> 163d1728, XDG Window Late removed.
[LOG] Callback 163d16c8 -> 163d16c0, XDG Window Late removed.
[LOG] Callback 163d1660 -> 163d1658, XDG Window Late removed.
[LOG] Callback 163d15f8 -> 163d15f0, XDG Window Late removed.
[LOG] Callback 163d1528 -> 163d1520, XDG Window Late removed.
[LOG] Callback 163d14c0 -> 163d14b8, XDG Window removed.
[LOG] Callback 163d1458 -> 163d1450, XDG Window removed.
[LOG] Callback 163d13f0 -> 163d13e8, XDG Window removed.
[LOG] Callback 163d1388 -> 163d1380, XDG Window Late removed.
[LOG] Callback 1639eb98 -> 1639eb90, Toplevel removed.
[LOG] Callback 1639eb30 -> 1639eb28, Toplevel removed.
[LOG] Callback 1639eac8 -> 1639eac0, Toplevel removed.
[LOG] Callback 1639e990 -> 1639e988, XDG Window Late removed.
[LOG] Callback 1639e928 -> 1639e920, XDG Window Late removed.
[LOG] Callback 1639e8c0 -> 1639e8b8, XDG Window Late removed.
[LOG] Callback 1639e858 -> 1639e850, XDG Window Late removed.
[LOG] Callback 1639e7f0 -> 1639e7e8, XDG Window Late removed.
[LOG] Callback 1639e788 -> 1639e780, XDG Window Late removed.
[LOG] Callback 1639e6b8 -> 1639e6b0, XDG Window Late removed.
[LOG] Callback 1639e650 -> 1639e648, XDG Window removed.

Here is my config

{ pkgs
, lib
, inputs
, config
, ...
}:
  let
    terminal = "${pkgs.foot}/bin/foot";
    menu = "${pkgs.rofi-wayland}/bin/rofi -no-lazy-grab -show drun -theme index";
  in
{
  home = {
    packages = with pkgs; [
      wl-clipboard
      hyprland-legacy
      xwayland
    ];
    sessionVariables = {
      XDG_CURRENT_DESKTOP = "Hyprland";
      XDG_SESSION_DESKTOP = "Hyprland";
    };
  };

  xdg.configFile."hypr/hyprland.conf".text = ''
    exec-once=${pkgs.dbus}/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY HYPRLAND_INSTANCE_SIGNATURE XDG_CURRENT_DESKTOP && systemctl --user start hyprland-session.target
    # Monitors
    monitor = eDP-1, preferred, auto, auto

    # Input
    input {
      kb_layout = us
      follow_mouse = 1
      touchpad {
          disable_while_typing = false
          natural_scroll = true
          tap-to-click = true
      }
      sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
    }

    # General
    general {
      gaps_in = 9
      gaps_out = 12
      border_size = 0
      no_border_on_floating = true
      layout = dwindle
      main_mod = SUPER
    }

    # Misc
    misc {
      disable_hyprland_logo = true
      disable_splash_rendering = true
    }

    # Decorations
    decoration {
      # Opacity
      active_opacity = 1.0
      inactive_opacity = 1.0

      # Blur
      blur = false
      blur_size = 10
      blur_passes = 4
      blur_new_optimizations = true

      # Shadow
      drop_shadow = true
      shadow_ignore_window = true
      shadow_offset = 2 2
      shadow_range = 4
      shadow_render_power = 2
      col.shadow = 0x66000000
    }

    # Blurring layerSurfaces
    blurls = gtk-layer-shell
    blurls = lockscreen

    # Animations
    animations {
      enabled = true

      # bezier curve
      bezier = overshot, 0.05, 0.9, 0.1, 1.05
      bezier = smoothOut, 0.36, 0, 0.66, -0.56
      bezier = smoothIn, 0.25, 1, 0.5, 1

      # animation list
      animation = windows, 1, 5, overshot, slide
      animation = windowsOut, 1, 4, smoothOut, slide
      animation = windowsMove, 1, 4, default
      animation = border, 1, 10, default
      animation = fade, 1, 10, smoothIn
      animation = fadeDim, 1, 10, smoothIn
      animation = workspaces, 1, 6, overshot, slidevert
    }

    # Gestures
    gestures {
      workspace_swipe = true
      workspace_swipe_fingers = 3
    }

    # Layouts
    dwindle {
      no_gaps_when_only = true
      pseudotile = true # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
      preserve_split = true # you probably want this
    }

    # Window rules
    windowrule = float, file_progress
    windowrule = float, confirm
    windowrule = float, dialog
    windowrule = float, download
    windowrule = float, notification
    windowrule = float, error
    windowrule = float, splash
    windowrule = float, confirmreset
    windowrule = float, title:Open File
    windowrule = float, title:branchdialog
    windowrule = float, zoom
    windowrule = float, vlc
    windowrule = float, Lxappearance
    windowrule = float, ncmpcpp
    windowrule = float, Rofi
    windowrule = animation none, Rofi
    windowrule = float, viewnior
    windowrule = float, pavucontrol-qt
    windowrule = float, gucharmap
    windowrule = float, gnome-font
    windowrule = float, org.gnome.Settings
    windowrule = float, file-roller
    windowrule = float, nautilus
    windowrule = float, nemo
    windowrule = float, thunar
    windowrule = float, Pcmanfm
    windowrule = float, obs
    windowrule = float, wdisplays
    windowrule = float, zathura
    windowrule = float, *.exe
    windowrule = fullscreen, wlogout
    windowrule = float, title:wlogout
    windowrule = fullscreen, title:wlogout
    windowrule = float, pavucontrol-qt
    windowrule = float, keepassxc
    windowrule = idleinhibit focus, mpv
    windowrule = idleinhibit fullscreen, firefox
    windowrule = float, title:^(Media viewer)$
    windowrule = float, title:^(Transmission)$
    windowrule = float, title:^(Volume Control)$
    windowrule = float, title:^(Picture-in-Picture)$
    windowrule = float, title:^(Firefox — Sharing Indicator)$
    windowrule = move 0 0, title:^(Firefox — Sharing Indicator)$
    windowrule = size 800 600, title:^(Volume Control)$
    windowrule = move 75 44%, title:^(Volume Control)$

    # Variables
    $term = ${terminal}
    $browser = firefox
    $editor = nvim
    $files = nemo
    $launcher = ${menu}

    # Apps
    bind = SUPER, RETURN, exec, $term
    bind = SUPER SHIFT, E, exec, $editor
    bind = SUPER SHIFT, F, exec, $files
    bind = SUPER SHIFT, B, exec, $browser
    bind = SUPER, D, exec, $launcher
    bind = SUPER, E, exec, $emoji
    bind = SUPER, X, exec, power-menu

    # Function keys
    bind = ,XF86MonBrightnessUp, exec, ${pkgs.brightness}/bin/brightness set +5%
    bind = ,XF86MonBrightnessDown, exec, ${pkgs.brightness}/bin/brightnessset 5%-
    bind = ,XF86AudioRaiseVolume, exec, ${pkgs.volume}/bin/volume -i 5
    bind = ,XF86AudioLowerVolume, exec, ${pkgs.volume}/bin/volume -d 5
    bind = ,XF86AudioMute, exec, ${pkgs.volume}/bin/volume -t
    bind = ,XF86AudioMicMute, exec, ${pkgs.microphone}/bin/microphone -t

    # Screenshots
    $screenshotarea = hyprctl keyword animation "fadeOut,0,0,default"; ${pkgs.screenshot}/bin/screenshot; hyprctl keyword animation "fadeOut,1,4,default"
    bind = , Print, exec, $screenshotarea
    bind = CTRL, Print, exec, grimblast --notify --cursor copysave output
    bind = SUPER SHIFT CTRL, R, exec, grimblast --notify --cursor copysave output
    bind = ALT, Print, exec, grimblast --notify --cursor copysave screen
    bind = SUPER SHIFT ALT, R, exec, grimblast --notify --cursor copysave screen

    # Misc
    bind = CTRL ALT, L, exec, swaylock
    bind = SUPER SHIFT, O, exec, run-as-service ${pkgs.ocrScript}/bin/wl-ocr

    # Window management
    bind = SUPER, Q, killactive,
    bind = SUPER, M, exit,
    bind = SUPER, F, fullscreen,
    bind = SUPER, Space, togglefloating,
    bind = SUPER, P, pseudo, # dwindle
    bind = SUPER, J, togglesplit, # dwindle

    # Focus
    bind = SUPER, left, movefocus, l
    bind = SUPER, right, movefocus, r
    bind = SUPER, up, movefocus, u
    bind = SUPER, down, movefocus, d

    # Move
    bind = SUPER SHIFT, left, movewindow, l
    bind = SUPER SHIFT, right, movewindow, r
    bind = SUPER SHIFT, up, movewindow, u
    bind = SUPER SHIFT, down, movewindow, d

    # Resize
    bind = SUPER CTRL, left, resizeactive, -20 0
    bind = SUPER CTRL, right, resizeactive, 20 0
    bind = SUPER CTRL, up, resizeactive, 0 -20
    bind = SUPER CTRL, down, resizeactive, 0 20

    # Tabbed
    bind= SUPER, g, togglegroup
    bind= SUPER, tab, changegroupactive

    # Special workspace
    bind = SUPER, grave, togglespecialworkspace
    bind = SUPERSHIFT, grave, movetoworkspace, special

    # Switch workspaces
    bind = SUPER, 1, workspace, 1
    bind = SUPER, 2, workspace, 2
    bind = SUPER, 3, workspace, 3
    bind = SUPER, 4, workspace, 4
    bind = SUPER, 5, workspace, 5
    bind = SUPER, 6, workspace, 6
    bind = SUPER, 7, workspace, 7
    bind = SUPER, 8, workspace, 8
    bind = SUPER, 9, workspace, 9
    bind = SUPER, 0, workspace, 10
    bind = SUPER ALT, up, workspace, e+1
    bind = SUPER ALT, down, workspace, e-1

    # Move active window to a workspace
    bind = SUPER SHIFT, 1, movetoworkspace, 1
    bind = SUPER SHIFT, 2, movetoworkspace, 2
    bind = SUPER SHIFT, 3, movetoworkspace, 3
    bind = SUPER SHIFT, 4, movetoworkspace, 4
    bind = SUPER SHIFT, 5, movetoworkspace, 5
    bind = SUPER SHIFT, 6, movetoworkspace, 6
    bind = SUPER SHIFT, 7, movetoworkspace, 7
    bind = SUPER SHIFT, 8, movetoworkspace, 8
    bind = SUPER SHIFT, 9, movetoworkspace, 9
    bind = SUPER SHIFT, 0, movetoworkspace, 10

    # Mouse bindings
    bindm = SUPER, mouse:272, movewindow
    bindm = SUPER, mouse:273, resizewindow
    bind = SUPER, mouse_down, workspace, e+1
    bind = SUPER, mouse_up, workspace, e-1
  '';

  systemd.user.targets.hyprland-session = {
    Unit = {
      Description = "hyprland compositor session";
      Documentation = ["man:systemd.special(7)"];
      BindsTo = ["graphical-session.target"];
      Wants = ["graphical-session-pre.target"];
      After = ["graphical-session-pre.target"];
    };
  };

  systemd.user.targets.tray = {
    Unit = {
      Description = "Home Manager System Tray";
      Requires = ["graphical-session-pre.target"];
    };
  };

  systemd.user.services.swaybg = {
    Unit = {
      Description = "Wayland wallpaper daemon";
      PartOf = ["graphical-session.target"];
      After = ["graphical-session.target"];
    };

    Service = {
      ExecStart = "${pkgs.swaybg}/bin/swaybg --mode fill --image ${../extra/wallpapers/IBM_Developer_Posters.jpg}";
      Restart = "on-failure";
    };

    Install.WantedBy = ["graphical-session.target"];
  };

  services.kanshi = {
    enable = true;
    systemdTarget = "hyprland-session.target";
    profiles = {
      undocked = {
        outputs = [{
          criteria = "eDP-1";
          scale = 2.0;
        }];
      };
    };
  };
}
maximbaz commented 1 year ago

Hey, I'm typing this from Hyprland on asahi. First of all, are you on linux-asahi-edge, with mesa-asahi-edge installed? (I've just added this note to https://github.com/hyprwm/Hyprland/issues/1212#issuecomment-1372955708)

If I compare your logs with mine, I have some GPU info output that was printed before the first line of your logs snippet. Can you find yours? It looks something like this:

00:00:00.008 [INFO] [libseat] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
00:00:00.008 [INFO] [libseat] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
00:00:00.019 [INFO] [libseat] [libseat/libseat.c:73] Seat opened with backend 'logind'
00:00:00.019 [INFO] [backend/session/session.c:109] Successfully loaded libseat session
00:00:00.022 [INFO] [backend/backend.c:213] Found 1 GPUs
00:00:00.022 [INFO] [backend/drm/backend.c:186] Initializing DRM backend for /dev/dri/card2 (apple)
00:00:00.022 [INFO] [backend/drm/drm.c:253] Found 1 DRM CRTCs
00:00:00.022 [INFO] [backend/drm/drm.c:180] Found 1 DRM planes
00:00:00.023 [INFO] [render/egl.c:206] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_c>
00:00:00.023 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.023 [ERROR] [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.037 [INFO] [render/egl.c:355] Using EGL 1.4
00:00:00.037 [INFO] [render/egl.c:356] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_impor>
00:00:00.037 [INFO] [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm
00:00:00.037 [INFO] [render/egl.c:360] EGL vendor: Mesa Project
00:00:00.038 [INFO] [render/gles2/renderer.c:742] Creating GLES2 renderer
00:00:00.038 [INFO] [render/gles2/renderer.c:743] Using OpenGL ES 2.0 Mesa 23.0.0-devel
00:00:00.038 [INFO] [render/gles2/renderer.c:744] GL vendor: Asahi
00:00:00.038 [INFO] [render/gles2/renderer.c:745] GL renderer: Apple M1 Pro (G13S C0)
00:00:00.038 [INFO] [render/gles2/renderer.c:746] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture>
00:00:00.051 [INFO] [backend/headless/backend.c:68] Creating headless backend
00:00:00.090 [INFO] [backend/drm/drm.c:1375] Scanning DRM connectors on /dev/dri/card2
00:00:00.090 [INFO] [backend/drm/drm.c:1426] Found connector 'eDP-1'
00:00:00.090 [INFO] [backend/drm/drm.c:1451] 'eDP-1' connected
00:00:00.090 [INFO] [backend/drm/drm.c:1261] Physical size: 0x0
00:00:00.090 [INFO] [backend/drm/drm.c:1323] Detected modes:
00:00:00.090 [INFO] [backend/drm/drm.c:1351]   3024x1890 @ 60.000 Hz (preferred)
00:00:00.090 [INFO] [backend/drm/drm.c:1351]   3024x1890 @ 59.940 Hz
00:00:00.090 [INFO] [backend/drm/drm.c:1351]   3024x1890 @ 50.000 Hz
00:00:00.090 [INFO] [backend/drm/drm.c:1351]   3024x1890 @ 48.000 Hz
00:00:00.090 [INFO] [backend/drm/drm.c:1351]   3024x1890 @ 47.952 Hz
00:00:00.090 [INFO] [backend/drm/drm.c:1487] connector eDP-1: Requesting modeset
Welcome to Hyprland!
Instance Signature: c0c7c12bb907ea8cdc6e17653cddb3691102beac_1673302696
Hyprland PID: 1159306
shaunsingh commented 1 year ago

Hey, I'm typing this from Hyprland on asahi. First of all, are you on linux-asahi-edge, with mesa-asahi-edge installed?

Yup

If I compare your logs with mine, I have some GPU info output that was printed before the first line of your logs snippet. Can you find yours? It looks something like this:

I don't have any such output on my logs, do I need to enable any specific flags? It seems like it finds the driver though

[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 2.0 Mesa 23.0.0-devel
[LOG] Vendor: Asahi
[LOG] Renderer: Apple M1 (G13G B1)
[LOG] Supported extensions size: 69
[LOG] Creating the HyprRenderer!
maximbaz commented 1 year ago

OK. The corresponding log snippet on my laptop however includes an extra line:

Creating the Hypr OpenGL Renderer!
Using: OpenGL ES 2.0 Mesa 23.0.0-devel
Vendor: Asahi
Renderer: Apple M1 Pro (G13S C0)
Supported extensions size: 69
!RENDERER: Using the legacy GLES2 renderer!
Creating the HyprRenderer!

Sounds like your binary was not built for legacy renderer after all? 🤔

do I need to enable any specific flags?

Not that I know of, I launch it with systemd-cat -t hyprland Hyprland and then look at journalctl -t hyprland for all the output.

shaunsingh commented 1 year ago

Sounds like your binary was not built for legacy renderer after all?

Seems like it!

Looking into the nix build recipe everything looks find, and running nix log shows that the options were enabled. Do you have a copy of your mason build logs to check against by any chance?

https://github.com/hyprwm/Hyprland/blob/20a1a47e665da336a87caa3036682bd142aa02b8/nix/default.nix#L91

20230109_18h00m41s_grim

maximbaz commented 1 year ago

I'm building using this PKGBUILD with only one line changed, make legacyrenderer instead of make release. The full logs are below, the output is a bit different than yours, but I can see -DLEGACY_RENDERER:STRING=true being passed, and in the end of the build -- Using the legacy GLES2 renderer! line.

Logs ``` Submodule 'subprojects/hyprland-protocols' (https://github.com/hyprwm/hyprland-protocols) registered for path 'subprojects/hyprland-protocols' Submodule 'wlroots' (https://gitlab.freedesktop.org/wlroots/wlroots.git) registered for path 'subprojects/wlroots' Cloning into '/build/hyprland-git/src/hyprland/subprojects/hyprland-protocols'... Cloning into '/build/hyprland-git/src/hyprland/subprojects/wlroots'... Submodule path 'subprojects/hyprland-protocols': checked out '301733ae466b229066ba15a53e6d8b91c5dcef5b' Submodule path 'subprojects/wlroots': checked out 'dc7cc98cf21a8dc19ab8895505500e3700646af0' sed -i -E 's/(soversion = 12)([^032]|$)/soversion = 12032/g' subprojects/wlroots/meson.build rm -rf ./subprojects/wlroots/build The Meson build system Version: 1.0.0 Source dir: /build/hyprland-git/src/hyprland/subprojects/wlroots Build dir: /build/hyprland-git/src/hyprland/subprojects/wlroots/build Build type: native build Project name: wlroots Project version: 0.17.0-dev C compiler for the host machine: cc (gcc 12.1.0 "cc (GCC) 12.1.0") C linker for the host machine: cc ld.bfd 2.38 Host machine cpu family: aarch64 Host machine cpu: aarch64 Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wlogical-op: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wimplicit-fallthrough=2: YES Compiler for C supports arguments -Wendif-labels: YES Compiler for C supports arguments -Wstrict-aliasing=2: YES Compiler for C supports arguments -Woverflow: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Walloca: YES Compiler for C supports arguments -Wno-missing-braces: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -fmacro-prefix-map=/prefix/to/hide=: YES Found pkg-config: /usr/bin/pkg-config (1.8.0) Run-time dependency wayland-server found: YES 1.21.0 Run-time dependency libdrm found: YES 2.4.114 Run-time dependency xkbcommon found: YES 1.5.0 Run-time dependency pixman-1 found: YES 0.42.2 Library m found: YES Library rt found: YES Run-time dependency wayland-protocols found: YES 1.31 Found pkg-config: /usr/bin/pkg-config (1.8.0) Build-time dependency wayland-scanner found: YES 1.21.0 Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner) Has header "linux/dma-buf.h" : YES Run-time dependency egl found: YES 1.5 Run-time dependency gbm found: YES 23.0.0-devel Run-time dependency glesv2 found: YES 3.2 Program ./embed.sh found: YES (/build/hyprland-git/src/hyprland/subprojects/wlroots/render/gles2/shaders/./embed.sh) Run-time dependency vulkan found: YES 1.3.235 Check usable header "vulkan/vulkan.h" with dependency vulkan: YES Program glslangValidator found: YES (/usr/bin/glslangValidator) Dependency pixman-1 found: YES 0.42.2 (cached) Dependency gbm found: YES 23.0.0-devel (cached) Checking for function "gbm_bo_get_fd_for_plane" with dependency gbm: YES Run-time dependency libudev found: YES 252 Run-time dependency libseat found: YES 0.7.0 Build-time dependency hwdata found: YES 0.366 Run-time dependency libinput found: YES 1.22.0 Run-time dependency xcb found: YES 1.15 Run-time dependency xcb-dri3 found: YES 1.15 Run-time dependency xcb-present found: YES 1.15 Run-time dependency xcb-render found: YES 1.15 Run-time dependency xcb-renderutil found: YES 0.3.10 Run-time dependency xcb-shm found: YES 1.15 Run-time dependency xcb-xfixes found: YES 1.15 Run-time dependency xcb-xinput found: YES 1.15 Run-time dependency wayland-client found: YES 1.21.0 Run-time dependency xwayland found: YES 22.1.7 Dependency xcb found: YES 1.15 (cached) Run-time dependency xcb-composite found: YES 1.15 Run-time dependency xcb-icccm found: YES 0.4.2 Dependency xcb-render found: YES 1.15 (cached) Run-time dependency xcb-res found: YES 1.15 Dependency xcb-xfixes found: YES 1.15 (cached) Run-time dependency xcb-errors found: YES 1.0.1 Checking for function "xcb_xfixes_set_client_disconnect_mode" with dependencies xcb, xcb-composite, xcb-icccm, xcb-render, xcb-res, xcb-xfixes, xcb-errors: YES Configuring config.h using configuration Configuring version.h using configuration Configuring config.h using configuration Run-time dependency threads found: YES Run-time dependency wayland-egl found: YES 18.1.0 Run-time dependency wayland-cursor found: YES 1.21.0 Dependency wayland-client found: YES 1.21.0 (cached) Run-time dependency libpng found: YES 1.6.39 Dependency egl found: YES 1.5 (cached) Dependency glesv2 found: YES 3.2 (cached) Dependency gbm found: YES 23.0.0-devel (cached) Found CMake: /usr/bin/cmake (3.25.1) Run-time dependency libavutil found: NO (tried pkgconfig and cmake) Run-time dependency libavcodec found: NO (tried pkgconfig and cmake) Run-time dependency libavformat found: NO (tried pkgconfig and cmake) Dependency libdrm found: YES 2.4.114 (cached) Build targets in project: 155 wlroots 0.17.0-dev drm-backend : YES x11-backend : YES libinput-backend: YES xwayland : YES gles2-renderer : YES vulkan-renderer : YES gbm-allocator : YES session : YES xcb-errors : YES egl : YES User defined options buildtype : release prefix : /build/hyprland-git/src/tmpwlr Found ninja-1.11.1 at /usr/bin/ninja WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. ninja: Entering directory `build/' [411/411] Linking target examples/quads ninja: Entering directory `build/' [0/1] Installing files. Installing subdir /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr to /build/hyprland-git/src/tmpwlr/include/wlr Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend.h to /build/hyprland-git/src/tmpwlr/include/wlr Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/xcursor.h to /build/hyprland-git/src/tmpwlr/include/wlr Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/xwayland.h to /build/hyprland-git/src/tmpwlr/include/wlr Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/util/region.h to /build/hyprland-git/src/tmpwlr/include/wlr/util Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/util/log.h to /build/hyprland-git/src/tmpwlr/include/wlr/util Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/util/box.h to /build/hyprland-git/src/tmpwlr/include/wlr/util Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/util/edges.h to /build/hyprland-git/src/tmpwlr/include/wlr/util Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/util/addon.h to /build/hyprland-git/src/tmpwlr/include/wlr/util Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/xwayland/shell.h to /build/hyprland-git/src/tmpwlr/include/wlr/xwayland Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/xwayland/server.h to /build/hyprland-git/src/tmpwlr/include/wlr/xwayland Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/xwayland/xwayland.h to /build/hyprland-git/src/tmpwlr/include/wlr/xwayland Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_keyboard.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_tool.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_pointer.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_output.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_switch.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_touch.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_buffer.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/interfaces/wlr_tablet_pad.h to /build/hyprland-git/src/tmpwlr/include/wlr/interfaces Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/wlr_texture.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/drm_format_set.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/interface.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/allocator.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/vulkan.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/egl.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/dmabuf.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/wlr_renderer.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/gles2.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/render/pixman.h to /build/hyprland-git/src/tmpwlr/include/wlr/render Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard_group.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_idle_notify_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_fullscreen_shell_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_export_dmabuf_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_registry.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_input_method_v2.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_foreign_toplevel_management_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_drm.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_idle_inhibit_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_cursor.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_damage_ring.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_region.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_text_input_v3.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_subcompositor.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_gamma_control_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_data_control_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_shm.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_idle.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_decoration_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_scene.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_drm_lease_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_compositor.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_layer_shell_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_primary_selection.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_tool.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_input_device.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_primary_selection_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_keyboard_shortcuts_inhibit_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_virtual_keyboard_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xcursor_manager.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_output_damage.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_output_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_input_inhibitor.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_shell.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_output.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_content_type_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_server_decoration.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_switch.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_screencopy_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer_constraints_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_output_layout.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_touch.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_presentation_time.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_activation_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_relative_pointer_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_matrix.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_single_pixel_buffer_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_linux_dmabuf_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_buffer.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_pad.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_output_power_management_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_tablet_v2.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_output_management_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_viewporter.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_session_lock_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_pointer_gestures_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_xdg_foreign_v2.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_seat.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_virtual_pointer_v1.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/types/wlr_data_device.h to /build/hyprland-git/src/tmpwlr/include/wlr/types Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/drm.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/x11.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/wayland.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/libinput.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/interface.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/headless.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/session.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/include/wlr/backend/multi.h to /build/hyprland-git/src/tmpwlr/include/wlr/backend Installing libwlroots.so.12032 to /build/hyprland-git/src/tmpwlr/lib Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/build/include/wlr/config.h to /build/hyprland-git/src/tmpwlr/include/wlr/ Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/build/include/wlr/version.h to /build/hyprland-git/src/tmpwlr/include/wlr/ Installing /build/hyprland-git/src/hyprland/subprojects/wlroots/build/meson-private/wlroots.pc to /build/hyprland-git/src/tmpwlr/lib/pkgconfig Installing symlink pointing to libwlroots.so.12032 to /build/hyprland-git/src/tmpwlr/lib/libwlroots.so /usr/bin/wayland-scanner private-code \ //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.c /usr/bin/wayland-scanner server-header \ //usr/share/wayland-protocols/stable/xdg-shell/xdg-shell.xml xdg-shell-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o xdg-shell-protocol.o xdg-shell-protocol.c /usr/bin/wayland-scanner private-code \ protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/wlr-layer-shell-unstable-v1.xml wlr-layer-shell-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o wlr-layer-shell-unstable-v1-protocol.o wlr-layer-shell-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ protocols/wlr-screencopy-unstable-v1.xml wlr-screencopy-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/wlr-screencopy-unstable-v1.xml wlr-screencopy-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o wlr-screencopy-unstable-v1-protocol.o wlr-screencopy-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ protocols/idle.xml idle-protocol.c /usr/bin/wayland-scanner server-header \ protocols/idle.xml idle-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o idle-protocol.o idle-protocol.c /usr/bin/wayland-scanner private-code \ protocols/ext-workspace-unstable-v1.xml ext-workspace-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/ext-workspace-unstable-v1.xml ext-workspace-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o ext-workspace-unstable-v1-protocol.o ext-workspace-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ protocols/pointer-constraints-unstable-v1.xml pointer-constraints-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/pointer-constraints-unstable-v1.xml pointer-constraints-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o pointer-constraints-unstable-v1-protocol.o pointer-constraints-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ protocols/tablet-unstable-v2.xml tablet-unstable-v2-protocol.c /usr/bin/wayland-scanner server-header \ protocols/tablet-unstable-v2.xml tablet-unstable-v2-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o tablet-unstable-v2-protocol.o tablet-unstable-v2-protocol.c /usr/bin/wayland-scanner private-code \ protocols/wlr-output-power-management-unstable-v1.xml wlr-output-power-management-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/wlr-output-power-management-unstable-v1.xml wlr-output-power-management-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o wlr-output-power-management-unstable-v1-protocol.o wlr-output-power-management-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ //usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml linux-dmabuf-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ //usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml linux-dmabuf-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o linux-dmabuf-unstable-v1-protocol.o linux-dmabuf-unstable-v1-protocol.c /usr/bin/wayland-scanner private-code \ subprojects/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml hyprland-toplevel-export-v1-protocol.c /usr/bin/wayland-scanner server-header \ subprojects/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml hyprland-toplevel-export-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o hyprland-toplevel-export-v1-protocol.o hyprland-toplevel-export-v1-protocol.c /usr/bin/wayland-scanner private-code \ protocols/wlr-foreign-toplevel-management-unstable-v1.xml wlr-foreign-toplevel-management-unstable-v1-protocol.c /usr/bin/wayland-scanner server-header \ protocols/wlr-foreign-toplevel-management-unstable-v1.xml wlr-foreign-toplevel-management-unstable-v1-protocol.h Package wlroots was not found in the pkg-config search path. Perhaps you should add the directory containing `wlroots.pc' to the PKG_CONFIG_PATH environment variable Package 'wlroots', required by 'virtual:world', not found cc -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -DXWAYLAND -I. -DWLR_USE_UNSTABLE -std=c99 -c -o wlr-foreign-toplevel-management-unstable-v1-protocol.o wlr-foreign-toplevel-management-unstable-v1-protocol.c mkdir -p build && cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DLEGACY_RENDERER:STRING=true -H./ -B./build -G Ninja Not searching for unused variables given on the command line. -- The C compiler identification is GNU 12.1.0 -- The CXX compiler identification is GNU 12.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Gathering git info -- Configuring Hyprland in Release with CMake -- Checking deps... -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0") -- Checking for modules 'wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;libdrm;egl;xkbcommon;libinput' -- Found wayland-server, version 1.21.0 -- Found wayland-client, version 1.21.0 -- Found wayland-cursor, version 1.21.0 -- Found wayland-protocols, version 1.31 -- Found cairo, version 1.17.6 -- Found libdrm, version 2.4.114 -- Found egl, version 1.5 -- Found xkbcommon, version 1.5.0 -- Found libinput, version 1.22.0 -- Using the legacy GLES2 renderer! -- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps... -- Checking for module 'xcb' -- Found xcb, version 1.15 -- SYSTEMD support is requested (NO_SYSTEMD not defined) checking deps... -- Checking for module 'libsystemd' -- Found libsystemd, version 252 -- Setting link libraries -- Configuring done -- Generating done -- Build files have been written to: /build/hyprland-git/src/hyprland/build cmake --build ./build --config Release --target all -j10 [17/53] Building CXX object CMakeFiles/Hyprland.dir/src/helpers/MiscFunctions.cpp.o /build/hyprland-git/src/hyprland/src/helpers/MiscFunctions.cpp: In function ‘std::string escapeJSONStrings(const std::string&)’: /build/hyprland-git/src/hyprland/src/helpers/MiscFunctions.cpp:128:28: warning: comparison is always true due to limited range of data type [-Wtype-limits] 128 | if ('\x00' <= c && c <= '\x1f') { | ~~~~~~~^~~~ [53/53] Linking CXX executable Hyprland g++ -std=c++23 ./main.cpp -o ./hyprctl ```
maximbaz commented 1 year ago

Did you manage to figure out the problem? I just learned that there's another simple way to verify if your Hyprland was built with legacyrenderer:

$ hyprctl version
Hyprland, built from branch main at commit 11afb660102198abb1e74fffdffd00f8c1a11cd9dirty (release mouse buttons on map from LS).
flags: (if any)
legacyrenderer
BR00l commented 1 year ago

Im also on the same train, something goes wrong, blank screen, cant do nothing. Thats on a Macbook M1, with legacy renderer too.

maximbaz commented 1 year ago

So far in this thread it was established that the actual binary was not built with legacy renderer. Have you double checked using the logs as shown above, that your case is different, and you indeed experience issues using legacy renderer, asahi-edge and so forth? This thread references a lot of diagnostics you can collect to identify your problem 😉

shaunsingh commented 1 year ago

I checked, and it is building the binary with legacyrenderer enabled, as I'm sure is BR00l. Not sure how it's working for some and not for others. I assume nixOS might have a part in it ... though BR00l is on arch

BR00l commented 1 year ago

So far in this thread it was established that the actual binary was not built with legacy renderer. Have you double checked using the logs as shown above, that your case is different, and you indeed experience issues using legacy renderer, asahi-edge and so forth? This thread references a lot of diagnostics you can collect to identify your problem 😉

Can confirm all the above, and I will try to post whatever is needed to ensure it. I ll give a final try later today :)

Moerliy commented 1 year ago

So I had the same problems. The typical black screen with nothing working, but i must say I first installed Asahi with the Plasma Desktop. After I saw this thread and checked out the legacyrenderer and the installation it all worked out for me. Many Thanks

BR00l commented 1 year ago

I managed to make it work with one command: sudo make uninstall in /hyprland For some reason, before this, it couldnt load the legacy renderer. Now all is fine and snappy :)

Maybe there was a conflict with the older trys I had, now it works fine.

shaunsingh commented 1 year ago

In that case, I'll try to build legacyrenderer without nix and see if it works.

Galileo-dev commented 1 year ago

I'm on 6.2.0-asahi-11-1-edge-ARCH

I've compiled with legacyrenderer using the instructions on the wiki in particular sudo make clear && sudo make config && make protocols && make legacyrenderer && sudo cp ./build/Hyprland /usr/bin && sudo cp ./example/hyprland.desktop /usr/share/wayland-sessions

I've added some flags MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 this error occurs without these flags as well now when I run Hyprland in Konsole:

MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 Hyprland
Welcome to Hyprland!
Instance Signature: c2f29be9baccd14ced62105f0fc07e34e6f4fd29_1681825456
Hyprland PID: 35317
===== SYSTEM INFO: =====
System name: Linux
Node name: fionn-mac
Release: 6.2.0-asahi-11-1-edge-ARCH
Version: #2 SMP PREEMPT_DYNAMIC Sun, 19 Mar 2023 10:26:57 +0000

GPU information:

os-release:
NAME="Arch Linux ARM"
PRETTY_NAME="Arch Linux ARM"
ID=archarm
ID_LIKE=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinuxarm.org/"
DOCUMENTATION_URL="https://archlinuxarm.org/wiki"
SUPPORT_URL="https://archlinuxarm.org/forum"
BUG_REPORT_URL="https://github.com/archlinuxarm/PKGBUILDs/issues"
LOGO=archlinux-logo

========================

If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

Current splash: Compile, wait for 20 minutes, notice a new commit, compile again.

Creating the HookSystem!
Creating the KeybindManager!
Creating the AnimationManager!
Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 9.46µs. Estimated average calc time: 0.00µs.
Creating the ConfigManager!
Creating the CHyprError!
 [hookSystem] New hook event registered: focusedMon
 [hookSystem] New hook event registered: preRender
Creating the LayoutManager!
Reloading the config!
Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 5.00µs. Estimated average calc time: 0.00µs.
Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 4.88µs. Estimated average calc time: 0.00µs.
Registered dynamic var "$mainMod" -> SUPER
00:00:00.000 [backend/wayland/backend.c:564] Creating wayland backend
00:00:00.003 [render/egl.c:206] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
00:00:00.003 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.003 [EGL] command: eglQueryDeviceStringEXT, error: EGL_BAD_PARAMETER (0x300c), message: "eglQueryDeviceStringEXT"
00:00:00.018 [render/egl.c:355] Using EGL 1.4
00:00:00.018 [render/egl.c:356] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display 
00:00:00.018 [render/egl.c:358] Supported EGL device extensions: EGL_EXT_device_drm
00:00:00.018 [render/egl.c:360] EGL vendor: Mesa Project
00:00:00.019 [render/gles2/renderer.c:742] Creating GLES2 renderer
00:00:00.019 [render/gles2/renderer.c:743] Using OpenGL ES 2.0 Mesa 23.1.0-devel
00:00:00.019 [render/gles2/renderer.c:744] GL vendor: Mesa
00:00:00.019 [render/gles2/renderer.c:745] GL renderer: Apple M1 (G13G B1)
00:00:00.019 [render/gles2/renderer.c:746] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_debug_label GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_shader_framebuffer_fetch_non_coherent GL_EXT_depth_clamp GL_MESA_bgra 
00:00:00.022 [render/allocator/allocator.c:85] drmAuthMagic failed: Permission denied
terminate called after throwing an instance of 'std::runtime_error'
  what():  wlr_allocator_autocreate() failed!
[1]    35317 segmentation fault (core dumped)  MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 Hyprland

Running the hyprland desktop from the login screen results in a black screen

I'm unable to do hyprctl version as it results in Couldn't connect to /tmp/hypr/c2f29be9baccd14ced62105f0fc07e34e6f4fd29_1681824838/.socket.sock. (3)

Any suggestions would be appreciated

lacamar commented 1 year ago

I'm using the normal version of hyprland on an M1 pro with the edge kernel and edge mesa package. I got hyprland-git from the aur and I have these environmental variables set via the config:

env = MESA_GL_VERSION_OVERRIDE,3.3
env = MESA_GLSL_VERSION_OVERRIDE,330
env = MESA_GLES_VERSION_OVERRIDE,3.1

I can't recall doing any other special thing to get it to work.

filahf commented 1 year ago

I'm using the normal version of hyprland on an M1 pro with the edge kernel and edge mesa package. I got hyprland-git from the aur and I have these environmental variables set via the config:

env = MESA_GL_VERSION_OVERRIDE,3.3
env = MESA_GLSL_VERSION_OVERRIDE,330
env = MESA_GLES_VERSION_OVERRIDE,3.1

I can't recall doing any other special thing to get it to work.

Beware that setting those vars globally might lead to weird issues in other applications.

As per marcans comment here: https://www.reddit.com/r/AsahiLinux/comments/zqejue/comment/j0y1vp3/

lacamar commented 1 year ago

I have been using those variables globally for over a month and I honestly haven’t noticed any problems from them.

filahf commented 1 year ago

Alright cool. I guess it wouldn't be too difficult to unset them for specific apps if they are causing trouble.

pewf commented 1 year ago

hello how would I set the compiler flag for the legacy renderer.

Nataneljpwd commented 1 year ago

I have tried installing Hyprland like so and failed with the same error of drmAuthMagic: Permission Denied error:

  1. using the git repo and building with legacy renderer
  2. using the aur hyprland-git
  3. using the aur hyprland-legacyrenderer
  4. using the git repo and no legacy renderer I've tried adding the flags to .config/hypr/hyprland.conf and still didn't work when I run the hyprctl I get the next message: "HYPRLAND_INSTANCE_SIGNATURE was not set! (Is Hyprland running?)" Has anyone encountered this problem? i am running this release of asahi: 6.3.0-asahi-7-1-edge-ARCH thank you in advance.
Moerliy commented 1 year ago

drmAuthMagic: Permission Denied error:

I guess you installed the linux-asahi-edge and the mesa-asahi-edge package. Did you do update grub after that with update-grub?

  1. using the git repo and building with legacy renderer

The legacy renderer isn't required anymore btw. The Asahi team released OpenGL 3.0 so hyprland should work with just the hyprland-git package and there is no need for change OpenGL variables anymore. Kitty terminal works fine now too.

Nataneljpwd commented 1 year ago

Hello, yes I have updated grub and between each install I made sure to sudo make uninstall, I have the Mesa update and my Asahi is the latest version, maybe it's just a one time thing, I will try again and let you know. Thank you.

Nataneljpwd commented 1 year ago

Hello, I've tried again and I am still unable to install Hyprland, tried to uninstall everything including the binaries and install again, However it was unsuccessful, if anyone had faces the same problem and was able to fix it i would be more than happy to know how you did that. I am running asahi linux with the latest version. Thank you.

vaxerski commented 1 year ago

this is a problem with m1 drivers

palontologist commented 5 months ago

Having the same issue on arch using legacyrenderer at first it worked I was really excited then on restart did now work black screen on boot I think its resulution on my monitot but everything is set to auto monitor=,preferred,auto,1

palontologist commented 5 months ago

my error Hyprland Welcome to Hyprland! [LOG] Instance Signature: 4e42107d25dc47ee94da282db233f85f1e4c6bd0_1716558196_1882402797 [LOG] Runtime directory: /run/user/1000/hypr/4e42107d25dc47ee94da282db233f85f1e4c6bd0_1716558196_1882402797 [LOG] Hyprland PID: 8627 [LOG] ===== SYSTEM INFO: ===== [LOG] System name: Linux [LOG] Node name: archlinux [LOG] Release: 6.9.1-arch1-2 [LOG] Version: #1 SMP PREEMPT_DYNAMIC Wed, 22 May 2024 13:47:07 +0000

[LOG] GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation Core Processor Integrated Graphics Controller [8086:0046] (rev 02) (prog-if 00 [VGA controller])

[LOG] os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG] Current splash: Funny animation compositor woo

[LOG] Creating the EventLoopManager! [LOG] Creating the HookSystem! [LOG] Creating the ProtocolManager! [LOG] [WLSeat] Registered global [LOG] [WLDataDevice] Registered global [LOG] [TearingControl] Registered global [LOG] [FractionalScale] Registered global [LOG] [XDGOutput] Registered global [LOG] [CursorShape] Registered global [LOG] [IdleInhibit] Registered global [LOG] [RelativePointer] Registered global [LOG] [XDGDecoration] Registered global [LOG] [AlphaModifier] Registered global [LOG] [GammaControl] Registered global [LOG] [ForeignToplevel] Registered global [LOG] [PointerGestures] Registered global [LOG] [ForeignToplevelWlr] Registered global [LOG] [ShortcutsInhibit] Registered global [LOG] [TextInputV3] Registered global [LOG] [PointerConstraints] Registered global [LOG] [OutputPower] Registered global [LOG] [XDGActivation] Registered global [LOG] [IdleNotify] Registered global [LOG] [SessionLock] Registered global [LOG] [IMEv2] Registered global [LOG] [VirtualKeyboard] Registered global [LOG] [VirtualPointer] Registered global [LOG] [OutputManagement] Registered global [LOG] [ServerDecorationKDE] Registered global [LOG] [FocusGrab] Registered global [LOG] [TabletV2] Registered global [LOG] [LayerShell] Registered global [LOG] [Presentation] Registered global [LOG] [XDGShell] Registered global [LOG] [DataDeviceWlr] Registered global [LOG] [PrimarySelection] Registered global [LOG] ToplevelExportManager started successfully! [LOG] TextInputV1Manager started successfully! [LOG] GlobalShortcutsManager started successfully! [LOG] ScreencopyProtocolManager started successfully! [LOG] Creating the SeatManager! [LOG] Creating the KeybindManager! [LOG] Creating the AnimationManager! [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 71.34µs. Estimated average calc time: 0.00µs. [LOG] Creating the ConfigManager! [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 43.78µs. Estimated average calc time: 0.00µs. [LOG] Using config: /home/givenchy/.config/hypr/hyprland.conf [INFO] !!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: https://wiki.hyprland.org/Configuring/Variables/#debug [LOG] Creating the CHyprError! [LOG] Creating the LayoutManager! [LOG] Creating the TokenManager! [LOG] [hookSystem] New hook event registered: preConfigReload [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 43.90µs. Estimated average calc time: 0.00µs. [LOG] Using config: /home/givenchy/.config/hypr/hyprland.conf [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 46.25µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 37.88µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 38.66µs. Estimated average calc time: 0.00µs. [LOG] Created a bezier curve, baked 255 points, mem usage: 4.08kB, time to bake: 39.12µs. Estimated average calc time: 0.00µs. xdg-desktop-portal-hyprland: no process found xdg-desktop-portal-gnome: no process found xdg-desktop-portal-kde: no process found xdg-desktop-portal-lxqt: no process found xdg-desktop-portal-wlr: no process found [LOG] Initializing xdph... [LOG] XDG_CURRENT_DESKTOP set to Hyprland [LOG] Gathering exported interfaces ok [LOG] | Got interface: wl_seat (ver 9) [LOG] | Got interface: wl_data_device_manager (ver 3) [LOG] | Got interface: wp_tearing_control_manager_v1 (ver 1) [LOG] | Got interface: wp_fractional_scale_manager_v1 (ver 1) [LOG] | Got interface: zxdg_output_manager_v1 (ver 3) [LOG] | Got interface: wp_cursor_shape_manager_v1 (ver 1) [LOG] | Got interface: zwp_idle_inhibit_manager_v1 (ver 1) [LOG] | Got interface: zwp_relative_pointer_manager_v1 (ver 1) [LOG] | Got interface: zxdg_decoration_manager_v1 (ver 1) [LOG] | Got interface: wp_alpha_modifier_v1 (ver 1) [LOG] | Got interface: zwlr_gamma_control_manager_v1 (ver 1) [LOG] | Got interface: ext_foreign_toplevel_list_v1 (ver 1) [LOG] | Got interface: zwp_pointer_gestures_v1 (ver 3) [LOG] | Got interface: zwlr_foreign_toplevel_manager_v1 (ver 3) [LOG] [toplevel] (activate) locks: 1 [LOG] | Got interface: zwp_keyboard_shortcuts_inhibit_manager_v1 (ver 1) [LOG] | Got interface: zwp_text_input_manager_v3 (ver 1) [LOG] | Got interface: zwp_pointer_constraints_v1 (ver 1) [LOG] | Got interface: zwlr_output_power_manager_v1 (ver 1) [LOG] | Got interface: xdg_activation_v1 (ver 1) [LOG] | Got interface: ext_idle_notifier_v1 (ver 1) [LOG] | Got interface: ext_session_lock_manager_v1 (ver 1) [LOG] | Got interface: zwp_input_method_manager_v2 (ver 1) [LOG] | Got interface: zwp_virtual_keyboard_manager_v1 (ver 1) [LOG] | Got interface: zwlr_virtual_pointer_manager_v1 (ver 2) [LOG] | Got interface: zwlr_output_manager_v1 (ver 4) [LOG] | Got interface: org_kde_kwin_server_decoration_manager (ver 1) [LOG] | Got interface: hyprland_focus_grab_manager_v1 (ver 1) [LOG] | Got interface: zwp_tablet_manager_v2 (ver 1) [LOG] | Got interface: zwlr_layer_shell_v1 (ver 5) [LOG] | Got interface: wp_presentation (ver 1) [LOG] | Got interface: xdg_wm_base (ver 6) [LOG] | Got interface: zwlr_data_control_manager_v1 (ver 2) [LOG] | Got interface: zwp_primary_selection_device_manager_v1 (ver 1) [LOG] | Got interface: hyprland_toplevel_export_manager_v1 (ver 2) [LOG] | Got interface: zwp_text_input_manager_v1 (ver 1) [LOG] | Got interface: hyprland_global_shortcuts_manager_v1 (ver 1) [LOG] [globalshortcuts] registered [LOG] | Got interface: zwlr_screencopy_manager_v1 (ver 3) [LOG] [pipewire] connected [LOG] [screencopy] init successful [LOG] | Got interface: wl_shm (ver 1) [LOG] | Got interface: wl_drm (ver 2) [LOG] | Got interface: zwp_linux_dmabuf_v1 (ver 4) [LOG] | Got interface: wl_compositor (ver 6) [LOG] | Got interface: wl_subcompositor (ver 1) [LOG] | Got interface: wp_viewporter (ver 1) [LOG] | Got interface: wp_single_pixel_buffer_manager_v1 (ver 1) [LOG] | Got interface: xwayland_shell_v1 (ver 1) [LOG] | Got interface: wl_output (ver 4) [LOG] [core] dmabufFeedbackMainDevice jq: parse error: Invalid numeric literal at line 1, column 9 WARNING: Full Threshold must be 80 - 100. WARNING: Critical Threshold must be 2 - 50. WARNING: Low Threshold must be 10 - 80. WARNING: Unplug Threshold must be 50 - 100. WARNING: Timer must be 60 - 1000. WARNING: Notify must be 1 - 1140. WARNING: Interval must be 1 - 10.

Modify /home/givenchy/.config/hyde/hyde.conf to set options.

  STATUS      THRESHOLD    INTERVAL
  Full        100          1140 Minutes
  Critical    5           120 Seconds then 'systemctl suspend'
  Low         20           5 Percent    then ''
  Unplug      80          5 Percent   then ''

  Charging: 
  Discharging: 

[LOG] Found output name WL-1 [LOG] [toplevel] Activated, bound to 5dde052a67c0, toplevels: 0 [LOG] [screencopy] Registered for toplevel export [LOG] [screenshot] init successful [2024-05-24 13:43:21.248] [info] Using configuration file /home/givenchy/.config/waybar/config.jsonc CRITICAL: [dbus_cb_name_lost:1153] Cannot acquire 'org.freedesktop.Notifications': Name is acquired by 'Plasma' with PID '820'. Cannot register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: An authentication agent already exists for the given subject [2024-05-24 13:43:21.577] [info] Unable to receive desktop appearance: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop [2024-05-24 13:43:21.577] [info] Using CSS file /home/givenchy/.config/waybar/style.css basic_string::_M_create

(/usr/lib/xdg-desktop-portal:9006): xdg-desktop-portal-WARNING **: 13:43:21.681: No skeleton to export [2024-05-24 13:43:21.782] [warning] module : Unknown module: [2024-05-24 13:43:22.210] [info] Bar configured (width: 596, height: 31) for output: WL-1 blueman-applet 13.43.22 WARNING PluginManager:93 load_plugin: Failed to start plugin GameControllerWakelock: Only X11 platform is supported 13:43:22 [INFO] (main) Forced usage of wl_shm format: Xrgb8888 13:43:22 [INFO] (main) Initialization succeeded! Starting main loop... 13:43:22 [WARN] (main) Received transform. We currently ignore those :: applying wall :: "/home/givenchy/.config/hyde/themes/Catppuccin Mocha/wallpapers/1 rain_world.png" 9067 13:43:22 [WARN] (cache loader) failed to load cache: there is already another swww process running [2024-05-24 13:43:22.453] [info] Bar configured (width: 691, height: 31) for output: WL-1 [2024-05-24 13:43:22.453] [error] Item '': No icon name or pixmap given. Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) 13:43:22 [INFO] (transition) BumpPool with: 1 buffers. Size: 3072Kb 13:43:22 [INFO] (transition) BumpPool with: 2 buffers. Size: 6144Kb blueman-applet 13.43.23 WARNING PluginManager:150 load_plugin: Not loading DhcpClient because its conflict has higher priority blueman-applet 13.43.23 WARNING PluginManager:150 __load_plugin: Not loading PPPSupport because its conflict has higher priority Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [2024-05-24 13:43:25.980] [info] Bar configured (width: 668, height: 31) for output: WL-1 Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [2024-05-24 13:43:27.473] [info] Bar configured (width: 691, height: 31) for output: WL-1 Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) [LOG] | Got interface: wl_output (ver 4) [2024-05-24 13:43:40.389] [info] Bar configured (width: 691, height: 31) for output: WL-1 13:43:40 [WARN] (main) Received transform. We currently ignore those [LOG] Found output name HEADLESS-1 basic_string::_M_create [2024-05-24 13:43:40.706] [warning] module : Unknown module: [2024-05-24 13:43:40.914] [info] Bar removed from output: WL-1 [2024-05-24 13:43:40.997] [info] Bar configured (width: 1024, height: 31) for output: HEADLESS-1 Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init__.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) Dunst is not running. Traceback (most recent call last): File "/home/givenchy/.local/share/bin/notifications.py", line 54, in main() File "/home/givenchy/.local/share/bin/notifications.py", line 47, in main history = get_dunst_history() ^^^^^^^^^^^^^^^^^^^ File "/home/givenchy/.local/share/bin/notifications.py", line 10, in get_dunst_history history = json.loads(result.stdout.decode('utf-8')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0) ^C[2024-05-24 13:43:42.786] [info] Quitting. 13:43:42 [INFO] (main) Goodbye! 13:43:42 [INFO] (main) Removed socket at "/run/user/1000/swww-wayland-1.socket" [CRITICAL] [core] Disconnected from pollfd id 1 [ERR] [core] Terminated