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

Issue 642610 link

Starred by 4 users

Issue metadata

Status: Available
Merged: issue 642539
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Severe rendering lag in Granblue Fantasy in higher-complexity scenes

Reported by k...@luminance.org, Aug 31 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:48.0) Gecko/20100101 Firefox/48.0

Example URL:
http://game.granbluefantasy.jp/ (see other comments)

Steps to reproduce the problem:
1. Enter multiplayer (raid) battles containing 3 enemies. Examples are Grand Order and Lv100 Tiamat
2. Open the character skill or summon panel

What is the expected behavior?
Framerate should remain stable at around 60 frames per second

What went wrong?
When the character and summon panels are open in battles containing 3 enemies, the requestAnimationFrame rate drops around to 12-15hz. Traces show the browser is completely bogged down talking with the GPU process / doing paint related work.

Battles with one enemy are fine, and most of the lag is gone if those panels are closed - so layout/css seems to have an interaction here, since the character and summon panels are just divs that get animated into/out of the bottom part of the viewport.

Did this work before? Yes Not sure exactly. A couple chrome versions ago.

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A 

Chrome version: Version 52.0.2743.116 m  Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0

This is still broken in Canary Version 55.0.2844.0, though I'm happy to note that the other layout/raf related bug afflicting this game ( bug 641217 ) is fixed in Canary.

I've attached an all-categories trace of the problem from chrome://tracing.

Note that it is hard to reproduce this manually since the game requires a registered account with a moderate amount of playtime to access the specific content that lags. If necessary I can let a developer access my account to do some debugging, or I can do some debugging on my machine on your behalf with VS/gpuperf/xperf/tracing/etc.

If you have an account that can access the content, the bug is 100% reproducible there. I've heard reports from other players that they have the same issue in Chrome (both release channel and canary).
 
trace_tia-hl-allcategories-canary.json.gz
8.8 MB Download
Cc: sunn...@chromium.org briander...@chromium.org vmi...@chromium.org
Components: Internals>GPU
Looks like CommandBufferProxyImpl::WaitForToken is being very slow here. +cc gpu folks.
Possibly a duplicate of  issue 642539 

Comment 3 by k...@luminance.org, Sep 6 2016

That bug does seem like it could be similar (the test scenes that struggle tend to use more images and thus VRAM, and some of the traces show a lot of time spent uploading textures), but vsynctester.com works perfectly here, so I don't know that it's the same thing. The stability of the frame timings in vsynctester is much better than Firefox or Edge on this machine (though I don't know if the values are fully accurate, I don't notice any major judder or frame drops.)
Screenshot 2016-09-06 01.43.16.png
768 KB View Download

Comment 4 by k...@luminance.org, Sep 6 2016

Whoops, my apologies. I had hardware acceleration turned off. Vsynctester does choke until I enable his workaround, so I do suffer from  issue 642539 .
Mergedinto: 642539
Status: Duplicate (was: Unconfirmed)

Comment 6 by k...@luminance.org, Jan 20 2017

Hi,

This issue was duped against 642539, which was marked as fixed in October. The lag reported in this issue still affects me and other Windows Chrome users who play this game.

-kg
The fix for  issue 642539  landed in 55.0.2881.0 so it should be in Chrome stable. What version are you running?

 

Comment 8 by k...@luminance.org, Jan 21 2017

OK, I didn't realize it would have taken until 55 to hit stable. I will retest here and ask other people. When did 55.0.2881.0 hit stable, exactly?

Comment 9 by k...@luminance.org, Jan 21 2017

Still broken in 55.0.2883.87. Confirmed locally and confirmed by some other players.

Here's a new trace. Runs perfectly with hardware acceleration turned off. In this case the lag seems to depend on scene complexity - opening one of the panels in the game UI will consistently trigger lag, as will certain attack animations.
tiahl_trace.json.gz
4.2 MB Download

Comment 10 by k...@luminance.org, Jan 21 2017

From examining the trace, the problem appears identical to what it was before: The GPU process is spending a significant chunk of time every frame handling teximage2d operations. I wonder if some sort of canvas or bitmap the game uses is being invalidated every frame and it's creating a stall?
Cc: junov@chromium.org
Components: -Internals>GPU -Internals>Media Internals>GPU>Canvas2D
Status: Available (was: Duplicate)
+ junov@

kg@luminance.org can you please post the contents of the chrome://gpu page? thanks!

Comment 12 by k...@luminance.org, Jan 21 2017

This also happens on my Surface Book if hardware acceleration is enabled, though Chrome crashes if I force the geforce GPU.

chrome://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 disabled
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
VPx Video Decode: Hardware accelerated
WebGL: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
disable_discard_framebuffer
disable_dxgi_zero_copy_video
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
Problems Detected
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
Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198
Applied Workarounds: disable_framebuffer_cmaa
Zero-copy NV12 video displays incorrect colors on NVIDIA drivers.: 635319
Applied Workarounds: disable_dxgi_zero_copy_video
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	1/20/2017, 5:46:41 PM
Chrome version	Chrome/55.0.2883.87
Operating system	Windows NT 10.0.14393
Software rendering list version	11.17
Driver bug list version	9.15
ANGLE commit id	4d208abb1926
2D graphics backend	Skia/55 d1740f81c843c65acd58d1b571ce94b90fee99d0
Command Line Args	Files (x86)\Google\Chrome\Application\chrome.exe" --disable-main-frame-before-activation --flag-switches-begin --top-chrome-md=material --flag-switches-end
Driver Information
Initialization time	30
In-process GPU	false
Sandboxed	false
GPU0	VENDOR = 0x10de, DEVICE= 0x1b80 *ACTIVE*
GPU1	VENDOR = 0x8086, DEVICE= 0x1912
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY2	26.9"
Diagonal Monitor Size of \\.\DISPLAY1	27.0"
Driver vendor	NVIDIA
Driver version	21.21.13.7633
Driver date	12-11-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 (NVIDIA GeForce GTX 1080 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 3.0 (ANGLE 2.1.0.4d208abb1926)
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_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_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	
Window system binding vendor	Google Inc. (adapter LUID: 0000000000009cf5)
Window system binding version	1.4 (ANGLE 2.1.0.4d208abb1926)
Window system binding extensions	EGL_EXT_create_context_robustness EGL_ANGLE_d3d_share_handle_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	12
dwHeight	2160
dwRefreshRate	60
dwWHQLLevel	0
dwWidth	3840
iAdapter	0
lDriverSize	17586992
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	GeForce GTX 1080
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Integrated RAMDAC
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Supported
szDXVAModes	
szDescription	NVIDIA GeForce GTX 1080
szDeviceId	0x1B80
szDeviceIdentifier	{D7B71E3E-58C0-11CF-2346-8E411BC2D835}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	40835 MB
szDisplayMemoryLocalized	40835 MB
szDisplayModeEnglish	3840 x 2160 (32 bit) (60Hz)
szDisplayModeLocalized	3840 x 2160 (32 bit) (60Hz)
szDriverAssemblyVersion	21.21.13.7633
szDriverAttributes	Final Retail
szDriverDateEnglish	2016-12-10 16:00:00
szDriverDateLocalized	12/10/2016 16:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.1
szDriverModelLocalized	WDDM 2.1
szDriverName	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvd3dumx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll
szDriverNodeStrongName	oem66.inf:0f066de361856a84:Section084:21.21.13.7633:pci\ven_10de&dev_1b80
szDriverSignDate	Unknown
szDriverVersion	21.21.0013.7633
szKeyDeviceID	Enum\PCI\VEN_10DE&DEV_1B80&SUBSYS_61833842&REV_A1
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{9949F561-396F-4655-89F0-D00DBC029B41}\0000
szManufacturer	NVIDIA
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Generic PnP Monitor
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Supported
szRankOfInstalledDriver	00D12001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x00A1
szSubSysId	0x61833842
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	unknown
szVendorId	0x10DE
1
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	12
dwHeight	2160
dwRefreshRate	60
dwWHQLLevel	0
dwWidth	3840
iAdapter	1
lDriverSize	17586992
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	GeForce GTX 1080
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Integrated RAMDAC
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Supported
szDXVAModes	
szDescription	NVIDIA GeForce GTX 1080
szDeviceId	0x1B80
szDeviceIdentifier	{D7B71E3E-58C0-11CF-2346-8E411BC2D835}
szDeviceName	\\.\DISPLAY2
szDisplayMemoryEnglish	40835 MB
szDisplayMemoryLocalized	40835 MB
szDisplayModeEnglish	3840 x 2160 (32 bit) (60Hz)
szDisplayModeLocalized	3840 x 2160 (32 bit) (60Hz)
szDriverAssemblyVersion	21.21.13.7633
szDriverAttributes	Final Retail
szDriverDateEnglish	2016-12-10 16:00:00
szDriverDateLocalized	12/10/2016 16:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.1
szDriverModelLocalized	WDDM 2.1
szDriverName	C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvd3dumx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_3f929cc119e3b994\nvwgf2umx.dll
szDriverNodeStrongName	oem66.inf:0f066de361856a84:Section084:21.21.13.7633:pci\ven_10de&dev_1b80
szDriverSignDate	Unknown
szDriverVersion	21.21.0013.7633
szKeyDeviceID	Enum\PCI\VEN_10DE&DEV_1B80&SUBSYS_61833842&REV_A1
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{9949F561-396F-4655-89F0-D00DBC029B41}\0001
szManufacturer	NVIDIA
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Dell P2715Q (DP4k60)
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Supported
szRankOfInstalledDriver	00D12001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x00A1
szSubSysId	0x61833842
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	unknown
szVendorId	0x10DE
2
b3DAccelerationEnabled	true
b3DAccelerationExists	true
bAGPEnabled	true
bAGPExistenceValid	false
bAGPExists	false
bCanRenderWindow	false
bDDAccelerationEnabled	true
bDriverBeta	false
bDriverDebug	false
bDriverSigned	false
bDriverSignedValid	false
bNoHardware	false
dwBpp	0
dwDDIVersion	12
dwHeight	0
dwRefreshRate	0
dwWHQLLevel	0
dwWidth	0
iAdapter	0
lDriverSize	39510728
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	Intel(R) HD Graphics Family
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Internal
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Unknown
szDXVAModes	Unknown
szDescription	Intel(R) HD Graphics 530
szDeviceId	0x1912
szDeviceIdentifier	Unknown
szDeviceName	Unknown
szDisplayMemoryEnglish	32818 MB
szDisplayMemoryLocalized	32818 MB
szDisplayModeEnglish	Unknown
szDisplayModeLocalized	unknown
szDriverAssemblyVersion	20.19.15.4463
szDriverAttributes	Final Retail
szDriverDateEnglish	2016-05-24 16:00:00
szDriverDateLocalized	5/24/2016 16:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.0
szDriverModelLocalized	WDDM 2.0
szDriverName	igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
szDriverNodeStrongName	oem62.inf:5f63e53470659c00:iSKLD_w10:20.19.15.4463:pci\ven_8086&dev_1912
szDriverSignDate	Unknown
szDriverVersion	20.19.0015.4463
szKeyDeviceID	Enum\PCI\VEN_8086&DEV_1912&SUBSYS_86941043&REV_06
szKeyDeviceKey	Unknown
szManufacturer	Intel Corporation
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Unknown
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Unknown
szRankOfInstalledDriver	00D12001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x0006
szSubSysId	0x86941043
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	unknown
szVendorId	0x8086
Log Messages
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
This issue is still happening on 

Version 57.0.2987.133   (Stable)
Windows 7 64bits
Flash: 25.0.0.127
16May2016, still occurring.

Chrome: Version 58.0.3029.110 (64-bit)
Windows: Windows 10 Home

I tried everything to fix this, but I suffer from it in Granblue as well, regardless of resolution.

Comment 16 Deleted

this bug still occuring in ubuntu 16.04 LTE
Chrome Version 65.0.3325.146 (Official Build) (64-bit)
Cc: -junov@chromium.org

Sign in to add a comment