| Summary: | Remote Desktop: Dropped frames break damage tracking | ||
|---|---|---|---|
| Product: | [Plasma] KRdp | Reporter: | Adam <adaha> |
| Component: | general | Assignee: | Unassigned bugs <unassigned-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | ahiemstra, aleixpol, kde |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Missing damage events, framebuffer is corrupt | ||
|
Description
Adam
2025-10-13 11:15:16 UTC
>I could not find any information/specification that says how this should be handled. Is it mine or the compositors responsibility to handle the missed damage events? Or is there some other mechanism to avoid this?
I've spent some time reading around and I don't think there's anything we can do at a KDE level.
My understanding is that what TigerVNC now does is correct. There is a SPA_META_HEADER_FLAG_DISCONT which might be better.
Though pipewire documentation could definitely do with being a lot clearer.
In our RDP server we have some backpressure handling where we track the latency and adjust the requested framerate from the server
If you have the opportunity to test on another platform and confirm if it behaves differently please reopen
Thanks for looking into this.
> If you have the opportunity to test on another platform and confirm if it behaves differently please reopen
Tested this on GNOME, where they do damage reporting when using virtual displays. I got the same behaviour as on KDE (damage events get dropped/lost), and the workaround we have is needed there as well.
Had a look at SPA_META_HEADER_FLAG_DISCONT and could not see that it is used anywhere really, and confirmed it is never set on KDE/GNOME.
|