[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)

WineHQ Bugzilla wine-bugs at winehq.org
Thu Sep 17 22:37:22 CDT 2020


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

Levan <yajev36228 at onmail3.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yajev36228 at onmail3.com

--- Comment #39 from Levan <yajev36228 at onmail3.com> ---
Created attachment 68191
  --> https://bugs.winehq.org/attachment.cgi?id=68191
Modified main_delegate.cc for Cef/3163 for BIAS FX 2

To avoid having to modify Wine's kernel32.dll, instead of using Louis's hack to
inject --single-process onto CefSubprocess.exe, you can replace the Cef files
that come with BIAS (libcef.dll and related files at Common
Files/PositiveGrid/BIAS FX 2 Plugins (64bit)/Resources) with a version compiled
to append --single-process to the command line after execution.  BIAS FX 2 uses
the x64 release build of branch 3163 of Cef. After fetching Chromium and Cef
repos and before building, edit CefMainDelegate::BasicStartupComplete in
chromium/src/cef/libcef/common/main_delegate.cc so that
command_line->AppendSwitch(switches::kSingleProcess); is always run (by
deleting the if statement at line 309). 

I've tested this for BIAS FX 2.1.1.4655 (though this should work for any
version of BIAS FX 2 that uses libcef.dll version 3.3163). Attached is the
modified main_delegate.cc file.

The following is a link to an archive of the generated Cef binary and related
files, provided for convenience since compiling Chromium and Cef is a very
time/resource/sanity-consuming process (though I don't take responsibility for
any issues caused by using these files). Regardless of whether you compile Cef
yourself or use the provided files, be sure to back up the ones that come with
Bias.
https://drive.google.com/file/d/1CY4S76I6W6br8EAl5n9GfnzLvinDGWZk/view?usp=sharing

-- 
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