Solved Youtube video lagging
-
Hi!
Using latest Vivaldi with an 5800x, 6800XT (latest drivers), 32GB RAM, I'm on cable 60Mb nothing else on the network.
When I watch YouTube videos the videos often start lagg (like 15fps lagging). I have hardware acceleration on, off rectifies the problem somehow, but not satisfactory.
The weird thing is that the videos doesn't do this when video is small, but it's happening in cinematic and fullscren. One workaround is positioning the mouse on the youtube video controls (pause/play etc) keeping the timeline visible, then the video doesn't lagg.
Windows PowerProfile is set to balanced with slider to performance. Changing profile doesn't do anything.
-
Found the setting that makes video lag!
It's the Radeon Anti-Lag feature, ironically! When enabled youtube lags! When disabled it's smooth!
-
Thank you for following up so fast Gwen-Dragon!
1. 20H2 19042.985 WFEP 120.2212.2020.0
2. 3.8.2259.42 (Stable channel)
3. AMD Ryzen 7 5800X / 32GB RAM
4. AMD Radeon RX 6800 XT (Drivers: 21.5.2, latest)
5.
Graphics Feature Status Canvas: Hardware accelerated Compositing: Hardware accelerated Multiple Raster Threads: Enabled Out-of-process Rasterization: Hardware accelerated OpenGL: Enabled Rasterization: Hardware accelerated Skia Renderer: Enabled Video Decode: Hardware accelerated Vulkan: Disabled WebGL: Hardware accelerated WebGL2: Hardware accelerated Driver Bug Workarounds clear_uniforms_before_first_program_use decode_encode_srgb_for_generatemipmap disable_delayed_copy_nv12 disable_direct_composition_sw_video_overlays disable_nv12_dynamic_textures disable_vp_scaling exit_on_context_lost limit_d3d11_video_decoder_to_11_0 use_empty_video_hdr_metadata 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 Clear uniforms before first program use on all platforms: 124764, 349137 Applied Workarounds: clear_uniforms_before_first_program_use 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 Delayed copy NV12 causes crashes on GPU main thread when DXVA video decoder runs on another thread: 983787 Applied Workarounds: disable_delayed_copy_nv12 Don't use video processor scaling on non-Intel, non-NVIDIA GPUs.: 993233 Applied Workarounds: disable_vp_scaling dynamic textures fail to work on AMD GPUs: 1029855, 1050666 Applied Workarounds: disable_nv12_dynamic_textures Limit D3D11VideoDecoder to 11.0 due to crashes on AMD: 1012464 Applied Workarounds: limit_d3d11_video_decoder_to_11_0 Send empty video hdr metadata due to crashes on AMD: 1045586 Applied Workarounds: use_empty_video_hdr_metadata Software overlays fail to work reliably on AMD devices: 1161215, 1160217 Applied Workarounds: disable_direct_composition_sw_video_overlays ANGLE Features allow_compressed_formats (Frontend workarounds): Enabled: true Allow compressed formats disable_anisotropic_filtering (Frontend workarounds): Disabled Disable support for anisotropic filtering disable_program_binary (Frontend features) anglebug:5007: Disabled Disable support for GL_OES_get_program_binary disable_program_caching_for_transform_feedback (Frontend workarounds): Disabled On some GPUs, program binaries don't contain transform feedback varyings lose_context_on_out_of_memory (Frontend workarounds): Enabled: true Some users rely on a lost context notification if a GL_OUT_OF_MEMORY error occurs scalarize_vec_and_mat_constructor_args (Frontend workarounds) 1165751: Disabled: false Always rewrite vec/mat constructors to be consistent sync_framebuffer_bindings_on_tex_image (Frontend workarounds): Disabled On some drivers TexImage sometimes seems to interact with the Framebuffer add_mock_texture_no_render_target (D3D workarounds) anglebug:2152: Disabled: isIntel && capsVersion < IntelDriverVersion(4815) On some drivers when rendering with no render target, two bugs lead to incorrect behavior allow_clear_for_robust_resource_init (D3D workarounds) 941620: Enabled: true Some drivers corrupt texture data when clearing for robust resource initialization. allow_translate_uniform_block_to_structured_buffer (D3D workarounds) anglebug:3682: Enabled: IsWin10OrGreater() There is a slow fxc compile performance issue with dynamic uniform indexing if translating a uniform block with a large array member to cbuffer. call_clear_twice (D3D workarounds) 655534: Disabled: isIntel && isSkylake && capsVersion < IntelDriverVersion(4771) Using clear() may not take effect depth_stencil_blit_extra_copy (D3D workarounds) anglebug:1452: Disabled Bug in some drivers triggers a TDR when using CopySubresourceRegion from a staging texture to a depth/stencil disable_b5g6r5_support (D3D workarounds): Enabled: (isIntel && capsVersion < IntelDriverVersion(4539)) || isAMD Textures with the format DXGI_FORMAT_B5G6R5_UNORM have incorrect data emulate_isnan_float (D3D workarounds) 650547: Disabled: isIntel && isSkylake && capsVersion < IntelDriverVersion(4542) Using isnan() on highp float will get wrong answer emulate_tiny_stencil_textures (D3D workarounds): Enabled: isAMD && !(deviceCaps.featureLevel < D3D_FEATURE_LEVEL_10_1) 1x1 and 2x2 mips of depth/stencil textures aren't sampled correctly expand_integer_pow_expressions (D3D workarounds): Enabled: true The HLSL optimizer has a bug with optimizing 'pow' in certain integer-valued expressions flush_after_ending_transform_feedback (D3D workarounds): Disabled: isNvidia Some drivers sometimes write out-of-order results to StreamOut buffers when transform feedback is used to repeatedly write to the same buffer positions force_atomic_value_resolution (D3D workarounds) anglebug:3246: Disabled: isNvidia On some drivers the return value from RWByteAddressBuffer.InterlockedAdd does not resolve when used in the .yzw components of a RWByteAddressBuffer.Store operation get_dimensions_ignores_base_level (D3D workarounds): Disabled: isNvidia Some drivers do not take into account the base level of the texture in the results of the HLSL GetDimensions builtin mrt_perf_workaround (D3D workarounds): Enabled: true Some drivers have a bug where they ignore null render targets pre_add_texel_fetch_offsets (D3D workarounds): Disabled: isIntel HLSL's function texture.Load returns 0 when the parameter Location is negative, even if the sum of Offset and Location is in range rewrite_unary_minus_operator (D3D workarounds): Disabled: isIntel && (isBroadwell || isHaswell) && capsVersion < IntelDriverVersion(4624) Evaluating unary minus operator on integer may get wrong answer in vertex shaders select_view_in_geometry_shader (D3D workarounds): Disabled: !deviceCaps.supportsVpRtIndexWriteFromVertexShader The viewport or render target slice will be selected in the geometry shader stage for the ANGLE_multiview extension set_data_faster_than_image_upload (D3D workarounds): Enabled: !(isIvyBridge || isBroadwell || isHaswell) Set data faster than image upload skip_vs_constant_register_zero (D3D workarounds): Disabled: isNvidia In specific cases the driver doesn't handle constant register zero correctly use_instanced_point_sprite_emulation (D3D workarounds): Disabled: isFeatureLevel9_3 Some D3D11 renderers do not support geometry shaders for pointsprite emulation use_system_memory_for_constant_buffers (D3D workarounds) 593024: Disabled: isIntel Copying from staging storage to constant buffer storage does not work zero_max_lod (D3D workarounds): Disabled: isFeatureLevel9_3 Missing an option to disable mipmaps on a mipmapped texture Version Information Data exported 2021-05-12T11:56:51.472Z Chrome version Chrome/90.0.4430.214 Operating system Windows NT 10.0.19042 Software rendering list URL https://chromium.googlesource.com/chromium/src/+/490e126be055ac0c1cdad9422b8e19b61d401b5d/gpu/config/software_rendering_list.json Driver bug list URL https://chromium.googlesource.com/chromium/src/+/490e126be055ac0c1cdad9422b8e19b61d401b5d/gpu/config/gpu_driver_bug_list.json ANGLE commit id unknown hash 2D graphics backend Skia/90 f1e4f21baf44e7c9cc0efbbba21c4ed6009686b3 Command Line "C:\Users\falck\AppData\Local\Vivaldi\Application\vivaldi.exe" --flag-switches-begin --enable-features=PasswordImport --flag-switches-end --origin-trial-disabled-features=SecurePaymentConfirmation --save-page-as-mhtml Driver Information Initialization time 114 In-process GPU false Passthrough Command Decoder true Sandboxed true GPU0 VENDOR= 0x1002, DEVICE=0x73bf, SUBSYS=0x0e3a1002, REV=193, LUID={0,50703} *ACTIVE* GPU1 VENDOR= 0x1414, DEVICE=0x008c, LUID={0,53282} Optimus false AMD switchable false Desktop compositing Aero Glass Direct composition true Supports overlays true YUY2 overlay support SOFTWARE NV12 overlay support SCALING BGRA8 overlay support SOFTWARE RGB10A2 overlay support SOFTWARE Diagonal Monitor Size of \\.\DISPLAY1 34.0" Driver D3D12 feature level D3D 12.1 Driver Vulkan API version Vulkan API 1.2.0 Driver vendor AMD Driver version 27.20.21003.1028 GPU CUDA compute capability major version 0 Pixel shader version 5.0 Vertex shader version 5.0 Max. MSAA samples 8 Machine model name Machine model version GL_VENDOR Google Inc. (AMD) GL_RENDERER ANGLE (AMD, AMD Radeon RX 6800 XT Direct3D11 vs_5_0 ps_5_0, D3D11-27.20.21003.1028) GL_VERSION OpenGL ES 2.0.0 (ANGLE 2.1.0 git hash: unknown hash) GL_EXTENSIONS GL_ANGLE_base_vertex_base_instance 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_get_tex_level_parameter GL_ANGLE_instanced_arrays GL_ANGLE_lossy_etc_decode GL_ANGLE_memory_size GL_ANGLE_multi_draw GL_ANGLE_multiview_multisample GL_ANGLE_pack_reverse_row_order GL_ANGLE_program_cache_control GL_ANGLE_provoking_vertex 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_lose_context GL_CHROMIUM_sync_query GL_EXT_EGL_image_external_wrap_modes GL_EXT_blend_func_extended GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query GL_EXT_draw_buffers GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_frag_depth GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_multisampled_render_to_texture 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_bptc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc 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_EAC_R11_signed_texture GL_OES_compressed_EAC_R11_unsigned_texture GL_OES_compressed_EAC_RG11_signed_texture GL_OES_compressed_EAC_RG11_unsigned_texture GL_OES_compressed_ETC2_RGB8_texture GL_OES_compressed_ETC2_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_RGBA8_texture GL_OES_compressed_ETC2_punchthroughA_sRGB8_alpha_texture GL_OES_compressed_ETC2_sRGB8_alpha8_texture GL_OES_compressed_ETC2_sRGB8_texture GL_OES_depth24 GL_OES_depth32 GL_OES_draw_elements_base_vertex GL_OES_element_index_uint GL_OES_fbo_render_mipmap 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_border_clamp 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_texture_stencil8 GL_OES_vertex_array_object GL_WEBGL_video_texture Disabled Extensions GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent Disabled WebGL Extensions Window system binding vendor Google Inc. (AMD) Window system binding version 1.5 (ANGLE 2.1.0 git hash: unknown hash) 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_ANGLE_windows_ui_composition EGL_NV_post_sub_buffer EGL_KHR_create_context 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_display_semaphore_share_group EGL_ANGLE_create_context_client_arrays EGL_ANGLE_program_cache_control EGL_ANGLE_robust_resource_initialization EGL_ANGLE_create_context_extensions_enabled EGL_ANDROID_blob_cache EGL_ANDROID_recordable EGL_ANGLE_image_d3d11_texture EGL_ANGLE_create_context_backwards_compatible EGL_KHR_create_context_no_error EGL_KHR_reusable_sync Direct rendering version unknown Reset notification strategy 0x8252 GPU process crash count 0 gfx::BufferFormats supported for allocation and texturing R_8: not supported, R_16: not supported, RG_88: not supported, BGR_565: not supported, RGBA_4444: not supported, RGBX_8888: not supported, RGBA_8888: not supported, BGRX_8888: not supported, BGRA_1010102: not supported, RGBA_1010102: not supported, BGRA_8888: not supported, RGBA_F16: not supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, P010: not supported Compositor Information Tile Update Mode One-copy Partial Raster Enabled GpuMemoryBuffers Status 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 BGRA_1010102 Software only RGBA_1010102 Software only BGRA_8888 Software only RGBA_F16 Software only YVU_420 Software only YUV_420_BIPLANAR Software only P010 Software only Display(s) Information Info Display[2528732444] bounds=[0,0 3440x1440], workarea=[62,0 3378x1440], scale=1, rotation=0, panel_rotation=0 external. Color space (sRGB/no-alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (sRGB/no-alpha) BGRX_8888 Color space (sRGB/alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (sRGB/alpha) BGRA_8888 Color space (WCG/no-alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (WCG/no-alpha) BGRX_8888 Color space (WCG/alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (WCG/alpha) BGRA_8888 Color space (HDR/no-alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (HDR/no-alpha) BGRX_8888 Color space (HDR/alpha) {primaries:BT709, transfer:IEC61966_2_1, matrix:RGB, range:FULL} Buffer format (HDR/alpha) BGRA_8888 SDR white level in nits 80 Bits per color component 8 Bits per pixel 24 Refresh Rate in Hz 144 Video Acceleration Information Decode h264 baseline 64x64 to 4096x2304 pixels Decode h264 baseline 64x64 to 2304x4096 pixels Decode h264 main 64x64 to 4096x2304 pixels Decode h264 main 64x64 to 2304x4096 pixels Decode h264 high 64x64 to 4096x2304 pixels Decode h264 high 64x64 to 2304x4096 pixels Decode vp9 profile0 64x64 to 8192x4320 pixels Decode vp9 profile2 64x64 to 8192x4320 pixels Decode av1 profile main 64x64 to 8192x4320 pixels Encode h264 baseline 0x0 to 1920x1088 pixels, and/or 30.000 fps Encode h264 main 0x0 to 1920x1088 pixels, and/or 30.000 fps Encode h264 high 0x0 to 1920x1088 pixels, and/or 30.000 fps Vulkan Information Device Performance Information Total Physical Memory (Gb) 31 Total Disk Space (Gb) 3723 Hardware Concurrency 16 System Commit Limit (Gb) 36 D3D11 Feature Level 12_1 Has Discrete GPU yes Software Rendering No Diagnostics ... loading ... Log Messages GpuProcessHost: The info collection GPU process exited normally. Everything is okay.
6. Headphones with Fiio K5Pro
7.
hfgeienlihckogmohjhadlkjgocpleb : Nettmarked : version 0_2 jffbochibkahlbbmanpmndnhmeliecah : Vivaldi Picture-In-Picture : version 1_0 kmendfapggjehodndflmmgagdbamhnfd : CryptoTokenExtension : version 0_9_74 mhjfbmdgcfjbbpaeojofohoefgiehjai : Chromium PDF Viewer : version 1 mpognobbkildjkofajifpdfhcoklimli : Vivaldi : version 1_5 nkeimhogjdpnpccoofpliimaahmaaome : Google Hangouts : version 1_3_16 pkedcjkdefgpdelpbcmbmeomcjbeemfm : Chrome Media Router : version 9021_222_0_0
8. Bitdefender Total Security 2021, latest update
9. all videos in www.youtube.com
10.
vivaldi://flags/#ignore-gpu-blacklist: doesn't show anything (not listed)
vivaldi://flags/#disable-accelerated-video-decode: Enabled11. Yes. Didn't work
12. Yes, same issue.
13. When playing video on youtube the video is "jerky" (nearest description is it running at 10-15 fps.). This is when video is played in cinematic view or fullscreen. Not an issue when default view. If mouse cursor is active above video playback area the FPS goes back to normal.
-
@falck said in Youtube video lagging:
vivaldi://flags/#ignore-gpu-blacklist: doesn't show anything (not listed)
Should be
vivaldi://flags/#ignore-gpu-blocklist
But looking at output from #5, I suspect activating this flag is unnecessary.
-
For me, YT also needs much time to load, because of this, I use Freetube desktop client, with this the vids loads blazing fast. I think the cause is a bad optimized design of the YT page, not the vids, OS or Vivaldi itself.
-
Update:
Used AMD Driver Cleaner tool and then reinstalled graphicscard driver again and now it seems to work
-
@falck , yes, important to have updated drivers
-
The drivers are the same.
The weird thing is i tried Chrome at the same time Vivaldi had problems, but Chrome didn't have the issue.
-
That I understand. I'm just happy the problem is resolved
️ but I still think it's weird, would think it's the same calls to the driver for the same video with same settings?
-
@gwen-dragon Well, something with the driver fixed the issue.
As I've stated before, I had both Vivaldi and Chrome installed at the same time on the same machine. When streaming YT videos Vivaldi had issues, but Chrome didn't.
Driver cleanup, with standalone program from AMD, fixed Vivaldi, my question now is why would streaming YT videos with Chrome work as expected, but Vivaldi needed me to clean drivers to get a smooth experience?
But, I agree, the issue seems to be resolved atm. I'm just curious as to why it happened
-
@falck , one reason may be that YT is owned by Google and lags all other which don`t use certain Google APIs.
-
We already know the "benefits" of Google's business policy and its commitment that everyone uses Chrome, or in its defect Firefox (also owned by Google.)
I don't think it's because of the codecs, since there is no problem viewing the videos on CloudTube or FreeTube in the same format. -
Hi @catweazle, am I mistaken that you think Google owns Firefox?
My heart skipped a beat when I read thatI know they have an agreement (and money is paid so) that Firefox uses Google Search as it's default search engine, but that's where it ends - Mozilla owns Firefox, and you can change the default search engine on Firefox if you want
-
@jamesyjames , sadly true, simply entering Mozilla, to download FF, they put a tracker from Alphabet INC, a Google advertising company, FF also uses various Google APIs.
Moreover, in TOS DR an account in FF receives category D (the worst), the same as Google and Fakebook.
Everyone talks about using a de-googled Chromium, but no one about using a de-googled FF, or fork, believing that because it is OpenSource it is more private or secure.
Chromium is FOSS and also the APIs from Google, Facebook and Amazon, included in a lot of OpenSource apps -
@catweazle aawww mannnn
, thanks for the heads-up. Feels like such a constant battle trying to keep my privacy rights. More and more it seems like monopolies are just getting too dictatorial.
At this point I'm almost willing to roll back to an older pc backup to see if I can get V or CT working well, just concerned that my pc is old and I don't feel like dealing with issues that could arise.
Did you say you use CT on V? -
@jamesyjames CloudTube? yes, also yewtube, another privacy front-end of YT, if one of them fails, some public instances can fail ocasionally.
In browsers I prefer, apart from Vivaldi, others made in Europe, they are better in privacy because the EU privacy norm, which don't exist in the US and less in China (Opera) -
Found the setting that makes video lag!
It's the Radeon Anti-Lag feature, ironically! When enabled youtube lags! When disabled it's smooth!
-
Ppafflick moved this topic from Vivaldi for Windows on