Open AlanGriffiths opened 1 year ago
Can confirm, we need to look into what's going on here.
I've now got similar high CPU usage in more scenarios.
.desktop
file that enables the Wayland backend. Running Mattermost over X11 doesn't seem to cause any problem.This does seem to be compositing related: forcing compositing to slow down (via --composite-delay 30
) roughly halves these CPU usage figures.
Trying the above "reproducer" with a (less old) laptop which has a 2560x1440@60 screen and Intel graphics:
CPU usage: 9%
And streaming a video from youtube:
CPU usage: 9%
Similarly, using Kodi to play the news through iPlayer:
CPU usage: 9%
Next, plugging in the DisplayLink dock (which added two 1920x1600@Hz monitors, cloned successfully in spite of #3239)
CPU usage: 115%
And reconfiguring the outputs so one is idle (and video on the main and first DL monitor):
CPU usage: 65%
And with even a fraction of the video on the third output:
CPU usage: 115%
I suspect this is evdi related - it happens when I'm driving dual 1920x1600@60.0 monitors over DisplayLink.
Reproducer: FInd the pid of miriway and start a terminal with
top -p <pid of miriway>
docked left andgnome-monitor
on the "resources" tab docked right.With nothing else running that takes an excessive 24-33% CPU. If I put the outputs into clone mode, that jumps to around 70% CPU.
By comparison, I booted a ten year old laptop using the internal display: 2.7% CPU for the same apps.
Related to #3230?
[Original] I don't have a reproducer, so I don't know how much is relevant. But noting here in case more information comes to light.