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.59k stars 902 forks source link

Crash when replugging monitors #7566

Closed kaspernyhus closed 2 months ago

kaspernyhus commented 2 months ago

Regression?

No

System Info and Version

System/Version info ```sh Hyprland, built from branch at commit 9a09eac79b85c846e3a865a9078a3f8ff65a9259 (props: bump version to 0.42.0). Date: Wed Aug 7 19:17:10 2024 Tag: v0.42.0, commits: 5069 flags: (if any) System Information: System name: Linux Node name: archlinux Release: 6.10.6-arch1-1 Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000 GPU information: 00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a60] (rev 01) (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: hyprsplit by shezdy ver 1.0 hyprexpo by Vaxry ver 1.0 ======Config-Start====== Config File: /home/kaspernyhus/.config/hypr/hyprland.conf: Read Succeeded # ####################################################################################### # AUTOGENERATED HYPR CONFIG. # PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT, # OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS. # ####################################################################################### # # Please note not all available settings / options are set here. # For a full list, see the wiki # # See https://wiki.hyprland.org/Configuring/Monitors/ monitor=,preferred,auto,auto monitor=eDP-1, 1920x1080, 0x0, 1 # build-in screen # Office monitor=desc:HP Inc. HP Z24n G3 CN42050XJ1, 1920x1200, 3840x0, 1, transform, 1 monitor=desc:HP Inc. HP Z24n G3 CN42050XNH, 1920x1200, 1920x0, 1 # See https://wiki.hyprland.org/Configuring/Keywords/ for more # Execute your favorite apps at launch exec-once = waybar & hyprpaper & dunst & udiskie exec-once = /usr/lib/polkit-kde-authentication-agent-1 exec-once = wl-paste --type text --watch cliphist store #Stores only text data exec-once = wl-paste --type image --watch cliphist store #Stores only image data exec-once = hypridle exec-once = hyprpm reload -n # XDG setup exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP source = ~/.config/hypr/keybinds.conf # Set programs that you use $terminal = kitty $fileManager = thunar $menu = wofi --show drun # Start programs on boot #exec-once = [workspace 1 silent] firefox #exec-once = [workspace 2 silent] kitty # Some default env vars. env = XCURSOR_SIZE,24 # Nvidia stuff #env = LIBVA_DRIVER_NAME,nvidia #env = XDG_SESSION_TYPE,wayland #env = GBM_BACKEND,nvidia-drm #env = __GLX_VENDOR_LIBRARY_NAME,nvidia #env = WLR_NO_HARDWARE_CURSORS,1 # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ input { kb_layout = dk kb_variant = kb_model = kb_options = kb_rules = follow_mouse = 0 touchpad { natural_scroll = yes } sensitivity = 0 # -1.0 - 1.0, 0 means no modification. } cursor { inactive_timeout = 0 } general { # See https://wiki.hyprland.org/Configuring/Variables/ for more gaps_in = 2 gaps_out = 4 border_size = 2 col.active_border = rgb(828282) rgb(898989) 270deg col.inactive_border = rgba(595959aa) layout = dwindle # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on allow_tearing = false } decoration { # See https://wiki.hyprland.org/Configuring/Variables/ for more rounding = 5 blur { enabled = true size = 3 passes = 1 new_optimizations = on } drop_shadow = yes shadow_range = 4 shadow_render_power = 3 col.shadow = rgba(1a1a1aee) } animations { enabled = yes # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more bezier = md3_decel, 0.05, 0.7, 0.1, 1 bezier = md3_accel, 0.3, 0, 0.8, 0.15 bezier = menu_decel, 0.1, 1, 0, 1 bezier = menu_accel, 0.38, 0.04, 1, 0.07 # Animation configs animation = windows, 1, 3, md3_decel, popin 60% animation = windowsIn, 1, 3, md3_decel, popin 60% animation = windowsOut, 1, 3, md3_accel, popin 60% animation = border, 1, 10, default animation = fade, 1, 3, md3_decel animation = layersIn, 1, 3, menu_decel, fade animation = layersOut, 1, 1.6, menu_accel animation = fadeLayersIn, 1, 3, menu_accel animation = fadeLayersOut, 1, 4.5, menu_accel animation = workspaces, 1, 4, menu_decel, slide animation = specialWorkspace, 1, 3, md3_decel, slidevert } dwindle { # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below preserve_split = yes # you probably want this } master { # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more new_status = master orientation = right } gestures { # See https://wiki.hyprland.org/Configuring/Variables/ for more workspace_swipe = on } misc { # See https://wiki.hyprland.org/Configuring/Variables/ for more force_default_wallpaper = 0 # Set to 0 to disable the anime mascot wallpapers disable_hyprland_logo = true disable_splash_rendering = true mouse_move_enables_dpms = true key_press_enables_dpms = true } # Example per-device config # See https://wiki.hyprland.org/Configuring/Keywords/#executing for more device { name = epic-mouse-v1 sensitivity = -0.5 } # Example windowrule v1 windowrule = float, ^(thunar)$ windowrule = size 1100 700, ^(thunar)$ windowrule = center, ^(thunar)$ windowrule = float, ^(pavucontrol)$ windowrule = float, ^(qalculate-qt)$ # Example windowrule v2 # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more #plugin { # hyprbars { # bar_color = rgb(2a2a2a) # bar_height = 24 # col.text = rgb(bdae93) # bar_text_size = 11 # bar_text_font = Fira Sans Bold # bar_part_of_window = true # bar_precedence_over_border = true # } #} plugin { hyprsplit { num_workspaces = 10 } } plugin { hyprexpo { columns = 3 gap_size = 8 bg_col = rgb(111111) workspace_method = first current # [center/first] [workspace] e.g. first 1 or center m+1 enable_gesture = true # laptop touchpad gesture_fingers = 3 # 3 or 4 gesture_distance = 300 # how far is the "max" gesture_positive = true # positive = swipe down. Negative = swipe up. } } Config File: /home/kaspernyhus/.config/hypr/keybinds.conf: Read Succeeded ## USING HYPRSPLIT ## # See https://wiki.hyprland.org/Configuring/Keywords/ for more $mainMod = SUPER # Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more bind = $mainMod, RETURN, exec, kitty bind = $mainMod, F, fullscreen, 1 bind = $mainMod, E, exec, thunar bind = $mainMod, T, exec, google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=UseOzonePlatform --ozone-platform=wayland https://teams.microsoft.com/v2/ --new-window bind = $mainMod, Q, killactive, bind = $mainMod, G, togglefloating, bind = $mainMod, P, exec, wofi -n --show drun --sort-order=alphabetical -k "/dev/null" bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, B, exec, firefox bind = $mainMod, O, exec, obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland bind = $mainMod, escape, exec, wlogout -c 1 -r 1 -p layer-shell bind = $mainMod, M, exec, google-chrome-stable https://mail.google.com/mail --new-window bind = $mainMod, A, exec, google-chrome-stable https://chat.openai.com/?model=gpt-4 --new-window bind = $mainMod, L, exec, gnome-calculator bind = $mainMod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy bind = ALT, TAB, workspace, previous # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = $mainMod, up, movefocus, u bind = $mainMod, down, movefocus, d # Swap windows bind = $mainMod SHIFT, left, movewindow, l bind = $mainMod SHIFT, right, movewindow, r bind = $mainMod SHIFT, up, movewindow, u bind = $mainMod SHIFT, down, movewindow, d # Switch workspaces with mainMod + [0-9] bind = $mainMod, 1, split:workspace, 1 bind = $mainMod, 2, split:workspace, 2 bind = $mainMod, 3, split:workspace, 3 bind = $mainMod, 4, split:workspace, 4 bind = $mainMod, 5, split:workspace, 5 bind = $mainMod, 6, split:workspace, 6 bind = $mainMod, 7, split:workspace, 7 bind = $mainMod, 8, split:workspace, 8 bind = $mainMod, 9, split:workspace, 9 bind = $mainMod, 0, split:workspace, 10 # Move active window to a workspace with mainMod + SHIFT + [0-9] bind = $mainMod SHIFT, 1, split:movetoworkspace, 1 bind = $mainMod SHIFT, 2, split:movetoworkspace, 2 bind = $mainMod SHIFT, 3, split:movetoworkspace, 3 bind = $mainMod SHIFT, 4, split:movetoworkspace, 4 bind = $mainMod SHIFT, 5, split:movetoworkspace, 5 bind = $mainMod SHIFT, 6, split:movetoworkspace, 6 bind = $mainMod SHIFT, 7, split:movetoworkspace, 7 bind = $mainMod SHIFT, 8, split:movetoworkspace, 8 bind = $mainMod SHIFT, 9, split:movetoworkspace, 9 bind = $mainMod SHIFT, 0, split:movetoworkspace, 10 # Move active window to workspace left/right bind = $mainMod SHIFT_ALT, right, split:movetoworkspace, +1 bind = $mainMod SHIFT_ALT, left, split:movetoworkspace, -1 # Special workspace (scratchpad) bind = $mainMod, S, togglespecialworkspace, magic bind = $mainMod SHIFT, S, split:movetoworkspace, special:magic # Scroll through existing workspaces bind = $mainMod CTRL_SHIFT, right, workspace, e+1 bind = $mainMod CTRL_SHIFT, left, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow # Monitors bind = $mainMod ALT, 1, split:swapactiveworkspaces, current 0 bind = $mainMod ALT, 1, focusmonitor, 0 bind = $mainMod ALT, 2, split:swapactiveworkspaces, current 1 bind = $mainMod ALT, 2, focusmonitor, 1 bind = $mainMod ALT, 3, split:swapactiveworkspaces, current 2 bind = $mainMod ALT, 3, focusmonitor, 2 # Hyprsplit specific bind = $mainMod, G, split:grabroguewindows # Lock screen bind = $mainMod, backspace, exec, hyprlock bindl=, switch: Lid Switch, exec, hyprlock # Hyprexpo bind = SUPER, space, hyprexpo:expo, toggle # Audio binde =, XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+ binde =, XF86AudioRaiseVolume, exec, notify-send -r 1010 -t 500 -h int:value:"$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk -F' ' '{print $2*100}')" "Volume" binde =, XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%- binde =, XF86AudioLowerVolume, exec, notify-send -r 1010 -t 500 -h int:value:"$(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk -F' ' '{print $2*100}')" 'Volume' bind =, XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle bind =, XF86AudioMicMute, exec, amixer set Capture toggle bindl=, XF86AudioPlay, exec, playerctl play-pause bindl=, XF86AudioNext, exec, playerctl next bindl=, XF86AudioPrev, exec, playerctl previous # Backlight bindle=,XF86MonBrightnessDown,exec,brightnessctl set 5%- bindle=,XF86MonBrightnessDown,exec,notify-send -r 1010 -t 500 -h int:value:"$(brightnessctl -m | cut -d, -f4)" "brightness" bindle=,XF86MonBrightnessUp,exec,brightnessctl set +5% bindle=,XF86MonBrightnessUP,exec,notify-send -r 1010 -t 500 -h int:value:"$(brightnessctl -m | cut -d, -f4)" "brightness" # Screenshots bind = , print, exec, $HOME/.config/hypr/scripts/screenshots/captureAll.sh bind = CTRL, print, exec, $HOME/.config/hypr/scripts/screenshots/captureScreen.sh bind = CTRL SHIFT, print, exec, $HOME/.config/hypr/scripts/screenshots/captureArea.sh ======Config-End======== ```

Description

Hyprland crashes when replugging my monitors, either one or two monitors.

I suspect this might have something to do with hyprsplit ?

How to reproduce

Unplug monitors, replug them.

Crash reports, logs, images, videos

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

Hyprland received signal 11(SEGV)
Version: 9a09eac79b85c846e3a865a9078a3f8ff65a9259
Tag: v0.42.0
Date: Wed Aug 7 19:17:10 2024
Flags:

Hyprland seems to be running with plugins. This crash might not be Hyprland's fault.
Plugins:
    hyprsplit (shezdy) 1.0
    hyprexpo (Vaxry) 1.0

System info:
    System name: Linux
    Node name: archlinux
    Release: 6.10.6-arch1-1
    Version: #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 17:02:39 +0000

GPU:
    00:02.0 VGA compatible controller [0300]: Intel Corporation TigerLake-H GT1 [UHD Graphics] [8086:9a60] (rev 01) (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:
    # | Hyprland(_Z12getBacktracev+0x61) [0x5fae2a23b6a1]
        getBacktrace()
        ??:?
    #1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0xb89) [0x5fae2a1bb609]
        CrashReporter::createAndSaveCrash(int)
        ??:?
    #2 | Hyprland(_Z25handleUnrecoverableSignali+0x71) [0x5fae2a13bf71]
        handleUnrecoverableSignal(int)
        ??:?
    #3 | /usr/lib/libc.so.6(+0x3d1d0) [0x78e4d015d1d0]
        ??
        ??:0
    #4 | /usr/lib/libaquamarine.so.2(+0x311af) [0x78e4d0bae1af]
        ??
        ??:0
    #5 | Hyprland(_ZN15CPointerManager17setHWCursorBufferEN9Hyprutils6Memory14CSharedPointerINS_20SMonitorPointerStateEEENS2_IN10Aquamarine7IBufferEEE+0x2d8) [0x5fae2a293e78]
        CPointerManager::setHWCursorBuffer(Hyprutils::Memory::CSharedPointer<CPointerManager::SMonitorPointerState>, Hyprutils::Memory::CSharedPointer<Aquamarine::IBuffer>)
        ??:?
    #6 | Hyprland(_ZN15CPointerManager21attemptHardwareCursorEN9Hyprutils6Memory14CSharedPointerINS_20SMonitorPointerStateEEE+0x217) [0x5fae2a2968d7]
        CPointerManager::attemptHardwareCursor(Hyprutils::Memory::CSharedPointer<CPointerManager::SMonitorPointerState>)
        ??:?
    #7 | Hyprland(_ZN15CPointerManager19updateCursorBackendEv+0x3d0) [0x5fae2a296f70]
        CPointerManager::updateCursorBackend()
        ??:?
    #8 | Hyprland(_ZN15CPointerManager15setCursorBufferEN9Hyprutils6Memory14CSharedPointerIN10Aquamarine7IBufferEEERKNS0_4Math8Vector2DERKf+0xb2) [0x5fae2a28f712]
        CPointerManager::setCursorBuffer(Hyprutils::Memory::CSharedPointer<Aquamarine::IBuffer>, Hyprutils::Math::Vector2D const&, float const&)
        ??:?
    #9 | Hyprland(_ZN14CCursorManager15setCursorBufferEN9Hyprutils6Memory14CSharedPointerI13CCursorBufferEERKNS0_4Math8Vector2DERKf+0x9e) [0x5fae2a26d9fe]
        CCursorManager::setCursorBuffer(Hyprutils::Memory::CSharedPointer<CCursorBuffer>, Hyprutils::Math::Vector2D const&, float const&)
        ??:?
    #1 | Hyprland(_ZN14CCursorManager17setCursorFromNameERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x183) [0x5fae2a26f843]
        CCursorManager::setCursorFromName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
        ??:?
    #11 | Hyprland(_ZN14CCursorManager11updateThemeEv+0x149) [0x5fae2a270799]
        CCursorManager::updateTheme()
        ??:?
    #12 | Hyprland(+0x29095c) [0x5fae2a27095c]
        CCursorManager::updateTheme()
        ??:?
    #13 | Hyprland(_ZN18CHookSystemManager4emitEPSt6vectorI14SCallbackFNPtrSaIS1_EER13SCallbackInfoSt3any+0x4bf) [0x5fae2a273acf]
        CHookSystemManager::emit(std::vector<SCallbackFNPtr, std::allocator<SCallbackFNPtr> >*, SCallbackInfo&, std::any)
        ??:?
    #14 | Hyprland(_ZN13CHyprRenderer16applyMonitorRuleEP8CMonitorP12SMonitorRuleb+0xb39) [0x5fae2a426b99]
        CHyprRenderer::applyMonitorRule(CMonitor*, SMonitorRule*, bool)
        ??:?
    #15 | Hyprland(_ZN8CMonitor9onConnectEb+0xca1) [0x5fae2a2396a1]
        CMonitor::onConnect(bool)
        ??:?
    #16 | Hyprland(_ZN11CCompositor12onNewMonitorEN9Hyprutils6Memory14CSharedPointerIN10Aquamarine7IOutputEEE+0x329) [0x5fae2a15e0c9]
        CCompositor::onNewMonitor(Hyprutils::Memory::CSharedPointer<Aquamarine::IOutput>)
        ??:?
    #17 | Hyprland(+0x186c06) [0x5fae2a166c06]
        std::any::_Manager_internal<Hyprutils::Memory::CSharedPointer<CMonitor> >::_S_manage(std::any::_Op, std::any const*, std::any::_Arg*)
        ??:?
    #18 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal21CStaticSignalListener4emitESt3any+0x66) [0x78e4d074bdc6]
        ??
        ??:0
    #19 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x59e) [0x78e4d074c3be]
        ??
        ??:0
    #2 | /usr/lib/libaquamarine.so.2(_ZN10Aquamarine13SDRMConnector7connectEP17_drmModeConnector+0x133d) [0x78e4d0c20cbd]
        ??
        ??:0
    #21 | /usr/lib/libaquamarine.so.2(_ZN10Aquamarine11CDRMBackend14scanConnectorsEv+0xc10) [0x78e4d0c1b500]
        ??
        ??:0
    #22 | /usr/lib/libaquamarine.so.2(+0xa96f4) [0x78e4d0c266f4]
        ??
        ??:0
    #23 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal15CSignalListener4emitESt3any+0x5f) [0x78e4d074bc9f]
        ??
        ??:0
    #24 | /usr/lib/libhyprutils.so.1(_ZN9Hyprutils6Signal7CSignal4emitESt3any+0x1ee) [0x78e4d074c00e]
        ??
        ??:0
    #25 | /usr/lib/libaquamarine.so.2(_ZN10Aquamarine8CSession18dispatchUdevEventsEv+0x4c1) [0x78e4d0bf49b1]
        ??
        ??:0
    #26 | Hyprland(+0x2dd11a) [0x5fae2a2bd11a]
        handleTimer(void*)
        ??:?
    #27 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0x1f2) [0x78e4d0b2b0a2]
        ??
        ??:0
    #28 | /usr/lib/libwayland-server.so.0(wl_display_run+0x2f) [0x78e4d0b2d10f]
        ??
        ??:0
    #29 | Hyprland(_ZN17CEventLoopManager9enterLoopEv+0x2a9) [0x5fae2a2bf359]
        CEventLoopManager::enterLoop()
        ??:?
    #3 | Hyprland(main+0xc98) [0x5fae2a0f9768]
        main
        ??:?
    #31 | /usr/lib/libc.so.6(+0x25e08) [0x78e4d0145e08]
        ??
        ??:0
    #32 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x78e4d0145ecc]
        ??
        ??:0
    #33 | Hyprland(_start+0x25) [0x5fae2a137fc5]
        _start
        ??:?

Log tail:
[LOG] [AQ] drm: Scanning connector id 368
[LOG] [AQ] drm: Connector id 368 already initialized
[LOG] [AQ] drm: Connector 368 connection state: 2
[LOG] [AQ] drm: Scanning connector id 360
[LOG] [AQ] drm: Initializing connector id 360
[LOG] [AQ] drm: Connector gets name DP-6
[ERR] [AQ] drm: getCurrentCRTC: No CRTC 0
[LOG] [AQ] drm: Connector 360 connection state: 1
[LOG] [AQ] drm: Connector DP-6 connected
[LOG] [AQ] drm: Connecting connector DP-6, no CRTC
[LOG] [AQ] drm: Dumping detected modes:
[LOG] [AQ] drm: Mode 0: 1920x1200@59.95Hz  (preferred)
[LOG] [AQ] drm: Mode 1: 1920x1080@60.00Hz 
[LOG] [AQ] drm: Mode 2: 1600x1200@60.00Hz 
[LOG] [AQ] drm: Mode 3: 1680x1050@59.95Hz 
[LOG] [AQ] drm: Mode 4: 1600x900@60.00Hz 
[LOG] [AQ] drm: Mode 5: 1280x1024@60.02Hz 
[LOG] [AQ] drm: Mode 6: 1440x900@59.89Hz 
[LOG] [AQ] drm: Mode 7: 1280x800@59.81Hz 
[LOG] [AQ] drm: Mode 8: 1024x768@60.00Hz 
[LOG] [AQ] drm: Mode 9: 800x600@60.32Hz 
[LOG] [AQ] drm: Mode 10: 640x480@59.94Hz 
[LOG] [AQ] drm: Physical size [Vector2D: x: 520, y: 320] (mm)
[LOG] [AQ] drm: Description HP Inc. HP Z24n G3 CN42050XNH (DP-6)
[LOG] New aquamarine output with name DP-6
[LOG] New output with name DP-6
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 370
[LOG] Applying monitor rule for DP-6
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 72057594037927944 aka Y_TILED_GEN12_RC_CCS_CC
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XR24 with modifier 72057594037927944 aka Y_TILED_GEN12_RC_CCS_CC
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XR24 of length 2
[LOG] CMonitorState::ensureBufferPresent: no buffer, attaching one from the swapchain for modeset being possible
[ERR] [AQ] drm: No CRTC attached to output
[LOG] Monitor DP-6: REJECTED available mode: 1920x1200@59.950001!
[ERR] [AQ] drm: No CRTC attached to output
[ERR] Custom resolution FAILED, falling back to preferred
[ERR] Monitor DP-6 got an invalid requested mode: 1920x1200@60.000000, using the preferred one instead: 1920x1200@59.950001
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-6 failed basic test on format DRM_FORMAT_XRGB8888
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 72057594037927944 aka Y_TILED_GEN12_RC_CCS_CC
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 1920, y: 1200] and format XB24 with modifier 72057594037927944 aka Y_TILED_GEN12_RC_CCS_CC
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 1920, y: 1200] XB24 of length 2
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-6 failed basic test on format DRM_FORMAT_XBGR8888
[ERR] [AQ] drm: No CRTC attached to output
[ERR] output DP-6 failed basic test on format DRM_FORMAT_INVALID
[ERR] [AQ] drm: No CRTC attached to output
[ERR] Couldn't commit output named DP-6
[LOG] Monitor DP-6 -> destroyed all render data
[LOG] arrangeMonitors: 2 to arrange
[LOG] arrangeMonitors: eDP-1 explicit [0, 0]
[LOG] arrangeMonitors: DP-6 explicit [1920, 0]
[LOG] arrangeMonitors: eDP-1 xwayland [0, 0]
[LOG] arrangeMonitors: DP-6 xwayland [1920, 0]
[LOG] Monitor DP-6 data dump: res 1920x1200@59.95Hz, scale 1.00, transform 0, pos 1920x0, 10b 0
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 370
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] GBM: Automatically selected format AR24 for new GBM buffer
[LOG] [AQ] GBM: Buffer is marked as multigpu, forcing linear
[LOG] [AQ] GBM: Allocated a new buffer with size [Vector2D: x: 256, y: 256] and format AR24 with modifier 0 aka LINEAR
[LOG] [AQ] Swapchain: Reconfigured a swapchain to [Vector2D: x: 256, y: 256] AR24 of length 2
[LOG] Shaders initialized successfully.
[LOG] [AQ] drm: Cursor buffer imported into KMS with id 381

2024-08-29 08 29 32

zayihu commented 2 months ago

Hi! Try building and installing latest hyprland-git, this is fixed in it. I had same problem, this fixed it for me.

vaxerski commented 2 months ago

this is fixed in git, yea, make sure to install both aquamarine-git and hyprland-git