Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hyprland crashes on startup (v0.44.0, Wayland backend cannot start) #8003

Closed
1 task done
jakubkaczor opened this issue Oct 6, 2024 · 2 comments
Closed
1 task done
Labels
bug Something isn't working

Comments

@jakubkaczor
Copy link

jakubkaczor commented Oct 6, 2024

Already reported ? *

  • I have searched the existing open and closed issues.

Regression?

Yes

System Info and Version

System/Version info
Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information:
System name: Linux
Node name: [...]
Release: 6.11.1-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:48 +0000

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c2) (prog-if 00 [VGA controller])

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

plugins:

======Config-Start======

Config File: [...]/.config/hypr/hyprland.conf: Read Succeeded
exec-once = /nix/store/0hm8vh65m378439kl16xv0p6l7c51asj-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY HYPRLAND_INSTANCE_SIGNATURE WAYLAND_DISPLAY XDG_CURRENT_DESKTOP && systemctl --user stop hyprland-session.target && systemctl --user start hyprland-session.target
$mainMod=SUPER
animations {
animation=windows, 1, 5, default
animation=windowsOut, 1, 5, default, popin 80%
animation=border, 1, 10, default
animation=borderangle, 1, 8, default
animation=fade, 1, 4, default
animation=workspaces, 1, 5, default
}

cursor {
inactive_timeout=2
}

decoration {
rounding=5
}

dwindle {
no_gaps_when_only=true
preserve_split=true
}

general {
border_size=2
col.active_border=rgb(98971a) rgb(458588) 90deg
col.inactive_border=rgba(504945aa)
gaps_in=2
gaps_out=4
layout=dwindle
}

input {
kb_layout=pl
kb_options=caps:swapescape, compose:rctrl
}

master {
no_gaps_when_only=true
}

misc {
disable_autoreload=true
disable_hyprland_logo=true
disable_splash_rendering=true
vrr=1
}
bind=$mainMod, e, killactive,
bind=$mainMod + SHIFT, s, exec, systemctl suspend
bind=$mainMod, space, togglefloating,
bind=$mainMod, f, fullscreen, 0
bind=$mainMod, m, fullscreen, 1
bind=$mainMod, u, focusurgentorlast
bind=$mainMod, s, togglesplit
bind=$mainMod + SHIFT, e, exit
bind=$mainMod, h, movefocus, l
bind=$mainMod, l, movefocus, r
bind=$mainMod, k, movefocus, u
bind=$mainMod, j, movefocus, d
bind=$mainMod SHIFT, h, movewindow, l
bind=$mainMod SHIFT, l, movewindow, r
bind=$mainMod SHIFT, k, movewindow, u
bind=$mainMod SHIFT, j, movewindow, d
bind=$mainMod, 1, workspace, 1
bind=$mainMod, 2, workspace, 2
bind=$mainMod, 3, workspace, 3
bind=$mainMod, 4, workspace, 4
bind=$mainMod, 5, workspace, 5
bind=$mainMod, 6, workspace, 6
bind=$mainMod, 7, workspace, 7
bind=$mainMod, 8, workspace, 8
bind=$mainMod, 9, workspace, 9
bind=$mainMod, 0, workspace, 10
bind=$mainMod SHIFT, 1, movetoworkspacesilent, 1
bind=$mainMod SHIFT, 2, movetoworkspacesilent, 2
bind=$mainMod SHIFT, 3, movetoworkspacesilent, 3
bind=$mainMod SHIFT, 4, movetoworkspacesilent, 4
bind=$mainMod SHIFT, 5, movetoworkspacesilent, 5
bind=$mainMod SHIFT, 6, movetoworkspacesilent, 6
bind=$mainMod SHIFT, 7, movetoworkspacesilent, 7
bind=$mainMod SHIFT, 8, movetoworkspacesilent, 8
bind=$mainMod SHIFT, 9, movetoworkspacesilent, 9
bind=$mainMod SHIFT, 0, movetoworkspacesilent, 10
bind=$mainMod, mouse_down, workspace, e+1
bind=$mainMod, mouse_up, workspace, e-1
bind=SUPER, Return, exec, $TERM
bind=SUPER, z, exec, power-menu -z
bind=SUPER, q, exec, power-menu -q
bind=, Print, exec,[...]
bind=, XF86AudioMute, exec, wpctl set-mute @DEFAULT_SINK@ toggle
bind=, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 1%- & pw-play /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
bind=, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 1%+ & pw-play /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
bind=SHIFT, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%- & pw-play /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
bind=SHIFT, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_SINK@ 10%+ & pw-play /usr/share/sounds/freedesktop/stereo/audio-volume-change.oga
bind=, XF86MonBrightnessDown, exec, brightnessctl -e set 1%-
bind=, XF86MonBrightnessUp, exec, brightnessctl -e set +1%
bind=SHIFT, XF86MonBrightnessDown, exec, brightnessctl -e set 10%-
bind=SHIFT, XF86MonBrightnessUp, exec, brightnessctl -e set +10%
bind=, XF86AudioPlay, exec, playerctl play-pause
bind=, XF86AudioPrev, exec, playerctl previous
bind=, XF86AudioNext, exec, playerctl next
bind=, XF86AudioStop, exec, playerctl stop
bindl=, switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable"
bindl=, switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, preferred, 0x1080, 1"
bindm=$mainMod, mouse:272, movewindow
bindm=$mainMod, mouse:273, resizewindow
exec-once=/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once=calcurse --daemon
exec-once=/nix/store/mqi0nmw915zpnznp2ghjdkk2dkwzvsl8-mpd-notification-0.8.7/bin/mpd-notification
exec-once=playerctld daemon
exec-once=swaybg --image ~/Pictures/wallpaper --mode fill
exec-once=swayidle -w
exec-once=systemctl --user import-environment QT_QPA_PLATFORM MOZ_ENABLE_WAYLAND
monitor=, preferred, auto-up, 1
monitor=desc:[...], 1920x1080@144, auto-up, 1, vrr, 1
windowrulev2=float, class:gksqt
windowrulev2=nomaxsize, class:^(riotclientux.exe)$,title:^(Riot Client Main)$
windowrulev2=float, class:^(riotclientux.exe)$,title:^(Riot Client Main)$
windowrulev2=size 1540 850, class:^(riotclientux.exe)$,title:^(Riot Client Main)$
windowrulev2=center, class:^(riotclientux.exe)$,title:^(Riot Client Main)$
windowrulev2=nomaxsize, class:^(leagueclientux.exe)$,title:^(League of Legends)$
windowrulev2=float, class:^(leagueclientux.exe)$,title:^(League of Legends)$
windowrulev2=size 1600 900,class:^(leagueclientux.exe)$,title:^(League of Legends)$
windowrulev2=center, class:^(leagueclientux.exe)$,title:^(League of Legends)$
windowrulev2=opacity 1.0 override 1.0 override, class:^(leagueclientux.exe)$,title:^(League of Legends)$
windowrulev2=opacity 1.0 override 1.0 override, class:^(league of legends.exe)$,title:^(League of Legends (TM) Client)$
windowrulev2=float, class:^(league of legends.exe)$,title:^(League of Legends (TM) Client)$
windowrulev2=nomaxsize, class:^(league of legends.exe)$,title:^(League of Legends (TM) Client)$
windowrulev2=fullscreen, class:^(league of legends.exe)$,title:^(League of Legends (TM) Client)$ # doesn't seem to work
bind = $mainMod, p, submap, Programs
submap = Programs

bind = , c, exec, $TERM -e calcurse
bind = , c, submap, reset

bind = , n, exec, newsboat
bind = , n, submap, reset

bind = , b, exec, firefox
bind = , b, submap, reset

bind = SHIFT, b, exec, firefox --private-window
bind = SHIFT, b, submap, reset

bind = , r, exec, rofi -show run
bind = , r, submap, reset

bind = , x, exec, xournalpp
bind = , x, submap, reset

bind = , l, exec, loginctl lock-session
bind = , l, submap, reset

bind = , m, exec, $TERM -e neomutt
bind = , m, submap, reset

bind = , t, exec, timer
bind = , t, submap, reset

bind = , e, exec, rofimoji
bind = , e, submap, reset

bind = , u, exec, rofimoji --file math
bind = , u, submap, reset

bind = , s, exec, $TERM -e btm
bind = , s, submap, reset

bind = , escape, submap, reset
submap = reset

bind = $mainMod, n, submap, Notifications
submap = Notifications

bind = , c, exec, dunstctl close
bind = , c, submap, reset

bind = , a, exec, dunstctl action
bind = , a, submap, reset

bind = SHIFT, c, exec, dunstctl close-all
bind = SHIFT, c, submap, reset

bind = , h, exec, dunstctl history-pop
bind = , h, submap, reset

bind = , escape, submap, reset
submap = reset

bind = $mainMod, bracketright, changegroupactive, f
bind = $mainMod, bracketleft, changegroupactive, b

bind=$mainMod, g, submap, Group

submap=Group

bind = , t, togglegroup

bind = , h, movefocus, l
bind = , l, movefocus, r
bind = , k, movefocus, u
bind = , j, movefocus, d

bind = CTRL, h, moveoutofgroup, l
bind = CTRL, l, moveoutofgroup, r
bind = CTRL, k, moveoutofgroup, u
bind = CTRL, j, moveoutofgroup, d

bind = SHIFT, h, moveintogroup, l
bind = SHIFT, l, moveintogroup, r
bind = SHIFT, k, moveintogroup, u
bind = SHIFT, j, moveintogroup, d

bind=,escape,submap,reset
submap=reset

======Config-End========

Description

Hyprland crashes at startup on v0.44.0. I tried bisecting, but after building v0.40.0 for slighlty over 1 hour I have given up. What I managed to establish is that v0.41.2 from Nixpkgs works, from source v0.40.0 is good, v0.44.0 is bad, and 3132f02 fails to build with

Nix build output
  this derivation will be built:
    /nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv
  building '/nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv'...
  error: builder for '/nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv' failed with exit code 1;
         last 25 log lines:
         > -- Looking for sys/timerfd.h
         > -- Looking for sys/timerfd.h - found
         > -- Checking for module 'epoll-shim'
         > --   No package 'epoll-shim' found
         > -- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
         > -- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
         > --   Found xcb, version 1.17.0
         > --   Found xwayland, version 24.1.1
         > --   Found xcb-util, version 0.4.1
         > --   Found xcb-render, version 1.17.0
         > --   Found xcb-xfixes, version 1.17.0
         > --   Found xcb-icccm, version 0.4.2
         > --   Found xcb-composite, version 1.17.0
         > --   Found xcb-res, version 1.17.0
         > --   Found xcb-ewmh, version 0.4.2
         > --   Found xcb-errors, version 1.0.1
         > -- SYSTEMD support is requested (NO_SYSTEMD not defined)...
         > -- Setting precompiled headers
         > -- Setting link libraries
         > -- Checking for module 'hyprutils>=0.1.1'
         > --   Found hyprutils, version 0.2.0
         > -- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
         > --   Found tomlplusplus, version 3.4.0
         > --   Found hyprutils, version 0.2.0
         > -- Configuring incomplete, errors occurred!
         For full logs, run 'nix log /nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv'.
nix log /nix/store/flgrcd91iy3fdlany8r43a45hdirk8ds-hyprland-0.41.2+date=2024-07-22_3132f02.drv
sourcing setup hook '/nix/store/dk1q4pj1d824fm7kvpryc4nmikb5hbih-make-shell-wrapper-hook/nix-support/setup-hook'
[... TRUNCATED TO POST THE ISSUE ...]
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/12nr51lil2hsvn7jdcazz8sp3r8yfhrd-hyprcursor-0.1.9+date=2024-07-18_4493a97-dev
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/12nr51lil2hsvn7jdcazz8sp3r8yfhrd-hyprcursor-0.1.9+date=2024-07-18_4493a97-dev
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/6igmjh8xwgpvap6xgyh4bl8n34lzkpi0-hyprcursor-0.1.9+date=2024-07-18_4493a97-lib
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/6igmjh8xwgpvap6xgyh4bl8n34lzkpi0-hyprcursor-0.1.9+date=2024-07-18_4493a97-lib
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/din3n51fyw9sg9zqz15m27c6xf60p6bw-hyprcursor-0.1.9+date=2024-07-18_4493a97
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/din3n51fyw9sg9zqz15m27c6xf60p6bw-hyprcursor-0.1.9+date=2024-07-18_4493a97
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/43vbpvl8q0qs2ihsky68xmzbmbqld91j-hyprlang-0.5.2+date=2024-07-18_adbefbf-dev
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/43vbpvl8q0qs2ihsky68xmzbmbqld91j-hyprlang-0.5.2+date=2024-07-18_adbefbf-dev
calling 'envBuildHostHook' function hook 'addPythonPath' /nix/store/60q34sq0i098z346vwx6n3sib4mr0l2p-hyprlang-0.5.2+date=2024-07-18_adbefbf
calling 'envBuildHostHook' function hook 'sysconfigdataHook' /nix/store/60q34sq0i098z346vwx6n3sib4mr0l2p-hyprlang-0.5.2+date=2024-07-18_adbefbf
[... TRUNCATED TO POST THE ISSUE ...]
qf0sx5kcsjz7pxf81ywxsvbzvzfhyq9k-libliftoff-0.5.0
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/77wnxz8dm0w2mpkkfklddj46mvkx0x0l-libXcursor-1.2.2-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/v6p1lm3x4g7ca6q9fwn1p24iks584nsz-libXcursor-1.2.2
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/wx9cw12ax4jdhndc5ncrfd3999kkrznr-libXdmcp-1.1.5-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/g60ggaivrzh8xpw692czqvn4zl0wm0r9-libXdmcp-1.1.5
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/p1lbym3n2aw5m16p33vsyl67zd3119ki-xcb-util-0.4.1-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/7r872mqjz5icyph6njg2aqnfh8khvsid-xcb-util-0.4.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/il4pkwi9xi6v5l81cgclrpacnnpy0p4q-xcb-util-errors-1.0.1-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/9gf7ijvhdiqzflm2vx2xdzs2dq2aqfas-xcb-util-errors-1.0.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/qqzz17mjs51kpfx9faw98f35r7ffwqng-xcb-util-renderutil-0.3.10-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/7rd4b08axmpg5nnys8kkjbmj7cxlkdlc-xcb-util-renderutil-0.3.10
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/x3l69111mbfd38dd8q59hqv94vz6d6jn-xcb-util-wm-0.4.2-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/fiwwkqgfgb4g2f63iycpsx2h5amk2jdv-xcb-util-wm-0.4.2
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/nh7dc63k2kq11k23a3y64ck516kq33hb-xwayland-24.1.1
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/kfdrhijk8gfcwnw3nck3vjnr969yh7zd-systemd-255.6-dev
calling 'envTargetTargetHook' function hook 'make_glib_find_gsettings_schemas' /nix/store/sbqf71kqhlgaff1ajd8zak09g4wn8ymd-systemd-255.6
calling 'postHook' function hook 'makeCmakeFindLibs'
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/g4j22cg5nnqnhc7gyf1j1b6awrm4vrp7-source
calling 'unpackCmd' function hook '_defaultUnpack' /nix/store/g4j22cg5nnqnhc7gyf1j1b6awrm4vrp7-source
source root is source
calling 'postUnpack' function hook '_updateSourceDateEpochFromSourceRoot'
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
evaling implicit 'postPatch' string hook
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
calling 'preConfigure' function hook '_multioutConfig'
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/doc/hyprland -DCMAKE_INSTALL_INFODIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/41a366nd21ql1bhqlc6y5ihf8qah14h4-hyprland-0.41.2+date=2024-07-22_3132f02-man/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/923nr8jcmnywgcs0msjqxjjndh0rvhmd-hyprland-0.41.2+date=2024-07-22_3132f02-dev/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/923nr8jcmnywgcs0msjqxjjndh0rvhmd-hyprland-0.41.2+date=2024-07-22_3132f02-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/ranlib -DCMAKE_AR=/nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/5w6cvbcngawgcy8szdv3kr62ac69zgy6-hyprland-0.41.2+date=2024-07-22_3132f02 -DNO_XWAYLAND:BOOL=FALSE -DLEGACY_RENDERER:BOOL=FALSE -DNO_SYSTEMD:BOOL=FALSE 
-- The C compiler identification is GNU 13.3.0
-- The CXX compiler identification is GNU 13.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/gcc - 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: /nix/store/ps2l9zj68f717rpkqkpksvcfs3mvvabz-gcc-wrapper-13.3.0/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Gathering git info
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
�[31mCMake Error at CMakeLists.txt:29 (add_subdirectory):
  add_subdirectory given source "subprojects/udis86" which is not an existing
  directory.

�[0m
-- Found PkgConfig: /nix/store/d7gxj7i9zr04mgf819k34vm5dzxgxjzn-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Found WaylandScanner at /nix/store/a3n2vxsni6084nn5zcwy35lrvkwmz09y-wayland-1.22.0-bin/bin/wayland-scanner
-- Found wayland-protocols at //nix/store/4f5b5iakzxb3ch64ymjzf59grvpsbrja-wayland-protocols-1.35/share/wayland-protocols
-- 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 OpenGL: /nix/store/d6gvgzzifggrb7fh1v0yi8bvrdlwhpqa-libglvnd-1.7.0/lib/libOpenGL.so found components: GLES3
-- Checking for modules 'aquamarine;xkbcommon;uuid;wayland-server;wayland-client;wayland-cursor;wayland-protocols;cairo;pango;pangocairo;pixman-1;xcursor;libdrm;libinput;hwdata;libseat;libdisplay-info;libliftoff;libudev;gbm;hyprlang>=0.3.2;hyprcursor>=0.1.7;hyprutils>=0.2.0'
-- Found aquamarine, version 0.1.0
-- Found xkbcommon, version 1.7.0
-- Found uuid, version 2.39.4
-- Found wayland-server, version 1.22.0
-- Found wayland-client, version 1.22.0
-- Found wayland-cursor, version 1.22.0
-- Found wayland-protocols, version 1.35
-- Found cairo, version 1.18.0
-- Found pango, version 1.52.2
-- Found pangocairo, version 1.52.2
-- Found pixman-1, version 0.43.4
-- Found xcursor, version 1.2.2
-- Found libdrm, version 2.4.121
-- Found libinput, version 1.26.0
-- Found hwdata, version 0.383
-- Found libseat, version 0.8.0
-- Found libdisplay-info, version 0.2.0
-- Found libliftoff, version 0.5.0
-- Found libudev, version 255
-- Found gbm, version 24.1.2
-- Found hyprlang, version 0.5.2
-- Found hyprcursor, version 0.1.9
-- Found hyprutils, version 0.2.0
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing xfixes.pc' to the PKG_CONFIG_PATH environment variable Package 'xfixes', required by 'xcursor', not found Package xfixes was not found in the pkg-config search path. Perhaps you should add the directory containing xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
Package xfixes was not found in the pkg-config search path.
Perhaps you should add the directory containing xfixes.pc' to the PKG_CONFIG_PATH environment variable Package 'xfixes', required by 'xcursor', not found Package xfixes was not found in the pkg-config search path. Perhaps you should add the directory containing xfixes.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xfixes', required by 'xcursor', not found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Configuration supports execinfo
-- Looking for backtrace in execinfo
-- Looking for backtrace in execinfo - not found
-- Looking for sys/timerfd.h
-- Looking for sys/timerfd.h - found
-- Checking for module 'epoll-shim'
-- No package 'epoll-shim' found
-- XWAYLAND Enabled (NO_XWAYLAND not defined) checking deps...
-- Checking for modules 'xcb;xwayland;xcb-util;xcb-render;xcb-xfixes;xcb-icccm;xcb-composite;xcb-res;xcb-ewmh;xcb-errors'
-- Found xcb, version 1.17.0
-- Found xwayland, version 24.1.1
-- Found xcb-util, version 0.4.1
-- Found xcb-render, version 1.17.0
-- Found xcb-xfixes, version 1.17.0
-- Found xcb-icccm, version 0.4.2
-- Found xcb-composite, version 1.17.0
-- Found xcb-res, version 1.17.0
-- Found xcb-ewmh, version 0.4.2
-- Found xcb-errors, version 1.0.1
-- SYSTEMD support is requested (NO_SYSTEMD not defined)...
-- Setting precompiled headers
-- Setting link libraries
-- Checking for module 'hyprutils>=0.1.1'
-- Found hyprutils, version 0.2.0
-- Checking for modules 'tomlplusplus;hyprutils>=0.1.1'
-- Found tomlplusplus, version 3.4.0
-- Found hyprutils, version 0.2.0
-- Configuring incomplete, errors occurred!

I have attached the crash report of v0.44.0. Even after setting debug:disable_logs = false the program reported that it is true by default, so I am not sure if the setting was effective. Perhaps this message is always printed, is it? I looked on similar reports, but their output contained additional/different messages. I am not sure if the difference is caused by the mentioned ineffectiveness of debug:disable_logs = false.

How to reproduce

  1. Build v0.44.0 with nix build '.?submodules=1'.
  2. Launch Hyprland with nixGLIntel ./result/bin/Hyprland.

Crash reports, logs, images, videos

Crash report
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
This was an accident, I swear!

Hyprland received signal 11(SEGV)
Version: 5c6c300abfea2539ffad9bcbf857325eec5ab765
Tag:
Date: 2024-09-30
Flags:

System info:
System name: Linux
Node name: [...]
Release: 6.11.1-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:48 +0000

GPU:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c2) (prog-if 00 [VGA controller])

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
Backtrace:
# | /[...]/.local/state/nix/profile/bin/Hyprland(_Z12getBacktracev+0x46) [0x68a906]
getBacktrace()
??:?
#1 | /[...]/.local/state/nix/profile/bin/Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb84) [0x5bc754]
CrashReporter::createAndSaveCrash(int)
??:?
#2 | /[...]/.local/state/nix/profile/bin/Hyprland(_Z25handleUnrecoverableSignali+0x5f) [0x50353f]
handleUnrecoverableSignal(int)
??:?
#3 | /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6(+0x405c0) [0x719368d635c0]
??
??:0
#4 | /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6(+0x1697dd) [0x719368e8c7dd]
??
??:0
#5 | /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6(__strdup+0x12) [0x719368dcad32]
??
??:0
#6 | /nix/store/ix0zwzwpxcz5znli5n89344r99jvr558-mesa-24.0.7-drivers/lib/libEGL_mesa.so.0(+0x25aca) [0x71935bc97aca]
??
??:0
#7 | /nix/store/ix0zwzwpxcz5znli5n89344r99jvr558-mesa-24.0.7-drivers/lib/libEGL_mesa.so.0(+0x1d900) [0x71935bc8f900]
??
??:0
#8 | /nix/store/ix0zwzwpxcz5znli5n89344r99jvr558-mesa-24.0.7-drivers/lib/libEGL_mesa.so.0(+0xf4a8) [0x71935bc814a8]
??
??:0
#9 | /nix/store/fspkpd4585nvcbqqg9wd6vkmvvb5gkcl-aquamarine-0.4.1+date=2024-09-25_b82fdaf/lib/libaquamarine.so.3(_ZN10Aquamarine12CDRMRenderer7attemptEN9Hyprutils6Memory14CSharedPointerINS_13CGBMAllocatorEEENS3_INS_8CBackendEEE+0x611) [0x719369f64521]
??
??:0
#1 | /nix/store/fspkpd4585nvcbqqg9wd6vkmvvb5gkcl-aquamarine-0.4.1+date=2024-09-25_b82fdaf/lib/libaquamarine.so.3(_ZN10Aquamarine11CDRMBackend7onReadyEv+0x7b2) [0x719369f4be92]
??
??:0
#11 | /nix/store/fspkpd4585nvcbqqg9wd6vkmvvb5gkcl-aquamarine-0.4.1+date=2024-09-25_b82fdaf/lib/libaquamarine.so.3(_ZN10Aquamarine8CBackend5startEv+0x676) [0x719369f146f6]
??
??:0
#12 | /[...]/.local/state/nix/profile/bin/Hyprland(_ZN11CCompositor10initServerENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x2ef) [0x51f8cf]
CCompositor::initServer(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int)
??:?
#13 | /[...]/.local/state/nix/profile/bin/Hyprland(main+0xd7d) [0x6dd24d]
main
??:?
#14 | /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6(+0x2a14e) [0x719368d4d14e]
??
??:0
#15 | /nix/store/3dyw8dzj9ab4m8hv5dpyx7zii8d0w6fi-glibc-2.39-52/lib/libc.so.6(__libc_start_main+0x89) [0x719368d4d209]
??
??:0
#16 | /[...]/.local/state/nix/profile/bin/Hyprland(_start+0x25) [0x4c5fe5]
_start
??:?

Log tail:
[LOG] [AQ] drm: Connector 87 connection state: 1
[LOG] [AQ] drm: Connector eDP-1 connected
[LOG] [AQ] drm: Connecting connector eDP-1, CRTC ID 73
[LOG] [AQ] drm: Dumping detected modes:
[LOG] [AQ] drm: Mode 0: [email protected] (preferred)
[LOG] [AQ] drm: Mode 1: [email protected]
[LOG] [AQ] drm: Mode 2: [email protected]
[LOG] [AQ] drm: Mode 3: [email protected]
[LOG] [AQ] drm: Mode 4: [email protected]
[LOG] [AQ] drm: Mode 5: [email protected]
[LOG] [AQ] drm: Mode 6: [email protected]
[LOG] [AQ] drm: Mode 7: [email protected]
[LOG] [AQ] drm: Mode 8: [email protected]
[LOG] [AQ] drm: Mode 9: [email protected]
[LOG] [AQ] drm: Mode 10: [email protected]
[LOG] [AQ] drm: Mode 11: [email protected]
[LOG] [AQ] drm: Physical size [Vector2D: x: 290, y: 180] (mm)
[LOG] [AQ] drm: Description AU Optronics 0x6496 (eDP-1)
[LOG] [AQ] drm: connector eDP-1 crtc is incapable of vrr: props.vrr_capable -> 90, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: Scanning connector id 95
[LOG] [AQ] drm: Connector id 95 already initialized
[LOG] [AQ] drm: Connector 95 connection state: 2
[LOG] [AQ] drm: Scanning connector id 101
[LOG] [AQ] drm: Connector id 101 already initialized
[LOG] [AQ] drm: Connector 101 connection state: 1
[LOG] [AQ] drm: Connector DP-1 connected
[LOG] [AQ] drm: Connecting connector DP-1, CRTC ID 77
[LOG] [AQ] drm: Dumping detected modes:
[LOG] [AQ] drm: Mode 0: [email protected] (preferred)
[LOG] [AQ] drm: Mode 1: [email protected]
[LOG] [AQ] drm: Mode 2: [email protected]
[LOG] [AQ] drm: Mode 3: [email protected]
[LOG] [AQ] drm: Mode 4: [email protected]
[LOG] [AQ] drm: Mode 5: [email protected]
[LOG] [AQ] drm: Mode 6: [email protected]
[LOG] [AQ] drm: Mode 7: [email protected]
[LOG] [AQ] drm: Mode 8: [email protected]
[LOG] [AQ] drm: Mode 9: [email protected]
[LOG] [AQ] drm: Mode 10: [email protected]
[LOG] [AQ] drm: Mode 11: [email protected]
[LOG] [AQ] drm: Mode 12: [email protected]
[LOG] [AQ] drm: Mode 13: [email protected]
[LOG] [AQ] drm: Mode 14: [email protected]
[LOG] [AQ] drm: Mode 15: [email protected]
[LOG] [AQ] drm: Mode 16: [email protected]
[LOG] [AQ] drm: Mode 17: [email protected]
[LOG] [AQ] drm: Mode 18: [email protected]
[LOG] [AQ] drm: Mode 19: [email protected]
[LOG] [AQ] drm: Mode 20: [email protected]
[LOG] [AQ] drm: Mode 21: [email protected]
[LOG] [AQ] drm: Mode 22: [email protected]
[LOG] [AQ] drm: Mode 23: [email protected]
[LOG] [AQ] drm: Mode 24: [email protected]
[LOG] [AQ] drm: Mode 25: [email protected]
[LOG] [AQ] drm: Mode 26: [email protected]
[LOG] [AQ] drm: Mode 27: [email protected]
[LOG] [AQ] drm: Mode 28: [email protected]
[LOG] [AQ] drm: Mode 29: [email protected]
[LOG] [AQ] drm: Mode 30: [email protected]
[LOG] [AQ] drm: Mode 31: [email protected]
[LOG] [AQ] drm: Mode 32: [email protected]
[LOG] [AQ] drm: Mode 33: [email protected]
[LOG] [AQ] drm: Mode 34: [email protected]
[LOG] [AQ] drm: Mode 35: [email protected]
[LOG] [AQ] drm: Mode 36: [email protected]
[LOG] [AQ] drm: Mode 37: [email protected]
[LOG] [AQ] drm: Mode 38: [email protected]
[LOG] [AQ] drm: Mode 39: [email protected]
[LOG] [AQ] drm: Mode 40: [email protected]
[LOG] [AQ] drm: Mode 41: [email protected]
[LOG] [AQ] drm: Mode 42: [email protected]
[LOG] [AQ] drm: Mode 43: [email protected]
[LOG] [AQ] drm: Physical size [Vector2D: x: 530, y: 300] (mm)
[LOG] [AQ] drm: Description [...] (DP-1)
[LOG] [AQ] drm: connector DP-1 crtc is incapable of vrr: props.vrr_capable -> 104, crtc->props.vrr_enabled -> 24
[LOG] [AQ] drm: Explicit sync supported
[LOG] [AQ] drm: gpu /dev/dri/card1 becomes primary drm
[LOG] [AQ] Starting the Aquamarine backend!
[LOG] [AQ] Starting the Wayland backend!
[ERR] [AQ] Wayland backend cannot start: wl_display_connect failed (is a wayland compositor running?)
[ERR] [AQ] Requested backend (wayland) could not start, enabling fallbacks
[ERR] [AQ] Implementation wayland failed, erasing.
[LOG] [AQ] Created a GBM allocator with drm fd 33
[LOG] [AQ] drm: Connectors size2 3
[LOG] [AQ] Created a GBM allocator with drm fd 137

@jakubkaczor jakubkaczor added the bug Something isn't working label Oct 6, 2024
@vaxerski
Copy link
Member

vaxerski commented Oct 6, 2024

dupe hyprwm/aquamarine#88

@vaxerski vaxerski closed this as not planned Won't fix, can't repro, duplicate, stale Oct 6, 2024
@jakubkaczor
Copy link
Author

For someone with the same build issues, see #5891 (comment). Perhaps the wiki entry about bisecting could use a mention of this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants