Hyprland
Hyprland copied to clipboard
Crash when pinentry-gtk-2 opens
System Info and Version
System/Version info
Hyprland, built from branch main at commit 553232a3e4c112c8511309e6b685cb614895e714 (hyprctl: Add Config Flag to `hyprctl systeminfo` (6160)).
Date: Sat May 25 22:46:07 2024
Tag: v0.40.0-137-g553232a3, commits: 4743
flags: (if any)
System Information:
System name: Linux
Node name: ATLANTIS-LAB
Release: 6.8.7-arch1-1-vivepro2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 Apr 2024 06:57:16 +0000
GPU information:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (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: /home/cobra/.config/hypr/hyprland.conf: Read Succeeded
#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#
# See https://wiki.hyprland.org/Configuring/Monitors/
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# exec-once = waybar & hyprpaper & firefox
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
#
misc {
disable_hyprland_logo = true
disable_splash_rendering = true
vrr = 1
}
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = ch
kb_variant = de
kb_model =
kb_options = caps:swapescape
kb_rules =
follow_mouse = 1
mouse_refocus = false
touchpad {
natural_scroll = yes
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
accel_profile = flat
}
general {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
gaps_in = 5
gaps_out = 20
border_size = 2
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
layout = dwindle
# allow_tearing = true
}
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
blur {
enabled = true
size = 4
passes = 2
new_optimizations = true
xray = false
brightness = 1
contrast = 1.300000
}
active_opacity = 1.00;
inactive_opacity = 1.00;
fullscreen_opacity = 1.0;
drop_shadow = yes
shadow_range = 25
shadow_render_power = 3
col.shadow = rgba(1a1a1acc)
shadow_ignore_window = true;
shadow_offset = 2 2
}
animations {
enabled = yes
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
bezier = myBezier, 0.05, 0.9, 0.1, 1.05
animation = windows, 1, 7, myBezier
animation = windowsOut, 1, 7, default, popin 80%
animation = border, 1, 10, default
animation = borderangle, 1, 8, default
animation = fade, 1, 7, default
animation = workspaces, 1, 6, default
}
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
no_gaps_when_only = true
}
master {
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
new_is_master = true
no_gaps_when_only = true
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = on
}
source=~/.config/hypr/configs/custom-config.conf
source=~/.config/hypr/monitors.conf
source=~/.config/hypr/configs/envs.conf
source=~/.config/hypr/configs/custom-envs.conf
source=~/.config/hypr/configs/setBackground.conf
source=~/.config/hypr/configs/execs.conf
source=~/.config/hypr/configs/custom-execs.conf
source=~/.config/hypr/configs/key-bindings.conf
source=~/.config/hypr/configs/window_rules.conf
source=~/.config/hypr/configs/custom-devices.conf
# Example windowrule v1
# windowrule = float, ^(kitty)$
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
Config File: /home/cobra/.config/hypr/configs/custom-config.conf: Read Succeeded
# unscale XWayland
xwayland {
force_zero_scaling = true
}
Config File: /home/cobra/.config/hypr/monitors.conf: Read Succeeded
# Generated by nwg-displays on 2024-04-01 at 13:19:00. Do not edit manually.
monitor=DP-1,[email protected],0x0,1.5,vrr,2
monitor=DP-2,[email protected],2560x0,1.0,vrr,2
Config File: /home/cobra/.config/hypr/configs/envs.conf: Read Succeeded
env = XCURSOR_SIZE,24
env = GPG_TTY,$(tty)
env = SSH_AUTH_SOCK,$(gpgconf --list-dirs agent-ssh-socket)
env = GDK_BACKEND,wayland,x11
env = QT_QPA_PLATFORM,wayland;xcb
env = WLR_NO_HARDWARE_CURSORS,1
env = QT_QPA_PLATFORMTHEME,qt6ct
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = MAKEFLAGS,-j 8
env = GTK_THEME,Nordic-v40
Config File: /home/cobra/.config/hypr/configs/custom-envs.conf: Read Succeeded
env = GDK_SCALE,2
env = MAKEFLAGS,-j 16
Config File: /home/cobra/.config/hypr/configs/setBackground.conf: Read Succeeded
exec-once=bash ~/.config/hypr/scripts/selectBgImage.sh
source=~/.cache/wal/hyprland-colors.conf
Config File: /home/cobra/.cache/wal/hyprland-colors.conf: Read Succeeded
# https://github.com/dylanaraps/pywal/wiki/User-Template-Files
# pywal's rgb / rgba functions
$wallpaper = /home/cobra/wallpapers/space/0UtpRz5g-wallha.com.png
$background = rgb(0f0d10)
$foreground = rgb(dcddd0)
$cursor = rgb(dcddd0)
$color0 = rgb(0f0d10)
$color1 = rgb(737268)
$color2 = rgb(7F8074)
$color3 = rgb(8D8C76)
$color4 = rgb(A2A496)
$color5 = rgb(ADAD93)
$color6 = rgb(BFC0A5)
$color7 = rgb(dcddd0)
$color8 = rgb(9a9a91)
$color9 = rgb(737268)
$color10 = rgb(7F8074)
$color11 = rgb(8D8C76)
$color12 = rgb(A2A496)
$color13 = rgb(ADAD93)
$color14 = rgb(BFC0A5)
$color15 = rgb(dcddd0)
Config File: /home/cobra/.config/hypr/configs/execs.conf: Read Succeeded
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=/usr/lib/polkit-kde-authentication-agent-1
exec-once=waybar
exec-once=nm-applet --indicator
exec-once=blueman-applet
exec-once=dunst
exec-once=wlsunset -l 47.3 -L 8.5
exec-once=sleep 2s && nextcloud --background
exec-once=bash ~/.config/hypr/scripts/portal-startup.sh
exec=import-gsettings
exec-once=hypridle
Config File: /home/cobra/.config/hypr/configs/custom-execs.conf: Read Succeeded
exec-once=ckb-next -b
exec-once=/usr/lib/polkit-kde-authentication-agent-1
Config File: /home/cobra/.config/hypr/configs/key-bindings.conf: Read Succeeded
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod SHIFT, Q, killactive,
bind = $mainMod SHIFT, E, exit,
bind = $mainMod, E, exec, nautilus
bind = $mainMod, N, exec, bash ~/.config/hypr/scripts/selectBgImage.sh
bind = $mainMod, F, fullscreen
bind = $mainMod, SPACE, togglefloating,
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, S, togglesplit, # dwindle
# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, H, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, L, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, K, movefocus, u
bind = $mainMod, down, movefocus, d
bind = $mainMod, J, movefocus, d
# Move window with mainMod + arrow keys
bind = $mainMod SHIFT, left, movewindow, l
bind = $mainMod SHIFT, H, movewindow, l
bind = $mainMod SHIFT, right, movewindow, r
bind = $mainMod SHIFT, L, movewindow, r
bind = $mainMod SHIFT, up, movewindow, u
bind = $mainMod SHIFT, K, movewindow, u
bind = $mainMod SHIFT, down, movewindow, d
bind = $mainMod SHIFT, J, movewindow, d
# Switch workspaces with mainMod + [0-9]
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
# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspace, 1
bind = $mainMod SHIFT, 2, movetoworkspace, 2
bind = $mainMod SHIFT, 3, movetoworkspace, 3
bind = $mainMod SHIFT, 4, movetoworkspace, 4
bind = $mainMod SHIFT, 5, movetoworkspace, 5
bind = $mainMod SHIFT, 6, movetoworkspace, 6
bind = $mainMod SHIFT, 7, movetoworkspace, 7
bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10
# Grouping
bind = $mainMod, G, togglegroup
# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1
# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
# Apps
bind = $mainMod, D, exec, wofi --show drun --allow-images --insensitive
bind = $mainMod, Return, exec, kitty
bind = $mainMod SHIFT, A, exec, hyprlock
# Screenshoting
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" - | swappy -f -
bind = $mainMod SHIFT, P, exec, grim ~/screens/$(date +'%s_grim.png')
Config File: /home/cobra/.config/hypr/configs/window_rules.conf: Read Succeeded
windowrule = opacity 0.92 override 0.65 override,^(kitty)$ # set opacity to 0.9 active and 0.65 inactive for kitty
windowrule = opacity 0.9 override 0.65 override,^(signal)$
windowrule = opacity 0.9 override 0.65 override,^(org.gnome.Nautilus)$
windowrule = opacity 0.9 override 0.65 override,^(Org.gnome.Nautilus)$
windowrulev2 = immediate, class:^(cs2)$
Config File: /home/cobra/.config/hypr/configs/custom-devices.conf: Read Succeeded
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device {
name = epic mouse V1
sensitivity = -0.5
}
device {
name = roccat-roccat-kone-aimo-16k-mouse
sensitivity = -0.5
}
device {
name = roccat-roccat-kone-emp-mouse
sensitivity = -0.5
}
device {
name = roccat-roccat-kone-xp
sensitivity = -0.5
}
# Laptop touchpad
device {
name = elan0763:00-04f3:31ec-touchpad
accel_profile = adaptive
sensitivity = 0
}
======Config-End========
Bug or Regression?
Bug
Description
Whenever any action is executed that requests the pinentry-program configured in ~/.gnupg/gpg-agent.conf to open, Hyprland crashes back to the Login screen (SDDM in my case).
I am using pinentry-gtk-2
How to reproduce
Execute any action that causes pinentry-gtk-2 to open
Crash reports, logs, images, videos
--------------------------------------------
Hyprland Crash Report
--------------------------------------------
*thud*
Hyprland received signal 11(SEGV)
Version: 553232a3e4c112c8511309e6b685cb614895e714
Tag: v0.40.0-137-g553232a3
System info:
System name: Linux
Node name: ATLANTIS-LAB
Release: 6.8.7-arch1-1-vivepro2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 30 Apr 2024 06:57:16 +0000
GPU:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] [1002:744c] (rev c8) (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) [0x5fedf4b068a1]
getBacktrace()
??:?
#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x189e) [0x5fedf4a98ece]
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::__sv_wrapper, std::allocator<char> const&)
/usr/include/c++/14.1.1/bits/basic_string.h:182 (discriminator 2)
#2 | Hyprland(_Z25handleUnrecoverableSignali+0x6d) [0x5fedf4a33ead]
handleUnrecoverableSignal(int)
/usr/src/debug/hyprland-git/Hyprland/build/../src/Compositor.cpp:58
#3 | /usr/lib/libc.so.6(+0x3cae0) [0x7e04f1650ae0]
??
??:0
#4 | Hyprland(_ZN4CXWM8readPropE14CSharedPointerI16CXWaylandSurfaceEjP24xcb_get_property_reply_t+0x7bd) [0x5fedf4c5329d]
CWeakPointer<CXWaylandSurface>& std::vector<CWeakPointer<CXWaylandSurface>, std::allocator<CWeakPointer<CXWaylandSurface> > >::emplace_back<CWeakPointer<CXWaylandSurface> >(CWeakPointer<CXWaylandSurface>&&)
/usr/include/c++/14.1.1/bits/vector.tcc:114
#5 | Hyprland(_ZN4CXWM14readWindowDataE14CSharedPointerI16CXWaylandSurfaceE+0x2d5) [0x5fedf4c5c705]
CXWM::readWindowData(CSharedPointer<CXWaylandSurface>)
/usr/src/debug/hyprland-git/Hyprland/build/../src/xwayland/XWM.cpp:942 (discriminator 3)
#6 | Hyprland(_ZN4CXWM16handleMapRequestEP23xcb_map_request_event_t+0x384) [0x5fedf4c54c34]
CXWM::handleMapRequest(xcb_map_request_event_t*)
/usr/src/debug/hyprland-git/Hyprland/build/../src/xwayland/XWM.cpp:109 (discriminator 2)
#7 | Hyprland(_ZN4CXWM7onEventEij+0x15b) [0x5fedf4c5b6fb]
CXWM::onEvent(int, unsigned int)
/usr/src/debug/hyprland-git/Hyprland/build/../src/xwayland/XWM.cpp:674
#8 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7e04f219eae2]
??
??:0
#9 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7e04f219f2d7]
??
??:0
#1 | Hyprland(_ZN17CEventLoopManager9enterLoopEP10wl_displayP13wl_event_loop+0x55) [0x5fedf4b31785]
std::__new_allocator<char>::allocate(unsigned long, void const*)
/usr/include/c++/14.1.1/bits/new_allocator.h:151
#11 | Hyprland(main+0x7c3) [0x5fedf49dc343]
main
/usr/src/debug/hyprland-git/Hyprland/build/../src/main.cpp:118 (discriminator 1)
#12 | /usr/lib/libc.so.6(+0x25c88) [0x7e04f1639c88]
??
??:0
#13 | /usr/lib/libc.so.6(__libc_start_main+0x8c) [0x7e04f1639d4c]
??
??:0
#14 | Hyprland(_start+0x25) [0x5fedf4a05025]
_start
??:?
Log tail:
[LOG] Updating keyboard 5fedf6c3c480's translation state from an active index 0
[LOG] Set the keyboard layout to ch and variant to de for keyboard "roccat-roccat-kone-aimo-16k"
[LOG] ApplyConfigToKeyboard for "eee-pc-wmi-hotkeys", hasconfig: 0
[LOG] Attempting to create a keymap for layout ch with variant de (rules: , model: , options: caps:swapescape)
[LOG] Updating keyboard 5fedf6ca0c90's translation state from an active index 0
[LOG] Set the keyboard layout to ch and variant to de for keyboard "eee-pc-wmi-hotkeys"
[LOG] ApplyConfigToKeyboard for "ckb1:-corsair-gaming-k95-rgb-platinum-keyboard-vkb", hasconfig: 0
[LOG] Attempting to create a keymap for layout ch with variant de (rules: , model: , options: caps:swapescape)
[LOG] Updating keyboard 5fedf6d05890's translation state from an active index 0
[LOG] Set the keyboard layout to ch and variant to de for keyboard "ckb1:-corsair-gaming-k95-rgb-platinum-keyboard-vkb"
[LOG] Applied config to mouse roccat-roccat-kone-aimo-16k-mouse, sens -0.50
[LOG] Applied config to mouse roccat-roccat-kone-aimo-16k-consumer-control-1, sens 0.00
[LOG] Applied config to mouse ckb1:-corsair-gaming-k95-rgb-platinum-keyboard-vm, sens 0.00
[LOG] Applying monitor rule for DP-1
[LOG] Not applying a new rule to DP-1 because it's already applied!
[LOG] Applying monitor rule for DP-2
[LOG] Not applying a new rule to DP-2 because it's already applied!
[LOG] Searching for matching rules for kitty (title: cobra@ATLANTIS-LAB:~)
[LOG] Window rule opacity 0.92 override 0.65 override -> ^(kitty)$ matched [Window 5fedf6a9adc0: title: "cobra@ATLANTIS-LAB:~"]
[LOG] Registered signal for owner 5fedf6c035b0: 5fedf6b35ff8 -> 5fedf6c03798 (owner: CLayerShellResource)
[LOG] Registered signal for owner 5fedf6c035b0: 5fedf6b35fb8 -> 5fedf6c03800 (owner: CLayerShellResource)
[LOG] Registered signal for owner 5fedf6bfd818: 5fedf6b35ff8 -> 5fedf6bfd898 (owner: CWLSurface)
[LOG] Registered signal for owner 5fedf6bfd818: 5fedf6b35fb8 -> 5fedf6bfd900 (owner: CWLSurface)
[LOG] CWLSurface 5fedf6bfd818 called init()
[LOG] LayerSurface 5fedf6c035b0 (namespace notifications layer 3) created on monitor DP-1
[LOG] [LayerShell] New wlr_layer_surface 5fedf6c035b0
[LOG] Registered signal for owner 5fedf6b35ce0: 5fedf6b35ff8 -> 5fedf6cd80a0 (owner: FractionalScale)
[LOG] LayerSurface 1 mapped
[LOG] Searching for matching rules for kitty (title: kitty +kitten ssh [email protected] -p 2223)
[LOG] Window rule opacity 0.92 override 0.65 override -> ^(kitty)$ matched [Window 5fedf6a9adc0: title: "kitty +kitten ssh [email protected] -p 2223"]
[LOG] Window 5fedf6a9adc0 set title to kitty +kitten ssh [email protected] -p 2223
[LOG] Searching for matching rules for kitty (title: ssh [email protected] -p 2223)
[LOG] Window rule opacity 0.92 override 0.65 override -> ^(kitty)$ matched [Window 5fedf6a9adc0: title: "ssh [email protected] -p 2223"]
[LOG] Window 5fedf6a9adc0 set title to ssh [email protected] -p 2223
[LOG] [xwm] New XSurface at 5fedf74be360 with xid of 8388609
[LOG] [xwm] New XWayland window at 5fedf6a9bc30 for surf 5fedf74be360
[LOG] [xwm] New XSurface at 5fedf73bb5f0 with xid of 8388611
[LOG] [xwm] New XWayland window at 5fedf6c37270 for surf 5fedf73bb5f0
[LOG] [xwm] Handled message prop 304 -> _NET_WM_STATE
[LOG] [xwm] Mapping window 8388611 in X (geometry 343x189 at 1748x985))
[LOG] Searching for matching rules for Pinentry-gtk-2 (title: )
[LOG] Window 5fedf6c37270 set class to Pinentry-gtk-2
[LOG] [xwm] Handled prop 67 -> ?
[LOG] Searching for matching rules for Pinentry-gtk-2 (title: [19858]@ATLANTIS-LAB (/usr/bin/ssh -p 2223 -t -o ControlMaster=auto -o ControlPath=/run/user/1000/kssh-19612-%C -o ControlPersist=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -o TCPKeepAliv)
[LOG] Window 5fedf6c37270 set title to [19858]@ATLANTIS-LAB (/usr/bin/ssh -p 2223 -t -o ControlMaster=auto -o ControlPath=/run/user/1000/kssh-19612-%C -o ControlPersist=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -o TCPKeepAliv
[LOG] [xwm] Handled prop 39 -> ?