Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 827861 - www-client/chromium-96.0.4664.45: WebGL broken again (w/ SwiftShader?)
Summary: www-client/chromium-96.0.4664.45: WebGL broken again (w/ SwiftShader?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-29 19:57 UTC by Luke-Jr
Modified: 2021-12-07 21:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2021-11-29 19:57:31 UTC
chrome://gpu/ says:

[1539:1539:1127/212155.255699:ERROR:angle_platform_impl.cc(44)] : RendererVk.cpp:122 (VerifyExtensionsPresent): Extension not supported: VK_KHR_surface
[1539:1539:1127/212155.255777:ERROR:angle_platform_impl.cc(44)] : RendererVk.cpp:122 (VerifyExtensionsPresent): Extension not supported: VK_KHR_xcb_surface
[1539:1539:1127/212155.255832:ERROR:angle_platform_impl.cc(44)] : Display.cpp:894 (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:1197.
[1539:1539:1127/212155.255889:ERROR:gl_surface_egl.cc(782)] : 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:1197.
[1539:1539:1127/212155.255921:ERROR:gl_surface_egl.cc(1382)] : eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[1539:1539:1127/212155.255959:ERROR:gl_ozone_egl.cc(20)] : GLSurfaceEGL::InitializeOneOff failed.
[1539:1539:1127/212155.257320:ERROR:viz_main_impl.cc(161)] : Exiting GPU process due to errors during initialization
Comment 1 Luke-Jr 2021-11-29 20:28:22 UTC
Found https://monorail-prod.appspot.com/p/chromium/issues/detail?id=1200964

Creating /usr/lib64/chromium-browser/vk_swiftshader_icd.json with
{
  "file_format_version": "1.0.0",
  "ICD": {
    "library_path": "/usr/lib64/chromium-browser/libvk_swiftshader.so",
    "api_version": "1.0.5"
  }
}
fixes the issue.

Perhaps https://chromium.googlesource.com/chromium/src/+/3f1504d5cf174036996fa389473008a95c879112%5E%21/#F0 is the best approach?
Comment 2 Larry the Git Cow gentoo-dev 2021-12-03 07:12:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64eb0e49911d7806af1425b971dcde59195cdb99

commit 64eb0e49911d7806af1425b971dcde59195cdb99
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2021-12-03 07:11:58 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2021-12-03 07:12:26 +0000

    www-client/chromium: beta channel bump to 97.0.4692.36
    
    Bug: https://bugs.gentoo.org/827861
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/Manifest                                      | 2 +-
 ...romium-97.0.4692.20-r1.ebuild => chromium-97.0.4692.36.ebuild} | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)