[Bug 44985] Many applications using CEFv3 Angle OpenGL ES 2.0 for H/ W Accelerated Canvas and WebGL display blank/black windows ( disabling or removing 'libglesv2.dll' is a workaround)
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Jun 24 13:41:12 CDT 2018
https://bugs.winehq.org/show_bug.cgi?id=44985
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|BIAS FX: Blank window , |Many applications using
|disabling or removing |CEFv3 Angle OpenGL ES 2.0
|libglesv2.dll from program |for H/W Accelerated Canvas
|is a workaround |and WebGL display
| |blank/black windows
| |(disabling or removing
| |'libglesv2.dll' is a
| |workaround)
CC| |focht at gmx.net
--- Comment #15 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
refining summary to collect all dupes here.
Another example: bug 45368
Copy/pasta:
The CEF browser runs in its own process.
One can check with Windows Spy++ to see who owns the child window.
-> 'Welcome to Zoner Photo Studio' ('Zps.exe')
-> 'ZcbBridge::BrowserT' ('Zps.exe')
-> 'ZcbApp::MainClientT' ('Zps.exe')
-> 'CefBrowserWindow' ('ZCB.exe')
-> 'Chrome_WidgetWin_0'
-> 'Static'
--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/Zoner/Photo Studio 17/Program32
$ file lib*.dll
libcef.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
libEGL.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
libGLESv2.dll: PE32 executable (DLL) (console) Intel 80386, for MS Windows
...
$ WINEDEBUG=+seh,+relay wine ./Zps.exe >>log.txt 2>&1
...
002e:Call KERNEL32.CreateProcessW(05d3fb70 L"C:\\Program Files\\Zoner\\Photo
Studio 17\\Program32\\ZCB.EXE",05d3fff0 L"\"C:\\Program Files\\Zoner\\Photo
Studio 17\\Program32\\ZCB.EXE\"
--zps-ipc={Zps-45-722008}",00000000,00000000,00000001,00000000,00000000,05d3f9b0
L"C:\\Program Files\\Zoner\\Photo Studio 17\\Program32",0033d1b4,05d44290)
ret=00913877
...
0050:Call KERNEL32.__wine_kernel_init() ret=7bc59bcc
002e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00913877
...
002e:Call KERNEL32.CreateProcessW(05d3f3c8 L"C:\\Program Files\\Zoner\\Photo
Studio 17\\Program32\\ZPSAutoupdate.exe",05d74e98 L"\"C:\\Program
Files\\Zoner\\Photo Studio 17\\Program32\\ZPSAutoupdate.exe\" /checkforupdate
programstartup",00000000,00000000,00000001,00000000,00000000,05d3f350
L"C:\\Program Files\\Zoner\\Photo Studio 17\\Program32",0033d3e8,05c98994)
ret=00913877
...
0052:Call KERNEL32.__wine_kernel_init() ret=7bc59bcc
002e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00913877
...
0063:Call KERNEL32.CreateProcessW(00000000,04b2a000 L"\"C:\\Program
Files\\Zoner\\Photo Studio 17\\Program32\\ZCB.exe\" --type=gpu-process
--channel=\"79.0.376049228\\1408405737\" --no-sandbox --lang=en
--locales-dir-path=\"C:\\Program Files\\Zoner\\Photo Studio
17\\Resources\\Cef\\locales\" --log-file=\"C:\\users\\focht\\Local
Settings\\Application
Dat"...,00000000,00000000,00000000,00000000,00000000,00000000,0622f5d0,0622f618)
ret=007769a7
...
0052:Call KERNEL32.__wine_kernel_init() ret=7bc59bcc
002e:Ret KERNEL32.CreateProcessW() retval=00000001 ret=00913877
...
0063:Call KERNEL32.CreateProcessW(00000000,04b5b400 L"\"C:\\Program
Files\\Zoner\\Photo Studio 17\\Program32\\ZCB.exe\" --type=renderer
--no-sandbox --user-agent=\"Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.170 Safari/537.36
ZonerPhotoStudio/17.0.1.12\" --lang=en-US --enable-threaded-compositing
--enable-"...,00000000,00000000,00000000,00000000,00000000,00000000,0622f5d0,0622f618)
ret=007769a7
...
007b:Call KERNEL32.__wine_kernel_init() ret=7bc59bcc
...
0063:Ret KERNEL32.CreateProcessW() retval=00000001 ret=007769a7
--- snip ---
The problem seems to be CEF3 off-screen rendering with hardware acceleration
using OpenGLES 2.0 (Angle).
* OpenGL ES 2.0 (ANGLE 1.2.0.2451)
* OpenGL ES GLSL ES 1.00 (ANGLE 1.2.0.2451)
There are a few messages in console hinting at this:
--- snip ---
...
003d:fixme:d3d9:d3d9_device_CreateTexture Resource sharing not implemented,
*shared_handle (nil).
003d:fixme:d3d9:d3d9_device_CreateTexture Resource sharing not implemented,
*shared_handle (nil).
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
[0624/162740:ERROR:gl_surface_egl.cc(285)] eglCreateWindowSurface failed with
error EGL_BAD_ALLOC
[0624/162740:ERROR:command_buffer_proxy_impl.cc(165)] Failed to initialize
command buffer service.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
[0624/162740:ERROR:gl_surface_egl.cc(285)] eglCreateWindowSurface failed with
error EGL_BAD_ALLOC
[0624/162740:ERROR:command_buffer_proxy_impl.cc(165)] Failed to initialize
command buffer service.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
[0624/162740:ERROR:gl_surface_egl.cc(285)] eglCreateWindowSurface failed with
error EGL_BAD_ALLOC
[0624/162740:ERROR:command_buffer_proxy_impl.cc(165)] Failed to initialize
command buffer service.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
0078:err:d3d:context_create Failed to set pixel format 1 on device context
0x10057.
[0624/162740:ERROR:gl_surface_egl.cc(285)] eglCreateWindowSurface failed with
error EGL_BAD_ALLOC
[0624/162740:ERROR:command_buffer_proxy_impl.cc(165)] Failed to initialize
command buffer service.
...
--- snip ---
$ sha1sum zps17_en.exe
9bf0080940833798bc0b7dc27581294d1f077c1f zps17_en.exe
$ du -sh zps17_en.exe
77M zps17_en.exe
$ wine --version
wine-3.11
Regards
--
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.
More information about the wine-bugs
mailing list