Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frighteningly slow GUI after WSL kernel update #164

Open
f-liva opened this issue Sep 29, 2022 · 8 comments
Open

Frighteningly slow GUI after WSL kernel update #164

f-liva opened this issue Sep 29, 2022 · 8 comments

Comments

@f-liva
Copy link

f-liva commented Sep 29, 2022

As per the subject, after launching wsl --update and upgrading the kernel from version 5.10.102.1 to version 5.15.57.1 following the upgrade to Windows 11 22H2, applications launched with GWSL, but as well as with native WSLg, render graphics tremendously slow so much in the scale of minutes, not seconds.

(click to see the video on YouTube)
IMAGE ALT TEXT HERE

This the otput of my wsl --version.

Versione WSL: 0.66.2.0
Versione kernel: 5.15.57.1
Versione WSLg: 1.0.42
Versione MSRDC: 1.2.3401
Versione Direct3D: 1.606.4
Versione DXCore: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
versione Windows: 10.0.22621.521

I have already tried uninstalling GWSL, uninstalling and reinstalling my WSL distro Ubuntu 20.04, changing WSL distro, but nothing changes.

Who can help me? 🙏

@Pololot64
Copy link
Member

I wonder if this has to do with the new systemd support. I don't have the update yet. Is the update you have the one with systemd?

@f-liva
Copy link
Author

f-liva commented Sep 30, 2022

How can I help you check if that is the cause?

@Pololot64
Copy link
Member

I am not sure yet. I looked into my kernel version. I did find that you can wsl --update --rollback to go back to the previous kernel version apparently

@Pololot64
Copy link
Member

Pololot64 commented Sep 30, 2022

My kernel version is newer but not as high as yours... I am unable to get the update to your version. Oh I see you have an insider version of wsl

@f-liva
Copy link
Author

f-liva commented Oct 3, 2022

What could this problem be due to then?

@Pololot64
Copy link
Member

I wonder if it could be related to a GPU driver or something. If you launch an app from bash, does it show any message while loading?

@f-liva
Copy link
Author

f-liva commented Oct 10, 2022

I found how to unlock the problem.

When I start my WSL distro, I am notified that the value of DISPLAY is :0.

GWSL, on the other hand, tells me that he works on 0.0

image

At that point my suspicion that the problem is caused by GWSL increases, so I go to GWSL Distro Tools > More Shells and Options > Clean GWSL additions.

Now, launching GitKraken from WSL (not GWSL!) the GUI loads fast and everything works correctly.

So... GWSL causes the problem, after Windows 22H2 update. Nothing to see with my NVIDIA driver.
But now... how to fix GWSL?

@Pololot64
Copy link
Member

I am not sure... Wait. I think I know the original issue. It is possible that wslg enabled itself. Do you know what this (wslg) is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants