Closed Bug 1446681 Opened 6 years ago Closed 6 years ago

Crash in nvoglv64.dll

Categories

(Core :: Graphics: WebRender, defect)

Unspecified
Windows 10
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jseward, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Crash Data

This bug was filed from the Socorro interface and is
report bp-4cbdd48d-922c-4f9e-837d-66b830180315.
=============================================================

Top 8 frames of crashing thread:

0 nvoglv64.dll nvoglv64.dll@0xdfec71 
1 nvoglv64.dll nvoglv64.dll@0xb03877 
2 nvoglv64.dll nvoglv64.dll@0xc58760 
3 nvoglv64.dll nvoglv64.dll@0x9b0e47 
4 nvoglv64.dll nvoglv64.dll@0xc5aabd 
5 nvoglv64.dll nvoglv64.dll@0x9b345f 
6 nvoglv64.dll nvoglv64.dll@0xd1a8d7 
7 nvoglv64.dll nvoglv64.dll@0x9b13e0 

=============================================================

Possibly some kind of NVidia driver crash?  This is topcrash #4 in the
Windows nightly 20180315100042.  Unfortunately there are no frames in
our code in any of the reports, but maybe the driver is blockable or
some other useful correlation exists?
Flags: needinfo?(bugmail)
I've gotten this crash when setting gfx.webrender.force-angle to false with webrender enabled. I know setting gfx.webrender.force-angle to false was a work around for Bug 1431560. So, perhaps this is where its all coming from?
https://crash-stats.mozilla.com/search/?graphics_critical_error=~WR%3A%20ERROR%3A%20Invalid%20window%20dimensions%21%20Please%20call%20api.set_window_size%28%29&date=%3E%3D2018-03-15T21%3A01%3A23.000Z&date=%3C2018-03-18T21%3A01%3A23.000Z&_sort=-build_id&_sort=-date&_facets=signature&_columns=date&_columns=signature&_columns=product&_columns=version&_columns=build_id&_columns=platform#crash-reports
Blocks: wr-stability
Crash Signature: [@ nvoglv64.dll] → [@ nvoglv64.dll] [@ nvoglv64.dll | RtlpAllocateHeapInternal ] [@ nvoglv64.dll | RtlpFreeHeap ] [@ RtlAllocateHeap | nvoglv64.dll | VirtualQuery ] [@ nvoglv64.dll | xul.dll@0x5a98af | nvoglv64.dll | static void webrender::renderer::Renderer::draw_insta…
Component: Graphics → Graphics: WebRender
See Also: → 1446286
Version: unspecified → Trunk
@darkspirit: I'm not convinced that all the crash signatures with the "Invalid window dimensions" error message are the same root cause. It might be better to keep them separate for now. I filed bug 1447037 specifically for that error message.

As for the nvoglv64.dll crash, I guess we'll keep an eye on it. It might get fixed at some point by other changes we make. I don't have much else to contribute about that. Certainly we'll need to do a pass over all crashes and evaluate their frequency before turning on WR by default on nightly.
Flags: needinfo?(bugmail)
I have a friend who can reproduce this crash somewhat reliably by loading certain pages. It doesn't happen on very simple pages, though. He has gfx.webrender.force-angle set to false as well.

Some of his crashes have the "Invalid window dimension" error, but most of them do not.
After doing some testing, this crash appears to occur for me on every browser startup when gfx.webrender.force-angle is false. Here is the graphics section for me after startup:

Graphics
Features
Compositing	Basic
Asynchronous Pan/Zoom	wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info	EGL_VENDOR: Google Inc. (adapter LUID: 0000000000007c96)
EGL_VERSION: 1.4 (ANGLE 2.1.0.27cef491162b)
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_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 
WebGL 1 Driver Renderer	Google Inc. -- ANGLE (NVIDIA GeForce GTX 770 Direct3D11 vs_5_0 ps_5_0)
WebGL 1 Driver Version	OpenGL ES 2.0 (ANGLE 2.1.0.27cef491162b)
WebGL 1 Driver Extensions	GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control 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_sync_query 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_frag_depth 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_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_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_compressed_ETC1_RGB8_texture 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_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 
WebGL 1 Extensions	ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_frag_depth EXT_sRGB EXT_shader_texture_lod EXT_texture_filter_anisotropic EXT_disjoint_timer_query 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: 0000000000007c96)
EGL_VERSION: 1.4 (ANGLE 2.1.0.27cef491162b)
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_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 
WebGL 2 Driver Renderer	Google Inc. -- ANGLE (NVIDIA GeForce GTX 770 Direct3D11 vs_5_0 ps_5_0)
WebGL 2 Driver Version	OpenGL ES 3.0 (ANGLE 2.1.0.27cef491162b)
WebGL 2 Driver Extensions	GL_ANGLE_client_arrays GL_ANGLE_depth_texture GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_multiview GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control 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_sync_query 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_frag_depth 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_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_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_compressed_ETC1_RGB8_texture 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_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 
WebGL 2 Extensions	EXT_color_buffer_float EXT_texture_filter_anisotropic EXT_disjoint_timer_query OES_texture_float_linear 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
DirectWrite	true (10.0.16299.15)
GPU #1
Active	Yes
Description	NVIDIA GeForce GTX 770
Vendor ID	0x10de
Device ID	0x1184
Driver Version	23.21.13.9101
Driver Date	2-23-2018
Drivers	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumdx.dll C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumd.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_048172e9d7cc483d\nvldumd.dll
Subsys ID	36031458
RAM	2048
Diagnostics
AzureCanvasAccelerated	0
AzureCanvasBackend	skia
AzureContentBackend	skia
AzureFallbackCanvasBackend	cairo
Device Reset	
failures	CP+[GFX1-]: Failed to create WebRenderBridgeChild.
Decision Log
GPU_PROCESS	
failed by runtime: Failed to create remote compositor
WEBRENDER	
opt-in by default: WebRender is an opt-in feature
available by user: Enabled by pref
unavailable by runtime: GPU Process is disabled
ADVANCED_LAYERS	
unavailable by runtime: Advanced-layers requires a D3D11 device
Failure Log
(#0) 	CP+[GFX1-]: Failed to create WebRenderBridgeChild.
(#3) Error	Receive IPC close with reason=AbnormalShutdown
(#4) Error	Receive IPC close with reason=AbnormalShutdown
(#5) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#6) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#7) Error	Receive IPC close with reason=AbnormalShutdown
(#8) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#9) Error	Failed to create remote compositor
(#10) Error	[D3D11] failed to get compositor device.
(#11) Error	[D3D11] Failed to init compositor with reason: FEATURE_FAILURE_D3D11_NO_DEVICE
(#12) Error	Compositors might be mixed (5,1)
(#13) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#14) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#15) 	CP+[GFX1-]: Receive IPC close with reason=AbnormalShutdown
(#16) Error	Receive IPC close with reason=AbnormalShutdown
(#17) Error	Receive IPC close with reason=AbnormalShutdown
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
Build-ID: 20180319100039

STR:
1. be on a fresh profile
2. set gfx.webrender.all to true, gfx.webrender.force-angle to false
3. open settings, click on "Firefox account"

Firefox will crash. After using the crash reporting tool, 5-6 crash reports are created, the majority originating from the gpu (web) process. Restarting using the crash reporter will leave one process in "suspended" status which can be seen in the task-manager. Firefox will now either use the Basic renderer or will use WR again.

- If the basic renderer is used, the same error messages get logged in the graphics section on about:support as in comment https://bugzilla.mozilla.org/show_bug.cgi?id=1446681#c5
- If WR is active, no errors are logged and the browser behaves completely stable. Closing Firefox, killing the suspended process and opening Firefox again will produce a browser that will crash using the same STR steps.

Crash reports:
https://crash-stats.mozilla.com/report/index/baebedb2-4ca8-49dd-ae0a-e62960180319

GPU process crash reports:
https://crash-stats.mozilla.com/report/index/5da86092-5958-48bd-a0dc-d655d0180319
https://crash-stats.mozilla.com/report/index/c3443e2a-2a2a-4b34-a0ab-edd1f0180319
https://crash-stats.mozilla.com/report/index/4c951ace-ef30-4da4-aaae-9f9300180319
https://crash-stats.mozilla.com/report/index/53184732-b0f1-446c-a6f8-4802a0180319
https://crash-stats.mozilla.com/report/index/2bfe347c-c479-4104-8a3e-650240180319
We're not planing on supporting gfx.webrender.force-angle=false any time soon, so if this is bothering people I'd recommend switching back to the default.
(In reply to Jeff Muizelaar [:jrmuizel] from comment #7)
> We're not planing on supporting gfx.webrender.force-angle=false any time
> soon, so if this is bothering people I'd recommend switching back to the
> default.

Setting "gfx.webrender.force-angle" to "true" deactivates WebRender completely for me since my GPU is too old to be supported by ANGLE for the required OpenGL level needed for WR. 

WR worked very well on my machine before this issue, often 60 fps and very few visual glitches, if any.
We plan to eventually stop using ANGLE and then we should be able to support your GPU without using OpenGL
(In reply to Jeff Muizelaar [:jrmuizel] from comment #9)
> We plan to eventually stop using ANGLE and then we should be able to support
> your GPU without using OpenGL

This will be possible using gfx-rs instead of ANGLE, won't it? I did not mean to say that WR worked for me better than the default renderer, I just wanted to still be able to test it and file bugs :)

In any case, I cannot reproduce this issue anymore using build-id 20180321220044.
(In reply to hwinnemo from comment #10)
> (In reply to Jeff Muizelaar [:jrmuizel] from comment #9)
> > We plan to eventually stop using ANGLE and then we should be able to support
> > your GPU without using OpenGL
> 
> This will be possible using gfx-rs instead of ANGLE, won't it? I did not
> mean to say that WR worked for me better than the default renderer, I just
> wanted to still be able to test it and file bugs :)

That's correct.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.