ungoogled-software / ungoogled-chromium

Google Chromium, sans integration with Google
BSD 3-Clause "New" or "Revised" License
19.56k stars 801 forks source link

WebGL Support #2918

Closed freerig closed 1 week ago

freerig commented 1 week ago

OS/Platform

Arch Linux

Installed

OS/Platform's package manager

Version

Version 126.0.6478.55 (Official Build, ungoogled-chromium) Arch Linux (64 bits)

Have you tested that this is not an upstream issue or an issue with your configuration?

Description

WebGL just don't works

How to Reproduce?

Go to a webgl website (figma for exemple)

Actual behaviour

It does not appear your computer supports WebGL. Click here for more information.

Status: Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Disabled, GL_RENDERER = Disabled, Sandboxed = yes, Optimus = no, AMD switchable = no, Reset notification strategy = 0x0000, ErrorMessage = BindToCurrentSequence failed: .

And only this error message

Expected behaviour

working WebGL

Relevant log output

# chrome://gpu/

Graphics Feature Status
=======================
*   Canvas: Software only. Hardware acceleration disabled
*   Canvas out-of-process rasterization: Disabled
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Software only. Hardware acceleration disabled
*   Multiple Raster Threads: Disabled
*   OpenGL: Disabled
*   Rasterization: Software only. Hardware acceleration disabled
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Software only. Hardware acceleration disabled
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Disabled
*   WebGL2: Disabled
*   WebGPU: Disabled
*   WebNN: Disabled

Driver Bug Workarounds
======================
*   enable_webgl_timer_query_extensions
*   exit_on_context_lost
*   disabled_extension_GL_KHR_blend_equation_advanced
*   disabled_extension_GL_KHR_blend_equation_advanced_coherent
*   disabled_extension_GL_MESA_framebuffer_flip_y

Problems Detected
=================
*   WebGPU has been disabled via blocklist or the command line.
    Disabled Features: webgpu

*   Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
    Disabled Features: video_encode

*   Gpu compositing has been disabled, either via blocklist, about:flags or the command line. The browser will fall back to software compositing and hardware acceleration will be unavailable.
    Disabled Features: gpu_compositing

*   GPU process was unable to boot: GPU process crashed too many times with SwiftShader.
    Disabled Features: all

*   Disable KHR_blend_equation_advanced until cc shaders are updated:
    (http://crbug.com/661715)
    Applied Workarounds: disable(GL_KHR_blend_equation_advanced),
        disable(GL_KHR_blend_equation_advanced_coherent)

*   Expose WebGL's disjoint_timer_query extensions on platforms with site isolation:
    (http://crbug.com/808744), (http://crbug.com/870491)
    Applied Workarounds: enable_webgl_timer_query_extensions

*   Some drivers can't recover after OUT_OF_MEM and context lost:
    (http://crbug.com/893177)
    Applied Workarounds: exit_on_context_lost

*   Disable GL_MESA_framebuffer_flip_y for desktop GL:
    (http://crbug.com/964010)
    Applied Workarounds: disable(GL_MESA_framebuffer_flip_y)

Dawn Info
=========

<CPU>  Vulkan backend - SwiftShader Device (Subzero)
----------------------------------------------------

[WebGPU Status]
---------------
*   Blocklisted

[Adapter Supported Features]
----------------------------
*   depth-clip-control
*   depth32float-stencil8
*   timestamp-query
*   texture-compression-bc
*   texture-compression-etc2
*   texture-compression-astc
*   indirect-first-instance
*   rg11b10ufloat-renderable
*   bgra8unorm-storage
*   float32filterable
*   dawn-internal-usages
*   dawn-multi-planar-formats
*   dawn-native
*   implicit-device-synchronization
*   surface-capabilities
*   transient-attachments
*   unorm16texture-formats
*   adapter-properties-memory-heaps
*   adapter-properties-vk
*   format-capabilities
*   shared-texture-memory-opaque-fd
*   shared-fence-vk-semaphore-opaque-fd

[Enabled Toggle Names]
----------------------
*   lazy_clear_resource_on_first_use: 
    (https://crbug.com/dawn/145):
    Clears resource to zero on first usage. This initializes the resource so
    that no dirty bits from recycled memory is present in the new resource.

*   use_temporary_buffer_in_texture_to_texture_copy: 
    (https://crbug.com/dawn/42):
    Split texture-to-texture copy into two copies: copy from source texture
    into a temporary buffer, and copy from the temporary buffer into the
    destination texture when copying between compressed textures that don't
    have block-aligned sizes. This workaround is enabled by default on all
    Vulkan drivers to solve an issue in the Vulkan SPEC about the
    texture-to-texture copies with compressed formats. See #1005
    (https://github.com/KhronosGroup/Vulkan-Docs/issues/1005) for more
    details.

*   vulkan_use_d32s8: 
    (https://crbug.com/dawn/286):
    Vulkan mandates support of either D32_FLOAT_S8 or D24_UNORM_S8. When
    available the backend will use D32S8 (toggle to on) but setting the toggle
    to off will make it use the D24S8 format when possible.

*   vulkan_use_s8: 
    (https://crbug.com/dawn/666):
    Vulkan has a pure stencil8 format but it is not universally available.
    When this toggle is on, the backend will use S8 for the stencil8 format,
    otherwise it will fallback to D32S8 or D24S8.

*   disallow_spirv: 
    (https://crbug.com/1214923):
    Disallow usage of SPIR-V completely so that only WGSL is used for shader
    modules. This is useful to prevent a Chromium renderer process from
    successfully sending SPIR-V code to be compiled in the GPU process.

*   use_placeholder_fragment_in_vertex_only_pipeline: 
    (https://crbug.com/dawn/136):
    Use a placeholder empty fragment shader in vertex only render pipeline.
    This toggle must be enabled for OpenGL ES backend, the Vulkan Backend, and
    serves as a workaround by default enabled on some Metal devices with Intel
    GPU to ensure the depth result is correct.

*   timestamp_quantization: 
    (https://crbug.com/dawn/1800):
    Enable timestamp queries quantization to reduce the precision of timers
    that can be created with timestamp queries.

*   use_vulkan_zero_initialize_workgroup_memory_extension: 
    (https://crbug.com/dawn/1302):
    Initialize workgroup memory with OpConstantNull on Vulkan when the Vulkan
    extension VK_KHR_zero_initialize_workgroup_memory is supported.

[WebGPU Required Toggles - enabled]
-----------------------------------
*   disallow_spirv: 
    (https://crbug.com/1214923):
    Disallow usage of SPIR-V completely so that only WGSL is used for shader
    modules. This is useful to prevent a Chromium renderer process from
    successfully sending SPIR-V code to be compiled in the GPU process.

*   timestamp_quantization: 
    (https://crbug.com/dawn/1800):
    Enable timestamp queries quantization to reduce the precision of timers
    that can be created with timestamp queries.

Version Information
===================
Data exported              : 2024-06-17T16:18:37.401Z
Chrome version             : Chrome/125.0.6422.141
Operating system           : Linux 6.9.5-arch1-1
Software rendering list URL: https://chromium.9oo91esource.qjz9zk/chromium/src/+/4b1e83937122185343ba92e909b021f307c719ca/gpu/config/software_rendering_list.json
Driver bug list URL        : https://chromium.9oo91esource.qjz9zk/chromium/src/+/4b1e83937122185343ba92e909b021f307c719ca/gpu/config/gpu_driver_bug_list.json
ANGLE commit id            : unknown hash
2D graphics backend        : Skia/125 665b0e8923549ef080ece8f6b2125de90a8e9e0c
Command Line               : /usr/lib/chromium/chromium --disable-features=WaylandFractionalScaleV1 --ozone-platform=wayland --flag-switches-begin --enable-webgl-draft-extensions --hide-fullscreen-exit-ui --ignore-gpu-blocklist --enable-features=ChromeWebuiRefresh2023,ComposeUiRefinement --flag-switches-end --eye-dropper-not-supported https://youtu.be/l0qvxPPISuY?t=10

Driver Information
==================
Initialization time             : 0
In-process GPU                  : false
Passthrough Command Decoder     : true
Sandboxed                       : true
GPU0                            : VENDOR= 0x0000, DEVICE=0x0000
Optimus                         : false
AMD switchable                  : false
GPU CUDA compute capability major version: 0
Pixel shader version            : 
Vertex shader version           : 
Max. MSAA samples               : 
Machine model name              : 
Machine model version           : 
GL implementation parts         : (gl=disabled,angle=none)
Display type                    : 
GL_VENDOR                       : Disabled
GL_RENDERER                     : Disabled
GL_VERSION                      : Disabled
GL_EXTENSIONS                   : 
Disabled Extensions             : GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_MESA_framebuffer_flip_y
Disabled WebGL Extensions       : 
Window system binding vendor    : 
Window system binding version   : 
Window system binding extensions: 
XDG_CURRENT_DESKTOP             : Hyprland
XDG_SESSION_TYPE                : wayland
Interfaces exposed by the Wayland compositor: wl_seat:9 wl_data_device_manager:3 wl_compositor:6 wl_subcompositor:1 wl_shm:1 wp_viewporter:1 wp_tearing_control_manager_v1:1 wp_fractional_scale_manager_v1:1 zxdg_output_manager_v1:3 wp_cursor_shape_manager_v1:1 zwp_idle_inhibit_manager_v1:1 zwp_relative_pointer_manager_v1:1 zxdg_decoration_manager_v1:1 wp_alpha_modifier_v1:1 zwlr_gamma_control_manager_v1:1 ext_foreign_toplevel_list_v1:1 zwp_pointer_gestures_v1:3 zwlr_foreign_toplevel_manager_v1:3 zwp_keyboard_shortcuts_inhibit_manager_v1:1 zwp_text_input_manager_v3:1 zwp_pointer_constraints_v1:1 zwlr_output_power_manager_v1:1 xdg_activation_v1:1 ext_idle_notifier_v1:1 ext_session_lock_manager_v1:1 zwp_input_method_manager_v2:1 zwp_virtual_keyboard_manager_v1:1 zwlr_virtual_pointer_manager_v1:2 zwlr_output_manager_v1:4 org_kde_kwin_server_decoration_manager:1 hyprland_focus_grab_manager_v1:1 zwp_tablet_manager_v2:1 zwlr_layer_shell_v1:5 wp_presentation:1 xdg_wm_base:6 zwlr_data_control_manager_v1:2 zwp_primary_selection_device_manager_v1:1 xwayland_shell_v1:1 hyprland_toplevel_export_manager_v1:2 zwp_text_input_manager_v1:1 hyprland_global_shortcuts_manager_v1:1 zwlr_screencopy_manager_v1:3 wp_drm_lease_device_v1:1 wl_output:4 zwp_linux_dmabuf_v1:5 wl_drm:2
Ozone platform                  : wayland
Direct rendering version        : unknown
Reset notification strategy     : 0x0000
GPU process crash count         : 3
gfx::BufferFormats supported for allocation and texturing: R_8: not supported,  R_16: not supported,  RG_88: not supported,  RG_1616: not supported,  BGR_565: not supported,  RGBA_4444: not supported,  RGBX_8888: not supported,  RGBA_8888: not supported,  BGRX_8888: not supported,  BGRA_1010102: not supported,  RGBA_1010102: not supported,  BGRA_8888: not supported,  RGBA_F16: not supported,  YVU_420: not supported,  YUV_420_BIPLANAR: not supported,  YUVA_420_TRIPLANAR: not supported,  P010: not supported

Compositor Information
======================
Tile Update Mode: One-copy
Partial Raster  : Enabled

GpuMemoryBuffers Status
=======================
R_8               : CAMERA_AND_CPU_READ_WRITE, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
R_16              : Software only
RG_88             : Software only
RG_1616           : Software only
BGR_565           : GPU_READ
RGBA_4444         : Software only
RGBX_8888         : GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
RGBA_8888         : GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
BGRX_8888         : GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
BGRA_1010102      : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
RGBA_1010102      : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
BGRA_8888         : GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_FRONT_RENDERING
RGBA_F16          : Software only
YVU_420           : GPU_READ, SCANOUT_VEA_CPU_READ, VEA_READ_CAMERA_AND_CPU_READ_WRITE
YUV_420_BIPLANAR  : SCANOUT_CAMERA_READ_WRITE, SCANOUT_CPU_READ_WRITE, SCANOUT_VEA_CPU_READ, SCANOUT_FRONT_RENDERING, VEA_READ_CAMERA_AND_CPU_READ_WRITE
YUVA_420_TRIPLANAR: Software only
P010              : Software only

Display(s) Information
======================
Info                          : Display[46] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
Color space (all)             : {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL}
Buffer format (all)           : RGBA_8888
Color volume                  : {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]}
SDR white level in nits       : 203
HDR relative maximum luminance: 1
Bits per color component      : 8
Bits per pixel                : 24

Video Acceleration Information
==============================
Decoding: 
Encoding:

Vulkan Information
==================

Device Performance Information
==============================

Driver Information for Hardware GPU
===================================
Initialization time             : 0
In-process GPU                  : false
Passthrough Command Decoder     : true
Sandboxed                       : true
GPU0                            : VENDOR= 0x0000, DEVICE=0x0000
Optimus                         : false
AMD switchable                  : false
GPU CUDA compute capability major version: 0
Pixel shader version            : 
Vertex shader version           : 
Max. MSAA samples               : 
Machine model name              : 
Machine model version           : 
GL implementation parts         : (gl=disabled,angle=none)
Display type                    : 
GL_VENDOR                       : Disabled
GL_RENDERER                     : Disabled
GL_VERSION                      : Disabled
GL_EXTENSIONS                   : 
Disabled Extensions             : GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions       : 
Window system binding vendor    : 
Window system binding version   : 
Window system binding extensions: 
XDG_CURRENT_DESKTOP             : Hyprland
XDG_SESSION_TYPE                : wayland
Interfaces exposed by the Wayland compositor: wl_seat:9 wl_data_device_manager:3 wl_compositor:6 wl_subcompositor:1 wl_shm:1 wp_viewporter:1 wp_tearing_control_manager_v1:1 wp_fractional_scale_manager_v1:1 zxdg_output_manager_v1:3 wp_cursor_shape_manager_v1:1 zwp_idle_inhibit_manager_v1:1 zwp_relative_pointer_manager_v1:1 zxdg_decoration_manager_v1:1 wp_alpha_modifier_v1:1 zwlr_gamma_control_manager_v1:1 ext_foreign_toplevel_list_v1:1 zwp_pointer_gestures_v1:3 zwlr_foreign_toplevel_manager_v1:3 zwp_keyboard_shortcuts_inhibit_manager_v1:1 zwp_text_input_manager_v3:1 zwp_pointer_constraints_v1:1 zwlr_output_power_manager_v1:1 xdg_activation_v1:1 ext_idle_notifier_v1:1 ext_session_lock_manager_v1:1 zwp_input_method_manager_v2:1 zwp_virtual_keyboard_manager_v1:1 zwlr_virtual_pointer_manager_v1:2 zwlr_output_manager_v1:4 org_kde_kwin_server_decoration_manager:1 hyprland_focus_grab_manager_v1:1 zwp_tablet_manager_v2:1 zwlr_layer_shell_v1:5 wp_presentation:1 xdg_wm_base:6 zwlr_data_control_manager_v1:2 zwp_primary_selection_device_manager_v1:1 xwayland_shell_v1:1 hyprland_toplevel_export_manager_v1:2 zwp_text_input_manager_v1:1 hyprland_global_shortcuts_manager_v1:1 zwlr_screencopy_manager_v1:3 wp_drm_lease_device_v1:1 wl_output:4 zwp_linux_dmabuf_v1:5 wl_drm:2
Ozone platform                  : wayland
Direct rendering version        : unknown
Reset notification strategy     : 0x0000
GPU process crash count         : 3
gfx::BufferFormats supported for allocation and texturing: R_8: supported,  R_16: supported,  RG_88: supported,  RG_1616: supported,  BGR_565: supported,  RGBA_4444: supported,  RGBX_8888: supported,  RGBA_8888: supported,  BGRX_8888: supported,  BGRA_1010102: supported,  RGBA_1010102: supported,  BGRA_8888: supported,  RGBA_F16: supported,  YVU_420: not supported,  YUV_420_BIPLANAR: not supported,  YUVA_420_TRIPLANAR: supported,  P010: not supported

Graphics Feature Status for Hardware GPU
========================================
*   Canvas: Hardware accelerated
*   Canvas out-of-process rasterization: Enabled
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Hardware accelerated
*   Multiple Raster Threads: Enabled
*   OpenGL: Enabled
*   Rasterization: Hardware accelerated
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Hardware accelerated
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Hardware accelerated
*   WebGL2: Hardware accelerated
*   WebGPU: Disabled
*   WebNN: Disabled

Driver Bug Workarounds for Hardware GPU
=======================================
*   clear_pixel_unpack_buffer_before_copyteximage
*   disable_software_to_accelerated_canvas_upgrade
*   enable_webgl_timer_query_extensions
*   exit_on_context_lost
*   force_cube_map_positive_x_allocation
*   force_int_or_srgb_cube_texture_complete
*   disabled_extension_GL_KHR_blend_equation_advanced
*   disabled_extension_GL_KHR_blend_equation_advanced_coherent

Problems Detected for Hardware GPU
==================================
*   WebGPU has been disabled via blocklist or the command line.
    Disabled Features: webgpu

*   Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
    Disabled Features: video_encode

*   Linux ATI drivers crash on binding incomplete cube map texture to FBO:
    (http://crbug.com/518889)
    Applied Workarounds: force_cube_map_positive_x_allocation

*   Disable KHR_blend_equation_advanced until cc shaders are updated:
    (http://crbug.com/661715)
    Applied Workarounds: disable(GL_KHR_blend_equation_advanced),
        disable(GL_KHR_blend_equation_advanced_coherent)

*   Software to Accelerated canvas update breaks Linux AMD:
    (http://crbug.com/710029)
    Applied Workarounds: disable_software_to_accelerated_canvas_upgrade

*   Force integer or srgb cube map texture complete on Linux AMD:
    (http://crbug.com/712117)
    Applied Workarounds: force_int_or_srgb_cube_texture_complete

*   Expose WebGL's disjoint_timer_query extensions on platforms with site isolation:
    (http://crbug.com/808744), (http://crbug.com/870491)
    Applied Workarounds: enable_webgl_timer_query_extensions

*   AMD Linux driver crashes when copyTexImage2D is called with PIXEL_UNPACK_BUFFER set to an uninitialized buffer:
    (http://crbug.com/859998)
    Applied Workarounds: clear_pixel_unpack_buffer_before_copyteximage

*   Some drivers can't recover after OUT_OF_MEM and context lost:
    (http://crbug.com/893177)
    Applied Workarounds: exit_on_context_lost

Log Messages
============
[1200:1200:0617/181722.985492:WARNING:sandbox_linux.cc(436)] : InitializeSandbox() called with multiple threads in process gpu-process.
[1200:1200:0617/181723.989171:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[1200:1200:0617/181723.989311:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[1200:1200:0617/181723.989391:ERROR:shared_image_factory.cc(996)] : CreateSharedImage: could not create backing.
[1200:1200:0617/181723.989473:ERROR:shared_image_factory.cc(758)] : DestroySharedImage: Could not find shared image mailbox
GpuProcessHost: The GPU process exited with code 8704.
[1751:1751:0617/181724.211087:WARNING:sandbox_linux.cc(436)] : InitializeSandbox() called with multiple threads in process gpu-process.
[1751:1751:0617/181724.505902:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[1751:1751:0617/181724.506047:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[1751:1751:0617/181724.506126:ERROR:shared_image_factory.cc(996)] : CreateSharedImage: could not create backing.
[1751:1751:0617/181724.506369:ERROR:shared_image_factory.cc(758)] : DestroySharedImage: Could not find shared image mailbox
GpuProcessHost: The GPU process exited with code 8704.
[1819:1819:0617/181724.636306:WARNING:sandbox_linux.cc(436)] : InitializeSandbox() called with multiple threads in process gpu-process.
[1819:1819:0617/181724.806754:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[1819:1819:0617/181724.806854:ERROR:gbm_pixmap_wayland.cc(82)] : Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[1819:1819:0617/181724.806925:ERROR:shared_image_factory.cc(996)] : CreateSharedImage: could not create backing.
[1819:1819:0617/181724.806991:ERROR:shared_image_factory.cc(758)] : DestroySharedImage: Could not find shared image mailbox
GpuProcessHost: The GPU process exited with code 8704.
[1866:1866:0617/181724.869487:ERROR:angle_platform_impl.cc(44)] : Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:1784.
[1866:1866:0617/181724.869677:ERROR:gl_display.cc(520)] : EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:1784.
[1866:1866:0617/181724.869756:ERROR:gl_display.cc(796)] : eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[1866:1866:0617/181724.869821:ERROR:gl_display.cc(830)] : Initialization of all EGL display types failed.
[1866:1866:0617/181724.869866:ERROR:gl_ozone_egl.cc(26)] : GLDisplayEGL::Initialize failed.
[1866:1866:0617/181724.870293:ERROR:angle_platform_impl.cc(44)] : Display.cpp:1086 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:1784.
[1866:1866:0617/181724.870391:ERROR:gl_display.cc(520)] : EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:1784.
[1866:1866:0617/181724.870446:ERROR:gl_display.cc(796)] : eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[1866:1866:0617/181724.870488:ERROR:gl_display.cc(830)] : Initialization of all EGL display types failed.
[1866:1866:0617/181724.870528:ERROR:gl_ozone_egl.cc(26)] : GLDisplayEGL::Initialize failed.
[1866:1866:0617/181724.871831:ERROR:viz_main_impl.cc(166)] : Exiting GPU process due to errors during initialization
GpuProcessHost: The GPU process exited normally. Everything is okay.[quelquun@Oscarounet ~]$ It does not appear your computer suIt does not appear your computer supports WebGL.
Click here for more information.

Status: Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Disabled, GL_RENDERER = Disabled, Sandboxed = yes, Optimus = no, AMD switchable = no, Reset notification strategy = 0x0000, ErrorMessage = BindToCurrentSequence failed: .It does not appear your computer supports WebGL.
Click here for more information.

Status: Could not create a WebGL context, VENDOR = 0xffff, DEVICE = 0xffff, GL_VENDOR = Disabled, GL_RENDERER = Disabled, Sandboxed = yes, Optimus = no, AMD sw

Additional context

I use Arch, I did all my pacman -Syu and yay -Syu I have an AMD RX 580

$ pacman -Q | grep 'amd|vulkan|vlk|mesa|gpu|radeon'

lib32-libva-mesa-driver 1:24.1.1-1
lib32-mesa 1:24.1.1-1
lib32-vulkan-icd-loader 1.3.279-1
lib32-vulkan-radeon 1:24.1.1-1
libva-mesa-driver 1:24.1.1-1
mesa 1:24.1.1-1
mesa-vdpau 1:24.1.1-1
vulkan-headers 1:1.3.285-1
vulkan-icd-loader 1.3.285-1
vulkan-radeon 1:24.1.1-1
vulkan-tools 1.3.269-1
vulkan-validation-layers 1.3.275-1
xf86-video-amdgpu 23.0.0-2

WebGL used to work, but one day... no webgl. I did not make gpu/driver changes (I think) Tell me if you need extra-info.

Thanks

freerig commented 1 week ago

Solved : just set GL_VENDOR env var to "test", then reset it, and it works

PF4Public commented 1 week ago

See also https://github.com/ungoogled-software/ungoogled-chromium/issues/1999