Massive dropped frames on Youtube fullscreen with 60fps
Reported by
tobiasma...@gmail.com,
Jun 30 2016
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0 Example URL: https://www.youtube.com/watch?v=bIfWmriQR1s Steps to reproduce the problem: 1. Play 720p/1080p Youtube video with 60fps 2. Switch to fullscreen 3. Notice massive dropped frames in the statistics What is the expected behavior? The video is played back fluidly. What went wrong? Chromium reports massive dropped frames, the stutter is so extrem, that you don't even have to look at the statistics. This happens with every Radeon Crimson driver version I tested (16.4.2, 16.6.1, 16.6.2). Did this work before? Yes It works with every chromium version till Chromium 51. Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 53.0.2783.2 Channel: dev OS Version: 10.0 Flash Version: Every chromium browser affected that uses a chromium version after 51. So Chrome Beta/Dev is affected, Opera Beta/Dev, too.
,
Jun 30 2016
Is your workplace computer the same spec as your home computer? Or is one more powerful than the other? That video is 1080p60 VP9 which can be fairly demanding.
,
Jun 30 2016
It can't be a performance problem because Chromium 51 and Firefox both play the video with VP9 without any problems on my i5 @4 Ghz. Chromium 52 and higher introduces these issues.
,
Jun 30 2016
i5 @ 4ghz should be plenty fast enough. Have you tried disabling your extensions? (Launch chrome with --disable-extensions). Are you using any special audio device with the system?
,
Jun 30 2016
Disabling extensions doesn't help. I use an Asus Xonar Essence STX with UNi Xonar Drivers 1.80. If nothing helps I guess I'll have to reinstall Windows eventually.
,
Jun 30 2016
Can you go to chrome://media-internals and post the player log as well as the audio controller and stream properties? You can do this from an existing session, but may have a lot of entries in the log, so it's easiest if you close chrome completely and start with just youtube and media-internals open.
,
Jun 30 2016
This is from the video tab after playing thirty seconds of said video: render_id: 13 player_id: 34 pipeline_state: kSuspended event: PAUSE url: blob:https://www.youtube.com/21f4097c-0848-4d98-9dbd-6d8f3f05c4e7 duration: 686.121 found_audio_stream: true audio_codec_name: opus found_video_stream: true video_codec_name: vp9 audio_dds: false audio_decoder: OpusAudioDecoder video_dds: false video_decoder: VpxVideoDecoder The audio tab says "none" everywhere. Is this what you were asking for? I guess this is an advertisement player, but I'm posting it nonetheless: render_id: 13 player_id: 0 pipeline_state: kStopped event: WEBMEDIAPLAYER_DESTROYED url: https://gcdn.2mdn.net/videoplayback/id/31a07ae1c6ed7361/itag/15/source/doubleclick/ratebypass/yes/mime/video%2Fmp4/acao/yes/ip/0.0.0.0/ipbits/0/expire/3611488222/sparams/id,itag,source,ratebypass,mime,acao,ip,ipbits,expire/signature/AE630F9BA73A13DB8EE8DB7D13A9DE6B2997C8FD.AB3E8E759D66C9A19DC2F1C76CAC0EAAA27DBFE9/key/ck2/file/file.mp4 is_downloading_data: true total_bytes: 575257 streaming: false single_origin: false passed_cors_access_check: false range_header_supported: true info: FFmpegDemuxer: created video stream, config codec: h264 format: 2 profile: h264 main coded size: [976,256] visible rect: [0,0,970,250] natural size: [970,250] has extra data? true encrypted? false duration: 17.041667 bitrate: 270047 coded_height: 256 coded_width: 976 found_audio_stream: false found_video_stream: true height: 250 max_duration: 17.041667 start_time: 0 time_base: 1/48 video_codec_name: h264 video_format: PIXEL_FORMAT_YV12 video_is_encrypted: false width: 970 video_dds: false video_decoder: FFmpegVideoDecoder buffer_current: 196608 buffer_end: 442368 buffer_start: 0 error: Failed loading buffered resource. Error code=-3
,
Jun 30 2016
To get the audio stream properties you'll have to grab them while the video is playing.
,
Jun 30 2016
channel_layout: STEREO
channels: 2
component_id: 1
component_type: 1
device_id: default
device_type: pcm_low_latency
effects: NO_EFFECTS
frames_per_buffer: 882
owner_id: 4
sample_rate: 44100
status: started
render_process_id: 13
web_contents_title: DOOM 2016: Action vs. Traction - YouTube
channel_layout: STEREO
channels: 2
component_id: 1
component_type: 2
device_id: {0.0.0.00000000}.{d8c222b7-952c-41c5-93f8-e878210018b9}
device_type: pcm_low_latency
effects: NO_EFFECTS
frames_per_buffer: 441
owner_id: 0
sample_rate: 44100
status: started
volume: 1
,
Jun 30 2016
That all looks pretty normal. I don't see any issues there. What does your CPU usage look during playback?
,
Jun 30 2016
Nothing irregular, with a few programs running in the background it hovers around the 40 to 50% mark.
,
Jun 30 2016
Sorry, I'm not sure then; everything looks like it should be working fine. Do you have any issues reported in chrome://gpu ?
,
Jun 30 2016
I think we're finally onto something here. Chrome 51: 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 WebGL: Hardware accelerated Chrome 53: Graphics Feature Status Canvas: Software only, hardware acceleration unavailable Flash: Software only, hardware acceleration unavailable Flash Stage3D: Software only, hardware acceleration unavailable Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable Compositing: Software only, hardware acceleration unavailable Multiple Raster Threads: Unavailable Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Software only, hardware acceleration unavailable Video Encode: Software only, hardware acceleration unavailable WebGL: Unavailable It's exactly the same for Opera, the current final is hardware accelerated, Overa Developer says almost everywhere software only! But how can this happen and how can I fix it?
,
Jun 30 2016
can you post the problems detected and workarounds sections too?
,
Jun 30 2016
If I enable the flag "Override software rendering list" it is hardware accelerated and working finde again! Driver Bug Workarounds clear_uniforms_before_first_program_use disable_d3d11 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 GPU process was unable to boot: Features are disabled upon full but not preliminary GPU info. Disabled Features: all Accelerated video decode does not work with the discrete GPU on AMD switchables: 298968 Disabled Features: accelerated_video_decode 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 Disable Direct3D11 on systems with AMD switchable graphics: 451420 Applied Workarounds: disable_d3d11 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 Zero copy DXGI video hangs on AMD drivers: 623029 Applied Workarounds: disable_dxgi_zero_copy_video Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198 Applied Workarounds: disable_framebuffer_cmaa 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 Log Messages WARNING: Hardware acceleration is unavailable.
,
Jun 30 2016
+gpu folk then in tracking down which one is the culprit.
,
Jun 30 2016
If I deinstall the internal GPU of my Sandy Bridge CPU from the Windows hardware manager Chrome 53 detects hardware acceleration normally, without the flag. So there seems to be an issue once the internal GPU is listed in Windows. Deactivating it doesn't help, only uninstalling.
,
Jul 9 2016
Isn't this a duplicate of: https://bugs.chromium.org/p/chromium/issues/detail?id=617452 ?
,
Jul 10 2016
I don't think so. This is clearly a problem with the hardware acceleration being disabled with an Intel iGPU enabled, as setting flags/#ignore-gpu-blacklist to active completely works around this issue.
,
Jul 12 2016
sandersd@, can you take a look why H/W acceleration is disabled while an Intel iGPU is enabled?
,
Jul 12 2016
tobiasmarty87: Can you attach the full contents of chrome://gpu from Chrome 53 with the --ignore-gpu-blacklist flag turned off? Also from Chrome Canary if you get a chance. Thanks!
,
Aug 14 2016
Is there any update on this? Sorry sande..., I didn't notice your post. This is from Chrome 53: Graphics Feature Status Canvas: Software only, hardware acceleration unavailable Flash: Software only, hardware acceleration unavailable Flash Stage3D: Software only, hardware acceleration unavailable Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable Compositing: Software only, hardware acceleration unavailable Multiple Raster Threads: Unavailable Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Software only, hardware acceleration unavailable Video Encode: Software only, hardware acceleration unavailable VPx Video Decode: Software only, hardware acceleration unavailable WebGL: Unavailable Driver Bug Workarounds clear_uniforms_before_first_program_use disable_d3d11 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 GPU process was unable to boot: Features are disabled upon full but not preliminary GPU info. Disabled Features: all Accelerated video decode does not work with the discrete GPU on AMD switchables: 298968 Disabled Features: accelerated_video_decode 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 Disable Direct3D11 on systems with AMD switchable graphics: 451420 Applied Workarounds: disable_d3d11 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 Zero copy DXGI video hangs on AMD drivers: 623029 Applied Workarounds: disable_dxgi_zero_copy_video Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198 Applied Workarounds: disable_framebuffer_cmaa 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 14.8.2016, 15:59:29 Chrome version Chrome/54.0.2824.0 Operating system Windows NT 10.0.14393 Software rendering list version 11.9 Driver bug list version 8.80 ANGLE commit id 3416ff3eef4f 2D graphics backend Skia/54 643ede69216c073c2dd497c382577dc9fde36b3e Command Line Args Files (x86)\Google\Chrome\Application\chrome.exe" --flag-switches-begin --enable-md-feedback --enable-md-policy-page --mark-non-secure-as=non-secure --secondary-ui-md --top-chrome-md=material --enable-features=MaterialDesignHistory,MaterialDesignSettings,MaterialDesignUserManager,MaterialDesignUserMenu --flag-switches-end Driver Information Initialization time 383 In-process GPU false Sandboxed true GPU0 VENDOR = 0x1002, DEVICE= 0x67b1 *ACTIVE* GPU1 VENDOR = 0x8086, DEVICE= 0x0112 Optimus false AMD switchable true Desktop compositing Aero Glass Diagonal Monitor Size of \\.\DISPLAY1 43.3" Driver vendor Advanced Micro Devices, Inc. Driver version 16.300.2511.1001 Driver date 8-11-2016 Pixel shader version 3.0 Vertex shader version 3.0 Max. MSAA samples 8 Machine model name Machine model version GL_VENDOR Google Inc. GL_RENDERER ANGLE (AMD Radeon (TM) R9 390 Series Direct3D9Ex vs_3_0 ps_3_0) GL_VERSION OpenGL ES 2.0 (ANGLE 2.1.0.3416ff3eef4f) GL_EXTENSIONS GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query Disabled Extensions Window system binding vendor Google Inc. (adapter LUID: 0000000000007cd6) Window system binding version 1.4 (ANGLE 2.1.0.3416ff3eef4f) 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_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_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_ANGLE_flexible_surface_compatibility 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 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 ... loading ... Log Messages WARNING: Hardware acceleration is unavailable. This is from Chrome 54 Canary: Graphics Feature Status Canvas: Software only, hardware acceleration unavailable Flash: Software only, hardware acceleration unavailable Flash Stage3D: Software only, hardware acceleration unavailable Flash Stage3D Baseline profile: Software only, hardware acceleration unavailable Compositing: Software only, hardware acceleration unavailable Multiple Raster Threads: Unavailable Native GpuMemoryBuffers: Software only. Hardware acceleration disabled Rasterization: Software only. Hardware acceleration disabled Video Decode: Software only, hardware acceleration unavailable Video Encode: Software only, hardware acceleration unavailable VPx Video Decode: Software only, hardware acceleration unavailable WebGL: Unavailable Driver Bug Workarounds clear_uniforms_before_first_program_use disable_d3d11 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 GPU process was unable to boot: Features are disabled upon full but not preliminary GPU info. Disabled Features: all Accelerated video decode does not work with the discrete GPU on AMD switchables: 298968 Disabled Features: accelerated_video_decode 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 Disable Direct3D11 on systems with AMD switchable graphics: 451420 Applied Workarounds: disable_d3d11 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 Zero copy DXGI video hangs on AMD drivers: 623029 Applied Workarounds: disable_dxgi_zero_copy_video Limited enabling of Chromium GL_INTEL_framebuffer_CMAA: 535198 Applied Workarounds: disable_framebuffer_cmaa 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 14.8.2016, 16:02:23 Chrome version Chrome/54.0.2829.0 Operating system Windows NT 10.0.14393 Software rendering list version 11.9 Driver bug list version 8.81 ANGLE commit id 3416ff3eef4f 2D graphics backend Skia/54 5c6fc4fbfd425a91bbb9cd493517bd3c9aa6ad55 Command Line Args SxS\Application\chrome.exe" --flag-switches-begin --flag-switches-end Driver Information Initialization time 83 In-process GPU false Sandboxed true GPU0 VENDOR = 0x1002, DEVICE= 0x67b1 *ACTIVE* GPU1 VENDOR = 0x8086, DEVICE= 0x0112 Optimus false AMD switchable true Desktop compositing Aero Glass Diagonal Monitor Size of \\.\DISPLAY1 43.3" Driver vendor Advanced Micro Devices, Inc. Driver version 16.300.2511.1001 Driver date 8-11-2016 Pixel shader version 3.0 Vertex shader version 3.0 Max. MSAA samples 8 Machine model name Machine model version GL_VENDOR Google Inc. GL_RENDERER ANGLE (AMD Radeon (TM) R9 390 Series Direct3D9Ex vs_3_0 ps_3_0) GL_VERSION OpenGL ES 2.0 (ANGLE 2.1.0.3416ff3eef4f) GL_EXTENSIONS GL_OES_element_index_uint GL_OES_packed_depth_stencil GL_OES_get_program_binary GL_OES_rgb8_rgba8 GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_EXT_color_buffer_half_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_float GL_OES_texture_float_linear GL_EXT_texture_compression_dxt1 GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_OES_depth32 GL_EXT_texture_storage GL_OES_texture_npot GL_EXT_texture_filter_anisotropic GL_EXT_occlusion_query_boolean GL_NV_fence GL_EXT_robustness GL_EXT_blend_minmax GL_ANGLE_framebuffer_blit GL_ANGLE_framebuffer_multisample GL_ANGLE_instanced_arrays GL_ANGLE_pack_reverse_row_order GL_OES_standard_derivatives GL_EXT_shader_texture_lod GL_EXT_frag_depth GL_ANGLE_texture_usage GL_ANGLE_translated_shader_source GL_EXT_debug_marker GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_unpack_subimage GL_NV_pack_subimage GL_OES_vertex_array_object GL_KHR_debug GL_CHROMIUM_bind_uniform_location GL_CHROMIUM_sync_query Disabled Extensions Window system binding vendor Google Inc. (adapter LUID: 0000000000007cd6) Window system binding version 1.4 (ANGLE 2.1.0.3416ff3eef4f) 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_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_renderbuffer_image EGL_KHR_get_all_proc_addresses EGL_ANGLE_flexible_surface_compatibility 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 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 ... loading ... Log Messages WARNING: Hardware acceleration is unavailable.
,
Aug 16 2016
Thanks for the information! Based on that listing, Chrome is using the AMD discrete GPU, and video decoding in that configuration is blacklisted (c.f. issue 298968 ) with the note "Accelerated video decode does not work with the discrete GPU on AMD switchables". You should be able to get accelerated decode by forcing Chrome to run on the Intel GPU. Given the recency of issues people have had with your setup, we are unlikely to remove the blacklist entry soon. (I'll investigate if there is a driver cutoff version we could use if there was a driver bug fix.)
,
Aug 16 2016
Thanks for the comment. But I don't really understand why Chrome is detecting AMD switchable graphics here. I'm using a Desktop setup with a dedicated Radeon R9 390. There is not option to switch between the Radeon and the integrated Intel gpu. So how can I force Chrome to run on the Intel gpu? What problems are you talking about, driver problems with the Radeon Crimson Software? Cause if I deactivate the Intel gpu, Chrome is running perfectly fine hardware accelerated on the Radeon gpu. I don't notice any problems and this was the standard behavior up to Chrome 51.
,
Aug 17 2016
#24: If you can deactivate the Intel GPU, and that works, is that an adequate solution for you? Typically with a hybrid setup the physical display would be connected to the Intel GPU, with the AMD GPU only providing assistance. If that's not your setup then I agree that it is strange it is detected a hybrid, and perhaps there is a better fix.
,
Aug 17 2016
Deactivating isn't working, I have to completely remove it from Windows device manager. Unfortunately, after every reboot, it's there again and I can't deactivate it in Bios. No, the Intel gpu isn't connected, that's what's so irritating about it.
,
Mar 8 2018
Hopefully this was resolved, if not please re-open this bug. |
||||||
►
Sign in to add a comment |
||||||
Comment 1 by tobiasma...@gmail.com
, Jun 30 2016