2024-03-28, 12:42:36
The --disable-gpu didn't show in Process Explorer since the WebView was started instead a VFP app.
I ran the MS WebView.net example and it didn't have the problem.
I turned on logging for AntView and here is the log. It looks like the --disable-gpu is getting set.
Creating new log...
2024-03-28 08:39:34.331
2024-03-28 08:39:34.335 -------------------------------------------------------------------------
2024-03-28 08:39:34.339 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.340 -------------------------------------------------------------------------
2024-03-28 08:39:34.340 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.340 Win32
2024-03-28 08:39:34.340 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.355 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.355 AntView version 1.1.354.0
2024-03-28 08:39:34.355 User: philsherwood
2024-03-28 08:39:34.355 Log Level: 1
2024-03-28 08:39:34.355 Initializing defaults
2024-03-28 08:39:34.375 Creating window $31610
2024-03-28 08:39:34.384 EventSink changed, creating inplace object $31612
2024-03-28 08:39:34.388 Reading Version = 1.1.354
2024-03-28 08:39:34.389 Configuring default userDataFolder.
2024-03-28 08:39:34.389 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.389 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.411
2024-03-28 08:39:34.416 -------------------------------------------------------------------------
2024-03-28 08:39:34.417 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.417 -------------------------------------------------------------------------
2024-03-28 08:39:34.417 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.417 Win32
2024-03-28 08:39:34.433 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.433 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.433 AntView version 1.1.354.0
2024-03-28 08:39:34.448 User: philsherwood
2024-03-28 08:39:34.448 Log Level: 1
2024-03-28 08:39:34.448 Initializing defaults
2024-03-28 08:39:34.461 Creating window $410D74
2024-03-28 08:39:34.469 EventSink changed, creating inplace object $A1618
2024-03-28 08:39:34.474 Reading Version = 1.1.354
2024-03-28 08:39:34.475 Configuring default userDataFolder.
2024-03-28 08:39:34.475 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.475 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.499
2024-03-28 08:39:34.504 -------------------------------------------------------------------------
2024-03-28 08:39:34.505 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.505 -------------------------------------------------------------------------
2024-03-28 08:39:34.505 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.505 Win32
2024-03-28 08:39:34.521 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.521 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.521 AntView version 1.1.354.0
2024-03-28 08:39:34.521 User: philsherwood
2024-03-28 08:39:34.536 Log Level: 1
2024-03-28 08:39:34.536 Initializing defaults
2024-03-28 08:39:34.547 Creating window $6C1088
2024-03-28 08:39:34.554 EventSink changed, creating inplace object $E30FB0
2024-03-28 08:39:34.559 Reading Version = 1.1.354
2024-03-28 08:39:34.560 Configuring default userDataFolder.
2024-03-28 08:39:34.560 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.560 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.578 Test if WebView2 control is OK.
2024-03-28 08:39:34.583 Start async creation of the WebView2 control.
2024-03-28 08:39:34.587 BrowserExecutableFolder:
2024-03-28 08:39:34.588 UserDataFolder: C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.588 Setting environment options: chrome flags: [--disable-gpu] Language [] Min. Browser version [95.0.1020.44] Single Sign On False
2024-03-28 08:39:34.588 Reading InstallPath = C:\Program Files (x86)\AntView
2024-03-28 08:39:34.588 Trying to load the loader DLL as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2024-03-28 08:39:34.604 Loading from InstallPath : success.
2024-03-28 08:39:34.604 Loaded as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2024-03-28 08:39:34.604 Version = 1.0.1108.44
2024-03-28 08:39:34.620 Assigned loader library procedures.
2024-03-28 08:39:34.899 CreateAsync Success $31610
2024-03-28 08:39:34.899 WebView2 version 122.0.2365.92
2024-03-28 08:39:34.914 Event OnCreateWebviewCompleted HResult = 0x00000000 (S_OK)
I ran the MS WebView.net example and it didn't have the problem.
I turned on logging for AntView and here is the log. It looks like the --disable-gpu is getting set.
Creating new log...
2024-03-28 08:39:34.331
2024-03-28 08:39:34.335 -------------------------------------------------------------------------
2024-03-28 08:39:34.339 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.340 -------------------------------------------------------------------------
2024-03-28 08:39:34.340 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.340 Win32
2024-03-28 08:39:34.340 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.355 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.355 AntView version 1.1.354.0
2024-03-28 08:39:34.355 User: philsherwood
2024-03-28 08:39:34.355 Log Level: 1
2024-03-28 08:39:34.355 Initializing defaults
2024-03-28 08:39:34.375 Creating window $31610
2024-03-28 08:39:34.384 EventSink changed, creating inplace object $31612
2024-03-28 08:39:34.388 Reading Version = 1.1.354
2024-03-28 08:39:34.389 Configuring default userDataFolder.
2024-03-28 08:39:34.389 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.389 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.411
2024-03-28 08:39:34.416 -------------------------------------------------------------------------
2024-03-28 08:39:34.417 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.417 -------------------------------------------------------------------------
2024-03-28 08:39:34.417 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.417 Win32
2024-03-28 08:39:34.433 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.433 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.433 AntView version 1.1.354.0
2024-03-28 08:39:34.448 User: philsherwood
2024-03-28 08:39:34.448 Log Level: 1
2024-03-28 08:39:34.448 Initializing defaults
2024-03-28 08:39:34.461 Creating window $410D74
2024-03-28 08:39:34.469 EventSink changed, creating inplace object $A1618
2024-03-28 08:39:34.474 Reading Version = 1.1.354
2024-03-28 08:39:34.475 Configuring default userDataFolder.
2024-03-28 08:39:34.475 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.475 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.499
2024-03-28 08:39:34.504 -------------------------------------------------------------------------
2024-03-28 08:39:34.505 ------ Starting new WebView2 instance ------
2024-03-28 08:39:34.505 -------------------------------------------------------------------------
2024-03-28 08:39:34.505 Application: C:\SherWare\AMPRO\ampro.EXE (8732)
2024-03-28 08:39:34.505 Win32
2024-03-28 08:39:34.521 Current Directory: C:\SherWare\AMPRO
2024-03-28 08:39:34.521 AntView loaded C:\PROGRA~2\AntView\Win32\AntView.ocx
2024-03-28 08:39:34.521 AntView version 1.1.354.0
2024-03-28 08:39:34.521 User: philsherwood
2024-03-28 08:39:34.536 Log Level: 1
2024-03-28 08:39:34.536 Initializing defaults
2024-03-28 08:39:34.547 Creating window $6C1088
2024-03-28 08:39:34.554 EventSink changed, creating inplace object $E30FB0
2024-03-28 08:39:34.559 Reading Version = 1.1.354
2024-03-28 08:39:34.560 Configuring default userDataFolder.
2024-03-28 08:39:34.560 userDataFolder C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.560 CreateWebViewOnCreate is set to false, not initializing WebView2 until requested.
2024-03-28 08:39:34.578 Test if WebView2 control is OK.
2024-03-28 08:39:34.583 Start async creation of the WebView2 control.
2024-03-28 08:39:34.587 BrowserExecutableFolder:
2024-03-28 08:39:34.588 UserDataFolder: C:\Users\philsherwood\AppData\Local\Temp\ampro.EXE.WebView2\
2024-03-28 08:39:34.588 Setting environment options: chrome flags: [--disable-gpu] Language [] Min. Browser version [95.0.1020.44] Single Sign On False
2024-03-28 08:39:34.588 Reading InstallPath = C:\Program Files (x86)\AntView
2024-03-28 08:39:34.588 Trying to load the loader DLL as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2024-03-28 08:39:34.604 Loading from InstallPath : success.
2024-03-28 08:39:34.604 Loaded as C:\Program Files (x86)\AntView\Win32\WebView2Loader.dll
2024-03-28 08:39:34.604 Version = 1.0.1108.44
2024-03-28 08:39:34.620 Assigned loader library procedures.
2024-03-28 08:39:34.899 CreateAsync Success $31610
2024-03-28 08:39:34.899 WebView2 version 122.0.2365.92
2024-03-28 08:39:34.914 Event OnCreateWebviewCompleted HResult = 0x00000000 (S_OK)