Closed jmcelroy01 closed 1 year ago
Was able to reproduce with 0.26.
After patching/testing, what is the command to uninstall a manually installed xdg-desktop-portal-hyprland so the normal one can be reinstalled from portage without file collision issues?
no clue, remove the files manually? in pacman you can just --overwrite-existing '*'
or something iirc
Just cloned the repo and built. There is no /src/protocols/Screencopy.cpp file to patch?
Finally learned about Gentoo patching. So I tried the file using that approach and it also complains about missing Screencopy.cpp.
closing as if anything this is a hyprland issue not xdph
Same problem, but on artix
I was able to reproduce this issue 3 times and narrow the cause down to this:
In hyprland.conf, I have this line -
exec-once = swayidle timeout 240 'brightnessctl -s && brightnessctl set 5%' resume 'brightnessctl -r' timeout 300 'swaylock --screenshots --clock --indicator --indicator-radius 100 --indicator-thickness 7 --effect-blur 7x5 --effect-vignette 0.5:0.5 --key-hl-color 880033 --line-color 00000000 --inside-color 00000088 --separator-color 00000000 --grace 2 --fade-in 0.2' timeout 360 'hyprctl dispatch dpms off' resume 'hyprctl dispatch dpms on'
If I leave OBS open with a pipewire screen capture (not actively recording), and allow the laptop to dim/lock/turn display off, Hyprland crashed each time immediately after the display turns off. This line seemed to occur all 3 times in the logs -
A backend call failed: Message recipient disconnected from message bus without replying
, so it looks likehyprctl dispatch dpms off
turns off the portal somehow, which cascades into Hyprland crashing after xdg-desktop-portal-hyprland and OBS go down.There are also a fair number of
xdg-desktop-portal-hyprland [ERROR] - wayland: failed to connect to display
lines in the logs. I noticed some inconsistency in OBS prompting for which monitor to capture. I found deleting the pipewire display capture and re-adding it sometimes made it ask which monitor to capture, other times I just opened the settings of the existing pipewire display capture and clicked select monitor a few times and it eventually popped up. I only had a laptop display throughout all of this. This is likely a separate issue, I can open later one if needed.some fastfetch info:
OS: Gentoo 2.13 x86_64 Host: ROG Zephyrus G14 GA402RJ_GA402RJ (1.0) Kernel: 6.1.28-gentoo-x86_64 Display: 2560x1600 @ 120Hz Brightness (amdgpu_bl1): 31% WM: Hyprland (Wayland) CPU: AMD Ryzen 9 6900HS (16) @ 4.933886 GHz GPU 1: AMD Radeon Graphics (RADV REMBRANDT) GPU 2: AMD Radeon RX 6700S (RADV NAVI23) (7.98 GiB) Vulkan: 1.3.246 - radv [Mesa 23.1.1] OpenGL: 4.6 (Compatibility Profile) Mesa 23.1.1 OpenCL: 2.0
Hyprland: 0.25 xdg-desktop-portal-hyprland: 9999 (wayland-desktop overlay) I have xdg-desktop-portal-gtk installed, no -kde or -gnome.
Here are the crash logs
heh, it was too long to paste directly - [hyprland-crash-log-obs-xdg-attachment.txt](https://github.com/hyprwm/xdg-desktop-portal-hyprland/files/11601475/hyprland-crash-log-obs-xdg-attachment.txt)Lmk if I can provide any other useful info, and thanks.
Once 0.26 lands in the Gentoo repo I'll see if it still occurs.