Open Bug 1657125 Opened 2 years ago Updated 6 months ago

Significant performance decrease with webgl.out-of-process on multiple webgl websites

Categories

(Core :: Graphics: CanvasWebGL, defect, P2)

defect

Tracking

()

Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- unaffected
firefox79 --- unaffected
firefox80 --- wontfix
firefox81 --- wontfix
firefox82 --- wontfix
firefox83 --- affected
firefox84 --- affected

People

(Reporter: bogdan_maris, Unassigned)

References

(Depends on 3 open bugs, )

Details

Affected versions

  • Latest Nightly 80.0a1

Affected platforms

  • Windows 10 64bit
  • Ubuntu 18.04 64bit
  • MacOS 10.15/ 11.0

Steps to reproduce

  1. Start Nightly
  2. Visit about:config and change the value of the pref webgl.out-of-process to true
  3. Run any of the websites that from this doc that had issues: https://docs.google.com/spreadsheets/d/1al0Szzn-d9OIlJ9EyLYhUMsDT8hdITmp9Htj_tc1D3w/edit#gid=552478549

Expected result

  • Demos have the same performance with or without webgl.out-of-process

Actual result

  • Many of the websites from the attached gdoc have lower performance with webgl.out-of-process enabled.

Regression range

  • Not a regression since this is a new feature.

Additional notes

  • I would recommend an S2 severity for this bug since there is a large amount of demos affected by this and the performance drop is significant.
  • These performance issues can be seen with or without webrender. Here is the about:support output frome one webrender active machine:
Application Basics
------------------

Name: Firefox
Version: 80.0a1
Build ID: 20200726214746
Distribution ID:
Update Channel: nightly
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0
OS: Windows_NT 10.0 20161
Launcher Process: Enabled
Multiprocess Windows: 1/1 Enabled by default
Remote Processes: 7
Enterprise Policies: Active
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

Report ID: bp-66429a5d-1100-4205-bef8-29a610200727
Submitted: 1 hour ago

Report ID: bp-e6676ae8-355b-45a3-821a-fc6230200727
Submitted: 4 hours ago

Report ID: bp-01f9c182-b379-4ada-a789-1f36b0200727
Submitted: 4 hours ago

Report ID: bp-9435b466-b329-4eda-a238-6eb9c0200727
Submitted: 4 hours ago

Report ID: bp-122fb43e-f090-46e8-b274-ec2b00200727
Submitted: 4 hours ago

Report ID: bp-b278a306-d65e-4ea0-a634-34b360200727
Submitted: 4 hours ago

Report ID: bp-77654102-5915-441a-873d-852730200724
Submitted: 3 days ago

Report ID: bp-fa1ed41f-6103-4ce3-a223-df9d90200724
Submitted: 3 days ago

Report ID: bp-50f65c9c-d787-48f7-adc9-29d710200724
Submitted: 3 days ago

Report ID: bp-128396e8-4be3-479d-9ef2-d80a30200724
Submitted: 3 days ago

Report ID: bp-492d9cfe-d051-4a5d-9105-2b1fb0200724
Submitted: 3 days ago

Report ID: bp-e8bd48b2-2fdd-4e35-93d9-77b310200724
Submitted: 3 days ago

Report ID: bp-2bc19156-0019-4681-ad60-f3abc0200724
Submitted: 3 days ago

Report ID: bp-ec037e4d-de46-4a11-8b2d-91be50200724
Submitted: 3 days ago

Report ID: bp-08c75b20-c20a-4873-90dc-6c6490200724
Submitted: 3 days ago

Report ID: bp-7f0a1e48-3142-4b77-9cb9-397f20200724
Submitted: 3 days ago

Report ID: bp-faaabab9-3c31-4aac-b0c1-e99180200724
Submitted: 3 days ago

Report ID: bp-754a695e-c000-4a09-ac3c-e20860200724
Submitted: 3 days ago

Nightly Features
----------------

Name: DoH Roll-Out
Version: 2.0.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.0
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0
ID: formautofill@mozilla.org

Name: Web Compat
Version: 13.0.1
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.3.0
ID: webcompat-reporter@mozilla.org

Remote Processes
----------------

Type: Web Content
Count: 2 / 8

Type: Extension
Count: 1

Type: Privileged About
Count: 1

Type: Preallocated
Count: 1

Type: GPU
Count: 1

Type: Socket
Count: 1

Add-ons
-------

Name: Amazon.com
Type: extension
Version: 1.1
Enabled: true
ID: amazondotcom@search.mozilla.org

Name: Bing
Type: extension
Version: 1.1
Enabled: true
ID: bing@search.mozilla.org

Name: DuckDuckGo
Type: extension
Version: 1.0
Enabled: true
ID: ddg@search.mozilla.org

Name: Google
Type: extension
Version: 1.0
Enabled: true
ID: google@search.mozilla.org

Name: Wikipedia (en)
Type: extension
Version: 1.0
Enabled: true
ID: wikipedia@search.mozilla.org

Security Software
-----------------

Type: AVG Antivirus

Type:

Type: Microsoft Firewall

Graphics
--------

Features
Compositing: Direct3D 11
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000009046) EGL_VERSION: 1.4 (ANGLE 2.1.0.6c72b64f910d) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context EGL_ANGLE_feature_control
WebGL 1 Driver Renderer: Google Inc. -- ANGLE (AMD Radeon HD 5450 Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version: OpenGL ES 2.0.0 (ANGLE 2.1.0.6c72b64f910d)
WebGL 1 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_3D GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: EGL_VENDOR: Google Inc. (adapter LUID: 0000000000009046) EGL_VERSION: 1.4 (ANGLE 2.1.0.6c72b64f910d) EGL_EXTENSIONS: EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_client_buffer EGL_ANGLE_d3d_texture_client_buffer EGL_ANGLE_surface_d3d_texture_2d_share_handle EGL_ANGLE_query_surface_pointer EGL_ANGLE_window_fixed_size EGL_ANGLE_keyed_mutex EGL_ANGLE_surface_orientation EGL_ANGLE_direct_composition EGL_NV_post_sub_buffer EGL_KHR_create_context EGL_EXT_device_query EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_KHR_stream EGL_KHR_stream_consumer_gltexture EGL_NV_stream_consumer_gltexture_yuv EGL_ANGLE_flexible_surface_compatibility EGL_ANGLE_stream_producer_d3d_texture EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource EGL_CHROMIUM_sync_control EGL_EXT_pixel_format_float EGL_KHR_surfaceless_context EGL_ANGLE_display_texture_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_EXTENSIONS(nullptr): EGL_EXT_client_extensions EGL_EXT_platform_base EGL_EXT_platform_device EGL_ANGLE_platform_angle EGL_ANGLE_platform_angle_d3d EGL_ANGLE_device_creation EGL_ANGLE_device_creation_d3d11 EGL_ANGLE_experimental_present_path EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug EGL_ANGLE_explicit_context EGL_ANGLE_feature_control
WebGL 2 Driver Renderer: Google Inc. -- ANGLE (AMD Radeon HD 5450 Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version: OpenGL ES 3.0.0 (ANGLE 2.1.0.6c72b64f910d)
WebGL 2 Driver Extensions: GL_ANGLE_client_arrays GL_ANGLE_copy_texture_3d GL_ANGLE_depth_texture GL_ANGLE_explicit_context GL_ANGLE_explicit_context_gles1 GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex GL_ANGLE_request_extension GL_ANGLE_robust_client_memory GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ANGLE_texture_multisample GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_CHROMIUM_bind_generates_resource GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_color_buffer_float_rgb GL_CHROMIUM_color_buffer_float_rgba GL_CHROMIUM_copy_compressed_texture GL_CHROMIUM_copy_texture GL_CHROMIUM_lose_context GL_CHROMIUM_sync_query GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_sRGB GL_EXT_shader_texture_lod GL_EXT_texture_compression_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_s3tc_srgb GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16 GL_EXT_texture_rg GL_EXT_texture_storage GL_EXT_unpack_subimage GL_KHR_debug GL_KHR_parallel_shader_compile GL_KHR_robust_buffer_access_behavior GL_NV_EGL_stream_consumer_external GL_NV_fence GL_NV_pack_subimage GL_NV_pixel_buffer_object GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_depth24 GL_OES_depth32 GL_OES_element_index_uint GL_OES_get_program_binary GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_texture_3D GL_OES_texture_border_clamp GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_array_object GL_OVR_multiview GL_OVR_multiview2 OES_compressed_EAC_R11_signed_texture OES_compressed_EAC_R11_unsigned_texture OES_compressed_EAC_RG11_signed_texture OES_compressed_EAC_RG11_unsigned_texture OES_compressed_ETC2_RGB8_texture OES_compressed_ETC2_RGBA8_texture OES_compressed_ETC2_punchthroughA_RGBA8_texture OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture OES_compressed_ETC2_sRGB8_alpha8_texture OES_compressed_ETC2_sRGB8_texture
WebGL 2 Extensions: EXT_color_buffer_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_filter_anisotropic MOZ_debug OES_texture_float_linear OVR_multiview2 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Direct2D: true
Off Main Thread Painting Enabled: true
Off Main Thread Painting Worker Count: 4
Target Frame Rate: 60
DirectWrite: true (10.0.20161.1000)
GPU #1
Active: Yes
Description: AMD Radeon HD 5450
Vendor ID: 0x1002
Device ID: 0x68f9
Driver Version: 15.201.1151.1008
Driver Date: 11-4-2015
Drivers: aticfx64 aticfx64 aticfx64 amdxc64 aticfx32 aticfx32 aticfx32 amdxc32 atiumd64 atidxx64 atidxx64 atiumdag atidxx32 atidxx32 atiumdva atiumd6a atitmm64
Subsys ID: 00000000
RAM: 1024
GPU #2
Active: No
RAM: 0
Diagnostics
AzureCanvasBackend: direct2d 1.1
AzureCanvasBackend (UI Process): skia
AzureContentBackend: direct2d 1.1
AzureContentBackend (UI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aWWlZuFoHWlZaplr1W0VblVvlXDVchlzWXSddeF3JXhpebF69Xw9fYV+zYAVgV2CqYPxhT2GiYfViSWKcYvBjQ2OXY+tkQGSUZOllPWWSZedmPWaSZuhnPWeTZ+loP2iWaOxpQ2maafFqSGqfavdrT2una/9sV2yvbQhtYG25bhJua27Ebx5veG/RcCtwhnDgcTpxlXHwcktypnMBc11zuHQUdHB0zHUodYV14XY+dpt2+HdWd7N4EXhueMx5KnmJeed6RnqlewR7Y3vCfCF8gXzhfUF9oX4BfmJ+wn8jf4R/5YBHgKiBCoFrgc2CMIKSgvSDV4O6hB2EgITjhUeFq4YOhnKG14c7h5+IBIhpiM6JM4mZif6KZIrKizCLlov8jGOMyo0xjZiN/45mjs6PNo+ekAaQbpDWkT+RqJIRknqS45NNk7aUIJSKlPSVX5XJljSWn5cKl3WX4JhMmLiZJJmQmfyaaJrVm0Kbr5wcnImc951kndKeQJ6unx2fi5/6oGmg2KFHobaiJqKWowajdqPmpFakx6U4pammGqaLpv2nbqfgqFKoxKk3qamqHKqPqwKrdavprFys0K1ErbiuLa6hrxavi7AAsHWw6rFgsdayS7LCszizrrQltJy1E7WKtgG2ebbwt2i34LhZuNG5SrnCuju6tbsuu6e8IbybvRW9j74KvoS+/796v/XAcMDswWfB48JfwtvDWMPUxFHEzsVLxcjGRsbDx0HHv8g9yLzJOsm5yjjKt8s2y7bMNcy1zTXNtc42zrbPN8+40DnQutE80b7SP9LB00TTxtRJ1MvVTtXR1lXW2Ndc1+DYZNjo2WzZ8dp22vvbgNwF3IrdEN2W3hzeot8p36/gNuC94UThzOJT4tvjY+Pr5HPk/OWE5g3mlucf56noMui86Ubp0Opb6uXrcOv77IbtEe2c7ijutO9A78zwWPDl8XLx//KM8xnzp/Q09ML1UPXe9m32+/eK+Bn4qPk4+cf6V/rn+3f8B/yY/Sn9uv5L/tz/bf//
Display0: 1920x1080@60Hz
DisplayCount: 1
GPUProcessPid: 11732
GPUProcess: Terminate GPU Process
Device Reset: Trigger Device Reset
ClearType Parameters: Gamma: 2.2 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 50
Decision Log
HW_COMPOSITING:
available by default
D3D11_COMPOSITING:
available by default
DIRECT2D:
available by default
D3D11_HW_ANGLE:
available by default
GPU_PROCESS:
available by default
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
available by user: Qualified enabled by pref
unavailable by runtime: Failed to create new surface
WEBRENDER_QUALIFIED:
available by default
WEBRENDER_COMPOSITOR:
available by default
WEBRENDER_PARTIAL:
available by default
WEBRENDER_ANGLE:
opt-in by default: WebRender ANGLE is an opt-in feature
available by user: Enabled
WEBRENDER_DCOMP_PRESENT:
opt-in by default: WebRender DirectComposition is an opt-in feature
available by user: Enabled
OMTP:
available by default
ADVANCED_LAYERS:
available by default
blocked by env: Blocked from fallback candidate by WebRender usage
WEBGPU:
disabled by default: Disabled by default


Failure Log
(#0) Error: Receive IPC close with reason=AbnormalShutdown
(#17): CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#18): CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#19): CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#20): GP+[GFX1-]: Internal D3D11 error: HRESULT: 0x887A0005: Error allocating Texture2D
(#21): GP+[GFX1-]: Context has been lost.
(#22): GP+[GFX1-]: DCompositionSurface::BeginDraw failed: 0x887a0005
(#23): GP+[GFX1-]: Failed to make render context current, can't draw.
(#24): GP+[GFX1-]: GFX: RenderThread detected a device reset in BeginFrame
(#25) Error: Compositors might be mixed (5,1)
(#26): GP+[GFX1-]: Failed to make render context current during destroying.
(#27): GP+[GFX1-]: Failed to make render context current during destroying.
(#28): GP+[GFX1-]: [D3D11] failed to get compositor device.
(#29): GP+[GFX1-]: [D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE
(#30) Error: Compositors might be mixed (1,3)
(#31): GP+[GFX1]: Failed to create Pbuffer surface error: 0x300e Size : Size(1061,635)

Media
-----

Audio Backend: wasapi
Max Channels: 2
Preferred Sample Rate: 48000
Roundtrip latency (standard deviation): 57.68ms (3.13)
Output Devices
Name: Group
Internal AUX Jack (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
AMD HDMI Output (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1002\5&22e87887&0&0001
Speakers (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
Digital Audio (S/PDIF) (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
Input Devices
Name: Group
Desktop Microphone (2- Microsoft® LifeCam HD-3000): USB\VID_045E&PID_0779&MI_02\8&67a0d2d&0&0002
Internal AUX Jack (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
Desktop Microphone (Microsoft® LifeCam HD-3000): USB\VID_045E&PID_0779&MI_02\6&8ceda5a&0&0002
Microphone (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
AMD HDMI Output (AMD High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1002&DEV_AA01&SUBSYS_00AA0100&REV_1002\5&22e87887&0&0001
Microphone (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
Line In (High Definition Audio Device): HDAUDIO\FUNC_01&VEN_1106&DEV_0441&SUBSYS_1458A014&REV_1001\4&c77706c&0&0001
Media Capabilities
Enumerate database

Experimental Features
---------------------

about:home startup cache (browser.startup.homepage.abouthome_cache.enabled): false
Cookies: SameSite=Lax by default (network.cookie.sameSite.laxByDefault): true
Cookies: SameSite=None requires secure attribute (network.cookie.sameSite.noneRequiresSecure): true
Cookies: Schemeful SameSite (network.cookie.sameSite.schemeful): true
CSS: Constructable Stylesheets (layout.css.constructable-stylesheets.enabled): false
CSS: Pseudo-class: :focus-visible (layout.css.focus-visible.enabled): true
CSS: Masonry Layout (layout.css.grid-template-masonry-value.enabled): false
Developer Tools: Color Scheme Simulation (devtools.inspector.color-scheme-simulation.enabled): false
Developer Tools: Compatibility Panel (devtools.inspector.compatibility.enabled): true
Developer Tools: Execution Context Selector (devtools.webconsole.input.context): true
Developer Tools: Service Worker debugging (devtools.debugger.features.windowless-service-workers): false
Graphics: Smooth Pinch Zoom (apz.allow_zooming): false
Media: AVIF (image.avif.enabled): false
Web API: Media Session API (dom.media.mediasession.enabled): true
Web API: beforeinput Event (dom.input_events.beforeinput.enabled): false
Web API: inputmode (dom.forms.inputmode): true
Web API: <link rel="preload"> (network.preload): true
Web API: WebGPU (dom.webgpu.enabled): false

Important Modified Preferences
------------------------------

browser.cache.disk.amount_written: 32960
browser.cache.disk.filesystem_reported: 1
browser.contentblocking.category: standard
browser.search.region: RO
browser.sessionstore.upgradeBackup.latestBuildID: 20200726214746
browser.startup.homepage_override.buildID: 20200726214746
browser.startup.homepage_override.mstone: 80.0a1
browser.urlbar.placeholderName: Google
dom.push.userAgentID: 8313078a682441bda5058abd365693df
extensions.lastAppVersion: 80.0a1
layers.mlgpu.sanity-test-failed: true
media.gmp-gmpopenh264.abi: x86_64-msvc-x64
media.gmp-gmpopenh264.lastUpdate: 1595846900
media.gmp-gmpopenh264.version: 1.8.1.1
media.gmp-manager.buildID: 20200726214746
media.gmp-manager.lastCheck: 1595846899
media.gmp-widevinecdm.abi: x86_64-msvc-x64
media.gmp-widevinecdm.lastUpdate: 1595846901
media.gmp-widevinecdm.version: 4.10.1582.2
media.gmp.storage.version.observed: 1
media.hardware-video-decoding.failed: false
places.history.expiration.transient_current_max_pages: 112348
privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
security.remote_settings.crlite_filters.checked: 1595846899
security.remote_settings.intermediates.checked: 1595846899
security.sandbox.content.tempDirSuffix: {258d7231-7665-4f7b-a167-e386333efa6b}
security.sandbox.plugin.tempDirSuffix: {378a8ef9-f407-4476-97b2-e96f5f5aa22b}
ui.osk.debug.keyboardDisplayReason: IKPOS: Touch screen not found.
webgl.out-of-process: true

Important Locked Preferences
----------------------------

dom.ipc.processCount.webIsolated: 1
security.enterprise_roots.enabled: true

Places Database
---------------

Accessibility
-------------

Activated: false
Prevent Accessibility: 0
Accessible Handler Used: true
Accessibility Instantiator:

Library Versions
----------------

NSPR
Expected minimum version: 4.27
Version in use: 4.27

NSS
Expected minimum version: 3.55
Version in use: 3.55

NSSSMIME
Expected minimum version: 3.55
Version in use: 3.55

NSSSSL
Expected minimum version: 3.55
Version in use: 3.55

NSSUTIL
Expected minimum version: 3.55
Version in use: 3.55

Sandbox
-------

Content Process Sandbox Level: 6
Effective Content Process Sandbox Level: 6

Startup Cache
-------------

Disk Cache Path: C:\Users\bogdan.maris\AppData\Local\Mozilla\Firefox\Profiles\6g7vqmzv.Out\startupCache\startupCache.8.little
Ignore Disk Cache: false
Found Disk Cache on Init: false
Wrote to Disk Cache: true

Internationalization & Localization
-----------------------------------

Application Settings
Requested Locales: ["en-US"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-US"]
Default Locale: "en-US"
Operating System
System Locales: ["en-US","ja-JP"]
Regional Preferences: ["en-US"]

Remote Debugging (Chromium Protocol)
------------------------------------

Accepting Connections: false
URL:
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Summary: Significant performance decrease with webgl.out-of-process on various webgl websites → Significant performance decrease with webgl.out-of-process on multiple webgl websites
Severity: normal → --

The severity field is not set for this bug.
:jgilbert, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jgilbert)
Severity: -- → S3
Flags: needinfo?(jgilbert)
Priority: -- → P2

Running the same websites from comment 0 but on 82.0a1 there are many improvements but there still are some demos where fps drops were recorded, some very noticeable some not that much, but still there. This round we used different environments (more modern GPUs).

Here is the testrun: https://docs.google.com/spreadsheets/d/1al0Szzn-d9OIlJ9EyLYhUMsDT8hdITmp9Htj_tc1D3w/edit#gid=2009904215
I did not want to log bugs for each website since there would have been multiple bugs with the same issue. Let me know if you prefere for us to log bugs for each demo.

Looking at a profile, it looks like in some cases we just don't end up with concurrency between client and host. I'm guessing that some workloads end up flushing too little, so we basically wait until the end of the frame to flush, block on completion of the flushed data, and stall.
In bug 1665289, I reduced the default shmem size from 100KB to 10KB, which should help apps that flush a lot of commands late.

Fundamentally, we probably want to more eagerly flush based on some heuristic.

Ideas: (easiest to hardest)

  • Even smaller shmems
  • Flush all pending every N ms
  • Since we're trying to avoid stalls, we can have Host send an async message when it finishes with a DispatchCommands.
  • Live cross-process shmem (doesn't necessarily need to be a ring buffer)

This is also seen in macOS 10.15 and macOS 11. (updating the first comment)

Updating for 83.0b7 as well.
Was noticed that on macOS 10.15 the FPS loss issue has worsen in report with previous testing round done on 83.0b4.
The status can be observed here a key aspect being that it's having Webrender enabled as well this time.

You need to log in before you can comment on or make changes to this bug.