New issue
Advanced search Search tips

Issue 730893 link

Starred by 3 users

Issue metadata

Status: Started
Merged: issue 732885
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Often lacking sound in ChromeOS

Reported by spiffyt...@gmail.com, Jun 8 2017

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 9460.60.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.91 Safari/537.36
Platform: 9460.60.0 (Official Build) beta-channel cave

Example URL:

Steps to reproduce the problem:
1. Install Chrome OS Beta on Asus Chromebook Flip 2 C302CA
2. Go play some videos, or run a Linux app under Crouton

What is the expected behavior?
Sound plays

What went wrong?
Often, no sound plays. Sometimes YouTube videos play without sound, sometimes YouTube locks up like it's waiting for a sound device to become available. Rarely, sound actually plays.

Android apps always have sound.

Did this work before? Yes 

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 59.0.3071.91  Channel: beta
OS Version: 9460.60.0
Flash Version: 

Contents of chrome://gpu: 
Graphics Feature Status
Canvas: Hardware accelerated
Flash: Hardware accelerated
Flash Stage3D: Hardware accelerated
Flash Stage3D Baseline profile: Hardware accelerated
Compositing: Hardware accelerated
Multiple Raster Threads: Enabled
Native GpuMemoryBuffers: Software only. Hardware acceleration disabled
Panel Fitting: Unavailable
Rasterization: Software only. Hardware acceleration disabled
Video Decode: Hardware accelerated
Video Encode: Hardware accelerated
WebGL: Hardware accelerated
WebGL2: Hardware accelerated
Driver Bug Workarounds
clear_uniforms_before_first_program_use
count_all_in_varyings_packing
decode_encode_srgb_for_generatemipmap
disable_discard_framebuffer
msaa_is_slow
scalarize_vec_and_mat_constructor_args
Problems Detected
Chrome OS panel fitting is only supported for Intel IVB and SNB Graphics Controllers
Disabled Features: panel_fitting
Framebuffer discarding causes jumpy scrolling on Mali drivers: 301988
Applied Workarounds: disable_discard_framebuffer
Clear uniforms before first program use on all platforms: 124764, 349137
Applied Workarounds: clear_uniforms_before_first_program_use
Mesa drivers in ChromeOS handle varyings without static use incorrectly: 333885
Applied Workarounds: count_all_in_varyings_packing
Always rewrite vec/mat constructors to be consistent: 398694
Applied Workarounds: scalarize_vec_and_mat_constructor_args
On Intel GPUs MSAA performance is not acceptable for GPU rasterization: 527565
Applied Workarounds: msaa_is_slow
Disable KHR_blend_equation_advanced until cc shaders are updated: 661715
Decode and Encode before generateMipmap for srgb format textures on Chromeos Intel: 634519
Applied Workarounds: decode_encode_srgb_for_generatemipmap
Accelerated rasterization has been disabled, either via blacklist, about:flags or the command line.
Disabled Features: rasterization
Native GpuMemoryBuffers have been disabled, either via about:flags or command line.
Disabled Features: native_gpu_memory_buffers
Version Information
Data exported	6/7/2017, 8:29:30 PM
Chrome version	Chrome/59.0.3071.91
Operating system	Linux 3.18.0-14582-g2fa17b5c810f
Software rendering list version	13.8
Driver bug list version	10.101
ANGLE commit id	a9042d3c1952
2D graphics backend	Skia/59 0
Command Line Args	--ppapi-flash-path=/opt/google/chrome/pepper/libpepflashplayer.so --ppapi-flash-version=26.0.0.102 --ui-prioritize-in-gpu-process --use-gl=egl --gpu-sandbox-failures-fatal=yes --enable-logging --log-level=1 --use-cras --enable-wayland-server --arc-availability=officially-supported --user-data-dir=/home/chronos --max-unused-resource-memory-usage-percentage=5 --system-developer-mode --login-profile=user --has-chromeos-keyboard --enable-touchview --default-wallpaper-large=/usr/share/chromeos-assets/wallpaper/oem_large.jpg --default-wallpaper-small=/usr/share/chromeos-assets/wallpaper/oem_small.jpg --default-wallpaper-is-oem --guest-wallpaper-large=/usr/share/chromeos-assets/wallpaper/guest_large.jpg --guest-wallpaper-small=/usr/share/chromeos-assets/wallpaper/guest_small.jpg --enable-prefixed-encrypted-media --enable-consumer-kiosk --enterprise-enrollment-initial-modulus=15 --enterprise-enrollment-modulus-limit=19 --login-manager --policy-switches-begin --overscroll-history-navigation=0 --enable-features=QuickUnlockPin --policy-switches-end --first-exec-after-boot --vmodule=*arc/*=1,*chromeos/login/*=1,auto_enrollment_controller=1,*plugin*=2,*zygote*=1,*/ui/ozone/*=1,*/ui/display/manager/chromeos/*=1,power_button_observer=2,webui_login_view=2,lock_state_controller=2,webui_screen_locker=2,screen_locker=2
Driver Information
Initialization time	49
In-process GPU	false
Passthrough Command Decoder	false
Supports overlays	false
Sandboxed	true
GPU0	VENDOR = 0x8086, DEVICE= 0x191e
Optimus	false
Optimus	false
AMD switchable	false
Driver vendor	Mesa
Driver version	17.1.0
Driver date	
Pixel shader version	3.20
Vertex shader version	3.20
Max. MSAA samples	16
Machine model name	
Machine model version	
GL_VENDOR	Intel Open Source Technology Center
GL_RENDERER	Mesa DRI Intel(R) HD Graphics 515 (Skylake GT2)
GL_VERSION	OpenGL ES 3.2 Mesa 17.1.0-devel (git-9baf1ff8fc)
GL_EXTENSIONS	GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 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_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_robustness 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_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_INTEL_conservative_rasterization GL_ANDROID_extension_pack_es31a GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_KHR_texture_compression_astc_sliced_3d GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clip_cull_distance GL_MESA_shader_integer_functions
Disabled Extensions	GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
Window system binding vendor	Mesa Project
Window system binding version	1.4 (DRI2)
Window system binding extensions	EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses 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_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
Direct rendering	Yes
Reset notification strategy	0x8252
GPU process crash count	0
Compositor Information
Tile Update Mode	One-copy
Partial Raster	Enabled
GpuMemoryBuffers Status
ATC	Software only
ATCIA	Software only
DXT1	Software only
DXT5	Software only
ETC1	Software only
R_8	Software only
RG_88	Software only
BGR_565	GPU_READ
RGBA_4444	Software only
RGBX_8888	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
RGBA_8888	GPU_READ, SCANOUT_CPU_READ_WRITE
BGRX_8888	GPU_READ, SCANOUT, SCANOUT_CPU_READ_WRITE
BGRA_8888	GPU_READ, SCANOUT_CPU_READ_WRITE
RGBA_F16	Software only
YVU_420	GPU_READ
YUV_420_BIPLANAR	Software only
UYVY_422	Software only
Log Messages
[1752:1759:0607/201044.663356:VERBOSE1:drm_device_manager.cc(54)] : Could not initialize DRM device for /sys/devices/platform/vgem/drm/card1
[1752:1759:0607/201045.845642:VERBOSE1:drm_display.cc(102)] : DRM configuring: device=/sys/devices/pci0000:00/0000:00:02.0/drm/card0 crtc=26 connector=36 origin=0,0 size=1920x1080
[1752:1752:0607/202638.566857:ERROR:gles2_cmd_decoder.cc(17652)] : [.DisplayCompositor-0x2c72589a7500]GL ERROR :GL_INVALID_OPERATION : glCreateAndConsumeTextureCHROMIUM: invalid mailbox name
[1752:1752:0607/202638.566947:ERROR:gles2_cmd_decoder.cc(9709)] : [.DisplayCompositor-0x2c72589a7500]RENDER WARNING: texture bound to texture unit 0 is not renderable. It maybe non-power-of-2 and have incompatible texture filtering.

I first noticed this occur around the time I received Beta channel update 59.0.3071.82.
 
Components: -Internals>Media OS>Kernel>Audio
Since you are in dev mode, can you provide the output of:

cros_test_client --dump_s
dmesg | grep -i skl
crosh> shell
chronos@localhost / $ cros_test_client --dump_s
bash: cros_test_client: command not found
chronos@localhost / $ dmesg | grep -i skl
[    1.236110] Chromium OS LSM: request_firmware locked obj="/lib/firmware/i915/skl_dmc_ver1_23.bin" pid=39 cmdline=(null)
[    1.237595] [drm] Finished loading i915/skl_dmc_ver1.bin (v1.23)
[    7.273176] snd_soc_skl 0000:00:1f.3: bound 0000:00:02.0 (ops 0xffffffffa3075150)
[    7.302376] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: ASoC: CPU DAI System Pin not registered
[    7.302396] platform skl_nau88l25_max98357a_i2s: Driver skl_nau88l25_max98357a_i2s requests probe deferral
[    7.306423] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: ASoC: CODEC DAI intel-hdmi-hifi1 not registered
[    7.306441] platform skl_nau88l25_max98357a_i2s: Driver skl_nau88l25_max98357a_i2s requests probe deferral
[    7.309628] snd_soc_skl 0000:00:1f.3: Direct firmware load for 9d70-CORE-COREBOOT-0-tplg.bin failed with error -2
[    7.309640] snd_soc_skl 0000:00:1f.3: tplg fw 9d70-CORE-COREBOOT-0-tplg.bin load failed with -2
[    7.315974] snd_soc_skl 0000:00:1f.3: ASoC: Firmware manifest not supported
[    7.315993] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316015] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316024] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316037] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316047] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316055] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316069] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316078] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316087] snd_soc_skl 0000:00:1f.3: Control load not supported 64:64:64
[    7.316206] snd_soc_skl 0000:00:1f.3: ASoC: Parent card not yet available,Do not add new widgets now
[    7.318736] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> System Pin mapping ok
[    7.318802] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> System Pin mapping ok
[    7.318844] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> Reference Pin mapping ok
[    7.318883] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> DMIC Pin mapping ok
[    7.318922] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> HDMI1 Pin mapping ok
[    7.318961] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> HDMI2 Pin mapping ok
[    7.319011] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: snd-soc-dummy-dai <-> HDMI3 Pin mapping ok
[    7.319046] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: HiFi <-> SSP0 Pin mapping ok
[    7.319590] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: nau8825-hifi <-> SSP1 Pin mapping ok
[    7.319614] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: dmic-hifi <-> DMIC01 Pin mapping ok
[    7.319649] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: intel-hdmi-hifi1 <-> iDisp1 Pin mapping ok
[    7.319675] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: intel-hdmi-hifi2 <-> iDisp2 Pin mapping ok
[    7.319699] skl_nau88l25_max98357a_i2s skl_nau88l25_max98357a_i2s: intel-hdmi-hifi3 <-> iDisp3 Pin mapping ok
[    7.320932] input: sklnau8825max Headset Jack as /devices/platform/skl_nau88l25_max98357a_i2s/sound/card0/input7
[    7.323515] input: sklnau8825max HDMI/DP, pcm=4 Jack as /devices/platform/skl_nau88l25_max98357a_i2s/sound/card0/input8
[    7.323773] input: sklnau8825max HDMI/DP, pcm=5 Jack as /devices/platform/skl_nau88l25_max98357a_i2s/sound/card0/input9
[    7.323951] input: sklnau8825max HDMI/DP, pcm=6 Jack as /devices/platform/skl_nau88l25_max98357a_i2s/sound/card0/input10
[ 7019.189170] calling  skl_nau88l25_max98357a_i2s+ @ 20282, parent: platform
[ 7019.190927] call skl_nau88l25_max98357a_i2s+ returned 0 after 1697 usecs
[ 7019.198050] Modules linked in: ip6t_REJECT nf_reject_ipv6 ip6table_mangle xt_TCPMSS veth ccm rfcomm uinput ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_nat_ipv4 nf_nat snd_soc_dmic snd_skl_nau88l25_max98357a snd_soc_hdac_hdmi snd_soc_skl snd_soc_skl_ipc xt_mark memconsole_x86_legacy memconsole snd_soc_sst_acpi snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core uvcvideo btusb snd_hda_core btrtl bridge videobuf2_vmalloc videobuf2_memops videobuf2_core btbcm btintel bluetooth snd_soc_nau8825 acpi_als snd_soc_max98357a stp llc fuse zram iio_trig_sysfs cros_ec_sensors cros_ec_sensors_ring cros_ec_sensors_core industrialio_triggered_buffer kfifo_buf industrialio ip6table_filter snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device iwlmvm iwlwifi iwl7000_mac80211 cfg80211 joydev
[ 7019.650416] calling  skl_nau88l25_max98357a_i2s+ @ 20282, parent: platform
[ 7019.650434] call skl_nau88l25_max98357a_i2s+ returned 0 after 4 usecs
Thanks, one more thing.  Could you file feedback with alt-shift-i while audio is not working but a stream is playing(youtube is open for example)?  Please mention this bugnumber 730893 in the summary.

Thanks for helping debug.


I have Sent Feedback for a case where YouTube waits for sound. I will send more another Feedback the next time I see it proceed to play with no sound.
I have filed a Feedback for YouTube playing video without sound.

Comment 7 Deleted

Feedback report id 65285496718: [Cave] Bug number 730893. YouTube playing video without audio.
Cc: vsu...@chromium.org avkodipelli@chromium.org
Mergedinto: 732885
Status: Duplicate (was: Unconfirmed)
we have one known issue for no audio. https://bugs.chromium.org/p/chromium/issues/detail?id=732885
Owner: chinyue@chromium.org
Status: Assigned (was: Duplicate)
I filed an updated Feedback from Cave 60.0.3112.80, referencing this issue.
I saw the following errors:

[1142:1461:0801/203631.685566:WARNING:cras_unified.cc(105)] Couldn't create CRAS client.

2017-08-01T20:36:31.685491-04:00 ERR chrome[1142]: cras_client: Could not setup watch for '/run/cras/.cras_socket'.

This means Chrome was unable to read /run/cras/.cras_socket and most likely it's because of permission issue.


spiffytech@gmail.com,

Do you have the device in developer mode? Could you check if '/run/cras' and '/run/cras/.cras_socket' are owned by 'cras'?

I have submitted a new feedback erport for this problem on 61.0.3163.51.

I do have the device in developer mode. /run/cras is owned by cras:

chronos@localhost / $ ls -la /run/cras/
total 0
drwxrwx--T.  2 cras cras  60 Aug 23 22:05 .
drwxr-xr-x. 32 root root 780 Aug 24 21:22 ..
srwxrwx---.  1 cras cras   0 Aug 23 22:05 .cras_socket
Owner: cychiang@chromium.org

Sign in to add a comment