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

Constant high CPU load after (dis)connecting an external display #528

Closed
galiovsky opened this issue Oct 21, 2021 · 3 comments
Closed

Constant high CPU load after (dis)connecting an external display #528

galiovsky opened this issue Oct 21, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@galiovsky
Copy link

Environment

Windows build number: 10.0.22000.282
Your Distribution version: not distro specific (reproduced both on Fedora 34 and Ubuntu 20.04)
Your WSLg version: 1.0.26 (the issue has been hitting me on previous versions too)

Ryzen 4650U with integrated graphics. Issue persists across multiple driver versions.
Both screens 1920x1080, one scaled at 100 %, the other 125 %, vertically arranged.

Steps to reproduce

  1. Run a distro, can be freshly booted. No need to run any apps.
  2. While the distro is running, connect an external display. (Or if you have one attached already, disconnect it.)

WSL logs:

Expected behavior

Nothing unusual happens.

Actual behavior

Vmmem starts to load one CPU core 100% constantly until Ctrl+Shift+Win+B is pressed or WSL is shut down altogether.

For more reports, see microsoft/WSL#6982.

@galiovsky galiovsky added the bug Something isn't working label Oct 21, 2021
@hideyukn88
Copy link
Member

@galiovsky, thanks for trying out WSLg, It looks your versions.txt shows you are on WSLg ( x86_64 ): 1.0.24, which is very old version, would you please update to the latest version? You can install from https://github.com/microsoft/wslg/releases, or even better, install from Store, please refer https://devblogs.microsoft.com/commandline/a-preview-of-wsl-in-the-microsoft-store-is-now-available/. Thanks!

@hideyukn88
Copy link
Member

@galiovsky, here is a bit more additional info, you might be hitting the issue fixed by microsoft/weston-mirror#24, which is not in WSLg 1.0.24. Thanks!

@galiovsky
Copy link
Author

galiovsky commented Oct 21, 2021

@hideyukn88 wow, I didn't know there's a WSL preview available. wsl --update told me I'm on the latest version... Installed the WSL Preview from the Store and indeed it looks like the issue is solved! Will test this some more and reopen later if needed... Thank you!

edit: Just pasting the issue-free versions for reference...

WSLg ( x86_64 ): 1.0.29+Branch.main.Sha.2e87e194b507f0ced0b08f715096a35cf9f51498
Mariner: VERSION="1.0.20210224"
FreeRDP: b05321cd4e6a862aef76163a69db4e1910245736
weston: b49e1942ac6242c9dd2118fbd7072e1692f49208
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants