VS Code does not start properly on Fedora 40

I downloaded Fedora 40 pre-release today and many things work, but one very annoying thing that broke is my VSCode. When I start it I get a blank Window and after a while I get an error saying “The window is not responding”


I tried code --disable-extensions --disable-gpuand code --ozone-platform="wayland". Neither worked.
Apart from that I a lot of my Icons are missing, even stuff like the notification Icon and some settings got replaced by this question mark:
image
Thanks for any help!

1 Like

Added f40

whats your computer specs and how did you install vs code?

1 Like

I know I had a bunch of problems with the Nvidia nouveau drivers making things hang, freeze and crash. Like every app I opened Lol. Only thing that really helped was installing drivers from rpm fusion. I ended up buying an AMD 7900 GRE I got a great deal on and gave my Rtx 3060 to my son.

I’d say make sure you completely remove VSCode then reinstall even try the code-insiders. see what that does for you, also maybe give the drivers from RpmFusion a try. Thats where I’d start.

I tried my best with my googlefu but couldn’t find much with that setup. Hopefully you can get it going. Oh! Btw and did you have VSCode running on this setup before? anything change from then to now?

Well yeah it worked perfectly for 6 months and then I updated to F40 yesterday and it stopped working. And I currently have the nvidia drivers installed but it somehow boots with nouveau drivers and tells be “nvidia drivers not found” when booting :confused:
Before the update the proprietary drivers worked

You may be a victim of this since you just upgraded

3 Likes

You’re a legend, I didn’t think it was because of the GPU, because I passed --disable-gpu. Well, apparently it didn’t disable it… Thanks!

:+1: :smile: saved my day!

1 Like