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

Issue 674092 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jun 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 3
Type: Bug



Sign in to add a comment

Slow WebGL FPS, and threejs LineMaterial clipping

Reported by chrsmlls...@gmail.com, Dec 14 2016

Issue description

Chrome Version       : 54.0.2840.99 m
URLs (if applicable) : https://threejs.org/examples/#webgl_loader_collada_keyframe
Other browsers tested:
    Firefox: OK
         IE: OK

What steps will reproduce the problem?
(1) Go to provided URL
(2) Look at the gridlines below animation. Some are clipped/not-drawn in Chrome
(3) Note additional long frames and lag where other browsers run smoothly

What is the expected result?
Full rendering of LineMaterial in threejs webgl

What happens instead?
Inaccurate clipping based on distance from the camera, as if they are being read as "out of frame"

ADDITIONAL INFO 
Semi-recent bug, showed up approximately November 1st
Other webgl/threejs users with different graphics cards and same chrome version have noted no problem. Therefore I believe it to be chrome's handling of my graphics card in webgl 

MY HARDWARE
Win 10 Pro
Intel i7 i74510U
AMD Radeon R9 M275

 
77974b7c-af7d-11e6-8af9-b25b13f97a59[1].png
340 KB View Download

Comment 1 by ajha@chromium.org, Dec 15 2016

Labels: Needs-Milestone Needs-Bisect OS-Windows
Cc: msrchandra@chromium.org
Components: Blink>WebGL
Labels: -Needs-Bisect -Needs-Milestone M-55 Needs-Feedback
Tested the issue on Latest Chrome Stable# 55.0.2883.87 on Windows 10 and could not reproduce the issue.
All the grid lines below animation are displayed properly and was not having any lag.

@chrsmlls333 -- Could you please upgrade your Chrome to latest stable and provide us the recent update which would help us triage further
Thanks in Advance.
Now on 55.0.2883.87 m

Now has the additional issue of the frame not updating unless I change the dimensions of the screen, prompting some refresh I assume. Some other webgl sketches don't do this, so this must be an additional regression to some specific call.

Could it be anything other than the handling of the graphics card?

Link below renders correctly but at 5fps vs ~45fps in firefox
http://www.chriseugenemills.com/projects/walled-garden/
Capture.PNG
56.3 KB View Download
Labels: GPU-AMD
We should try this on an AMD card.. could be related. chrsmlls333 can you save and attach the contents of your about:gpu page to get exact details on your driver version, etc?

Comment 5 by kbr@chromium.org, Dec 20 2016

http://www.chriseugenemills.com/projects/walled-garden/ runs fine on my Windows AMD workstation. Definitely not 5 FPS. about:gpu follows.

Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Software only, hardware acceleration unavailable
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
VPx Video Decode: Software only, hardware acceleration unavailable
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_direct_composition
disable_discard_framebuffer
disable_dxgi_zero_copy_video
disable_framebuffer_cmaa
disable_nv12_dxgi_video
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
VPx decoding isn't supported before Windows 10 anniversary update.: 616318
Disabled Features: accelerated_vpx_decode
GPU rasterization should only be enabled on NVIDIA Pascal and Maxwell, Intel Broadwell+, and AMD RX-R2 GPUs for now.: 643850
Disabled Features: gpu_rasterization
Some AMD drivers have rendering glitches with GPU Rasterization: 653538
Disabled Features: gpu_rasterization
Some drivers are unable to reset the D3D device in the GPU process sandbox
Applied Workarounds: exit_on_context_lost
TexSubImage is faster for full uploads on ANGLE
Applied Workarounds: texsubimage_faster_than_teximage
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
ANGLE crash on glReadPixels from incomplete cube map texture: 518889
Applied Workarounds: force_cube_complete
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Direct composition flashes black initially on Win <10: 588588
Applied Workarounds: disable_direct_composition
Zero copy DXGI video hangs on shutdown on Win < 8.1: 621190
Applied Workarounds: disable_dxgi_zero_copy_video
NV12 DXGI video hangs or displays incorrect colors on AMD drivers: 623029, 644293
Applied Workarounds: disable_dxgi_zero_copy_video, disable_nv12_dxgi_video
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Decode and Encode before generateMipmap for srgb format textures on Windows: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	12/19/2016, 8:51:14 PM
Chrome version	Chrome/57.0.2956.0
Operating system	Windows NT 6.3.9600
Software rendering list version	12.07
Driver bug list version	9.25
ANGLE commit id	d9671226c7dd
2D graphics backend	Skia/57 d4b9c35d9d8c9f325a69516df5c9f81e5ba17e50
Command Line Args	SxS\Application\chrome.exe" --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	47
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	false
GPU0	VENDOR = 0x1002, DEVICE= 0x6613
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1	24.0"
Driver vendor	Advanced Micro Devices, Inc.
Driver version	21.19.134.1
Driver date	9-7-2016
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	8
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (AMD Radeon R7 200 Series Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 3.0 (ANGLE 2.1.0.d9671226c7dd)
GL_EXTENSIONS	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_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_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_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_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	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor	Google Inc. (adapter LUID: 000000000000bac1)
Window system binding version	1.4 (ANGLE 2.1.0.d9671226c7dd)
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_nv12 EGL_ANGLE_create_context_webgl_compatibility EGL_CHROMIUM_create_context_bind_generates_resource
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
RG_88	Software only
BGR_565	Software only
RGBA_4444	Software only
RGBX_8888	Software only
RGBA_8888	Software only
BGRX_8888	Software only
BGRA_8888	Software only
YVU_420	Software only
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Diagnostics
0
b3DAccelerationEnabled	true
b3DAccelerationExists	true
bAGPEnabled	true
bAGPExistenceValid	true
bAGPExists	true
bCanRenderWindow	true
bDDAccelerationEnabled	true
bDriverBeta	false
bDriverDebug	false
bDriverSigned	false
bDriverSignedValid	false
bNoHardware	false
dwBpp	32
dwDDIVersion	11
dwHeight	1200
dwRefreshRate	60
dwWHQLLevel	0
dwWidth	1920
iAdapter	0
lDriverSize	1546712
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	AMD Radeon Graphics Processor (0x6613)
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Internal DAC(400MHz)
szDDIVersionEnglish	11.1
szDDIVersionLocalized	11.1
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Not Supported
szDXVAModes	ModeMPEG2_A ModeMPEG2_C ModeVC1_C ModeWMV9_C
szDescription	AMD Radeon R7 200 Series
szDeviceId	0x6613
szDeviceIdentifier	{D7B71EE2-2553-11CF-F273-0D24BCC2D835}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	5867 MB
szDisplayMemoryLocalized	5867 MB
szDisplayModeEnglish	1920 x 1200 (32 bit) (60Hz)
szDisplayModeLocalized	1920 x 1200 (32 bit) (60Hz)
szDriverAssemblyVersion	21.19.134.1
szDriverAttributes	Final Retail
szDriverDateEnglish	9/7/2016 07:47:48
szDriverDateLocalized	9/7/2016 7:47:48 AM
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 1.3
szDriverModelLocalized	WDDM 1.3
szDriverName	aticfx64.dll,aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll,atidxx64.dll,atiumdag,atidxx32,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll
szDriverNodeStrongName	oem27.inf:cb0ae414e0edd08a:WB64A_ati2mtag_R501:21.19.134.1:pci\ven_1002&dev_6613
szDriverSignDate	
szDriverVersion	21.19.0134.0001
szKeyDeviceID	Enum\PCI\VEN_1002&DEV_6613&SUBSYS_048B1043&REV_00
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{54DC5C25-0A35-4AA2-9A70-82BB52CA8FE1}\0000
szManufacturer	Advanced Micro Devices, Inc.
szMiniVdd	n/a
szMiniVddDateEnglish	n/a
szMiniVddDateLocalized	n/a
szMonitorMaxRes	
szMonitorName	Generic PnP Monitor
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Not Supported
szRankOfInstalledDriver	00DA2001
szRegHelpText	
szRevision	
szRevisionId	0x0000
szSubSysId	0x048B1043
szTestResultD3D7English	Not run
szTestResultD3D7Localized	Not run
szTestResultD3D8English	Not run
szTestResultD3D8Localized	Not run
szTestResultD3D9English	Not run
szTestResultD3D9Localized	Not run
szTestResultDDEnglish	Not run
szTestResultDDLocalized	Not run
szVdd	n/a
szVendorId	0x1002
Log Messages
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
jmad, I've attached my chrome://gpu info below.
Project Member

Comment 7 by sheriffbot@chromium.org, Dec 28 2016

Labels: -Needs-Feedback Needs-Review
Owner: msrchandra@chromium.org
Thank you for providing more feedback. Adding requester "msrchandra@chromium.org" for another review and adding "Needs-Review" label for tracking.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Needs-Review Needs-Feedback
Owner: ----
#6 Hm... the gpu.html file you provided seems to be mostly empty. Perhaps try sending a plain text version (select all, copy, paste)? Thanks.
#8 oops sorry
gpu.txt
239 KB View Download
Labels: -GPU-AMD -Needs-Feedback
#9 Great, thanks.

From that about:gpu page it looks like you have switchable graphics and the Intel GPU is the one that's being used. The Intel GPU shouldn't be slow or have problems, either, though. Two questions:

* Have you tried Chrome Canary - does it show the same problem?
* If it hasn't been fixed in Canary: Do you still see this problem if you force Chrome to use the discrete GPU? You should be able to do this from the AMD control panel. Make sure you fully restart Chrome and check that the "*ACTIVE*" GPU in about:gpu is "VENDOR = 0x1002, DEVICE= 0x6820". Don't forget to change it back afterward for lower power consumption.


Pointing out a few "Problems Detected" that you have that kbr does not:

> Disable Direct3D11 on systems with AMD switchable graphics: 451420
> Applied Workarounds: disable_d3d11

This seems like a likely culprit for the behavior difference, but it could also just be the Intel GPU. Even if the AMD GPU is active, this workaround should still still take effect, so we'll be able to guess.

> On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
> Applied Workarounds: msaa_is_slow

I thought this could be affecting the line rasterization, but this is supposed to only affect non-WebGL.

> Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
> Disabled Features: rasterization

I'm not sure what this one does, but possibly noteworthy.
Labels: Needs-Feedback
Unable to reproduce the issue on Win 10 using 55.0.2883.87.
674092_Jan_3.mp4
7.4 MB View Download
Status: WontFix (was: Unconfirmed)
Marking as obsolete after 31 days.

Sign in to add a comment