https://bugs.winehq.org/show_bug.cgi?id=56378
Bug ID: 56378 Summary: Microsoft Edge and Edge-based WebView2 do not function without --no-sandbox option Product: Wine Version: 9.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: asdfghrbljzmkd@outlook.com Distribution: ---
Microsoft Edge will freeze about 1-3 seconds after launching.
Steps to reproduce:
1. Download and install WebView2 (which includes Edge) from https://developer.microsoft.com/en-us/microsoft-edge/webview2/ 2. Run:
wine "/PATH/TO/PREFIX/drive_c/Program Files (x86)/Microsoft/EdgeCore/VERSIONNUMBER/msedge.exe" --disable-gpu --no-first-run
Edge will not launch. If you add --no-sandbox to the launch options, it will launch, but freeze after a second or so (https://bugs.winehq.org/show_bug.cgi?id=56377)
--disable-gpu is required wine wined3d, it can be dropped if using DXVK.
--no-first-run disables the first run prompting you to sign in and such, it has no bearing on this bug itself.
This also affects applications using WebView2, e.g. the Adobe Creative Cloud setup application:
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS="--disable-gpu" wine '/PATH/TO/Creative_Cloud_Set-Up.exe'
Using this at least allows the window to open, though it is blank for reasons currently unknown:
WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS="--disable-gpu --no-sandbox" wine '/PATH/TO/Creative_Cloud_Set-Up.exe'
https://bugs.winehq.org/show_bug.cgi?id=56378
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |asdfghrbljzmkd@outlook.com Distribution|--- |Ubuntu URL| |https://developer.microsoft | |.com/en-us/microsoft-edge/w | |ebview2/
https://bugs.winehq.org/show_bug.cgi?id=56378
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |56377
https://bugs.winehq.org/show_bug.cgi?id=56378
--- Comment #1 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- Potentially related:
https://gitlab.winehq.org/wine/wine/-/merge_requests/3162 (merged) https://gitlab.winehq.org/wine/wine/-/merge_requests/3747 (not yet merged)
https://bugs.winehq.org/show_bug.cgi?id=56378
Qwerty Chouskie asdfghrbljzmkd@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zzhang@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=56378
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4@web.de
https://bugs.winehq.org/show_bug.cgi?id=56378
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #2 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 78233 --> https://bugs.winehq.org/attachment.cgi?id=78233 add stub for SetAdditionalForegroundBoostProcesses
https://bugs.winehq.org/show_bug.cgi?id=56378
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Keywords| |download Status|UNCONFIRMED |NEW
--- Comment #3 from Louis Lenders xerox.xerox2000x@gmail.com --- Hi, I did some testing in wine-10.0 and current wine-10.3
Msedge actually works rather well in wine-10.0 when setting windows version to win7 or win8.1. The problems arise if windows version is set to windows 10. (cmdline ran was : wine msedge.exe --disable-gpu --no-first-run)
In current git it crashes in win8.1 en win7 too as there's a call to unimplemented user32.SetAdditionalForegroundBoostProcesses.
I've added a patch that adds a stub (not 100% sure i did this correctly), with that applied it runs for me again with windows version to win7 or win8.1.
version tried: https://msedge.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/fb...
https://bugs.winehq.org/show_bug.cgi?id=56378
--- Comment #4 from Qwerty Chouskie asdfghrbljzmkd@outlook.com --- I just tested Adobe CC again on Staging 10.3, I didn't run into user32.SetAdditionalForegroundBoostProcesses missing but I did run into KERNEL32.dll.SetThreadpoolTimerEx missing, so I just opened another bug report: https://bugs.winehq.org/show_bug.cgi?id=57980
The good news is that things seemed to run fine without `--no-sandbox`. Progress!