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

Issue 874499 link

Starred by 3 users

Issue metadata

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

Blocked on:
issue 875065



Sign in to add a comment

Low quality video scaling/resizing when there is no overlay

Reported by human.p...@gmail.com, Aug 15

Issue description

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

Example URL:
https://www.youtube.com/watch?v=Qv_SnGVF7og

Steps to reproduce the problem:
1. Open https://www.youtube.com/watch?v=Qv_SnGVF7og and set video quality to 1080p, or any video that is sharp enough to see difference.
2. Move mouse cursor away from video and observe. 
3. Move mouse cursor on the video to show on-video overlay, and observe again.

What is the expected behavior?
The video scaling should be the same

What went wrong?
The video scaling is different, when there is NO overlay, the resizing/scaling algorithm is pretty poor (looks like nearest-neighbor).

I also attached another example from Twitch. 

Did this work before? N/A 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 70.0.3515.0  Channel: n/a
OS Version: 10.0
Flash Version: 

Contents of chrome://gpu: 

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
Out-of-process Rasterization: Disabled
Hardware Protected Video Decode: Hardware accelerated
Rasterization: Hardware accelerated
Skia Deferred Display List: Disabled
Skia Renderer: Disabled
Surface Synchronization: Enabled
Video Decode: Hardware accelerated
Viz Service Display Compositor: Enabled
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
disable_discard_framebuffer
disable_framebuffer_cmaa
exit_on_context_lost
force_cube_complete
msaa_is_slow
scalarize_vec_and_mat_constructor_args
texsubimage_faster_than_teximage
disabled_extension_GL_KHR_blend_equation_advanced
disabled_extension_GL_KHR_blend_equation_advanced_coherent
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
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Framebuffer discarding can hurt performance on non-tilers: 570897
Applied Workarounds: disable_discard_framebuffer
Use GL_INTEL_framebuffer_CMAA on ChromeOS: 535198
Applied Workarounds: disable_framebuffer_cmaa
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Applied Workarounds: disable(GL_KHR_blend_equation_advanced), disable(GL_KHR_blend_equation_advanced_coherent)
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
Skia renderer is not used by default.
Disabled Features: skia_renderer
Skia deferred display list is not used by default.
Disabled Features: skia_deferred_display_list
Version Information
Data exported	2018-08-15T16:54:56.048Z
Chrome version	Chrome/70.0.3515.0
Operating system	Windows NT 10.0.17134
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/0e3f811e74b63685424a1bc4ea46b4a85d8f3f2e/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/0e3f811e74b63685424a1bc4ea46b4a85d8f3f2e/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	6ba9754f4a56
2D graphics backend	Skia/70 fdf05f4ff4e96e28a31e210cb471d149d736f528-
Command Line	"C:\Users\ikena\AppData\Local\Google\Chrome SxS\Application\chrome.exe" --flag-switches-begin --flag-switches-end
Driver Information
Initialization time	201
In-process GPU	false
Passthrough Command Decoder	false
Sandboxed	true
GPU0	VENDOR = 0x8086, DEVICE= 0x5916 *ACTIVE*
GPU1	VENDOR = 0x10de, DEVICE= 0x134d
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Direct Composition	true
Supports overlays	true
Overlay capabilities
YUY2	SCALING
Diagonal Monitor Size of \\.\DISPLAY1	21.9"
Driver D3D12 feature level	D3D 12.1
Driver Vulkan API version	Not supported
Driver vendor	Intel Corporation
Driver version	22.20.16.4691
Driver date	6-2-2017
Pixel shader version	5.0
Vertex shader version	5.0
Max. MSAA samples	16
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (Intel(R) HD Graphics 620 Direct3D11 vs_5_0 ps_5_0)
GL_VERSION	OpenGL ES 2.0 (ANGLE 2.1.0.6ba9754f4a56)
GL_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_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_KHR_parallel_shader_compile 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 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
Disabled Extensions	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions	
Window system binding vendor	Google Inc. (adapter LUID: 000000000000bde2)
Window system binding version	1.4 (ANGLE 2.1.0.6ba9754f4a56)
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 EGL_ANGLE_create_context_extensions_enabled
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=[0,0 1680x1050], workarea=[0,0 1680x1010], scale=1, external.
Color space information	{primaries_d50_referred: [[0.6469, 0.3395], [0.3105, 0.6120], [0.1493, 0.0788]], transfer:0.0000*x + 0.0000 if x < 0.0000 else (1.0000*x + 0.0000)**2.1992 + 0.0000, matrix:RGB, range:FULL}
Bits per color component	8
Bits per pixel	24
Video Acceleration Information
Decode h264 baseline	up to 4096x2304 pixels
Decode h264 baseline	up to 2304x4096 pixels
Decode h264 main	up to 4096x2304 pixels
Decode h264 main	up to 2304x4096 pixels
Decode h264 high	up to 4096x2304 pixels
Decode h264 high	up to 2304x4096 pixels
Decode vp8	up to 7680x4320 pixels
Decode vp8	up to 4320x7680 pixels
Decode vp9 profile0	up to 7680x4320 pixels
Decode vp9 profile0	up to 4320x7680 pixels
Decode vp9 profile1	up to 7680x4320 pixels
Decode vp9 profile1	up to 4320x7680 pixels
Decode vp9 profile2	up to 7680x4320 pixels
Decode vp9 profile2	up to 4320x7680 pixels
Decode vp9 profile3	up to 7680x4320 pixels
Decode vp9 profile3	up to 4320x7680 pixels
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
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	1050
dwRefreshRate	59
dwWHQLLevel	0
dwWidth	1680
iAdapter	0
lDriverSize	64471176
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	Supported
szDXVAModes	ModeMPEG2_A ModeMPEG2_C ModeWMV9_C ModeVC1_C
szDescription	Intel(R) HD Graphics 620
szDeviceId	0x5916
szDeviceIdentifier	{D7B78E66-1A56-11CF-C661-3E31B9C2DB35}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	6206 MB
szDisplayMemoryLocalized	6206 MB
szDisplayModeEnglish	1680 x 1050 (32 bit) (59Hz)
szDisplayModeLocalized	1680 x 1050 (32 bit) (59Hz)
szDriverAssemblyVersion	22.20.16.4691
szDriverAttributes	Final Retail
szDriverDateEnglish	6/1/2017 7:00:00 PM
szDriverDateLocalized	6/1/2017 19:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.2
szDriverModelLocalized	WDDM 2.2
szDriverName	C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_82548830eadb8221\igdumdim64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_82548830eadb8221\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_82548830eadb8221\igd10iumd64.dll,C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_82548830eadb8221\igd12umd64.dll
szDriverNodeStrongName	oem12.inf:5f63e534fccdbc6c:iKBLD_w10_DS:22.20.16.4691:pci\ven_8086&dev_5916&subsys_112e1025
szDriverSignDate	Unknown
szDriverVersion	22.20.0016.4691
szKeyDeviceID	Enum\PCI\VEN_8086&DEV_5916&SUBSYS_112E1025&REV_02
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{D218DFF7-52F8-11E8-B3B5-ABF7CEADB185}\0000
szManufacturer	Intel Corporation
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Acer LCD Monitor V223W
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Supported
szRankOfInstalledDriver	00D10001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x0002
szSubSysId	0x112E1025
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
1
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	901712
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Enabled
szChipType	GeForce 940MX
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Enabled
szDACType	Integrated RAMDAC
szDDIVersionEnglish	12
szDDIVersionLocalized	12
szDDStatusEnglish	Enabled
szDDStatusLocalized	Enabled
szDXVAHDEnglish	Unknown
szDXVAModes	Unknown
szDescription	NVIDIA GeForce 940MX
szDeviceId	0x134D
szDeviceIdentifier	Unknown
szDeviceName	Unknown
szDisplayMemoryEnglish	8098 MB
szDisplayMemoryLocalized	8098 MB
szDisplayModeEnglish	Unknown
szDisplayModeLocalized	unknown
szDriverAssemblyVersion	22.21.13.8205
szDriverAttributes	Final Retail
szDriverDateEnglish	4/30/2017 7:00:00 PM
szDriverDateLocalized	4/30/2017 19:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	English
szDriverModelEnglish	WDDM 2.2
szDriverModelLocalized	WDDM 2.2
szDriverName	C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvldumdx.dll,C:\WINDOWS\System32\DriverStore\FileRepository\nvacwu.inf_amd64_9d2734742a07f3cf\nvldumdx.dll
szDriverNodeStrongName	oem35.inf:0f066de345acf94c:Section054:22.21.13.8205:pci\ven_10de&dev_134d&subsys_112e1025
szDriverSignDate	Unknown
szDriverVersion	22.21.0013.8205
szKeyDeviceID	Enum\PCI\VEN_10DE&DEV_134D&SUBSYS_112E1025&REV_A2
szKeyDeviceKey	Unknown
szManufacturer	NVIDIA
szMiniVdd	unknown
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	unknown
szMonitorMaxRes	Unknown
szMonitorName	Unknown
szNotesEnglish	No problems found.
szNotesLocalized	No problems found.
szOverlayEnglish	Unknown
szRankOfInstalledDriver	00D10001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x00A2
szSubSysId	0x112E1025
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
Log Messages
[14716:13044:0815/115018.335:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(56,8-58): 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(64,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[14716:3252:0815/115018.356:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(35,8-58): 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(43,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[14716:1100:0815/115018.396:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(53,8-58): 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(61,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[14716:13044:0815/115021.568:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(54,8-58): 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(62,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[14716:3252:0815/115022.806:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(44,8-58): 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(52,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[14716:1100:0815/115033.622:WARNING:angle_platform_impl.cc(59)] : compileToBinary(233): C:\fakepath(54,8-58): 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(62,8-28): warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
[14716:3596:0815/115101.456:ERROR:gles2_cmd_decoder.cc(17799)] : [GroupMarkerNotSet( crbug.com/242999 )!:F06CFF0A61020000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[14716:3596:0815/115101.456:ERROR:gles2_cmd_decoder.cc(17799)] : [GroupMarkerNotSet( crbug.com/242999 )!:F06CFF0A61020000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.
[14716:3596:0815/115455.416:ERROR:gles2_cmd_decoder.cc(17799)] : [GroupMarkerNotSet( crbug.com/242999 )!:F06CFF0A61020000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[14716:3596:0815/115455.416:ERROR:gles2_cmd_decoder.cc(17799)] : [GroupMarkerNotSet( crbug.com/242999 )!:F06CFF0A61020000]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name

Special note of my sys: 

Win 10 laptop, but I'm using a external monitor (1680x1050) and it only (i.e. I turned off the build-in screen).

I can't reproduce this bug with my other desktop computers.
 
compare.png
671 KB View Download
compare2.png
682 KB View Download
Cc: sunn...@chromium.org sande...@chromium.org
Additional info:

This bug PERSISTS if I *only* disabled hardware video decoding. (chrome://flags/#disable-accelerated-video-decode).

this bug will be GONE when I *fully* disabled hardware acceleration. (settings->Use hardware acceleration when available).


And a better test video: https://www.youtube.com/watch?v=eK6ufTDLt_Y
Cc: zmo@chromium.org
Since it's canary/dev, maybe related to new NV12 overlays?
I can reproduce the same bug on 69.0.3497.32 (Official Build) beta (64-bit) (cohort: Beta)
Cc: magchen@chromium.org
No, NV12 overlay CL just landed and got reverted, so it can't be the culprit.
Cc: ligim...@chromium.org
Ligi, can someone bisect and see where this regressed?
Cc: krajshree@chromium.org ajha@chromium.org
Rajshree, could you please try a repro and bisect.

Mo, do you think this bug is specific to any GPU ?
Labels: Needs-Bisect Needs-Triage-M70
Labels: Needs-Feedback Triaged-ET
Unable to reproduce the issue on Win-10 elitebook laptop using chrome reported version #70.0.3515.0 and latest canary #70.0.3523.0.
Attached a screen cast for reference.

Following are the steps followed to reproduce the issue.
------------
1. Opened https://www.youtube.com/watch?v=Qv_SnGVF7og and set video quality to 1080p.
2. Moved mouse cursor away from video.
3. Moved mouse cursor on the video to show on-video overlay, and observed that video scaling is same.

human.peng@ - Could you please check the issue on latest canary #70.0.3523.0 by creating a new profile without any apps and extensions and please let us know if the issue still persist or not. Also please check the attached screen cast and please let us know if anything missed from our end.

Thanks...!!
874499.mp4
10.7 MB View Download
The bug only happens when I start (launch) Chrome/Chromium with:

External monitor ONLY (i.e. turned off built-in screen).

It doesn't happen if I launch Chrome/Chromium with:

My laptop's built-in screen (no matter UI scaling is 100% or 125%)
My laptop's built-in screen and external monitor *together*.

Also please note, my external monitor is 1680x1050. My built-in screen is 1920x1080.
Project Member

Comment 12 by sheriffbot@chromium.org, Aug 16

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Also, I used the same setup months ago and it worked fine. So it's a regression, but I'm not sure if it's Windows or Chrome. 
Cc: liber...@chromium.org
Does the issue occur when the 'Enable the use of SurfaceLayer objects for videos.' flag is disabled in chrome://flags?

Does setting the 'Select HW overlay strategies' flag to 'None' work around the issue?
They all have some effects; but I'm not sure if that's good or bad.

For "Enable the use of SurfaceLayer objects for videos.": diabled:

1. It will give you better resizing when there is no overlay
2. But there is still a difference between w/ and w/o overlay
3. Also, the video will overflow (i.e. the video canvas doesn't resize correctly) a little bit.

For "Select HW overlay strategies": None:

1. I don't think it improves resizing algorithm at all.
2. There is still a difference between w/ and w/o overlay
3. The video will also overflow


default.png
606 KB View Download
default-with overlay.png
742 KB View Download
SurfaceLayer_ disabled.png
733 KB View Download
SurfaceLayer_ disabled overlay.png
734 KB View Download
hw overlay_ none.png
629 KB View Download
hw overlay_ none overlay.png
740 KB View Download
Given the color shift between the overlay = none cases, it seems that some sort of hardware overlay is still happening. I'm not a Windows compositor expert, but I've been told that this is plausible when some compositing is offloaded to Direct Composition. (In that case, it may be a graphics driver setting or bug. Do take a look in the Intel Graphics Settings app for configurable options.)

The difference in crop between surface layers and not is also worrying. It may be caused by my change e10dc3ec0cacd865cede77c59255c2bae2358d1f. I'll create a separate bug for that.

Can you also test overlays = none + surface layers = disabled?
Cc: hubbe@chromium.org
+hubbe@: since monitor ICC profiles may be involved.

It might be worth changing the external monitor's ICC profile to a standard sRGB one if possible, to see if that affects the result.
Blockedon: 875065
I attached the one with " overlays = none + surface layers = disabled".

I will then examine with options in Intel Graphics Settings, I do notice some of the "enhancements" for video are ON by default. (I haven't touch them for consistency reasons).
overlay none, SL disabled.png
689 KB View Download
overlay none, SL disabled overlay.png
723 KB View Download
Disabled all enhancements now, doesn't help with resizing issue (it may change colors, but too subtle for me to tell).
Cc: danakj@chromium.org
Adding dana.
We suspect that this has something to do with coordinate calculations in the compositor, but that's more of a general suspicion than anything concrete.

Somehow, I can now reproduce this bug even on my built-in screen (no external monitor connected) with all default settings.

I don't know why, but I suspect it's because I played with some options in Video->Image Enhancement in Intel Display Settings. But I've reset everything back to default and restarted computer.

Comment 23 Deleted

Labels: -Needs-Bisect
Unable to reproduce the issue on Win-10 (built-in screen (no external monitor connected)) using latest canary #71.0.3542.0 as per comment #22.
As the issue is not reproducible from TE-end. Hence, removing Needs-Bisect label and requesting someone from Internals>Media team to please have a look into the issue.

Thanks...!!
Labels: TE-NeedsTriageHelp
As the issue is not reproducible as per comment #10 and #24. Hence, adding label TE-NeedsTriageHelp for further investigation from dev team.

Thanks...!!
Status: Untriaged (was: Unconfirmed)
Still an issue? Any updated drivers available if not?
Will test once I get back to my (problematic) laptop.

Comment 29 by dbbrooks@chromium.org, Today (14 hours ago)

Labels: Needs-Feedback
human.peng@ if possible, could you follow up on comment #27 and report back? Thanks.

Comment 30 by zmo@google.com, Today (12 hours ago)

Cc: -magchen@chromium.org
Owner: magchen@chromium.org
Status: Assigned (was: Untriaged)
When we have content over the video (what we call internally the underlay video case), we don't promote the video layer to hardware overlay. So the scaling is down through Chrome's GLRenderer, which uses a Blit through Dx11. If there is no content over the video, we promote the video layer to hardware overlay (from about:gpu, your hardware supports this mode) and scaling is down by hardware.

It's working progress we are also promoting the underlay video to hardware overlay. When that happens, this issue will be fixed.

Sign in to add a comment