I installed WSL2 on my laptop but any time I try to open a program in the terminal the graphics start glitching making the program unusable. In addition the terminal starts giving me a bunch of warnings.
Glitched PyCharm graphics:
niels (e) base add-favorite-food ~ Documents sandbox pycharm-community favorite.mdCompileCommand: exclude com/intellij/openapi/vfs/impl/FilePartNodeRoot.trieDescend bool exclude = true2023-11-22 12:41:49,262 [ 14355] WARN - #c.i.c.ComponentStoreImpl - Duplicated scheme Light - old: Light, new LightInfo | RdCoroutineScope | 20:DefaultDispatcher-worker-9 | RdCoroutineHost overridden2023-11-22 12:41:52,838 [ 17931] WARN - #c.i.w.i.i.l.m.ModuleBridgeLoaderService - Loaded from cache, but no serialized modules found. Workspace model cache will be ignored, project structure will be recreated.2023-11-22 12:42:03,825 [ 28918] WARN - #c.i.o.a.i.ActionUpdater - 1770 ms to grab EDT for EditorMarkupModelImpl$TrafficLightAction#update@EditorInspectionsToolbar (com.intellij.openapi.editor.impl.EditorMarkupModelImpl$TrafficLightAction)2023-11-22 12:42:04,263 [ 29356] WARN - #c.i.o.a.i.ActionUpdater - 454 ms to grab EDT for FontEditorPreview$RestorePreviewTextAction#update@ContextToolbar (com.intellij.application.options.colors.FontEditorPreview$RestorePreviewTextAction)2023-11-22 12:42:04,268 [ 29361] WARN - #c.i.o.a.i.ActionUpdater - 436 ms to grab EDT for EditorMarkupModelImpl$1#update@EditorInspectionsToolbar (com.intellij.openapi.editor.impl.EditorMarkupModelImpl$1)2023-11-22 12:42:09,895 [ 34988] WARN - #c.i.o.a.i.Utils - 1548 ms to fillMenu@EditorPopup2023-11-22 12:42:10,175 [ 35268] WARN - #c.i.o.a.i.ActionUpdater - 1315 ms to call on BGT SpaceCopyLinkActionGroup#update@EditorPopup (com.intellij.space.vcs.SpaceCopyLinkActionGroup)2023-11-22 12:42:13,037 [ 38130] WARN - #c.i.o.a.i.Utils - 1825 ms to fillMenu@EditorPopup2023-11-22 12:42:44,540 [ 69633] WARN - #c.i.o.a.ActionStub - ActionGroup should be registered using <group> tag: id="WelcomeScreen.CreateDirectoryProject" class="com.jetbrains.python.newProject.steps.PyCharmNewProjectStep"Info | RdCoroutineScope | 72:AWT-EventQueue-0 | RdCoroutineHost has been resetInfo | RdCoroutineScope | 72:AWT-EventQueue-0 | RdCoroutineHost disposed