TCNOco / TcNo-Acc-Switcher

A Super-fast account switcher for Steam, Battle.net, Epic Games, Origin, Riot, Ubisoft and many others!
GNU General Public License v3.0
1.8k stars 120 forks source link

WebView crashes after updating Nvdia drivers #378

Closed eiddor closed 3 months ago

eiddor commented 5 months ago

Describe the bug When I update my Nvidia drivers, the app crashes. This has been happening since I started using the app over a year ago, and it's not a big deal (I just relaunch), but I figured I'd report it just for tracking purposes. It's happening on two different PCs as well (one desktop, one laptop; both Nvidia.)

To Reproduce Steps to reproduce the behavior:

  1. Update Nvidia Drivers through GeForce Experience
  2. TcNo-Acc-Switcher crashes with:

"The WebView browser process has crashed! The program will now exit."

Expected behavior I expect it not to crash :-)

Screenshots image

Desktop (please complete the following information):

TCNOco commented 3 months ago

I assume if the program is running WHILE your driver is updating a crash is expected. WebView uses GPU acceleration by default, making it much faster, much like a normal Chrome browser. Unloading and reloading drivers will cause unexpected behaviour. If this crash is happening AFTER updating, and restarting the TcNo Account Switcher then please let me know by replying and I will re-open this issue.

After all, WebView is managed by Microsoft themselves. If there is something wrong with it, it will likely be something Microsoft needs to look into. If there's anything I can do to fix it, I will try :)

eiddor commented 3 months ago

Ahhh that makes absolute sense - It's definitely during the "while" phase. I'm not sure if I run any other WebView apps and Account Switcher is always running, so it makes sense why I haven't seen it in other apps. Thanks for the reply!

TCNOco commented 3 months ago

Discord and related apps are Electron, and run a much bigger version of Chrome. This app uses Microsoft's WebView, which is also technically Chrome, but should be lighter-weight for both download and running. I assume some cases like this may have been overlooked while Microsoft edited it to their means. Thanks for the quick reply. Sorry for my delayed one!

eiddor commented 3 months ago

No worries! I'm not an app guy, so appreciate the explanation. I may try to find another WebView-based app to test and close the loop in my mind, but I'm pretty sure you're right.

Also, thank you for an excellent tool! I use it daily and I'm not even a gamer.

TCNOco commented 3 months ago

I have updated CEF with the latest release as it was... more than a few versions behind. It may function as hoped now, who knows :)

What do you use the account switcher for if you're not a gamer? I added the "OBS Switcher" to swap out ProgramData folders for different settings over the entire application, etc, but haven't used it as of now.

eiddor commented 3 months ago

Goofy use-case: I only play Rocket League (and MSFS if we count that as a game), and not even that much, but I switch between accounts often depending on who I'm playing with, so Acc-Switcher was a lifesaver even if I only use it for one game.

Congrats on the new release!