Bad freezing problem with hardware acceleration, Linux, Wayland, rx580
Bug Description
I was getting bad locking up, and it's the same problem other apps like LocalSend have. You can disable hardware acceleration, for a work-around, but that's a bad solution, especially on an app that needs the acceleration.
I fixed mine by scripting around it. In LocalSend, it's easier to fix with "export GDK_BACKEND=x11" But this didn't fix rustdesk. I think because it opens multiple executables.
It cannot be fixed if launching from a .desktop file either. For my fix, I had to delete the .desktop file, so it can't launch from it. My launcher then becomes a shell script: /usr/share/rustdesk/rustdesk --use-angle=gl "$@" & disown
When launched this way, no lag, no lockups, and it's 1000x faster.
I hope you can fix it, so this work-around is not needed.
How to Reproduce
freezes every time rustdesk is open, and after 2 "force-quit or wait prompts", it comes back, but freezes again whenever you connect, or drag the window.
Expected Behavior
not freezing.
Operating system(s) on local (controlling) side and remote (controlled) side
Ubuntu Linux 26, Wayland, ATI RX580
RustDesk Version(s) on local (controlling) side and remote (controlled) side
1.4.9
Screenshots
it's not a screenshot issue
Additional Context
Does not happen on macOS with the same hardware, or other Linux systems without hardware acceleration., This is a specific problem with Wayland and hardware acceleration.
Source: rustdesk/rustdesk