Lags, stalls, hangs under Wayland (KDE)

Hello,

First I want to express my gratitude to the cursor team for developing this incredibly cool software - thanks!

Now to my problem, might be a bit lengthy though: after playing it through a zillion times I am really done with windows, so I decided to move from the dark site of power over to Debian 12 / KDE. My PC is a Ryzen 9, Samsung 990 Pro, nVidia RTX 3700 8 GB. While still under Windows I figured 32 GB RAM wasn’t sufficient for my codebase (vsCode was also unhappy :), so I upgraded to a 4*32 GB RAM set.

Usually my machine ran everything to my fullest pleasure, but what I experience under Linux is fuerchterlich (horrible).
In Cursor the graphics get distorted just when moving the mouse pointer, sometimes the complete window blanks out until I move the ptr again, when starting from console I get those “No ptyHost heartbeat after 6 seconds” messages, during which Cursor and sometimes other chromium instances stop responding.

I know that this happens to other users as well, and it seems caused by the electron base of vsCode / Cursor which happens to have incompatibilities with these graphics drivers of that exotic back alley gfx card manufacturer almost no one on this planet seems to use. I might be the only coding customer of them, the others play Doom on it, and I begin to think they rightfully do :wink:

Jokes aside, I am eager to fix this, as I am not going to switch my window manager or god beware go back to Windows for coding. I tried everything listed on the troubleshooting page (all them different command line params, switched the session to X11 - which helped with the gfx but not with the lags), read hours for hours through those 9632 open and 185338 closed issues on vsCode Github to find a solution to no avail.

Is anyone interested in working with me to fix this issue once and for all? Whatever it takes - I run my Deb from a VHD booted through Ventoy - be it boot params, recompiling my kernel with different flags, drivers or features, just tell me what I can do - at the end of the day we don’t ruin anything cause I’ll work on copies of that aforementioned disk file - which I would also happily upload to my nextcloud if anyone wants to test with it.

Best regards,
Andy

1 Like