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

webview2 GPU process eats 15% after sleep and makes usage unpleasant. #3111

Closed
prelude0000 opened this issue Jan 7, 2023 · 10 comments
Closed
Assignees

Comments

@prelude0000
Copy link

Taking 10's second before gui response after sleep. Killing "WebWies2 GPU process" fix situation but it must done after every sleep event.

@nishitha-burman
Copy link
Collaborator

nishitha-burman commented Jan 10, 2023

Hello,

Thank you for the feedback. Can you please provide the following:

Version
SDK:
Runtime:
Framework:
OS:

Repro Steps

@LiangTheDev
Copy link
Member

Assuming that you are using Windows Task Manager to kill the GPU process, instead of killing the process, could you try to
"Create dump file" and then share it with us? As the dump file could be large, you might want to zip it and share with some cloud drive. And if you want to share it privately, you can share it with me at lzhao@microsoft.com.
If you don't kill it, does the GPU process got terminated any way after 10s? If so, it should have been detected as a hang, and there might already be dump files captured in EBWebView\Crashpad\reports subfolder of the user data folder of the WebView. Windows Error Report events in event viewer should also have events abou the hang, if you could share the bucket id from the events, then we don't need the dumps.

@prelude0000
Copy link
Author

I will close this one. It was fixed by updating Nvidia drivers from version 443.18 to the latest one.
Thanks for the help and sorry that I did not debug it properly before creating a ticket.

@prelude0000
Copy link
Author

Problem come back, likely it was there whole time but i just did not notice it.

I dont know where to get all those information @nishitha-burman so i give what i can find.
msedgewebview2.exe / 108.0.1462.76 /date modified 05/01/2023 8:55
Win 11 pro, 22H2, installed 26/12/2022, osbuild 22621.1105

I also send dump file to mailto:lzhao@microsoft.com as i don't know is there some personal information included so i dont want to put it to public.

@LiangTheDev
Copy link
Member

@prelude0000 , thanks for sending the dump file. It shows that the process is waiting on a lock from the driver, but doesn't provide the whole picture. We need your further help to further the investigation.

Could you please generate a kernel dump by following instructions at https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/generate-a-kernel-or-complete-crash-dump? Note that generating the kernel dump might reboot the machine, so be sure to safe all your data before trying to collect data. Please compress the dump file and share the link via email to me.

Some other questions:

  • For "sleep", do you mean that the machine went into sleep after idle for a while, your closed the lid of the laptop, or you clicked Start -> Power -> "Sleep"?
  • Before sleep, are you interacting with the Widgets app (its UI is shown)?
  • After sleep, is interaction with all apps frozen or only some apps?

@prelude0000
Copy link
Author

I will send dump file today.

  1. i often use "Start -> Power -> "Sleep", it's a desktop computer

  2. No, i dont use Widgets at all (I even did not know that you can do that in windows before that question)

  3. It's slows down all apps, often brave browser stuck totally and i need to kill it from task manager. But it's not happen always.

  4. Problem happen more often in following situation:
    4.1) put computer to sleep "Start -> Power -> "Sleep"
    4.2) disconnect USB hub (where keyboard, mouse, webcam, external speakers are connected) and connect hub to my work laptop.
    4.3) disconnect hub form work laptop and reconnect it to desktop.
    4.4) pressing power button from desktop to wake it up from the sleep.

@LiangTheDev
Copy link
Member

@salman0ansari is it possible for you to collect a kernel dump?

@idodoron11
Copy link

Hi, why is this issue closed? I am having the same problem

@tom9011
Copy link

tom9011 commented Feb 11, 2025

Image
20% on a 4070 Ti Super without having edge open at all. (I don't use edge at all ever)

I know edge is a terrible piece of software but this is unacceptable. Am I really forced to write a program to while loop scan for this and force kill it???

@Taiiwo
Copy link

Taiiwo commented Feb 21, 2025

Idk who is still looking for this, but for me it was Zoom. Close it from the system tray.

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

7 participants