Suddenly I see only the shades of the GUI any Idea how to fix this? using Plasma x11
Try running it from the command line with
code --disable-gpu
.If that works, you can update the desktop shortcut files (exec section) with the same added parameter.
I recently ran into something similar (opensuse slowroll//kde)
Ref: stackoverflow/Google for the
--disable-gpu
argument, the desktop file editing - I did for convenience.Here’s how you can find . desktop files
Desktop file reference.- easy format
First, thank you! Sadly, this didn’t help. In ended up deleting (renaming)
~/.config/Code
which helped. Luckily enough all the plugins survived because they are installed under~/.vscode
That’s interesting. I am on GNOME/Wayland and the above flag helped.
Had this issue not long ago, check out this comment:
https://github.com/microsoft/vscode/issues/196187#issuecomment-1774043534
That fixed it for me
This worked for me as well, thanks!
Disable GPU acceleration to fix the immediate problem. Deep dive into GPU rendering errors to solve the underlying problem.
If GPU acceleration fucks up, there’s a good chance it’s not just VS Code is being affected. I get this sometimes after I update my Nvidia drivers, and some applications struggle to use Vulkan in Wayland on Nvidia (on Gnome). I had to switch back to X11 on my desktop to make browsers and other GPU accelerated programs behave normally, because software rendering was eating up CPU cores for no reason.
If you’ve just updated your firmware or drivers, a reboot may help. Disabling the GPU through either config flags or command line parameters will make the text appear, but it’ll also cost you more CPU cycles (and battery life, if you’re on a laptop).
I am on X11. rebooting, reinstalling and
code --disable-gpu
didn’t help. Only deleting the config files. However, reading other comments it seemscode --disable-gpu
seems to work for most folks.
This happened to new do I switched to Codium and never looked back
Actually, while figuring things out, I did also install Codium and copied the extensions folder from VSCode to the codium folder… Works like a charm - might stay there for the peace of mind.