New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 847210 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Hardware Acceleration not working when using a docking station

Reported by sscha...@gmail.com, May 28 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Example URL:
http://webglsamples.org/aquarium/aquarium.html

Steps to reproduce the problem:
1. First I visit the page webgl testpage without the docking station plugged in and I get around 55 fps.
2. Plug in the docking station and I still get 55fps
3. Restart Chrome, while the docking station is plugged in and visit the webgl test page again: I get around 12fps.

What is the expected behavior?
I am expecting to get 55 fps in both cases

What went wrong?
Seems like during the startup you are detecting if hardware acceleration is available, but when the docking station is connected, this does not work correctly.
As long as I don't restart Chrome, it works just fine if Chrome is launched BEFORE I connect the docking station.

Did this work before? N/A 

Is it a problem with Flash or HTML5? N/A

Does this work in other browsers? Yes

Chrome version: 66.0.3359.181  Channel: stable
OS Version: 10.0
Flash Version: 

Contents of chrome://gpu: 

Graphics Feature Status
Canvas: Software only, hardware acceleration unavailable
CheckerImaging: Disabled
Flash: Software only. Hardware acceleration disabled
Flash Stage3D: Software only. Hardware acceleration disabled
Flash Stage3D Baseline profile: Software only. Hardware acceleration disabled
Compositing: Software only. Hardware acceleration disabled
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only. Hardware acceleration disabled
Surface Synchronization: Enabled
Video Decode: Software only. Hardware acceleration disabled
WebGL: Software only, hardware acceleration unavailable
WebGL2: Software only, hardware acceleration unavailable
Problems Detected
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Checker-imaging has been disabled via finch trial or the command line.
Disabled Features: checker_imaging
Version Information
Data exported	2018-05-28T13:13:17.854Z
Chrome version	Chrome/66.0.3359.181
Operating system	Windows NT 10.0.16299
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/a10b9cedb40738cb152f8148ddab4891df876959/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	22c768fbda54
2D graphics backend	Skia/66 773868fdade5f9f0e7697e6d09c9bd80aaa9b402-
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --flag-switches-end -- https://wcn96042.live.dynatrace.com/#uemapplications/uemuseractionoverview;uemuserActionId=APPLICATION_METHOD-AC89EB57916E1C23;filtr3filterBrwsType=DESKTOP_BROWSER;uemTf=custom1526624700000to1526667900000;uemAnTf=custom1526644254834to1526651454834;uemapplicationId=APPLICATION-A29204D16CC5FD83;uemSelDaSe=Executions;call-uri=42557906Z1X7X7X864086X20180518132048Y0.session
Driver Information
Initialization time	130
In-process GPU	false
Passthrough Command Decoder	false
Direct Composition	true
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x17e9, DEVICE= 0x6006
GPU1	VENDOR = 0x8086, DEVICE= 0x591b *ACTIVE*
GPU2	VENDOR = 0x17e9, DEVICE= 0x6006
GPU3	VENDOR = 0x17e9, DEVICE= 0x6006
GPU4	VENDOR = 0x10de, DEVICE= 0x13b6
Optimus	false
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1	15.6"
Diagonal Monitor Size of \\.\DISPLAY7	24.9"
Diagonal Monitor Size of \\.\DISPLAY6	24.9"
Driver vendor	
Driver version	
Driver date	
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	16
Machine model name	
Machine model version	
GL_VENDOR	Google Inc. (Google Inc.)
GL_RENDERER	Google SwiftShader (ANGLE (Intel(R) HD Graphics 630 Direct3D11 vs_5_0 ps_5_0))
GL_VERSION	OpenGL ES 2.0 SwiftShader (OpenGL ES 2.0 (ANGLE 2.1.0.22c768fbda54))
GL_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
Disabled Extensions	
Disabled WebGL Extensions	
Window system binding vendor	Google Inc. (adapter LUID: 000000000000a6c1)
Window system binding version	1.4 (ANGLE 2.1.0.22c768fbda54)
Window system binding 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
Direct rendering	Yes
Reset notification strategy	0x8252
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
R_16	Software only
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	GPU_READ, SCANOUT
RGBA_8888	GPU_READ, SCANOUT
BGRX_8888	Software only
BGRX_1010102	Software only
RGBX_1010102	Software only
BGRA_8888	Software only
RGBA_F16	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Display(s) Information
Info	Display[2528732444] bounds=-1707,0 1707x960, workarea=-1707,0 1707x930, scale=2.25, external
Color space information	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Info	Display[917481049] bounds=2048,0 2048x1152, workarea=2048,0 2048x1122, scale=1.25, external
Color space information	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Info	Display[3958967264] bounds=0,0 2048x1152, workarea=0,0 2048x1122, scale=1.25, external
Color space information	{primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Encode h264 baseline	up to 3840x2176 pixels and/or 30.000 fps
Encode h264 main	up to 3840x2176 pixels and/or 30.000 fps
Encode h264 high	up to 3840x2176 pixels and/or 30.000 fps
Diagnostics
... loading ...
Log Messages
[10396:12700:0528/151114.744:WARNING:angle_platform_impl.cc(59)] : compileToBinary(228): C:\fakepath(65,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them C:\fakepath(87,10-42): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them

Let me know if you need more information
 
Labels: Needs-Triage-M66
Labels: Triaged-ET TE-Hardware-Dependency
sschatka@ Thanks for the issue.

As this issue needs to be tested using 'docking station', this is not available at TE end to test further. 
Hence adding 'TE-Hardware-Dependency' label for further help in triaging the issue.

Thanks.. 

Comment 3 by sscha...@gmail.com, May 29 2018

OK, let me know, if I can help by turning on some debugflags or attach some more logs 
Components: -Internals>Media Blink>WebGL
Over to WebGL folks (no <audio> <video> used here)

Comment 5 by kbr@chromium.org, May 29 2018

Cc: yunchao...@intel.com zmo@chromium.org yang...@intel.com
Components: Internals>GPU>ANGLE Internals>GPU>Internals
Submitter: could you please tell us the exact model of laptop and docking station you are using?

It seems clear your Chrome installation is falling back to software rendering via SwiftShader in this case, but I'm not 100% sure why. We have a Razer laptop with external GPU in house, and this case at least doesn't fall back to software rendering.

+Intel folks since this is happening on a Windows laptop with Intel GPU.

Comment 6 by yang...@intel.com, May 30 2018

@sschatka, is your docking station connected to any external monitor? If so, can you try to disable it and try again?

Comment 7 by sscha...@gmail.com, May 30 2018

I am using a dell precision 5520 with a d6000 docking station.
Yes there are external monitors connected.

I have disconnected them and it works fine. After reconnecting 1 monitor(i have 2 connected to the docking station usually) windows is switching into mirror mode(and not into extend desktop mode) and it is still using the gpu, but when I attach the second monitor it will switch to the extend mode and the cpu will be used

Comment 8 by yang...@intel.com, May 30 2018

This is a Kabylake laptop. I just simply tried my laptop (HD Graphics 520) with an external monitor connected under extend mode (without docking station), and WebGL worked well. 
I'm not sure if I can find related hardware at my side. 
Owner: ligim...@chromium.org
Status: Assigned (was: Unconfirmed)
ligimole: is it possible for the test team to get this hardware and try to repro?
Cc: bustamante@chromium.org enne@chromium.org
Adrienne, if you could provide us with exact hardware configuration of system and docking station from amazon.in, QA can procure and try a repro.

ligi: I have a MS Surface that has the exact GPU (Intel HD 520). I can bring it to you for testing.
Labels: Needs-Feedback
But first, can you try with Chrome Beta (currently M69)? We do have a bug in M68 that sometimes we push Chrome to SwiftShader incorrectly. I am wondering if it's related to that.

If M69 Beta still fails the same way, we will try to reproduce in house.
Here is Chrome Beta: https://www.google.com/chrome/beta/

Sign in to add a comment