You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
High CPU usage in desktop app when terminal panel is open #56105
In version 2.0.31 the desktop app adds 20-30% extra CPU load on all cores (i5-8250U) when the terminal panel is open. I think when I tried 1.x it used to pin one core, so this is better, but still enough to continuously spin up the laptop fan.
Thanks for the report! I couldn't reproduce this here, because it needs the desktop app running on a real Linux desktop and our sandbox has no display or GPU. A maintainer with a Linux desktop will need to look into it.
If you get a chance, these would help:
Whether the extra CPU stays the same when the terminal is focused versus unfocused (for example, click into the chat input), since the blinking cursor may matter.
In top or htop, which OpenCode process uses the CPU: the renderer, the GPU process or the opencode-cli service.
These related issues report similar desktop CPU problems, though none of them involves the terminal panel or Linux:
When the terminal panel is open it's ai.opencode.desktop and app.asar that both have much increased CPU usage, both about the same amount. And even xorg uses 2-3x more CPU then (still not a lot in comparison).
It doesn't make a difference whether the opencode app is either in the foreground or the terminal is focused.
Activity
opencode-agent commentedon Oct 16, 2026
Thanks for the report! I couldn't reproduce this here, because it needs the desktop app running on a real Linux desktop and our sandbox has no display or GPU. A maintainer with a Linux desktop will need to look into it.
If you get a chance, these would help:
toporhtop, which OpenCode process uses the CPU: the renderer, the GPU process or theopencode-cliservice.These related issues report similar desktop CPU problems, though none of them involves the terminal panel or Linux:
balazs-endresz commentedon Oct 16, 2026
When the terminal panel is open it's
ai.opencode.desktopandapp.asarthat both have much increased CPU usage, both about the same amount. And even xorg uses 2-3x more CPU then (still not a lot in comparison).It doesn't make a difference whether the opencode app is either in the foreground or the terminal is focused.