multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.39k stars 429 forks source link

CEF Vulkan errors #2932

Open TFP-dev opened 1 year ago

TFP-dev commented 1 year ago

Describe the bug

So, when I launch CEF browser in MTA, there are Vulkan errors in cefdebug.txt. WebGL is not working, probably because of that(but who knows).

obraz

Steps to reproduce

  1. start resource webbrowser
  2. open browser
  3. check cefdebug.txt

Version

v1.5.9-release-21622

Additional context

Tested on

System: Windows 11
GPU: AMD R9 290X
GPU Driver version: 21.09.13.02-220802a-382934C-RadeonSoftware (latest for my gpu)

and

System: Windows 10
GPU: Intel HD 4400

Relevant log output

[0324/164955.320:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:138 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
[0324/164955.320:ERROR:angle_platform_impl.cc(43)] RendererVk.cpp:138 (VerifyExtensionsPresent): Extension not supported: VK_KHR_win32_surface
[0324/164955.320:ERROR:angle_platform_impl.cc(43)] Display.cpp:1021 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-7): A requested extension is not supported, in ..\..\third_party\angle\src\libANGLE\renderer\vulkan\RendererVk.cpp, initialize:1574.
[0324/164955.320:ERROR:gl_display.cc(508)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-7): A requested extension is not supported, in ..\..\third_party\angle\src\libANGLE\renderer\vulkan\RendererVk.cpp, initialize:1574.
[0324/164955.320:ERROR:gl_display.cc(932)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[0324/164955.320:ERROR:gl_initializer_win.cc(133)] GLDisplayEGL::Initialize failed.
[0324/164955.321:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[0324/164955.380:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is disabled, ANGLE is

Security Policy

TFP-dev commented 1 year ago

Why gpu is disabled? https://github.com/multitheftauto/mtasa-blue/blob/228f881d011faa9f7f82903bf131359351cf0f1c/Client/cefweb/CWebApp.cpp#L28-L31