Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 7503

Ubuntu • RPI4 + Ubuntu22 + Chromium - video speed issue

$
0
0
Hi, I have a question about RPI4 (4G Ram) + Ubuntu 22 + Chromium. There was a problem with hardware video decoding. It is blocked by default on all APT packages for Ubuntu including Chromium. So I made some investigation and found a workaround here I succesfully unblocked the HD acceleration but the video is still slowed down.

I am at the end of my ability to fix it so I would like to find some help with it here.
Do I need to do something to fix the slow videos?

This is the result of chrome://gpu

Graphics Feature Status
=======================
* Canvas: Hardware accelerated
* Canvas out-of-process rasterization: Enabled
* Direct Rendering Display Compositor: Disabled
* Compositing: Hardware accelerated
* Multiple Raster Threads: Enabled
* OpenGL: Enabled
* Rasterization: Hardware accelerated on all pages
* Raw Draw: Disabled
* Skia Graphite: Disabled
* Video Decode: Hardware accelerated
* Video Encode: Software only. Hardware acceleration disabled
* Vulkan: Disabled
* WebGL: Hardware accelerated
* WebGL2: Hardware accelerated
* WebGPU: Disabled
* WebNN: Disabled

Driver Bug Workarounds
======================
* enable_webgl_timer_query_extensions
* exit_on_context_lost
* rely_on_implicit_sync_for_swap_buffers
* disabled_extension_GL_KHR_blend_equation_advanced
* disabled_extension_GL_KHR_blend_equation_advanced_coherent

Problems Detected
=================
* WebGPU has been disabled via blocklist or the command line.
Disabled Features: webgpu

* Accelerated video encode has been disabled, either via blocklist, about:flags or the command line.
Disabled Features: video_encode

* Disable KHR_blend_equation_advanced until cc shaders are updated:
(http://crbug.com/661715)
Applied Workarounds: disable(GL_KHR_blend_equation_advanced),
disable(GL_KHR_blend_equation_advanced_coherent)

* Expose WebGL's disjoint_timer_query extensions on platforms with site isolation:
(http://crbug.com/808744), (http://crbug.com/870491)
Applied Workarounds: enable_webgl_timer_query_extensions

* Some drivers can't recover after OUT_OF_MEM and context lost:
(http://crbug.com/893177)
Applied Workarounds: exit_on_context_lost

* Avoid waiting on a egl fence before swapping buffers and rely on implicit sync on Broadcom GPUs:
(http://crbug.com/938286)
Applied Workarounds: rely_on_implicit_sync_for_swap_buffers

Version Information
===================
Data exported : 2025-07-23T07:47:08.846Z
Chrome version : Chrome/126.0.6478.164
Operating system : Linux 6.8.0-1030-raspi
Software rendering list URL: https://chromium.googlesource.com/chrom ... _list.json
Driver bug list URL : https://chromium.googlesource.com/chrom ... _list.json
ANGLE commit id : 5d4df51d1d7d
2D graphics backend : Skia/126 be621ea04206d8fae23952783d1d588d6ce0d9b3
Command Line : /usr/lib/chromium-browser/chromium-browser --enable-pinch --remote-debugging-port=9222 --window-size=1920,1080 --incognito --disable-translate --no-first-run --no-sandbox --ignore-gpu-blocklist --enable-zero-copy --enable-features=VaapiVideoDecoder,VdpauVideoDecoder,DirectRenderingDisplayCompositor,CanvasOopRasterization --disable-frame-rate-limit --use-gl=egl --disable-gpu-vsync --enable-gpu-rasterization --ozone-platform=x11 --enable-native-gpu-memory-buffers --flag-switches-begin --flag-switches-end http://localhost/player

Driver Information
==================
Initialization time : 713
In-process GPU : false
Passthrough Command Decoder : false
Sandboxed : false
GPU0 : VENDOR= 0x0000 [Broadcom], DEVICE=0x0000 [V3D 4.2.14.0], DRIVER_VENDOR=Mesa, DRIVER_VERSION=24.2.8 *ACTIVE*
Optimus : false
AMD switchable : false
GPU CUDA compute capability major version: 0
Pixel shader version : 3.10
Vertex shader version : 3.10
Max. MSAA samples : 4
Machine model name :
Machine model version :
GL implementation parts : (gl=egl-gles2,angle=none)
Display type : DEFAULT
GL_VENDOR : Broadcom
GL_RENDERER : V3D 4.2.14.0
GL_VERSION : OpenGL ES 3.1 Mesa 24.2.8-1ubuntu1~24.04.1
GL_EXTENSIONS : GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_texture_storage GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_shadow_samplers GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_cube_map_array GL_EXT_texture_view GL_KHR_context_flush_control GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_color_buffer_half_float GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_EXT_EGL_image_storage_compression GL_EXT_texture_storage_compression GL_MESA_bgra
Disabled Extensions : GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Disabled WebGL Extensions :
Window system binding vendor : Mesa Project
Window system binding version : 1.4
Window system binding extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control EGL_ANGLE_sync_control_rate EGL_EXT_buffer_age EGL_EXT_config_select_group EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_surface_compression EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_MESA_x11_native_visual_id EGL_NOK_texture_from_pixmap
Ozone platform : x11
Direct rendering version : unknown
Reset notification strategy : 0x0000
GPU process crash count : 0
gfx::BufferFormats supported for allocation and texturing: R_8: supported, R_16: supported, RG_88: supported, RG_1616: supported, BGR_565: supported, RGBA_4444: supported, RGBX_8888: supported, RGBA_8888: supported, BGRX_8888: supported, BGRA_1010102: supported, RGBA_1010102: supported, BGRA_8888: supported, RGBA_F16: supported, YVU_420: not supported, YUV_420_BIPLANAR: not supported, YUVA_420_TRIPLANAR: supported, P010: not supported

Compositor Information
======================
Tile Update Mode: Zero-copy
Partial Raster : Enabled

GpuMemoryBuffers Status
=======================
R_8 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
R_16 : Software only
RG_88 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
RG_1616 : Software only
BGR_565 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
RGBA_4444 : Software only
RGBX_8888 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
RGBA_8888 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
BGRX_8888 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
BGRA_1010102 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
RGBA_1010102 : Software only
BGRA_8888 : SCANOUT, SCANOUT_CPU_READ_WRITE, SCANOUT_VDA_WRITE
RGBA_F16 : Software only
YVU_420 : Software only
YUV_420_BIPLANAR : Software only
YUVA_420_TRIPLANAR: Software only
P010 : Software only

Display(s) Information
======================
Info : Display[68] bounds=[0,0 1920x1080], workarea=[0,0 1920x1080], scale=1, rotation=0, panel_rotation=0 external detected
Color space (all) : {primaries:BT709, transfer:SRGB, matrix:RGB, range:FULL}
Buffer format (all) : BGRA_8888
Color volume : {name:'srgb', r:[0.6400, 0.3300], g:[0.3000, 0.6000], b:[0.1500, 0.3300], w:[0.3127, 0.3290]}
SDR white level in nits : 203
HDR relative maximum luminance: 1
Bits per color component : 8
Bits per pixel : 24
Refresh Rate in Hz : 60

Video Acceleration Information
==============================
Decoding :
Decode h264 baseline: 32x32 to 1920x1920 pixels
Decode h264 main : 32x32 to 1920x1920 pixels
Decode h264 high : 32x32 to 1920x1920 pixels
Encoding :

Vulkan Information
==================

Device Performance Information
==============================

Log Messages
============
[1584:1584:0723/094609.942215:ERROR:gpu_init.cc(577)] : Passthrough is not supported, GL is egl, ANGLE is
[1584:1584:0723/094610.010247:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.010796:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.011452:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.150226:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.151174:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.151615:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.152357:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.152780:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.153484:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.153962:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.154557:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.154908:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.155679:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.156414:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.157076:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.157479:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.161345:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.161715:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.162347:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.162801:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.163421:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.163793:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.164342:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.164665:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.165300:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.165669:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.166317:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.167081:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.167622:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.168105:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.169211:ERROR:gbm_wrapper.cc(74)] : Failed to get fd for plane.: No such file or directory (2)
[1584:1584:0723/094610.169660:ERROR:gbm_wrapper.cc(257)] : Failed to export buffer to dma_buf: No such file or directory (2)
[1584:1584:0723/094610.204766:WARNING:sandbox_linux.cc(430)] : InitializeSandbox() called with multiple threads in process gpu-process.
[1584:1584:0723/094626.973455:ERROR:shared_image_factory.cc(1004)] : Could not find SharedImageBackingFactory with params: usage: Gles2Read|RasterRead|DisplayRead|Scanout, format: (Y_UV, 420, 8unorm, ExtSamplerOff), share_between_threads: 0, gmb_type: shared_memory, debug_label: MediaGmbVideoFramePool_Pid:1752_Pid:1752
[1584:1584:0723/094626.974994:ERROR:shared_image_stub.cc(275)] : SharedImageStub: Unable to create shared image
[1584:1584:0723/094626.994263:ERROR:shared_image_manager.cc(223)] : SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1584:1584:0723/094638.136491:ERROR:shared_image_factory.cc(1004)] : Could not find SharedImageBackingFactory with params: usage: Gles2Read|RasterRead|DisplayRead|Scanout, format: (Y_UV, 420, 8unorm, ExtSamplerOff), share_between_threads: 0, gmb_type: shared_memory, debug_label: MediaGmbVideoFramePool_Pid:0_Pid:0
[1584:1584:0723/094638.137285:ERROR:shared_image_stub.cc(275)] : SharedImageStub: Unable to create shared image
[1584:1584:0723/094638.155154:ERROR:shared_image_manager.cc(223)] : SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1584:1584:0723/094638.224238:ERROR:shared_image_manager.cc(223)] : SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1584:1584:0723/094638.240936:ERROR:shared_image_manager.cc(223)] : SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
[1584:1980:0723/094708.374799:VERBOSE1:gpu_video_encode_accelerator_factory.cc(218)] : GetSupportedProfiles(): Supported profiles empty, querying again...

Statistics: Posted by Camo81 — Wed Jul 23, 2025 10:54 am — Replies 6 — Views 125



Viewing all articles
Browse latest Browse all 7503

Trending Articles