I'm experiencing an issue with Visual Studio Code on my Ubuntu 22.04 system. I accidentally executed an incorrect command in the terminal, and since then, VS Code hasn't been working properly. Here are the details:
I intended to open a folder in VS Code using code .
, but I mistakenly typed code ,
This command seems to have caused issues, and now VS Code fails to launch. When I try to run VS Code, I get various error messages in the terminal. Here are some of the notable logs:
MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory
failed to load driver: iris
MESA-LOADER: failed to open kms_swrast: /usr/lib/dri/kms_swrast_dri.so: cannot open shared object file: No such file or directory
failed to load driver: kms_swrast
MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory
failed to load swrast driver
Additionally, I see numerous warnings and errors related to extensions and GPU processes crashing.
I removed the potential problematic file (rm ,). I tried reinstalling VS Code using Snap but still face the same issues: Cleared VS Code cache and settings: Despite these efforts, the problem persists. Has anyone encountered a similar issue or can guide how to resolve this?
snap install codium --classic
. It's exactly same you just dovscodium .
instead ofcode .
Give it a go as it might be useful