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

Freerdp crash when copy in freerdp after hyprland upgrade to 0.41 #6804

Open
milkpuff opened this issue Jul 7, 2024 · 7 comments
Open

Freerdp crash when copy in freerdp after hyprland upgrade to 0.41 #6804

milkpuff opened this issue Jul 7, 2024 · 7 comments
Labels
bug Something isn't working stale Not much going on

Comments

@milkpuff
Copy link

milkpuff commented Jul 7, 2024

Regression?

No

System Info and Version

Hyprland, built from branch at commit 918d834 (flake.lock: update).
Date: Tue Jun 25 12:06:02 2024
Tag: v0.41.2, commits: 4886

flags: (if any)

System Information:
System name: Linux
Node name: archlinux
Release: 6.9.7-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 28 Jun 2024 04:32:50 +0000

GPU information:
30:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] [1002:1638] (rev c9) (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:

Description

After hyprland upgrade 0.41, my xfreerdp win10 with clipboard rediction, would crash(stuck) when copy in xfreerdp, and remote text failed to be copied to local clipboard.
wl-paste --watch cliphist store runs background. If I don't run wl-paste --watch , xfreerdp copy runs normally, remote text can also be copied to local clipboard. There's something wrong between xfreerdp clipboard rediction and local clipboard or wl-paste --watch.
At first I commited issue to freerdp project: freerdp issue link.
Then I commited issue to wl-clipboard project: wl-clipboard issue link
Unfortunately, it seems not the 2 project's bug. Hope you can have a look at these issue for more information.
At last I downgrade hyprland to 0.40 and found it doesn't have this problem. So I look for help here.

How to reproduce

Hyprland 0.41
wl-clipboard 2.2.1
Run wl-paste --watch cliphist store
Run xfreerdp3 /f /u:xxxx /p:xxxx +clipboard /v:192.168.50.180
Copy any text in xfreerdp. Then xfreerdp would get stuck.

Crash reports, logs, images, videos

No response

@milkpuff milkpuff added the bug Something isn't working label Jul 7, 2024
@vaxerski
Copy link
Member

vaxerski commented Jul 7, 2024

can you bisect

also try on -git

@milkpuff
Copy link
Author

milkpuff commented Jul 8, 2024

@vaxerski

can you bisect

I test it and result is:
121d3a7 is the first bad commit

@vaxerski
Copy link
Member

vaxerski commented Jul 9, 2024

is xfreerdp an X11 app? sounds like it

@milkpuff
Copy link
Author

milkpuff commented Jul 9, 2024

is xfreerdp an X11 app? sounds like it

Yes.

@vaxerski
Copy link
Member

then why should it work on wayland?

@milkpuff
Copy link
Author

then why should it work on wayland?

It works on Xwayland. Something goes wrong with the clipboard redirection.
So which project do you think I should commit issue to 😄.

@vaxerski
Copy link
Member

vaxerski commented Jul 11, 2024

it's likely a hyprland issue but I have little interest in fixing it atm as I have more important things than supporting some old software still running on X

@vaxerski vaxerski added the stale Not much going on label Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Not much going on
Projects
None yet
Development

No branches or pull requests

2 participants