Repository navigation
Description
Description
Hello, I'm having problem with Opencode 1.14.25 ( deb package from opencode.ai website ) on Linux Kubuntu 25.10 with KDE Plasma 6.4.5 Wayland ( kernel version 6.17.0-22-generic ), hardware is ASUS Zephyrus Ryzen R9-5900HS / 32GB RAM / RTX 3060.
Application is taking 50-100% of one CPU core when doing completely nothing ( both OpenCode and opencode-cli ).
Also GUI is VERY SLOW even scrolling settings is very laggy. This is very weird.
I've installed flatpak version 1.4.0 and there is the same issue. Opencode settings menu i scrolling slowly.
Here is additional output from application console and from strace of process:
Application console:
Wayland session detected; using native Wayland first with X11 fallback (auto backend). Set OC_FORCE_X11=1 to force X11.
2026-04-26T12:01:13.613967Z INFO opencode_lib: Initializing app
/usr/bin/xdg-mime: 856: qtpaths: not found
2026-04-26T12:01:14.539737Z INFO opencode_lib: Spawning sidecar on http://127.0.0.1:44323
2026-04-26T12:01:14.539764Z INFO opencode_lib::cli: Spawning sidecar port=44323
2026-04-26T12:01:14.966812Z INFO opencode_lib::cli: Loaded shell environment with -il shell="/bin/bash" env_count=80
2026-04-26T12:01:14.967499Z INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-04-26T12:01:16.419997Z INFO sidecar: opencode_lib::cli: opencode server listening on http://127.0.0.1:44323
2026-04-26T12:01:16.498168Z INFO opencode_lib::server: Server ready elapsed=1.530218473s
2026-04-26T12:01:16.498206Z INFO opencode_lib: Sidecar health check OK
2026-04-26T12:01:16.498216Z INFO opencode_lib: Loading task finished
2026-04-26T12:01:16.498231Z INFO opencode_lib: Loading done, completing initialisation
2026-04-26T12:01:26.970434Z INFO sidecar: opencode_lib::cli: ERROR 2026-04-26T12:01:26 +11100ms service=file.watcher dir=/home/user cause=TimeoutError: TimeoutError
2026-04-26T12:01:26.970467Z INFO sidecar: opencode_lib::cli: at orElse (/$bunfs/root/chunk-9gkgnmat.js:25:15739)
2026-04-26T12:01:26.970478Z INFO sidecar: opencode_lib::cli: at runLoop (/$bunfs/root/chunk-9gkgnmat.js:25:2045)
2026-04-26T12:01:26.970487Z INFO sidecar: opencode_lib::cli: at evaluate (/$bunfs/root/chunk-9gkgnmat.js:25:1435)
2026-04-26T12:01:26.970495Z INFO sidecar: opencode_lib::cli: at (/$bunfs/root/chunk-9gkgnmat.js:25:5589)
2026-04-26T12:01:26.970504Z INFO sidecar: opencode_lib::cli: at FileWatcher.state (/$bunfs/root/chunk-ezeh1gj7.js:11:34680)
2026-04-26T12:01:26.970513Z INFO sidecar: opencode_lib::cli: at FileWatcher.state (definition) (/$bunfs/root/chunk-myr22a1r.js:42:5587)
2026-04-26T12:01:26.970520Z INFO sidecar: opencode_lib::cli: at FileWatcher.init (/$bunfs/root/chunk-9gkgnmat.js:25:2045)
2026-04-26T12:01:26.970528Z INFO sidecar: opencode_lib::cli: at FileWatcher.init (definition) (/$bunfs/root/chunk-myr22a1r.js:42:7154)
2026-04-26T12:01:26.970536Z INFO sidecar: opencode_lib::cli: at InstanceBootstrap.init (/$bunfs/root/chunk-myr22a1r.js:255:7328)
2026-04-26T12:01:26.970545Z INFO sidecar: opencode_lib::cli: at InstanceBootstrap (/$bunfs/root/chunk-myr22a1r.js:255:7500) failed to subscribe
strace of OpenCode GUI PID all the time:
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825694475}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825739314}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825784572}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825830039}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825878440}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825926422}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=825998430}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826059402}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826113879}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826163467}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826209284}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826256498}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826300848}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826344709}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826388430}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826432571}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826476432}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826518826}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826564294}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826607526}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=6452, tv_nsec=826649012}) = 0
strace of opencode-cli PID:
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=328799924}) = 0
futex(0x70660c100150, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c0d4150, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c0f0150, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c0e0154, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c118150, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c0f8150, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c110150, FUTEX_WAKE_PRIVATE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=329180076}) = 0
futex(0x70660c100154, FUTEX_WAKE_PRIVATE, 1) = 1
sched_yield() = 0
clock_gettime(CLOCK_REALTIME, {tv_sec=1777204926, tv_nsec=727359361}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=329415655}) = 0
futex(0x70660c0e0154, FUTEX_WAKE_PRIVATE, 1) = 1
clock_gettime(CLOCK_REALTIME, {tv_sec=1777204926, tv_nsec=727523141}) = 0
futex(0x70660c01d008, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x70660c01d008, FUTEX_WAKE_PRIVATE, 1) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=331162346}) = 0
clock_gettime(CLOCK_MONOTONIC_COARSE, {tv_sec=2641, tv_nsec=330148303}) = 0
pread64(10, "18597444 86044 20391 14224 0 172"..., 256, 0) = 40
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=331474751}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=331523851}) = 0
sched_yield() = 0
epoll_pwait2(4, [{events=EPOLLIN, data=0x5c083320000}], 1024, {tv_sec=0, tv_nsec=42952855}, [], 8) = 1
read(7, "\1\0\0\0\0\0\0\0", 8) = 8
clock_gettime(CLOCK_MONOTONIC_COARSE, {tv_sec=2641, tv_nsec=337148336}) = 0
clock_gettime(CLOCK_MONOTONIC_COARSE, {tv_sec=2641, tv_nsec=337148336}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=338654209}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=338701493}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=338746751}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=338801577}) = 0
clock_gettime(CLOCK_MONOTONIC_COARSE, {tv_sec=2641, tv_nsec=337148336}) = 0
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=338918912}) = 0
futex(0x70660c0d4150, FUTEX_WAKE_PRIVATE, 1) = 1
clock_gettime(CLOCK_MONOTONIC, {tv_sec=2641, tv_nsec=339050007}) = 0
Plugins
No response
OpenCode version
1.14.25
Steps to reproduce
No response
Screenshot and/or share link
btop output:
Pid: Program: Command: Threads: User: MemB Cpu%
21028 OpenCode /usr/bin/OpenCode 41 ****** 253M ⣀⣀⣀⣀⣀ 5,9
21168 opencode-cli /usr/bin/opencode-cli --print-logs --log-level WARN serve --hostname 127.0.0 24 ****** 523M 0,0
top output:
PID UŻYTK. PR NI WIRT REZ WSP S %CPU %PAM CZAS+ KOMENDA
21028 ****** 20 0 72,0g 270168 206380 R 90,7 0,8 4:39.33 OpenCode
21168 ****** 20 0 71,8g 519000 53940 S 2,0 1,6 3:13.35 opencode-cli
PID UŻYTK. PR NI WIRT REZ WSP S %CPU %PAM CZAS+ KOMENDA
30379 ****** 20 0 72,0g 302376 195224 S 72,5 0,9 0:17.13 OpenCode
30528 ****** 20 0 72,0g 503512 69448 S 57,9 1,6 0:57.14 opencode-cli
Operating System
Kubuntu 25.10
Terminal
Konsole
Activity
github-actions commentedon Apr 25, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same, please consider commenting on one of the above instead to consolidate reports. If it is distinct (e.g., specific to the .deb package or Kubuntu), feel free to keep this open.
w0rp commentedon Apr 28, 2026
I also am having this issue. Might have to work on a patch for it myself.
imp4ct7 commentedon Apr 28, 2026
Check package with name "electron" in my case it's working great it's here: https://github.com/anomalyco/opencode/releases
github-actions commentedon Jul 4, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.