100% CPU Usage of XWayland in JetBrains IDEs

As in the title, after upgrading to 6.16.9 or 6.16.10 I experience abnormal CPU usage by kwin_wayland process which makes PC noisy and interface is laggy.

Booting to 6.16.8-200 resolves the issue.

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.8-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 4070 Ti
Manufacturer: ASUS

NVidia drivers installed, I can even run games with Steam

modinfo -m nvidia
filename:       /lib/modules/6.16.8-200.fc42.x86_64/extra/nvidia/nvidia.ko
import_ns:      DMA_BUF
alias:          char-major-195-*
version:        580.82.09
supported:      external
license:        Dual MIT/GPL
firmware:       nvidia/580.82.09/gsp_tu10x.bin
firmware:       nvidia/580.82.09/gsp_ga10x.bin
softdep:        pre: ecdh_generic,ecdsa_generic
srcversion:     9E17F99E09DA779BF707BEF
alias:          pci:v000010DEd*sv*sd*bc06sc80i00*
alias:          pci:v000010DEd*sv*sd*bc03sc02i00*
alias:          pci:v000010DEd*sv*sd*bc03sc00i00*
alias:          of:N*T*Cnvidia,tegra264-displayC*
alias:          of:N*T*Cnvidia,tegra264-display
alias:          of:N*T*Cnvidia,tegra234-displayC*
alias:          of:N*T*Cnvidia,tegra234-display
depends:        
name:           nvidia
retpoline:      Y
vermagic:       6.16.8-200.fc42.x86_64 SMP preempt mod_unload 
parm:           NvSwitchRegDwords:NvSwitch regkey (charp)
parm:           NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid...] (charp)
parm:           NVreg_ResmanDebugLevel:int
parm:           NVreg_RmLogonRC:int
parm:           NVreg_ModifyDeviceFiles:int
parm:           NVreg_DeviceFileUID:int
parm:           NVreg_DeviceFileGID:int
parm:           NVreg_DeviceFileMode:int
parm:           NVreg_InitializeSystemMemoryAllocations:int
parm:           NVreg_UsePageAttributeTable:int
parm:           NVreg_EnablePCIeGen3:int
parm:           NVreg_EnableMSI:int
parm:           NVreg_EnableStreamMemOPs:int
parm:           NVreg_RestrictProfilingToAdminUsers:int
parm:           NVreg_PreserveVideoMemoryAllocations:int
parm:           NVreg_EnableS0ixPowerManagement:int
parm:           NVreg_S0ixPowerManagementVideoMemoryThreshold:int
parm:           NVreg_DynamicPowerManagement:int
parm:           NVreg_DynamicPowerManagementVideoMemoryThreshold:int
parm:           NVreg_EnableGpuFirmware:int
parm:           NVreg_EnableGpuFirmwareLogs:int
parm:           NVreg_OpenRmEnableUnsupportedGpus:int
parm:           NVreg_EnableUserNUMAManagement:int
parm:           NVreg_MemoryPoolSize:int
parm:           NVreg_KMallocHeapMaxSize:int
parm:           NVreg_VMallocHeapMaxSize:int
parm:           NVreg_IgnoreMMIOCheck:int
parm:           NVreg_NvLinkDisable:int
parm:           NVreg_EnablePCIERelaxedOrderingMode:int
parm:           NVreg_RegisterPCIDriver:int
parm:           NVreg_RegisterPlatformDeviceDriver:int
parm:           NVreg_EnableResizableBar:int
parm:           NVreg_EnableDbgBreakpoint:int
parm:           NVreg_EnableNonblockingOpen:int
parm:           NVreg_CoherentGPUMemoryMode:charp
parm:           NVreg_RegistryDwords:charp
parm:           NVreg_RegistryDwordsPerDevice:charp
parm:           NVreg_RmMsg:charp
parm:           NVreg_GpuBlacklist:charp
parm:           NVreg_TemporaryFilePath:charp
parm:           NVreg_ExcludedGpus:charp
parm:           NVreg_DmaRemapPeerMmio:int
parm:           NVreg_RmNvlinkBandwidth:charp
parm:           NVreg_RmNvlinkBandwidthLinkCount:int
parm:           NVreg_ImexChannelCount:int
parm:           NVreg_CreateImexChannel0:int
parm:           NVreg_GrdmaPciTopoCheckOverride:int
parm:           rm_firmware_active:charp
nvidia-smi
Fri Oct 10 11:12:22 2025       
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.82.09              Driver Version: 580.82.09      CUDA Version: 13.0     |
+-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4070 Ti     Off |   00000000:01:00.0  On |                  N/A |
|  0%   50C    P5             17W /  285W |    3797MiB /  12282MiB |      3%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

If you boot the previous kernel is the problem fixed?

Do you know what triggers the 100% CPU?

Maybe it’s triggered by a X11 app you run?

You can install xwininfo and run xwininfo -root -tree to see which windows Xwayland is handling.

Yes if I boot the previous kernel (the one which I’m on currently, 6.16.8), the problem disappears.

I know without checking which app causes it - it’s IntelliJ Idea IDE, my main tool for work. When I close it, CPU usage is back to normal. When I start it, after few minutes CPU goes up to 100%.

Update: The problem is still present, even on the 6.16.8 kernel.

Can get an intellij that works with wayland?

What do you mean? The problem started some time ago, but I cannot tell which exact Fedora update is faulty as new updates come every day. It’s Wayland problem.

Which process is hitting 100% when you fire up IDEA? Is the IDE doing anything specific at the time (building skeletons/docs/re-indexing a codebase/whatever)

I ask because I’m using Pycharm, which I imagine will share much of the chrome rendering code with the rest of the JetBrains products, on Wayland, using kernel 6.16.10 and I can’t replicate it.

If it’s a specific IntelliJ IDEA issue, is it Community or the paid version? I’ve got a copy of Community downloading now to attempt to replicate it.

It would be useful to know which process is top of the CPU usage pile so we know in which direction to dig further.

htop output, PyCharm is also affected:

Is it possible to somehow disable Wayland and use a more reliable tech in Fedora? This behavior is very annoying.

PyCharm 2025.2.3
Build #PY-252.26830.99, built on October 2, 2025
Source revision: 1ca1b7cb209ae
Runtime version: 21.0.8+9-b1038.72 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.16.10-200.fc42.x86_64
Fedora Linux 42 (KDE Plasma Desktop Edition); glibc: 2.41
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 24
Registry:
  ide.experimental.ui=true
  idea.islands.feedback2.enabled=false
  completion.cloud.adaptive.debounce.is.active=true
Non-Bundled Plugins:
  com.github.leomillon.uuidgenerator (4.5.1)
  org.jetbrains.junie (252.336.237)
  name.kropp.intellij.makefile (252.25557.77)
  IdeaVIM (2.27.2)
  String Manipulation (9.16.0)
  org.sylfra.idea.plugins.linessorter (1.0.1)
  com.intellij.mermaid (0.0.26+IJ.252)
  com.intellij.ml.llm (252.26830.99)
  izhangzhihao.rainbow.brackets (2025.3.5)
  net.ashald.envfile (3.4.2)
  PlantUML integration (7.13.0-IJ2023.2)
Current Desktop: KDE

The problem is software that has not been updated to use a Wayland backend for its GUI.

Wayland tech is not the problem.

Odd - I obviously see the same Xwayland processes running when PyCharm is active but very quickly it re-nices itself to -2, and CPU use is single digits.

You’re running KDE and Fedora only supports and ships KDE with Wayland these days. I presume some of the other spins still use X11 so maybe that is an option for you. On the other hand (and I know this doesn’t help your issue!), but it can’t be entirely a Wayland issue, because I’m on KDE using Wayland, running the same software (Pycharm 2025.2.3 which I installed directly - i.e. outside a flatpak) and it’s working as expected.

RTX2070, Nvidia proprietary drivers on Kernel 6.16.10 - no issues, 580.82 drivers, same as you

And this is how htop looks before 100% CPU usage starts to happen:


Note that something weird is happening – in my previous screenshot pycharm was at the top too – with a constant ~5-8% CPU usage when idle.

Are there means to somehow “clean up”/“reset” Wayland? Or remove all visual bell and whistles which might cause this?

(Guessing to a certain degree here, so take with a pinch of salt).

When the IDE fires up, the JIT is running to JIT the code of the application itself - you can see this if you fire up the application and immediately go to the IDE’s Help/Diagnostics/Activity Monitor pane. I see 170% activity for a few seconds in there, mostly by the JIT, and it continues but dies down over the course of the next 20 seconds or so. My installation also goes off and tries to check which plugins I’ve got installed, probably checks version numbers, reaches out for updates, etc.

Perhaps this workload is being displayed by XWayland whilst the process is initialising. I doubt it, but /shrug.

Eventually, on my system, everything calms down and settles to idle basically - just as you’d expect.

Sounds like your installation does not calm down and you see prolonged CPU usage, albeit on one core.

Have you tried firing up either of these two IDE’s from the command line and seeing what they complain about to stderr? MY copy of Pycharm for example, lists out the plugins is cannot load as I have disabled them and that’s it… it goes silent until I shut it down.

2025-10-13 10:12:55,294 [    388]   WARN - #c.i.i.p.PluginManager - Problems found loading plugins:
  Plugin 'AI Playground' (intellij.aiplayground) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Angular' (AngularJS) requires plugin with id=HtmlTools to be enabled
  Plugin 'Dev Containers' (org.jetbrains.plugins.docker.gateway) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'CSS' (com.intellij.css) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Data Wrangler' (com.intellij.dataWrangler.plugin) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Database Tools and SQL' (com.intellij.database) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'dbt Support' (org.jetbrains.dbt) requires plugin with id=com.intellij.diagram to be enabled
  Plugin 'Remote Development Gateway' (com.jetbrains.gateway) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Shared Project Indexes' (intellij.indexing.shared) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'JavaScript and TypeScript' (JavaScript) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Node.js Remote Interpreter' (org.jetbrains.plugins.node-remote-interpreter) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Django' (com.intellij.python.django) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Python' (Pythonid) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'SSH Remote Run' (org.jetbrains.plugins.remote-run) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Tailwind CSS' (com.intellij.tailwindcss) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Time Tracking' (com.intellij.tasks.timeTracking) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'FTP/SFTP/WebDAV Connectivity' (com.jetbrains.plugins.webDeployment) requires plugin with id=com.intellij.modules.ultimate to be enabled
  Plugin 'Polymer & Web Components' (com.intellij.plugins.webcomponents) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'React' (com.intellij.react) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Stylelint' (com.intellij.stylelint) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Vite' (intellij.vitejs) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Webpack' (intellij.webpack) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Less' (org.jetbrains.plugins.less) has dependency on 'CSS' which cannot be loaded
  Plugin 'TSLint' (tslint) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Sass' (org.jetbrains.plugins.sass) has dependency on 'CSS' which cannot be loaded
  Plugin 'Prettier' (intellij.prettierJS) has dependency on 'com.intellij.modules.javascript' which is not installed
  Plugin 'Next.js' (intellij.nextjs) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'JavaScript Debugger' (JavaScriptDebugger) has dependency on 'com.intellij.modules.javascript' which is not installed
  Plugin 'Shared Indexes for Python' (intellij.python.sharedIndexes) has module dependency 'intellij.indexing.shared.generator' which cannot be loaded or missing
  Plugin 'Karma' (Karma) has dependency on 'com.intellij.modules.javascript' which is not installed
  Plugin 'PostCSS' (org.intellij.plugins.postcss) has dependency on 'CSS' which cannot be loaded
  Plugin 'Styled Components & Styled JSX' (com.deadlock.scsyntax) has dependency on 'CSS' which cannot be loaded
  Plugin 'DataSpell Custom Cell' (com.intellij.dataspell.jupyter.customCells) has dependency on 'Database Tools and SQL' which cannot be loaded
  Plugin 'PyScript' (com.jetbrains.python.pyscript) has dependency on 'Python' which cannot be loaded
  Plugin 'Node.js' (NodeJS) has dependency on 'com.intellij.modules.javascript' which is not installed
  Plugin 'JavaScript Intention Power Pack' (JSIntentionPowerPack) has dependency on 'JavaScript and TypeScript' which cannot be loaded
  Plugin 'Vue.js' (org.jetbrains.plugins.vue) has dependency on 'JavaScript and TypeScript' which cannot be loaded
2025-10-13 10:12:55,996 [   1090]   WARN - #c.i.w.i.i.l.m.ModuleBridgeLoaderService - Loaded from cache, but no serialized modules found. Workspace model cache will be ignored, project structure will be recreated.
JCEF_V(12:57:728): Found cef_server binary '/usr/local/bin/pycharm-2025.2.3/jbr/lib/cef_server' via System.getProperty('java.home')=/usr/local/bin/pycharm-2025.2.3/jbr
JCEF_V(12:57:728): Java is started via native launcher. Found cef_server path /usr/local/bin/pycharm-2025.2.3/jbr/lib/cef_server (via system propety)
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Some skeletons failed to generate
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._ARC4
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._Salsa20
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._chacha20
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._pkcs1_decode
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_aes
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_aesni
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_arc2
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_blowfish
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_cast
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_cbc
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_cfb
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_ctr
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_des
2025-10-13 10:13:03,413 [   8507]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_des3
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_ecb
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_eksblowfish
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_ocb
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Cipher._raw_ofb
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._BLAKE2b
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._BLAKE2s
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._MD2
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._MD4
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._MD5
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._RIPEMD160
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._SHA1
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._SHA224
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._SHA256
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._SHA384
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._SHA512
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._ghash_clmul
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._ghash_portable
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._keccak
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Hash._poly1305
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Math._modexp
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Protocol._scrypt
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.PublicKey._curve25519
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.PublicKey._curve448
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.PublicKey._ec_ws
2025-10-13 10:13:03,414 [   8508]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.PublicKey._ed25519
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.PublicKey._ed448
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Util._cpuid_c
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - Cryptodome.Util._strxor
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - PyQt6.QtBluetooth
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - apsw.__init__
2025-10-13 10:13:03,415 [   8509]   WARN - #c.j.p.s.s.PySkeletonRefresher - libdnf.

There is a lot going on… but Wayland taking 100% CPU is a Wayland problem, whatever Idea would be doing internally. Is there a way to reset Wayland to “factory” settings so I have the same configuration as yours? Or did you set some specific options?

1000
2025-10-13 11:39:35,632 [ 740510]   WARN - #c.j.p.d.PyStackFrame - Timeout waiting for response on 114
com.jetbrains.python.debugger.PyDebuggerException: Timeout waiting for response on 114
        at com.jetbrains.python.debugger.pydev.AbstractCommand.execute(AbstractCommand.java:163)
        at com.jetbrains.python.debugger.pydev.RemoteDebugger.executeCommand(RemoteDebugger.java:809)
        at com.jetbrains.python.debugger.pydev.RemoteDebugger.loadFrame(RemoteDebugger.java:199)
        at com.jetbrains.python.debugger.pydev.MultiProcessDebugger.loadFrame(MultiProcessDebugger.java:217)
        at com.jetbrains.python.debugger.PyDebugProcess.loadFrame(PyDebugProcess.java:857)
        at com.jetbrains.python.debugger.PyStackFrame.lambda$computeChildren$2(PyStackFrame.java:122)
        at com.intellij.openapi.application.impl.ApplicationImpl$4.run(ApplicationImpl.java:326)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:572)
        at com.intellij.util.concurrency.ContextCallable.lambda$call$1(ContextCallable.java:86)
        at com.intellij.util.concurrency.ContextCallable.call(ContextCallable.java:95)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:317)
        at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
        at com.intellij.util.concurrency.ChildContext$runInChildContext$1.invoke(propagation.kt:167)
        at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:173)
        at com.intellij.util.concurrency.ChildContext.runInChildContext(propagation.kt:167)
        at com.intellij.util.concurrency.ContextRunnable.run(ContextRunnable.java:27)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
        at java.base/java.lang.Thread.run(Thread.java:1583)
1000
1000
1000
1000
2025-10-13 11:40:35,639 [ 800517]   WARN - #c.j.p.d.PyStackFrame - Suppressed a frequent exception logged for the 2nd time: Timeout waiting for response on 114
1000
1000
1000
1000
2025-10-13 11:41:38,404 [ 863282]   WARN - #c.j.p.d.p.MultiProcessDebugger - Suppressed a frequent exception logged for the 10th time: Accept timed out
1000
1000
1000
1000
2025-10-13 11:43:35,654 [ 980532]   WARN - #c.j.p.d.PyStackFrame - Suppressed a frequent exception logged for the 5th time: Timeout waiting for response on 114
2025-10-13 11:44:41,628 [1046506]   WARN - #c.i.o.v.i.h.RemoteFileInfoImpl - Virtual local file not found for /home/jacek/.cache/JetBrains/PyCharm2025.2/httpFileSystem/catalog.json
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
2025-10-13 11:47:40,693 [1225571] SEVERE - #c.i.o.a.i.ActionUpdater - DuplexConsoleView$SwitchDuplexConsoleViewAction#presentation@RunnerToolbar (com.intellij.execution.console.DuplexConsoleView$SwitchDuplexConsoleViewAction), text='Show Debug Console'
java.lang.IllegalStateException: WriteIntentReadAction can not be called from ReadAction
        at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.doRunWriteIntentReadAction(NestedLocksThreadingSupport.kt:660)
        at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runPreventiveWriteIntentReadAction(NestedLocksThreadingSupport.kt:640)
        at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runWriteIntentReadAction(NestedLocksThreadingSupport.kt:633)
        at com.intellij.openapi.application.impl.ApplicationImpl.runWriteIntentReadAction(ApplicationImpl.java:1166)
        at com.intellij.openapi.application.WriteIntentReadAction.compute(WriteIntentReadAction.java:55)
        at com.intellij.openapi.application.WriteIntentReadAction.run(WriteIntentReadAction.java:23)
        at com.intellij.openapi.editor.impl.EditorImpl$MyScrollPane.layout(EditorImpl.java:5778)
        at java.desktop/java.awt.Container.doLayout(Container.java:1530)
        at java.desktop/java.awt.Container.validateTree(Container.java:1725)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validateTree(Container.java:1734)
        at java.desktop/java.awt.Container.validate(Container.java:1660)
        at java.desktop/java.awt.CardLayout.show(CardLayout.java:556)
        at com.intellij.execution.console.DuplexConsoleView.enableConsole(DuplexConsoleView.java:100)
        at com.jetbrains.python.console.PythonDebugLanguageConsoleView.enableConsole(PythonDebugLanguageConsoleView.java:110)
        at com.intellij.execution.console.DuplexConsoleView$SwitchDuplexConsoleViewAction.update(DuplexConsoleView.java:324)
        at com.intellij.openapi.actionSystem.ex.ActionUtil.updateAction$lambda$2(ActionUtil.kt:265)
        at com.intellij.openapi.actionSystem.ex.ActionUtil.updateAction(ActionUtil.kt:273)
        at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.kt:234)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$success$1$1$1.invoke(ActionUpdater.kt:508)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater$updateAction$success$1$1$1.invoke(ActionUpdater.kt:507)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater.callAction$lambda$2(ActionUpdater.kt:157)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater.computeOnEdt$lambda$10(ActionUpdater.kt:187)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$deferred$1.invokeSuspend$lambda$0(ActionUpdater.kt:435)
        at com.intellij.openapi.application.ActionsKt.runReadAction$lambda$3(actions.kt:25)
        at com.intellij.platform.locking.impl.NestedLocksThreadingSupport.runReadAction(NestedLocksThreadingSupport.kt:784)
        at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:1038)
        at com.intellij.openapi.application.ActionsKt.runReadAction(actions.kt:25)
        at com.intellij.openapi.actionSystem.impl.ActionUpdater$computeOnEdt$deferred$1.invokeSuspend(ActionUpdater.kt:434)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:225)
        at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:122)
        at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
        at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
        at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:781)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:728)
        at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:722)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
        at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:750)
        at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:595)
        at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:488)
        at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10$lambda$9(IdeEventQueue.kt:313)
        at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:865)
        at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12$lambda$11$lambda$10(IdeEventQueue.kt:312)
        at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$3(IdeEventQueue.kt:974)
        at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:110)
        at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:974)
        at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$12(IdeEventQueue.kt:307)
        at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:347)
        at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
        at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
        at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
        at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
2025-10-13 11:47:40,694 [1225572] SEVERE - #c.i.o.a.i.ActionUpdater - PyCharm 2025.2.3  Build #PY-252.26830.99
2025-10-13 11:47:40,694 [1225572] SEVERE - #c.i.o.a.i.ActionUpdater - JDK: 21.0.8; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2025-10-13 11:47:40,694 [1225572] SEVERE - #c.i.o.a.i.ActionUpdater - OS: Linux
2025-10-13 11:47:40,694 [1225572] SEVERE - #c.i.o.a.i.ActionUpdater - Plugin to blame: Python Community Edition version: 252.26830.99
2025-10-13 11:47:40,694 [1225572] SEVERE - #c.i.o.a.i.ActionUpdater - Last Action: Stop
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
1000
2025-10-13 11:51:41,914 [1466792]   WARN - #c.j.p.d.p.MultiProcessDebugger - Suppressed a frequent exception logged for the 20th time: Accept timed out
1000
2025-10-13 11:51:50,131 [1475009]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Failed to classify context item
ai.grazie.model.cloud.exceptions.HTTPStatusException$TooManyRequests: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-gemini-flash-2.0. Try again later or contact with support.
        at ai.grazie.model.cloud.exceptions.HTTPStatusException$Companion.from(HTTPStatusException.kt:273)
        at ai.grazie.utils.http.UtilsKt.of(utils.kt:119)
        at ai.grazie.utils.http.stream.StreamReaderUtilKt.handleExceptionResponse(StreamReaderUtil.kt:73)
        at ai.grazie.utils.http.stream.StreamReaderUtilKt.access$handleExceptionResponse(StreamReaderUtil.kt:1)
        at ai.grazie.utils.http.stream.StreamReaderUtilKt$readStream$ended$1.invokeSuspend(StreamReaderUtil.kt:28)
        at ai.grazie.utils.http.stream.StreamReaderUtilKt$readStream$ended$1.invoke(StreamReaderUtil.kt)
        at ai.grazie.utils.http.stream.StreamReaderUtilKt$readStream$ended$1.invoke(StreamReaderUtil.kt)
        at io.ktor.client.statement.HttpStatement.execute(HttpStatement.kt:57)
        at io.ktor.client.statement.HttpStatement$execute$1.invokeSuspend(HttpStatement.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
2025-10-13 11:51:50,132 [1475010]   WARN - #c.i.m.l.c.i.CombinedContextLoader - Suppressed a frequent exception logged for the 2nd time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
2025-10-13 11:51:50,136 [1475014]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Failed to classify context item
ai.grazie.model.cloud.exceptions.HTTPStatusException$TooManyRequests: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-gemini-flash-2.0. Try again later or contact with support.
        at ai.grazie.model.cloud.exceptions.HTTPStatusException$Companion.from(HTTPStatusException.kt:273)
        at ai.grazie.utils.http.UtilsKt.of(utils.kt:119)
        at ai.grazie.utils.http.UtilsKt$of$1.invokeSuspend(utils.kt)
        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:613)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:1189)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:778)
        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:765)
2025-10-13 11:51:50,141 [1475019]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Suppressed a frequent exception logged for the 5th time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
2025-10-13 11:51:50,221 [1475099]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Suppressed a frequent exception logged for the 2nd time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
2025-10-13 11:51:50,225 [1475103]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Suppressed a frequent exception logged for the 10th time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
1000
1000
1000
1000
1000
1000
1000
1000
1000
2025-10-13 11:53:56,932 [1601810]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Suppressed a frequent exception logged for the 20th time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
2025-10-13 11:53:57,055 [1601933]   WARN - #c.i.m.l.c.c.c.r.CloudContextTransformer - Suppressed a frequent exception logged for the 5th time: Exception during request to https://api.jetbrains.ai/user/v5/llm/chat/stream/v8 with code 429: Exception during request to https://all.agg.llm.prod.ai.prod-eu-west-1.eks.intellij.net/service/v5/chat/stream/v8 with code 429: Your personal limit reached for requests with LLM profile: google-chat-ge...
^C2025-10-13 11:54:34,925 [1639803]   WARN - #c.i.o.v.i.l.NativeFileWatcherImpl - Watcher terminated with exit code 130

This might be a related issue which I’ve found: Copilot IntelliJ plugin using 100% CPU · community · Discussion #154926 · GitHub

1 Like

OK I found out it’s not “starts after some time”. It starts to go 100% when I open AI chat, and stops when I close it.

Reverting to 2025.1.5 with Jetbrains Toolbox (which has a label “Unified Product”) fixed the issue. It’s still using abnormal amount of CPU (like 90% of a core), but only when scrolling chat.

“Resetting Wayland to default” - no idea. I’m not even sure what that would involve, to be honest. Wayland is a display server, there’s nothing to “reset” as far as I can tell.

As for did I change anything - nope - stock, out of the box, no fiddling performed as there’s not been anything required to be fiddled with. Same for these two IDE’s. Installed and used as-is.

I don’t get any of the timeouts you get, ignoring your Google chat LLM session limits.

[I see you just posted] - looks more like an AI chat interface issue, with Wayland copping the blame for it.

Except in this case, it’s apparently not

1 Like

TYI This should be fixed in 2025.2.4
Issue: https://youtrack.jetbrains.com/issue/LLM-20308/2025.2.2-2025.2.3-High-GPU-usage-when-AI-chat-is-open-and-contains-a-conversation

(this is about GPU but hopefully the fix will work with CPU usage as well)