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

Issue 820643 link

Starred by 6 users

Issue metadata

Status: Duplicate
Merged: issue 800950
Owner:
Closed: Sep 18
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug-Regression

Blocked on:
issue 888709



Sign in to add a comment

broken video ex. youtube with specific codec

Reported by pre...@gmail.com, Mar 9 2018

Issue description

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

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

Steps to reproduce the problem:
1. play video for example on yt, with specific codec (avc 1.4).
2. ex: https://www.youtube.com/watch?v=iLUcmC_OBLY
3. 

What is the expected behavior?
play clips correct with hardware accel on.

What went wrong?
broke all videos with codec avc 1.4.x.x

Did this work before? Yes chrome v. 63

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes

Chrome version:  65.0.3325.146  Channel: stable
OS Version: 10.0.16299.251
Flash Version: 

Contents of chrome://gpu: 
Graphics Feature Status
Canvas: Hardware accelerated
CheckerImaging: Disabled
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Disabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Rasterization: Hardware accelerated
Video Decode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
decode_encode_srgb_for_generatemipmap
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
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
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
Zero-copy DXGI video hangs or displays incorrect colors on AMD drivers: 623029
Applied Workarounds: disable_dxgi_zero_copy_video
NV12 DXGI video displays incorrect colors on older AMD drivers: 644293
Applied Workarounds: disable_nv12_dxgi_video
Don't expose disjoint_timer_query extensions to WebGL: 808744
Raster is using a single thread.
Disabled Features: multiple_raster_threads
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-03-09T23:08:35.433Z
Chrome version	Chrome/65.0.3325.146
Operating system	Windows NT 10.0.16299
Software rendering list URL	https://chromium.googlesource.com/chromium/src/+/f926414266f7aecb5ec1bf1b5f93f8716976ceef/gpu/config/software_rendering_list.json
Driver bug list URL	https://chromium.googlesource.com/chromium/src/+/f926414266f7aecb5ec1bf1b5f93f8716976ceef/gpu/config/gpu_driver_bug_list.json
ANGLE commit id	2c9cc8b6e810
2D graphics backend	Skia/65 bd0dafbc8112f6cfa92a8096d8cb5696d8535ef9-
Command Line	"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --site-per-process --ignore-gpu-blacklist --enable-features=SecondaryUiMd --flag-switches-end
Driver Information
Initialization time	443
In-process GPU	false
Passthrough Command Decoder	false
Direct Composition	true
Supports overlays	false
Sandboxed	false
GPU0	VENDOR = 0x1002, DEVICE= 0x9553 *ACTIVE*
Optimus	false
Optimus	false
AMD switchable	false
Desktop compositing	Aero Glass
Diagonal Monitor Size of \\.\DISPLAY1	15.5"
Driver vendor	Advanced Micro Devices, Inc.
Driver version	8.970.100.9001
Driver date	1-13-2015
Pixel shader version	4.1
Vertex shader version	4.1
Max. MSAA samples	4
Machine model name	
Machine model version	
GL_VENDOR	Google Inc.
GL_RENDERER	ANGLE (ATI Mobility Radeon HD 4500 Series Direct3D11 vs_4_1 ps_4_1)
GL_VERSION	OpenGL ES 2.0 (ANGLE 2.1.0.2c9cc8b6e810)
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	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions	EXT_disjoint_timer_query EXT_disjoint_timer_query_webgl2
Window system binding vendor	Google Inc. (adapter LUID: 0000000000009070)
Window system binding version	1.4 (ANGLE 2.1.0.2c9cc8b6e810)
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
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 1366x768, workarea=0,0 1366x738, scale=1, 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
Decode h264 baseline	up to 1920x1088 pixels
Decode h264 main	up to 1920x1088 pixels
Decode h264 high	up to 1920x1088 pixels
Decode vp8	up to 4096x2160 pixels
Decode vp9 profile0	up to 4096x2160 pixels
Decode vp9 profile1	up to 4096x2160 pixels
Decode vp9 profile2	up to 4096x2160 pixels
Decode vp9 profile3	up to 4096x2160 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	10
dwHeight	768
dwRefreshRate	60
dwWHQLLevel	0
dwWidth	1366
iAdapter	0
lDriverSize	1094024
lMiniVddSize	0
szAGPStatusEnglish	Enabled
szAGPStatusLocalized	Włączone
szChipType	ATI display adapter (0x9553)
szD3DStatusEnglish	Enabled
szD3DStatusLocalized	Włączone
szDACType	Internal DAC(400MHz)
szDDIVersionEnglish	10.1
szDDIVersionLocalized	10.1
szDDStatusEnglish	Enabled
szDDStatusLocalized	Włączone
szDXVAHDEnglish	Not Supported
szDXVAModes	ModeMPEG2_A ModeMPEG2_C
szDescription	ATI Mobility Radeon HD 4500 Series
szDeviceId	0x9553
szDeviceIdentifier	{D7B71EE2-D613-11CF-A076-8ADFBEC2C535}
szDeviceName	\\.\DISPLAY1
szDisplayMemoryEnglish	2297 MB
szDisplayMemoryLocalized	2297 MB
szDisplayModeEnglish	1366 x 768 (32 bit) (60Hz)
szDisplayModeLocalized	1366 x 768 (32 bit) (60Hz)
szDriverAssemblyVersion	8.970.100.9001
szDriverAttributes	Final Retail
szDriverDateEnglish	2015.01.13 01:00:00
szDriverDateLocalized	1/13/2015 01:00:00
szDriverLanguageEnglish	English
szDriverLanguageLocalized	Angielski
szDriverModelEnglish	WDDM 1.1
szDriverModelLocalized	WDDM 1.1
szDriverName	aticfx64.dll,aticfx64.dll
szDriverNodeStrongName	oem10.inf:cb0ae4145cf0b615:ati2mtag_M9x:8.970.100.9001:pci\ven_1002&dev_9553
szDriverSignDate	Unknown
szDriverVersion	8.17.0010.1129
szKeyDeviceID	Enum\PCI\VEN_1002&DEV_9553&SUBSYS_FF801179&REV_00
szKeyDeviceKey	\Registry\Machine\System\CurrentControlSet\Control\Video\{A8572642-B373-11E7-BE54-0026223DA26C}\0000
szManufacturer	Advanced Micro Devices, Inc.
szMiniVdd	Nieznany
szMiniVddDateEnglish	Unknown
szMiniVddDateLocalized	Nieznany
szMonitorMaxRes	Unknown
szMonitorName	Generic PnP Monitor
szNotesEnglish	No problems found.
szNotesLocalized	Nie znaleziono żadnych problemów.
szOverlayEnglish	Not Supported
szRankOfInstalledDriver	00D72001
szRegHelpText	Unknown
szRevision	Unknown
szRevisionId	0x0000
szSubSysId	0xFF801179
szTestResultD3D7English	Not run
szTestResultD3D7Localized	Nie uruchomiono
szTestResultD3D8English	Not run
szTestResultD3D8Localized	Nie uruchomiono
szTestResultD3D9English	Not run
szTestResultD3D9Localized	Nie uruchomiono
szTestResultDDEnglish	Not run
szTestResultDDLocalized	Nie uruchomiono
szVdd	Nieznany
szVendorId	0x1002
Log Messages
[8136:8688:0310/000758.334:ERROR:gles2_command_buffer_stub.cc(226)] : ContextResult::kFatalFailure: Failed to create surface.
GpuProcessHostUIShim: The GPU process exited normally. Everything is okay.

The problem appeared with chrome v.64, and still exist in todays v.65 Problem doesnt in v63.

All youtube movies with codec vp09.x.x working propertly.
But all video was codec avc1.4.x.x is broken.
Most clips on YT was codec vp. Avc is not very popular.
Sounds is good, video don't.

How to check codec:
open yt clips > right mouse button on screen > nerd stats.

Only disable Hardware Accel in settings is temporary solutions.
 
unnamed.jpg
6.3 KB View Download
Cc: pbomm...@chromium.org
Labels: Needs-Triage-M65

Comment 2 by pre...@gmail.com, Mar 9 2018

the problem occurred immediately after upgrading to v.64 from 63.
of course, fresh install, new user, delete cache, restore settings, delete plugins etc. not working.
Cc: liber...@chromium.org
Cc: vamshi.kommuri@chromium.org
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

Unable to reproduce the issue on reported chrome version 65.0.3325.146 using Windows 10 with the below mentioned steps.
1. Launched Chrome
2. Navigated to https://www.youtube.com/watch?v=iLUcmC_OBLY
We are able to play the video by HW acceleration ON and OFF. 

@Reporter: Could you please have a look at the screen cast and let us know if anything missed from our end. Could you please detail us on "codec avc 1.4.x.x" as we are not clear on the environment in which the issue can be reproduced. Any further inputs from your end may help us.
820643.mp4
2.5 MB View Download

Comment 5 by pre...@gmail.com, Mar 12 2018

When clips using codec avc, that issue exist. All clips using codec vp working good. It is noticed regularity.
(open yt clips > right mouse button on screen > nerd stats to check)

I noticed one more dependence. Most users have mobility ATI graphics.

Your embedded video it also does not show up with hard accel.
All clips in ver63 working ok.

This is how it looks now:
VP OK Mar 12 2018 3_56 PM.webm
449 KB View Download
AVC BAD Mar 12 2018 3_58 PM.webm
394 KB View Download
Project Member

Comment 6 by sheriffbot@chromium.org, Mar 12 2018

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
Labels: Needs-Feedback
Re-tested the issue on reported version 65.0.3325.146 using Windows 10 with link https://www.youtube.com/watch?v=iLUcmC_OBLY , observing successful play of video without any breakage. Attaching screencast for reference.

@Reporter: Please check the video and let us know if we miss anything. Is this happening in Incognito profile or fresh profile which do not have any apps/extensions. Any further info on reproducing this issue will help in further investigation.

Thanks! 
820643.mp4
3.2 MB View Download
gpu-M65.html
119 KB View Download

Comment 8 by pre...@gmail.com, Mar 19 2018

^^
You dont miss anything.

I try again and again after every update. Now on 65.0.3325.162 still the same.
Of course i try fresh install without any extension, even on 2 different windows account/users with administrator privileges. Up to v63 ok, 64-65 not.
I suspect, something change in chrome in video support after v63.

I'm not alone with it. I have more confirmations from many other threads, that this problem occurs exactly like in my case.
broken yt: https://www.youtube.com/watch?v=i8r70g-Kanc  
and vimeo: https://vimeo.com/channels/staffpicks/259878665

It looks like, on some configurations this issue exist.
What else can I do? If u want any specific informations, I try to do in my best.

I made friends with chrome a few years ago. I would not want to give up on him.


Project Member

Comment 9 by sheriffbot@chromium.org, Mar 19 2018

Cc: sindhu.chelamcherla@chromium.org
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

Comment 10 by pre...@gmail.com, Mar 19 2018

Hello.
Work in progress. I found another "solutions".
I try lot of #flags settings relating to graphic render and find something.

link: chrome://flags/#disable-software-rasterizer

--
3D software rasterizer.
Fall back to a 3D software rasterizer when the GPU cannot be used. – Mac, Windows, Linux, Chrome OS, Android
#disable-software-rasterizer
--

In v65 default options is Enabled. I change this to Disabled.
And now, with Enabled Hardware Accel, all linked broken video on yt, vimeo and other WORKING OK!

Maybe it will suggest something solutions.

Can anyone check the default this settings in chrome v63?


Labels: Needs-Feedback
pre757@ Thanks for the feedback.

Tested this issue on Windows 10 on M-65 build 65.0.3325.146 and M-63 build 63.0.3239.132 as per comment #10.

Played the given video on Youtube with 'Hardware Acceleration' Enabled and '3D software rasterizer' Enabled and Disabled and could observe that the video is played without any breakage.
Attached are the screen casts for reference.

Request you to check the issue on a new chrome profile without any files/extensions and update the thread with the observations.

Thanks.. 
820643-M63.mp4
3.6 MB View Download
820643-M65.mp4
2.3 MB View Download

Comment 12 by pre...@gmail.com, Mar 22 2018

Hi Susan.

New profile, fresh installations, chrome cleanup tool and other simple things... they bring nothing new. Is not a problem with that.

Problem mostly occurs when ATI card installed (lot of cases, here HD4500 series).
On your system is probably fine, but many systems have this issue indisputably. Many post on chrome forum with exactly the same symptoms, this isnt single coincidence.
Need to try combinations with ATI card.
This happend definitly after chrome update to v64.

Quite possibly that only for this hardware configurations this issue exist.
Different specs working good regardless of settings '3d soft' and 'hard accel'.

Anyway, we wait for some chrome update, and we look for W10 Spring Creators Update.
Maybe graphics management in windows will be changed. Thats last hope as i see.

Project Member

Comment 13 by sheriffbot@chromium.org, Mar 22 2018

Cc: susan.boorgula@chromium.org
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

Comment 14 by pre...@gmail.com, Mar 23 2018

Additional info for my last post.

I was right about the settings.
As i sad, problem occurs after update from v63 to v64.
And screenshot says why.

In v63 '3D software rasterizer' default is Disabled. Thats why all video working properly.
After update (in v64-65), default is Enabled.

What interesting, in v63 on both settings '3D software rasterizer' (enabled & disabled) video looks good :-)

Now, questions is why...


Chrome 63 Flag.PNG
14.1 KB View Download
Components: -Internals>Media Blink>Compositing
even with both "3D software rasterizer" and "hardware accelerated video decode" enabled, I still couldn't repro this bug on my Windows+Chrome 67.
what is your graphic card?

Comment 16 by pre...@gmail.com, Apr 11 2018

Card build in notebook, ATI Mobility Radeon™ HD 4570.
Lot od cases with this problem has ATI card.

See up posts for more informations.
Components: -Blink>Compositing Internals>GPU>VendorSpecific
Hmmm, GPU folks, did this card get removed from hardware compositing blacklist somehow in 64+?
Cc: zmo@chromium.org sunn...@chromium.org
Labels: Needs-TestConfirmation
Reporter: Can you try running Chrome with --disable-direct-composition flag, and hardware acceleration *enabled*?

Test team: Do we have a laptop with this GPU?

Mo: Does the AMD laptop you got have this GPU?

Comment 20 by zmo@chromium.org, Apr 13 2018

No, the one I have is a different GPU, and no, testing team doesn't have a Windows laptop with this AMD GPU when I checked a few days ago

Comment 21 by pre...@gmail.com, Apr 13 2018

"Can you try running Chrome with --disable-direct-composition flag"

Yes. And seems to be ok.
Summary on chrome ver. 65.0.3325.181

Default chrome run:
1) hardware accel > Enabled
   3D software rasterizer > Enabled
= video broken

2) hardware accel > Enabled
   3D software rasterizer > Disabled
= video working OK, but video 360' dont.


Chrome run with shortcut "--disable-direct-composition":
   hardware accel > Enabled
   3D software rasterizer > Enabled
= all video correct, 360' also

sample used to test:
https://www.youtube.com/watch?v=iLUcmC_OBLY
https://vimeo.com/channels/staffpicks/259878665
360': https://www.youtube.com/watch?v=dzfUnYKXq9w




Labels: TE-NeedsTriageFromMTV
As per comment #19 & 20, Windows 10 machine with AMD gpu is not available at TE end to test this issue.

Hence adding TE-NeedsTriageFromMTV for further help in triaging this issue.

Thanks..
Labels: -Needs-TestConfirmation
// Adding to comment #22.

Removing Needs-TestConfirmation label as the setup is not available at TE end to confirm the issue.

Thanks..
Labels: Needs-Investigation Needs-Feedback
pre757 can you post contents of chrome://crashes please?

I suspect our DirectCompsotion code crashes on your system, and we fallback to software rasterizer (swiftshader). Somehow this doesn't work correctly with certain video codecs. So there are two distinct bugs:

1. Disable DirectComposition code path if it keeps failing consistently instead of disabling GPU acceleration completely.
2. Make swiftshader work with the specific codec that's failing.

We'll investigate 2 as part of this bug, and I'll file a separate bug for 1.

Comment 25 by pre...@gmail.com, Apr 23 2018

There is no informations in chrome://crashes. It's blank.

I test on all broken clips. Video not propertly, sound ok.
Now, version 66.0.3359.117 exactly the same like before.
Test settings in Comment #21: https://bugs.chromium.org/p/chromium/issues/detail?id=820643#c21

Project Member

Comment 26 by sheriffbot@chromium.org, Apr 23 2018

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
Owner: sunn...@chromium.org
Status: Assigned (was: Unconfirmed)
Labels: -TE-NeedsTriageFromMTV
Issue, already been assigned, removing MTV label.
Hello!
Looks like direct composition mode doesn't work on Radeon.
We have a lot reports from users with Radeon with 'ContextResult::kFatalFailure: Failed to create surface.' in GPU logs.
We be able to reproduce this problem on notebook with Radeon.
Do we need to blacklist direct composition on Radeon?
Cc: dalecur...@chromium.org
#29 can you help us with debugging? if you run a debug build of ToT with --enable-logging=stderr, you might find one of the error logs in src/gpu/ipc/service/direct_composition_surface_win.cc.

pre757, can you also try the --disable-accelerated-video-decode flag (without other flags) and let us know if you can reproduce the issue?

Summary of the above comments:
1. AVC 1.4 (h264) video is broken but VP9 video works fine. h264 probably uses hardware decoding, and VP9 does not?
2. chrome://gpu has 'ContextResult::kFatalFailure: Failed to create surface.'
3. Disabling software rasterizer (swiftshader) fixes the problem. Software rasterizer flag was introduced in M64.
4. Affected hardware is at least Radeon mobility HD 4500.

+dalecurtis,liberato: any ideas?
media folks, does this bit from chrome://gpu mean VP9 hardware decoding is supported:

Video Acceleration Information
Decode h264 baseline	up to 1920x1088 pixels
Decode h264 main	up to 1920x1088 pixels
Decode h264 high	up to 1920x1088 pixels
Decode vp8	up to 4096x2160 pixels
Decode vp9 profile0	up to 4096x2160 pixels
Decode vp9 profile1	up to 4096x2160 pixels
Decode vp9 profile2	up to 4096x2160 pixels
Decode vp9 profile3	up to 4096x2160 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
Can you grab the chrome://gpu from canary? There were some bugs in the past that are now fixed with that listing. You can check a VP9 playback on YouTube and see if you end up with GpuVideoDecoder in chrome://media-internals.

That said, I don't think an AMD 4500 from 2015 has a VP9 hardware decoder....

Comment 33 by pre...@gmail.com, May 30 2018

What can i say...
My laptop with radeon died 2 weeks ago. After 9 years hard work ~18h/day.
Now, new with intel+nvidia.
FWIW here's the product forum thread for this issue: https://productforums.google.com/forum/#!topic/chrome/1w3TXNHUTE4
In ImageTransportSurface::CreateNativeSurface ( https://cs.chromium.org/chromium/src/gpu/ipc/service/image_transport_surface_win.cc?dr&q=ImageTransportSurface::CreateNativeSurface&sq=package:chromium&g=0&l=42 ):
gl::GetGLImplementation() == gl::kGLImplementationEGLGLES2,
gl::GLSurfaceEGL::IsDirectCompositionSupported() == true,
call egl_surface->Initialize() return false.

In DirectCompositionSurfaceWin::Initialize ( https://cs.chromium.org/chromium/src/gpu/ipc/service/direct_composition_surface_win.cc?type=cs&q=DirectCompositionSurfaceWin::Initialize&g=0&l=1397 ):
layer_tree_->Initialize(window_) return false.

In DCLayerTree::Initialize ( https://cs.chromium.org/chromium/src/gpu/ipc/service/direct_composition_surface_win.cc?type=cs&q=DCLayerTree::Initialize&g=0&l=366 ):
d3d11_device_.CopyTo(video_device_.GetAddressOf() return HRESULT = 0x80004002.

From DX Error Lookup:
HRESULT: 0x80004002 (2147500034)
Name: E_NOINTERFACE
Description: The requested COM interface is not available
Severity code: Failed
Facility Code: FACILITY_NULL (0)
Error Code: 0x4002 (16386)

That call shouldn't normally fail.

From ID3D11VideoDevice docs: https://msdn.microsoft.com/en-us/library/windows/desktop/hh447781(v=vs.85).aspx

> Remarks
> The Direct3D 11 device supports this interface. To get a pointer to this interface, call QueryInterface with an ID3D11Device interface pointer.
>
> If you query an ID3D11Device for ID3D11VideoDevice and the Direct3D 11 device created is using the reference rasterizer or WARP, or is a hardware device and you are using the Microsoft Basic Display Adapter, E_NOINTERFACE is returned."

Anyway, I'm planning on making this logic more robust so that we can downgrade gracefully if one of these calls fail. It's still concerning that swiftshader somehow fails with avc video.
E_NOINTERFACE returned on Radeon notebook, not Microsoft Basic Display Adapter.
I will attach gpu info tomorrow.
immediate fix here: crrev.com/c/1080213

Since the failing call is QueryInterface of ID3D11VideoDevice, it's conceivable other video decoding stuff is broken on this hardware.
chrome://gpu from radeon notebook
gpu.htm
171 KB View Download
Hi all. Any updates since the last message?
Today I tried Opera, Vivaldi, Chrome - everywhere the videos fail in the following combination: Win10 (32 or 64 bit - does not matter), enabled hardware accelleration, Toshiba Satellite A300 with ATI Mobility Radeon HD 3470 videocard with Microsoft drivers (that have not been updated for many years)
I also tied Win 7 - everything is ok there on 32 or 64 bit even with Hardware Acceleration
And the question
when I run Opera with "--disable-direct-composition" and Hardware acceleration enabled - all seems to be fine
Does it mean, that in this case hardware acceleration works, but with some restrictions. And better using with "--disable-direct-composition" and hardware acceleration enabled, then simply remove hardware acceleration from settings?
Mergedinto: 800950
Status: Duplicate (was: Assigned)
Most likely a dupe of  issue 800950 
Cc: capn@chromium.org sugoi@chromium.org
from the forum thread (link in #34): it seems once users disable SwiftShader, things begin to work.

So there are two issues:

1) why the affected machines fall back to SwiftShader? either WebGL gets blacklisted on their machines, or GPU process crashed too many times

2) it seems SwiftShader doesn't work for these video site. +capn@, +sugoi@
I wonder if there's any relation to  issue 859946  and this should be expanded to all platforms:
https://cs.chromium.org/chromium/src/content/renderer/media/gpu/gpu_video_accelerator_factories_impl.cc?l=397
Blockedon: 888709
Hello!
Do you have some news about comment #38? Why this fix was not applied?
We have a better fix coming up: https://chromium-review.googlesource.com/c/chromium/src/+/1278529

That CL will disable direct composition code completely if hardware overlays are not supported.  We perform the video device initialization check as a part of checking for hardware overlays.

Sign in to add a comment