[Bug 58921] New: WebView2 does not work with Windows version setting 8.1 or newer
http://bugs.winehq.org/show_bug.cgi?id=58921 Bug ID: 58921 Summary: WebView2 does not work with Windows version setting 8.1 or newer Product: Wine Version: 10.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: felixhaedicke(a)web.de Distribution: --- Created attachment 79605 --> http://bugs.winehq.org/attachment.cgi?id=79605 webview.log (log created by WebView2) For testing WebView2, I am using my "SimpleWebView2Browser", see https://github.com/felixhaedicke/SimpleWebView2Browser for source code and binaries. Steps to get it running on a fresh wineprefix: * Install WebView2 runtime using the "Evergreen Standalone Installer" for x64 from Inst https://developer.microsoft.com/en-us/microsoft-edge/webview2 * Set Windows version to Windows 7 or 8. * Use my "SimpleWebView2Browser" binaries from https://github.com/felixhaedicke/SimpleWebView2Browser/releases/tag/v0.1 It is sufficient to set the Windows version for "msedgewebview2.exe" (which is part of the WebView2 runtime): wine reg add "HKEY_CURRENT_USER\Software\Wine\AppDefaults\msedgewebview2.exe" /v Version /t REG_SZ /d win8 It does not work with Windows version set to 8.1, 10 or 11. The problem is probably that WebView2 tries to use the DirectComposition API on Windows 8.1 or newer. Message in the WebView2 debug log: DCompositionCreateDevice failed: Not implemented. (0x80004001) The attached WebView2 debug log was captured using the WebView2 logging functions, which can be enabled using the WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS environment variable. Command line used to start the browser process, and to capture the attached logs: WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS="--enable-logging --v=1 --log-file=c:/webview.log" wine SimpleWebView2Browser.exe 2> wine-output.txt -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 --- Comment #1 from Felix Hädicke <felixhaedicke(a)web.de> --- Created attachment 79606 --> http://bugs.winehq.org/attachment.cgi?id=79606 Wine console output The wine console output also shows messages about failed DCompositionCreateDevice calls: 01f0:fixme:dcomp:DCompositionCreateDevice3 00007FFFFEF26DB0, {5f4633fe-1e08-4cb8-8c75-ce24333f5602}, 00007FFFFE8FE428. 0314:fixme:dcomp:DCompositionCreateDevice 0000000000000000, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 00007FC440FAE420. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 Eric Pouech <eric.pouech(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eric.pouech(a)gmail.com --- Comment #2 from Eric Pouech <eric.pouech(a)gmail.com> --- There will be lots of missing bits to support native webview2. As chromium decides to use or not features based on Windows OS version, to get things properly working you'll need a bunch of things done: For Win10: - direct composition as you noted, - also sandboxing (including lots of bits in token & acl management) - GPU support - basically most of the FIXMEs from your log are a starting point - ... So I don't expect this to be resolved before a long time given the list of missing features. Side note: The list above comes for testing chromium builds, not native webview2/ I'm not sure EULA for installing native webview2 permits to run it on Wine, so I will not test it myself. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 eff3ctsb0t(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |eff3ctsb0t(a)gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 Adam Adams <adam@adam-adams.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |adam@adam-adams.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 --- Comment #3 from Adam Adams <adam@adam-adams.com> --- This bug also seems to be a massive roadblock in getting the newer versions of Steinberg Cubase (12 and up) from working on Wine, because the splashscreen/Steinberg Hub make heavy use of WebView2. One of the lines I get in debug logs is: 0024:fixme:dcomp:DCompositionCreateDevice 00000000014C6EC0, {c37ea93a-e7aa-450d-b16f-9746cb0407f3}, 00000000002AF6C8. Cubase 12 is more forgiving, because the implementation wasn't as spread as it is in the newer versions. I still need to document all of but, but would any other logs help here? I'm more than happy to provide. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stan@stanstaykov.com --- Comment #4 from Zeb Figura <z.figura12@gmail.com> --- *** Bug 59370 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=58921 Zeb Figura <z.figura12@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |robertthesable@gmail.com --- Comment #5 from Zeb Figura <z.figura12@gmail.com> --- *** Bug 59431 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
WineHQ Bugzilla -
WineHQ Bugzilla