Closed Bug 1682779 Opened 3 years ago Closed 3 years ago

since Raspberry Pi OS is using PulseAudio, Firefox 78.5.0esr does not play audio for some videos anymore.

Categories

(Core :: Audio/Video: Playback, defect, P3)

78 Branch
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: alpha-beta-release, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux armv7l; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

hi, i am using Firefox 78.5.0esr (32-bit) on my Raspberry Pi 4 (with 4GB).
since the December 2020 update, Raspberry Pi OS is using PulseAudio as top overlay for ALSA,
and Firefox 78.5.0esr does not play audio for some videos anymore.

the maintainers of Raspberry Pi OS told me that it is not an issue of them, it must be an issue of Firefox.
they told, it is maybe an issue related to bug #1422073: no audio unless pulseaudio is already running
but none of the suggestions there helped me.

here a link to a video that does not play audio in firefox, but play audio in chromium browser.
https://www.youtube.com/watch?v=4Wrc4fHSCpw

i, tried to clean cache, reset preferences, removed add-ons, made a new clean installation on a new clean system, but nothing helped. all the time the same behavior - some videos does not play with audio in firefox, others do.

Raspberry Pi OS is an 32-bit opperating system for Raspberry Pi that has an ARM cpu, for those who don't know, what i am talking from.
https://www.raspberrypi.org
https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=293746

to reproduce:

  1. install Raspberry Pi OS from December 2020 to your SD card and plug it to your Rarrpberry Pi 4 (4GB),
    (https://downloads.raspberrypi.org/raspios_armhf/images/raspios_armhf-2020-12-04/2020-12-02-raspios-buster-armhf.zip)
  2. update all packages to the newes version (sudo apt update && sudo apt -y full-upgrade)
  3. install firefox-esr (sudo apt install firefox-esr)
  4. open firefox and navigate to the folowing video (https://www.youtube.com/watch?v=4Wrc4fHSCpw)
  5. play the video in firefox-esr (the video plays back without audio)

Actual results:

actually the following video (https://www.youtube.com/watch?v=4Wrc4fHSCpw) plays back without audio.
some videos plays back audio, some others don't.
under chromium at the same system plays back always the audio.

Expected results:

the expected result is to play back audio of every video that has an audio channel.

Hi!
I don't have the hardware to replicate this on my end so I will move this over to a component to have a starting point from this. If this is not the correct component please feel free to change it to an appropriate one.
Thanks for the report.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

few days ago my RPi received an update of firefox-esr, but id does not fix the problem i have.
Get:1 http://mirror.de.leaseweb.net/raspbian/raspbian buster/main armhf firefox-esr armhf 78.6.0esr-1~deb10u1+rpi1 [48.9 MB]

here the information i got from "Troubleshooting Information" option of firefox-esr

Application Basics
------------------

Name: Firefox
Version: 78.6.0esr
Build ID: 20201207224150
Distribution ID:
User Agent: Mozilla/5.0 (X11; Linux armv7l; rv:78.0) Gecko/20100101 Firefox/78.0
OS: Linux 5.4.79-v7l+
Multiprocess Windows: 1/1 Enabled by default
Remote Processes: 4
Enterprise Policies: Inactive
Google Location Service Key: Found
Google Safebrowsing Key: Found
Mozilla Location Service Key: Found
Safe Mode: false

Crash Reports for the Last 3 Days
---------------------------------

Firefox Features
----------------

Name: DoH Roll-Out
Version: 1.3.0
ID: doh-rollout@mozilla.org

Name: Firefox Screenshots
Version: 39.0.0
ID: screenshots@mozilla.org

Name: Form Autofill
Version: 1.0
ID: formautofill@mozilla.org

Name: Web Compat
Version: 11.0.0
ID: webcompat@mozilla.org

Name: WebCompat Reporter
Version: 1.3.0
ID: webcompat-reporter@mozilla.org

Remote Processes
----------------

Type: Web Content
Count: 2 / 8

Type: Extension
Count: 1

Type: Privileged About
Count: 1

Extensions
----------

Name: Amazon.com
Version: 1.1
Enabled: true
ID: amazondotcom@search.mozilla.org

Name: Bing
Version: 1.1
Enabled: true
ID: bing@search.mozilla.org

Name: DuckDuckGo
Version: 1.0
Enabled: true
ID: ddg@search.mozilla.org

Name: eBay
Version: 1.0
Enabled: true
ID: ebay@search.mozilla.org

Name: Google
Version: 1.0
Enabled: true
ID: google@search.mozilla.org

Name: Wikipedia (en)
Version: 1.0
Enabled: true
ID: wikipedia@search.mozilla.org

Graphics
--------

Features
Compositing: Basic
Asynchronous Pan/Zoom: wheel input enabled; scrollbar drag enabled; keyboard enabled; autoscroll enabled
WebGL 1 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read
WebGL 1 Driver Renderer: VMware, Inc. -- llvmpipe (LLVM 9.0.1, 128 bits)
WebGL 1 Driver Version: 3.1 Mesa 19.3.2
WebGL 1 Driver Extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_NV_blend_square GL_NV_light_max_exponent GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_S3_s3tc GL_SUN_multi_draw_arrays GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_EXT_framebuffer_object GL_EXT_texture_compression_s3tc GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_MESA_window_pos GL_NV_packed_depth_stencil GL_NV_texture_rectangle GL_ARB_depth_texture GL_ARB_occlusion_query GL_ARB_shadow GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_window_pos GL_ATI_fragment_shader GL_EXT_stencil_two_side GL_EXT_texture_cube_map GL_NV_depth_clamp GL_NV_fog_distance GL_APPLE_packed_pixels GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_shader GL_ARB_shader_objects GL_ARB_vertex_program GL_ARB_vertex_shader GL_ATI_draw_buffers GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_primitive_restart GL_ARB_depth_clamp GL_ARB_fragment_program_shadow GL_ARB_half_float_pixel GL_ARB_occlusion_query2 GL_ARB_point_sprite GL_ARB_shading_language_100 GL_ARB_sync GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ATI_blend_equation_separate GL_EXT_blend_equation_separate GL_OES_read_format GL_ARB_color_buffer_float GL_ARB_pixel_buffer_object GL_ARB_texture_compression_rgtc GL_ARB_texture_float GL_ARB_texture_rectangle GL_ATI_texture_compression_3dc GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_mirror_clamp GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent GL_ARB_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_packed_depth_stencil GL_ARB_vertex_array_object GL_ATI_separate_stencil GL_ATI_texture_mirror_once GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_texture_array GL_EXT_texture_compression_latc GL_EXT_texture_integer GL_EXT_texture_sRGB_decode GL_EXT_timer_query GL_OES_EGL_image GL_EXT_texture_buffer_object GL_AMD_texture_texture4 GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_draw_instanced GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_map_buffer_range GL_ARB_texture_buffer_object GL_ARB_texture_rg GL_ARB_texture_swizzle GL_ARB_vertex_array_bgra GL_EXT_texture_swizzle GL_EXT_vertex_array_bgra GL_NV_conditional_render GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_ARB_ES2_compatibility GL_ARB_blend_func_extended GL_ARB_compatibility GL_ARB_debug_output GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_provoking_vertex GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_cube_map_array GL_ARB_texture_gather GL_ARB_texture_multisample GL_ARB_texture_query_lod GL_ARB_texture_rgb10_a2ui GL_ARB_uniform_buffer_object GL_ARB_vertex_type_2_10_10_10_rev GL_EXT_provoking_vertex GL_EXT_texture_snorm GL_MESA_texture_signed_rgba GL_ARB_draw_indirect GL_ARB_get_program_binary GL_ARB_robustness GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_subroutine GL_ARB_texture_compression_bptc GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_viewport_array GL_AMD_multi_draw_indirect GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_base_instance GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_shader_atomic_counters GL_ARB_shader_image_load_store GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_texture_storage GL_ARB_transform_feedback_instanced GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_transform_feedback GL_AMD_shader_trinary_minmax GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_invalidate_subdata GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_ARB_buffer_storage GL_ARB_clear_texture GL_ARB_enhanced_layouts GL_ARB_internalformat_query2 GL_ARB_multi_bind GL_ARB_seamless_cubemap_per_texture GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_stencil8 GL_ARB_vertex_type_10f_11f_11f_rev GL_EXT_shader_integer_mix GL_ARB_clip_control GL_ARB_conditional_render_inverted GL_ARB_cull_distance GL_ARB_direct_state_access GL_ARB_get_texture_sub_image GL_ARB_pipeline_statistics_query GL_ARB_transform_feedback_overflow_query GL_EXT_polygon_offset_clamp GL_KHR_context_flush_control GL_ARB_parallel_shader_compile GL_ARB_shader_atomic_counter_ops GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_MESA_shader_integer_functions GL_ARB_polygon_offset_clamp GL_KHR_parallel_shader_compile GL_EXT_texture_sRGB_R8 GL_EXT_EGL_sync
WebGL 1 Extensions: ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_frag_depth EXT_shader_texture_lod EXT_sRGB EXT_texture_compression_bptc EXT_texture_compression_rgtc MOZ_debug OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_draw_buffers WEBGL_lose_context
WebGL 2 Driver WSI Info: GLX 1.4 GLX_VENDOR(client): Mesa Project and SGI GLX_VENDOR(server): SGI Extensions: GLX_ARB_context_flush_control GLX_ARB_create_context GLX_ARB_create_context_profile GLX_ARB_fbconfig_float GLX_ARB_framebuffer_sRGB GLX_ARB_get_proc_address GLX_ARB_multisample GLX_EXT_create_context_es2_profile GLX_EXT_create_context_es_profile GLX_EXT_fbconfig_packed_float GLX_EXT_framebuffer_sRGB GLX_EXT_import_context GLX_EXT_texture_from_pixmap GLX_EXT_visual_info GLX_EXT_visual_rating GLX_MESA_copy_sub_buffer GLX_MESA_query_renderer GLX_OML_swap_method GLX_SGIS_multisample GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGIX_visual_select_group GLX_SGI_make_current_read
WebGL 2 Driver Renderer: VMware, Inc. -- llvmpipe (LLVM 9.0.1, 128 bits)
WebGL 2 Driver Version: 3.3 (Core Profile) Mesa 19.3.2
WebGL 2 Driver Extensions: GL_AMD_conservative_depth GL_AMD_draw_buffers_blend GL_AMD_gpu_shader_int64 GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_shader_trinary_minmax GL_AMD_texture_texture4 GL_AMD_vertex_shader_layer GL_AMD_vertex_shader_viewport_index GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_compressed_texture_pixel_storage GL_ARB_compute_shader GL_ARB_conditional_render_inverted GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_copy_image GL_ARB_cull_distance GL_ARB_debug_output GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_indirect GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gpu_shader_fp64 GL_ARB_gpu_shader_int64 GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_internalformat_query2 GL_ARB_invalidate_subdata GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multi_bind GL_ARB_multi_draw_indirect GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_sprite GL_ARB_polygon_offset_clamp GL_ARB_program_interface_query GL_ARB_provoking_vertex GL_ARB_robustness GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_seamless_cubemap_per_texture GL_ARB_separate_shader_objects GL_ARB_shader_atomic_counter_ops GL_ARB_shader_atomic_counters GL_ARB_shader_bit_encoding GL_ARB_shader_image_load_store GL_ARB_shader_image_size GL_ARB_shader_objects GL_ARB_shader_stencil_export GL_ARB_shader_storage_buffer_object GL_ARB_shader_subroutine GL_ARB_shader_texture_lod GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map_array GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_levels GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_stencil8 GL_ARB_texture_storage GL_ARB_texture_storage_multisample GL_ARB_texture_swizzle GL_ARB_texture_view GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transform_feedback_overflow_query GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_attrib_64bit GL_ARB_vertex_attrib_binding GL_ARB_vertex_buffer_object GL_ARB_vertex_shader GL_ARB_vertex_type_10f_11f_11f_rev GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ATI_blend_equation_separate GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_EGL_sync GL_EXT_abgr GL_EXT_blend_equation_separate GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_pixel_buffer_object GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_shader_integer_mix GL_EXT_texture_array GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_integer GL_EXT_texture_mirror_clamp GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_IBM_multimode_draw_arrays GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error GL_KHR_parallel_shader_compile GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_sliced_3d GL_MESA_pack_invert GL_MESA_shader_integer_functions GL_MESA_texture_signed_rgba GL_MESA_ycbcr_texture GL_NV_conditional_render GL_NV_depth_clamp GL_NV_packed_depth_stencil GL_OES_EGL_image GL_S3_s3tc
WebGL 2 Extensions: EXT_color_buffer_float EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc MOZ_debug OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context
Window Protocol: x11
Desktop Environment: lxde
Off Main Thread Painting Enabled: true
Off Main Thread Painting Worker Count: 3
Target Frame Rate: 60
GPU #1
Active: Yes
Description: llvmpipe (LLVM 9.0.1, 128 bits)
Vendor ID: 0xffff
Device ID: 0xffff
Driver Vendor: mesa/llvmpipe
Driver Version: 19.3.2.0
RAM: 3828

Diagnostics
AzureCanvasBackend: skia
AzureContentBackend: skia
AzureFallbackCanvasBackend: none
CairoUseXRender: 0
CMSOutputProfile: Empty profile data
Display0: 1920x1080 default
DisplayCount: 1
Decision Log
HW_COMPOSITING:
available by default
blocked by env: Acceleration blocked by platform
OPENGL_COMPOSITING:
unavailable by default: Hardware compositing is disabled
GPU_PROCESS:
available by default
unavailable by env: Hardware compositing is unavailable.
WEBRENDER:
opt-in by default: WebRender is an opt-in feature
WEBRENDER_QUALIFIED:
available by default
denied by env: Not on allowlist
WEBRENDER_COMPOSITOR:
disabled by default: Disabled by default
WEBRENDER_ANGLE:
opt-in by default: WebRender ANGLE is an opt-in feature
WEBRENDER_DCOMP_PRESENT:
opt-in by default: WebRender DirectComposition is an opt-in feature
OMTP:
available by default
WEBGPU:
disabled by default: Disabled by default
blocked by runtime: WebGPU can only be enabled in nightly




Media
-----

Audio Backend: pulse-rust
Max Channels: 2
Preferred Sample Rate: 44100
Roundtrip latency (standard deviation): NaNms (NaN)
Output Devices
Name: Group
Built-in Audio Digital Stereo: /devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0
Built-in Audio Analog Stereo: /devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1
Input Devices
Name: Group
Monitor of Built-in Audio Digital Stereo: /devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card0
Monitor of Built-in Audio Analog Stereo: /devices/platform/soc/fe00b840.mailbox/bcm2835_audio/sound/card1

Enumerate database

Important Modified Preferences
------------------------------

accessibility.force_disabled: 1
accessibility.typeaheadfind.flashBar: 0
browser.cache.disk.amount_written: 1549993
browser.cache.disk.capacity: 686080
browser.cache.disk.filesystem_reported: 1
browser.cache.disk.hashstats_reported: 1
browser.cache.disk.telemetry_report_ID: 74
browser.contentblocking.category: custom
browser.search.region: DE
browser.search.suggest.enabled: false
browser.search.useDBForOrder: true
browser.sessionstore.upgradeBackup.latestBuildID: 20201207224150
browser.startup.homepage: about:blank
browser.startup.homepage_override.buildID: 20201207224150
browser.startup.homepage_override.mstone: 78.6.0
browser.tabs.crashReporting.includeURL: true
browser.tabs.loadInBackground: false
browser.tabs.warnOnOpen: false
browser.urlbar.placeholderName: DuckDuckGo
browser.urlbar.suggest.bookmark: false
browser.urlbar.suggest.history: false
browser.urlbar.suggest.openpage: false
dom.push.userAgentID: ...
extensions.lastAppVersion: 78.6.0
font.internaluseonly.changed: true
gfx.blacklist.layers.opengl: 4
gfx.blacklist.layers.opengl.failureid: FEATURE_FAILURE_SOFTWARE_GL
idle.lastDailyNotification: 1608485348
media.benchmark.vp9.fps: 29
media.benchmark.vp9.versioncheck: 5
media.gmp-manager.buildID: 20201207224150
media.gmp-manager.lastCheck: 1608495910
media.gmp.storage.version.observed: 1
network.dns.disablePrefetch: true
network.http.speculative-parallel-limit: 0
network.predictor.cleaned-up: true
network.predictor.enabled: false
network.prefetch-next: false
places.database.lastMaintenance: 1607953816
places.history.expiration.transient_current_max_pages: 128502
plugin.disable_full_page_plugin_for_types: application/pdf
privacy.cpd.offlineApps: true
privacy.cpd.siteSettings: true
privacy.purge_trackers.date_in_cookie_database: 0
privacy.sanitize.pending: [{"id":"newtab-container","itemsToClear":[],"options":{}}]
privacy.sanitize.timeSpan: 0
privacy.trackingprotection.enabled: true
privacy.userContext.enabled: true
privacy.userContext.extension: {...}
privacy.userContext.longPressBehavior: 2
privacy.userContext.ui.enabled: true
security.remote_settings.crlite_filters.checked: 1608537784
security.remote_settings.intermediates.checked: 1608516164
services.sync.declinedEngines:
signon.autofillForms: false
signon.importedFromSqlite: true
storage.vacuum.last.index: 1
storage.vacuum.last.places.sqlite: 1606820780

Important Locked Preferences
----------------------------

dom.ipc.processCount.webIsolated: 1
fission.autostart: false

Places Database
---------------

Accessibility
-------------

Activated: false
Prevent Accessibility: 1

Library Versions
----------------

NSPR
Expected minimum version: 4.25.1
Version in use: 4.25.1

NSS
Expected minimum version: 3.53.1
Version in use: 3.53.1

NSSSMIME
Expected minimum version: 3.53.1
Version in use: 3.53.1

NSSSSL
Expected minimum version: 3.53.1
Version in use: 3.53.1

NSSUTIL
Expected minimum version: 3.53.1
Version in use: 3.53.1

Startup Cache
-------------

Disk Cache Path: /home/pi/.cache/mozilla/firefox/...default-esr/startupCache/startupCache.4.little
Ignore Disk Cache: false
Found Disk Cache on Init: true
Wrote to Disk Cache: false

Internationalization & Localization
-----------------------------------

Application Settings
Requested Locales: ["en-GB"]
Available Locales: ["en-US"]
App Locales: ["en-US"]
Regional Preferences: ["en-GB"]
Default Locale: "en-US"
Operating System
System Locales: ["en-GB"]
Regional Preferences: ["en-GB"]

Can you set media.cubeb.sandbox to false in your about:config page to and run firefox with MOZ_LOG="cubeb:4"? If you're using the release version, you can run MOZ_LOG="cubeb:4" firefox in your terminal to launch the Firefox and get the logs. (or MOZ_LOG="cubeb:4" <path>/<to>/<firefox>). It will print some logs. Can you paste the log here so we have more information what's going on?

Severity: -- → S3
Flags: needinfo?(alpha-beta-release)
Priority: -- → P3
See Also: → 1682213

i disabled the sandbox and started firefox with the log options...
here what i got

pi@raspberry:~ $ MOZ_LOG="cubeb:4" firefox
[Child 27532: MediaDecoderStateMachine #1]: I/cubeb media.cubeb.sandbox: false
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532, MediaDecoderStateMachine #1] WARNING: Decoder=b698d310 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 27532: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
pi@raspberry:~ $ MOZ_LOG="cubeb:4" firefox
[Child 2478: MediaDecoderStateMachine #1]: I/cubeb media.cubeb.sandbox: false
[Child 2478: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 26448, prebuf 22044, minreq 4408, fragsize 4294967295
[Child 2478: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 28792, prebuf 23996, minreq 4800, fragsize 4294967295
pi@raspberry:~ $ 

at the very first run, i started a video that played without audio, i got a bunch of warnings.
few other videos that played without audio only produced a single line with E/cubeb stream.rs:490: Output buffer attributes....
at the end of the first run i tried a video that played audio well. but that produced the same line of E/cubeb stream.rs:490: Output buffer attributes... so i thing it is a standard log output that is expected.

the second run, i tried if i get the warnings from the very first run with the same video again, but this time i did not get the warings anymore. but the audio is constantly gone.

https://www.youtube.com/watch?v=Pwc0tDxVTR4
(nearly all old videos at YoutTube from Vevo plays back without audio in firefox-esr since raspberry pi OS is using pulseaudio)

https://www.youtube.com/watch?v=zNfgfn1_dyA

Flags: needinfo?(alpha-beta-release)

i tried other random music videos
this video https://www.youtube.com/watch?v=JrMdf4N8Bsw
produces also that warings

...
[Child 31470, MediaDecoderStateMachine #1] WARNING: Decoder=7a404ff0 Decode error: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - RefPtr<mozilla::MozPromise<RefPtr<mozilla::MediaTrackDemuxer::SamplesHolder>, mozilla::MediaResult, true> > mozilla::MediaSourceTrackDemuxer::DoGetSamples(int32_t): manager is detached.: file /build/firefox-esr-o65UTN/firefox-esr-78.6.0esr/dom/media/MediaDecoderStateMachine.cpp, line 3470
[Child 31470: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 28792, prebuf 23996, minreq 4800, fragsize 4294967295

some videos without playing audio produces that warning log output, some videos without playing audio don't produce that warings...

i guess that is not very helpful, can i do more to help you?

(In reply to alpha-beta-release from comment #4)

at the end of the first run i tried a video that played audio well. but that produced the same line of E/cubeb stream.rs:490: Output buffer attributes... so i thing it is a standard log output that is expected.

https://www.youtube.com/watch?v=zNfgfn1_dyA

I am not sure I read the comment correctly or not. Does this youtube link play the video with audio well?

Can you try when running with MOZ_LOG="cubeb:5" instead of MOZ_LOG="cubeb:4"? That should give us to see if the audio callback is running or not.

Flags: needinfo?(alpha-beta-release)

(In reply to C.M.Chang[:chunmin] from comment #6)

(In reply to alpha-beta-release from comment #4)

at the end of the first run i tried a video that played audio well. but that produced the same line of E/cubeb stream.rs:490: Output buffer attributes... so i thing it is a standard log output that is expected.

https://www.youtube.com/watch?v=zNfgfn1_dyA

I am not sure I read the comment correctly or not. Does this youtube link play the video with audio well?

Can you try when running with MOZ_LOG="cubeb:5" instead of MOZ_LOG="cubeb:4"? That should give us to see if the audio callback is running or not. I thought we will fail when initializing the pulse-stream, but it doesn't. From the log, it seems the pulse-stream is initialized successfully.

sorry for my un-precise comment #4.
no, that video did not playback audio.

here the more detailed log output.

pi@raspberry:~ $ MOZ_LOG="cubeb:5" firefox

[(null) 30720: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[(null) 30720: Main Thread]: V/cubeb media.cubeb.sandbox: true
[(null) 30720: Unnamed thread 0xb6910f40]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[(null) 30720: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 30864: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 30864: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 30864: Unnamed thread 0xada8d040]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 30935: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 30935: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 30935: Unnamed thread 0xadbac040]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 30997: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 30997: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 30997: Unnamed thread 0xb6913640]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 30864: MediaPlayback #1]: I/cubeb media.cubeb.sandbox: false

when playing this video:
https://www.youtube.com/watch?v=Pwc0tDxVTR4

[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 28792
[Child 30864: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 28792, prebuf 23996, minreq 4800, fragsize 4294967295
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=28792, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5760
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5760, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7680
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7680, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5856
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5856, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7632
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7632, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5808
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5808, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7584
...
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5056, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 8416
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=8416, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5808
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5808, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7600
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7600, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5872

when playing that video:
https://www.youtube.com/watch?v=4Wrc4fHSCpw

[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 28792
[Child 30864: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 28792, prebuf 23996, minreq 4800, fragsize 4294967295
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=28792, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5760
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5760, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7680
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7680, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5840
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5840, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7648
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7648, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5808
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5808, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7584
...
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5784, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5736
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5736, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5744
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5744, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 5888
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5888, read_offset=0
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 4880
[Child 30864: Unnamed thread 0x84022400]: E/cubeb stream.rs:335: Output callback to be written buffer size 7760

both videos played without audio.

opened a new TAB and loaded a link below:

[Child 10422: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 10422: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 10422: Unnamed thread 0xb6913700]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 10489: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 10489: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 10489: Unnamed thread 0xb6913640]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 10579: Main Thread]: V/cubeb media.cubeb.force_null_context: false
[Child 10579: Main Thread]: V/cubeb media.cubeb.sandbox: false
[Child 10579: Unnamed thread 0xb6913640]: E/cubeb cubeb_log.cpp:80: Starting cubeb log
[Child 10489: MediaPlayback #2]: I/cubeb media.cubeb.sandbox: false

this video payed the audio well
https://www.youtube.com/watch?v=bm03wqLY3Nc

[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 28792
[Child 10489: MediaDecoderStateMachine #1]: E/cubeb stream.rs:490: Output buffer attributes maxlength 4194304, tlength 28792, prebuf 23996, minreq 4800, fragsize 4294967295
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=28792, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5344
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5344, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5760
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5760, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 6112
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=6112, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5504
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5504, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 6072
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=6072, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5336
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5336, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5760
...
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7584, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5856
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5856, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 7584
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7584, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 5840
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=5840, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 7600
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:929: Trigger user callback with output buffer size=7600, read_offset=0
[Child 10489: Unnamed thread 0xa24e6ac0]: E/cubeb stream.rs:335: Output callback to be written buffer size 7680
Flags: needinfo?(alpha-beta-release)

BTW: here the link to the issue report i came from:
https://github.com/RPi-Distro/repo/issues/218

hi, i found something interesting.

i copied the URL of one youtube video that doesn't play with audio in firefox-esr on the RPi with the pulseaudio driver.
in VLC, i paste that URL ([Ctrl]+[N] to networkplay that video)
then in VLC i opened the codec info ([Ctrl]+[J]) of that video and copied the URL of the filed "Location" (this is the raw direct URL of the video file itself).
when i copy back that URL to firefox-esr, then the video is now playing audio in firefox-esr on the RPi with the new pulseaudio driver.

is it possible that firsfox sometimes loads a video file that is not able to play audio for?

it makes no sense to post you the URL, because those URL are temporary URL only and expires.

very annoying, it feels more and more videos i am interested in watching don't play audio :(

its there any progress in finding and fixing this issue?

please help me and other RPi + Firefox-esr users... please.

Some ideas about the audio problems:

  1. I also got trouble playing e.g. 48 kHz audio files on other audio players (e.g. audacious), when pulseaudio only runs with 44.1 kHz. Perhaps that is the same problem here?
  2. Youtube offers its videos in different audio- & video formats (which can be chosen independently from the client), but not all videos in all formats. (And the formats that are available for a certain video might change over time, too)
  3. Tools like "youtube-dl" are able to show which video and audio formats are available for a given video URL. (youtube-dl -F <URL>). Maybe it helps to check how/where the working/non-working videos differ here?

thank you for the hint, but did not work for me.

  1. /etc/pulse/daemon.conf i changed the default sample rate to 44100 and restarted the service with systemctl --user restart pulseaudio.service.
    ...still the same issue with audio.
  2. while watching the video in firefox-esr i only have the choice to change the video redolution. ... still same issue with audio.
    i also tried the add-on 'h264ify' like it is installed and activated by default in chromium under Raspberry Pi OS, but that changed nothing.
    ...still the same issue with audio.
  3. the stock package (2019.01.17-1.1) from the distributor (Raspberry Pi/Debian) did not work at all. but the latest version right from the yt_dl.org web page.
    but i can find any relationship between videos with working audio and without working audio.

video without working audio

$ youtube-dl -F https://www.youtube.com/watch?v=4Wrc4fHSCpw
[youtube] 4Wrc4fHSCpw: Downloading webpage
[info] Available formats for 4Wrc4fHSCpw:
format code  extension  resolution note
249          webm       audio only tiny   52k , opus @ 52k (48000Hz), 7.50MiB
250          webm       audio only tiny   66k , opus @ 66k (48000Hz), 9.49MiB
251          webm       audio only tiny  124k , opus @124k (48000Hz), 17.88MiB
140          m4a        audio only tiny  129k , mp4a.40.2@129k (44100Hz), 18.61MiB
160          mp4        256x128    144p   42k , avc1.4d400c@  42k, 30fps, video only, 6.14MiB
394          mp4        256x128    144p   57k , av01.0.00M.08@  57k, 30fps, video only, 8.20MiB
278          webm       256x128    144p   68k , vp9@  68k, 30fps, video only, 9.87MiB
133          mp4        426x214    240p  101k , avc1.4d400d@ 101k, 30fps, video only, 14.61MiB
395          mp4        426x214    240p  103k , av01.0.00M.08@ 103k, 30fps, video only, 14.92MiB
242          webm       426x214    240p  123k , vp9@ 123k, 30fps, video only, 17.81MiB
134          mp4        640x320    360p  193k , avc1.4d401e@ 193k, 30fps, video only, 27.75MiB
396          mp4        640x320    360p  201k , av01.0.01M.08@ 201k, 30fps, video only, 29.01MiB
243          webm       640x320    360p  250k , vp9@ 250k, 30fps, video only, 35.94MiB
135          mp4        854x428    480p  331k , avc1.4d401f@ 331k, 30fps, video only, 47.61MiB
397          mp4        854x428    480p  373k , av01.0.04M.08@ 373k, 30fps, video only, 53.64MiB
244          webm       854x428    480p  447k , vp9@ 447k, 30fps, video only, 64.27MiB
136          mp4        1280x640   720p  536k , avc1.4d401f@ 536k, 30fps, video only, 77.12MiB
398          mp4        1280x640   720p  733k , av01.0.05M.08@ 733k, 30fps, video only, 105.48MiB
247          webm       1280x640   720p  866k , vp9@ 866k, 30fps, video only, 124.47MiB
399          mp4        1920x960   1080p 1305k , av01.0.08M.08@1305k, 30fps, video only, 187.58MiB
248          webm       1920x960   1080p 1580k , vp9@1580k, 30fps, video only, 227.07MiB
137          mp4        1920x960   1080p 1805k , avc1.640028@1805k, 30fps, video only, 259.52MiB
400          mp4        2560x1280  1440p 4194k , av01.0.12M.08@4194k, 30fps, video only, 602.82MiB
271          webm       2560x1280  1440p 4505k , vp9@4505k, 30fps, video only, 647.41MiB
401          mp4        3840x1920  2160p 8858k , av01.0.12M.08@8858k, 30fps, video only, 1.24GiB
313          webm       3840x1920  2160p 11426k , vp9@11426k, 30fps, video only, 1.60GiB
18           mp4        640x320    360p  532k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz), 76.54MiB
22           mp4        1280x640   720p 1865k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best)

video with working audio

$ youtube-dl -F https://www.youtube.com/watch?v=dBap_Lp-0oc
[youtube] dBap_Lp-0oc: Downloading webpage
[info] Available formats for dBap_Lp-0oc:
format code  extension  resolution note
249          webm       audio only tiny   51k , opus @ 51k (48000Hz), 6.29MiB
250          webm       audio only tiny   65k , opus @ 65k (48000Hz), 7.98MiB
251          webm       audio only tiny  123k , opus @123k (48000Hz), 14.92MiB
140          m4a        audio only tiny  129k , mp4a.40.2@129k (44100Hz), 15.69MiB
160          mp4        256x128    144p   36k , avc1.4d400c@  36k, 30fps, video only, 4.38MiB
394          mp4        256x128    144p   55k , av01.0.00M.08@  55k, 30fps, video only, 6.67MiB
278          webm       256x128    144p   64k , vp9@  64k, 30fps, video only, 7.84MiB
133          mp4        426x214    240p   73k , avc1.4d400d@  73k, 30fps, video only, 8.90MiB
395          mp4        426x214    240p   88k , av01.0.00M.08@  88k, 30fps, video only, 10.69MiB
242          webm       426x214    240p  103k , vp9@ 103k, 30fps, video only, 12.52MiB
134          mp4        640x320    360p  123k , avc1.4d401e@ 123k, 30fps, video only, 15.00MiB
396          mp4        640x320    360p  155k , av01.0.01M.08@ 155k, 30fps, video only, 18.89MiB
243          webm       640x320    360p  198k , vp9@ 198k, 30fps, video only, 24.08MiB
135          mp4        854x428    480p  203k , avc1.4d401f@ 203k, 30fps, video only, 24.62MiB
397          mp4        854x428    480p  271k , av01.0.04M.08@ 271k, 30fps, video only, 32.95MiB
244          webm       854x428    480p  339k , vp9@ 339k, 30fps, video only, 41.13MiB
136          mp4        1280x640   720p  338k , avc1.4d401f@ 338k, 30fps, video only, 41.04MiB
398          mp4        1280x640   720p  515k , av01.0.05M.08@ 515k, 30fps, video only, 62.46MiB
247          webm       1280x640   720p  631k , vp9@ 631k, 30fps, video only, 76.49MiB
399          mp4        1920x960   1080p  909k , av01.0.08M.08@ 909k, 30fps, video only, 110.19MiB
137          mp4        1920x960   1080p 1035k , avc1.640028@1035k, 30fps, video only, 125.48MiB
248          webm       1920x960   1080p 1113k , vp9@1113k, 30fps, video only, 134.87MiB
271          webm       2560x1280  1440p 2829k , vp9@2829k, 30fps, video only, 342.77MiB
400          mp4        2560x1280  1440p 2971k , av01.0.12M.08@2971k, 30fps, video only, 359.98MiB
401          mp4        3840x1920  2160p 7057k , av01.0.12M.08@7057k, 30fps, video only, 855.05MiB
313          webm       3840x1920  2160p 9023k , vp9@9023k, 30fps, video only, 1.07GiB
18           mp4        640x320    360p  399k , avc1.42001E, 30fps, mp4a.40.2 (44100Hz), 48.36MiB
22           mp4        1280x640   720p  471k , avc1.64001F, 30fps, mp4a.40.2 (44100Hz) (best)

i meant, "i can't see any relationship..."

Hi,
I'm using Firefox version 78.8.0esr (32-bit) on Raspberry Pi 4B with fresh system as of week ago.

What I noticed, is that Firefox will play audio in youtube only when volume is set to 100%.
But that actually takes in account "Normalized volume" as shown in "Stats for nerds".

For audio to be heard, slider must be at max, and video must be loud enough for normalized volume to actually reach 100%.

thank you for the hint, with the "Stats for nerds" of the Youtube videos. now i know where to look at to see what is different to videos that plays sound and those they don't.

the video that example video that don't plays sound has
Volume: 100%
Normalized: 90%
(content loudness: 0.9 dB)

the slider of the video vol is at the faw right (100%)
the slider of pulseaudio mixer is at 100% as well.

how to get the normalized volume from 90% to 100% in youtube?

i wondering why the video on a youtube webpage is not playing sound, but when downloading the video file and playing it in firefox, then that video file is playing sound.
(i don't know if the downloaded video file has the same properties as the one on the youtube page)

i guess YouTube recently changed their encoder settings. now nearly all videos have non-100% volume/normalized values. they are all at 95%/95%, that means Firefox-ESR on Raspberry Pi is absolute useless for YouTube videos

See Also: → 1632093

i tried the new RaspiOS Bullseye ("Normal" and Full) images on my RPi3B and RPi4B
and there it seems Firefox-ESR has its sound back again :D

so it has been more a problem of how PulseAudio was integrated in Raspberry Pi OS Buster...
so no Firefox specific sound problem as it has been claimed again and again by Raspberry Pi developer/maintainers (at least for this specific issue).

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.