[solved] vscode only showing black interfaces with no content

Suddenly I see only the shades of the GUI any Idea how to fix this? using Plasma x11

37 points · 8 comments · view on lemmy.world

8 Comments

Kekin@lemy.lol · 10 pts · 2y (1 reply)

Had this issue not long ago, check out this comment:

https://github.com/microsoft/vscode/issues/196187#issuecomment-1774043534

That fixed it for me

shotgun_crab@lemmy.world · 3 pts · 2y

This worked for me as well, thanks!

GravelPieceOfSword@lemmy.ca · 10 pts · 2y (2 replies)

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

kawlb@sh.itjust.works · 5 pts · 2y (1 reply)

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

d_k_bo@feddit.de · 2 pts · 2y

That's interesting. I am on GNOME/Wayland and the above flag helped.

skullgiver@popplesburger.hilciferous.nl · 6 pts · 2y (1 reply)
[ removed ]
kawlb@sh.itjust.works · 2 pts · 2y

I am on X11. rebooting, reinstalling and code --disable-gpu didn't help. Only deleting the config files. However, reading other comments it seems code --disable-gpu seems to work for most folks.

Stiltonfondu@sopuli.xyz · 2 pts · 2y (1 reply)

This happened to new do I switched to Codium and never looked back

kawlb@sh.itjust.works · 4 pts · 2y

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.