skip to Main Content

Image for reference
As seen in the picture VSCode upon launching is not working, there is blank screen displayed and trying to e.g. a new terminal only shows one more black box in the terminal’s place. No extensions whatsoever were installed lately.

Solutions found under some other posts (although not completely describing my problem), including restarting the program, computer, reinstalling VSCode didn’t help to solve the issue.

2

Answers


  1. I had the same issue on Ubuntu 20.04.
    You can open VScode by typing :

    code --disable-gpu 
    

    In order to disable the hardware acceleration in vscode:

    Click:ctrl+shift+p

    Type:
    Preferences: Configure Runtime Arguments

    Uncomment the following:
    "disable-hardware-acceleration": true

    Restart VScode.

    Login or Signup to reply.
  2. Try this solution, it worked for me:

    cd $HOME/.config/Code
    rm -r GPUCache
    

    Source: https://medium.com/@syafiqza/blank-screen-in-visual-studio-code-d84707001c94

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search