[Bug 45368] Zoner Photo Studio 17 shows black registration dialog on startup ( CEFv3 Angle OpenGL ES 2.0 issue, H/W Accelerated Canvas and WebGL)

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 24 09:56:23 CDT 2018


https://bugs.winehq.org/show_bug.cgi?id=45368

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
                URL|https://www.zoner.com/en/fr |http://download1.zoner.com/
                   |ee-photo-editor-download    |binary/zps17_en.exe
            Summary|Zoner Photo Studio 17       |Zoner Photo Studio 17 shows
                   |crashes right after start   |black registration dialog
                   |                            |on startup (CEFv3 Angle
                   |                            |OpenGL ES 2.0 issue, H/W
                   |                            |Accelerated Canvas and
                   |                            |WebGL)
             Status|UNCONFIRMED                 |NEW

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

the first crash is due to (lib)CEF3 with Blink engine that checks requested
font facename and doesn't like Liberation font replacement -> bug 32342

'winetricks -q corefonts' or install Arial font works around.

To avoid being a dupe of bug 32342 lets make this about the black
splash/validation dialog. It's actually CEF browser run 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 here 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 ---

I didn't find a command line switch to force CEF/app to switch the GL
acceleration backend but you can work around by renaming 'libEGL.dll' to
'libEGL.dll.bak' to force a fallback.

With that you can see two buttons "Activate 30-day trial ...", "I've already
purchased" after a brief check for an Internet connection.
You might need to alt-tab/focus the dialog before.

$ 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