Weird text glitches in IDE2 text editor

Hello,
first time asking here..
When I start Arduino IDE, for a few moments everything looks normal, but after minute or two, when you start to type, it glitches weirdly, it becomes unresponsive, has delay and then suddenly appears a few chars at once. Text is blinking between grey and white color, selected line is changing even when I dont do anything. (but this is purely graphical, it doesnt type characters I didnt write) This make the IDE nearly unusable, and it bothers me. Has anyone encountered something similar or knows a solution for this? Thank You :slight_smile:

I tried: older version (2.3.3), other installation type (AppImage)

Also I have installed Arduino IDE (2.3.4) on my laptop (AMD CPU, AMD Integrated GPU, Ubuntu 24.04.2 LTS too) and everything works perfectly.

OS: Ubuntu 24.04.2 LTS (Wayland)
IDE version: 2.3.4
Installation type: ZIP Linux 64 bit
GPU: NVIDIA GTX 1060 6 GB
CPU: Intel® Core™ i5-6600K × 4

also sorry for my weird english, not my native lang

Hi @eidam.

I concur. To test your hypothesis, close all Arduino IDE windows, and then start it again, this time with the --disable-gpu flag added to the command line you use to start Arduino IDE (e.g., ./arduino-ide --disable-gpu).

I've tried that, nothing changes,
I also tried LIBGL_ALWAYS_SOFTWARE=1 arduino-ide, (chatgpt suggested) but did nothing too. Update: I got an idea to try unofficial flatpak version, glitching still persist.

Change Wayland back to X and see if that works.

I found a possible solution here:

or if you are using the Flatpak package:

https://github.com/arduino/arduino-ide/issues/2610#issuecomment-2572973491

~/.var/app/cc.arduino.IDE2/config/arduino-ide/GPUCache

Just remove this directory and application is starting properly.