Xpra: Ticket #2093: high CPU on Raspberry Pi

Fedora 29 32 bit on Raspberry Pi 3B

xpra start --start=firefox

firefox is idle

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 1622 weberjn   20   0  276456  53812  19088 S  34.0   5.4  16:55.89 xpra
 1215 weberjn   20   0  172552  49880  23760 S  14.7   5.0   7:35.96 xpra
 1296 weberjn   20   0  598608 227148 101948 S   0.0  23.0   1:20.76 firefox

When firefox is busy with a large download, system locks up after some hours (cpu is hot).

on an intel laptop:

xpra on F29 64 on i3 has <1% cpu



Thu, 03 Jan 2019 10:28:57 GMT - Antoine Martin: owner, description changed

First, since you have two xpra processes, my guess is that you have speaker forwarding enabled and this will consume quite a bit of CPU.

Second, just because Firefox doesn't use much CPU does not mean that it isn't updating its window. Try running the xpra server with the debug flag -d compress to see if there are screen updates being sent.

Finally, please see wiki/ReportingBugs to provide more details so we can help you.


Thu, 03 Jan 2019 20:48:37 GMT - weberjn:

cat .xpra/xpra.conf
speaker=off
printing=off

Thanks, this brought CPU down, would never have thought, that sound is so expensive.

Download active, no user interaction to firefox:

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 1522 weberjn   20   0 1011188 257076 104284 S   2.3  26.0   1:36.75 firefox
 1486 weberjn   20   0  156984  47184  18900 S   0.0   4.8   0:55.76 xpra

Thu, 03 Jan 2019 20:49:36 GMT - weberjn: status changed; resolution set


Sat, 23 Jan 2021 05:42:01 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2093