Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
vscode: add libGL.so.1 and libEGL.so.1 to vscode
Fixes gpu acceleration for X and Wayland.
- Loading branch information
fdb1afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anilanar This commit broke my VSCode. It opens, but doesn't really render anything anymore. Clicks still work though. I'm on Wayland with intel Integrated Graphics.
fdb1afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@VanCoding Sorry about that! Could you run
code --verbose
orcodium --verbose
and hopefully it will give us some clues about what's missing for your case. I really have no clue how GLES/GL/EGL and gpu vendoring works and how linking nix packages vs. linking prebundled ones that come with vscode/chromium works. You might have more luck creating a Github issue.fdb1afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anilanar Thanks, I've found the issue and a solution to it here: microsoft/vscode#195502
TLDR: just delete
~/.config/Code/GPUCache/
if VSCode was already installed before. Fresh installs are not affected.fdb1afe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For anyone else that stumbles upon this, note that vscodium's GPUCache is in
~/.config/VSCodium/GPUCache