It’s a mess this time, it took me longer to filter out even somewhat relevant lines, but here’s a snippet from the time I tried to restart pulseaudio
which didn’t fix the issue anymore:
pulseaudio restart
09:31:18 pulseaudio[31488]: Diag_LSM_Init: Failed to open handle to diag driver, error = 13diag: In diagpkt_tbl_reg, service not initialized.
09:31:18 bluetoothd[4356]: bluetoothd[4356]: Endpoint unregistered: sender=:1.2596 path=/MediaEndpoint/A2DPSink/sbc
09:31:18 bluetoothd[4356]: bluetoothd[4356]: Endpoint unregistered: sender=:1.2596 path=/MediaEndpoint/A2DPSource/sbc
09:31:18 systemd[6104]: Stopped PulseAudio.
09:31:18 bluetoothd[4356]: Endpoint unregistered: sender=:1.2596 path=/MediaEndpoint/A2DPSink/sbc
09:31:18 bluetoothd[4356]: Endpoint unregistered: sender=:1.2596 path=/MediaEndpoint/A2DPSource/sbc
09:31:18 systemd[6104]: Starting PulseAudio...
09:31:18 pulseaudio[31898]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
09:31:18 booster-silica-qt5[31891]: [D] unknown:0 - Using Wayland-EGL
09:31:18 pulseaudio[31898]: library "/vendor/lib64/libsndmonitor.so" not found
09:31:18 pulseaudio[31898]: library "/vendor/lib64/libssrec.so" not found
09:31:18 pulseaudio[31898]: library "/vendor/lib64/libhdmiedid.so" not found
09:31:18 pulseaudio[31898]: library "/vendor/lib64/libhfp.so" not found
09:31:18 pulseaudio[31898]: library "/vendor/lib64/libhdmipassthru.so" not found
09:31:18 kernel: msm_qti_pp_get_rms_value_control, back not active to query rms be_idx:3
09:31:18 kernel: core_get_license_status: cmdrsp_license_result.result = 0x15 for module 0x131ff
09:31:18 kernel: aw_qcom_get_module_enable: read afe rx failed
09:31:18 kernel: [aw882xx_smartpa]aw882xx_rx_enable_get: dsp_msg error, ret=-22
09:31:18 kernel: aw_qcom_get_module_enable: read afe tx failed
09:31:18 kernel: [aw882xx_smartpa]aw882xx_tx_enable_get: dsp_msg error, ret=-22
09:31:18 kernel: msm_ext_disp_update_audio_ops: Display not found (EXT_DISPLAY_TYPE_DP) ctld (0) stream (0)
09:31:18 kernel: msm_ext_disp_update_audio_ops: Display not found (EXT_DISPLAY_TYPE_HDMI) ctld (0) stream (0)
09:31:18 kernel: msm-ext-disp-audio-codec-rx soc:qcom,msm-ext-disp:qcom,msm-ext-disp-audio-codec-rx: msm_ext_disp_audio_device_get: invalid dai id: 4
09:31:18 kernel: msm_pcm_chmap_ctl_get: substream ref_count:0 invalid
09:31:18 kernel: msm_pcm_volume_ctl_get substream not found
09:31:18 kernel: wcdcal_hwdep_ioctl_shared: codec didn't set this 0!!
09:31:18 kernel: wcdcal_hwdep_ioctl_shared: codec didn't set this 3!!
09:31:18 pulseaudio[31898]: "/vendor/lib/soundfx/libqcomvisualizer.so" is 32-bit instead of 64-bit
09:31:18 pulseaudio[31898]: library "/vendor/lib/libqtigef.so" not found
09:31:18 pulseaudio[31898]: "/vendor/lib/soundfx/libqcompostprocbundle.so" is 32-bit instead of 64-bit
09:31:18 pulseaudio[31898]: "/vendor/lib/hw/sound_trigger.primary.sm6350.so" is 32-bit instead of 64-bit
09:31:18 kernel: [aw882xx_smartpa]aw882xx_startup: capture enter
09:31:18 kernel: [aw882xx_smartpa]aw882xx_set_fmt: fmt=0x4001
09:31:18 kernel: msm_mi2s_snd_startup: set sysclk failed, err:-524
09:31:18 kernel: __afe_port_start: port id: 0x1001
09:31:18 kernel: afe_find_cal_topo_id_by_port: port id: 0x1001, dev_acdb_id: -22
09:31:18 kernel: afe_find_cal_topo_id_by_port: top_id:1000ff02 acdb_id:102 afe_port:0x1001
09:31:18 kernel: afe_get_cal_topology_id: port_id = 0x1001 acdb_id = 102 topology_id = 0x1000ff02 cal_type_index=8 ret=0
09:31:18 kernel: afe_send_port_topology_id: AFE set topology id 0x1000ff02 enable for port 0x1001 ret 0
09:31:18 kernel: send_afe_cal_type: cal_index is 1
09:31:18 kernel: send_afe_cal_type: dev_acdb_id[41] is -22
09:31:18 kernel: send_afe_cal_type: Sending cal_index cal 1
09:31:18 kernel: afe_send_hw_delay: port_id 0x1001 rate 48000 delay_usec 578 status 0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_mute: mute state=0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_startup: playback enter
09:31:18 kernel: __afe_port_start: port id: 0x1000
09:31:18 kernel: afe_find_cal_topo_id_by_port: port id: 0x1000, dev_acdb_id: 124
09:31:18 kernel: afe_find_cal_topo_id_by_port: top_id:1001025f acdb_id:124 afe_port_id:0x1000
09:31:18 kernel: afe_get_cal_topology_id: port_id = 0x1000 acdb_id = 124 topology_id = 0x1001025f cal_type_index=8 ret=0
09:31:18 kernel: afe_send_port_topology_id: AFE set topology id 0x1001025f enable for port 0x1000 ret 0
09:31:18 kernel: send_afe_cal_type: cal_index is 0
09:31:18 kernel: send_afe_cal_type: dev_acdb_id[40] is 124
09:31:18 kernel: afe_find_cal: cal_index 0 port_id 0x1000 port_index 40
09:31:18 kernel: afe_find_cal: acdb_id 124 dev_acdb_id 124 sample_rate 48000 afe_sample_rates 48000
09:31:18 kernel: afe_find_cal: cal block is a match, size is 868
09:31:18 kernel: send_afe_cal_type: Sending cal_index cal 0
09:31:18 kernel: afe_send_hw_delay: port_id 0x1000 rate 48000 delay_usec 474 status 0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_mute: mute state=0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_smartpa_cfg: flag = 1, power status = 0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_clear_sysint: get_sysint=0x4395
09:31:18 kernel: [aw882xx_smartpa]aw882xx_clear_sysint: get_sysint=0x0000
09:31:18 kernel: afe_callback: cmd = 0x100fa returned error = 0x1
09:31:18 kernel: afe_apr_send_pkt: DSP returned error[ADSP_EFAILED]
09:31:18 kernel: [aw882xx_smartpa]aw882xx_set_cali_re_to_dsp : set cali re to dsp failed
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_start: enter
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_get_data: vol: ipeak = 0x8, gain = 0x0, vmax = 0x0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_get_data: temp: ipeak = 0x8, gain = 0x0, vmax = 0x0
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_set_ipeak: ipeak = 0x8, no change
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_set_gain: set db = 0.0 dB, no change
09:31:18 kernel: afe_callback: cmd = 0x100fa returned error = 0x1
09:31:18 kernel: afe_apr_send_pkt: DSP returned error[ADSP_EFAILED]
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_set_vmax: dsp_msg_write error
09:31:18 kernel: [aw882xx_smartpa]aw882xx_monitor_set_vmax: set vmax = 0x0
09:31:18 systemd[6104]: Started PulseAudio.
09:31:18 bluetoothd[4356]: bluetoothd[4356]: Endpoint registered: sender=:1.2630 path=/MediaEndpoint/A2DPSink/sbc
09:31:18 bluetoothd[4356]: bluetoothd[4356]: Endpoint registered: sender=:1.2630 path=/MediaEndpoint/A2DPSource/sbc
09:31:18 bluetoothd[4356]: Endpoint registered: sender=:1.2630 path=/MediaEndpoint/A2DPSink/sbc
09:31:18 bluetoothd[4356]: Endpoint registered: sender=:1.2630 path=/MediaEndpoint/A2DPSource/sbc
09:31:19 kernel: [aw882xx_smartpa]aw882xx_mute: mute state=1
09:31:19 kernel: [aw882xx_smartpa]aw882xx_smartpa_cfg: flag = 0, power status = 2
09:31:19 kernel: [aw882xx_smartpa]aw882xx_monitor_stop: enter
09:31:19 kernel: [aw882xx_smartpa]aw882xx_stop: get_sysint=0x0000
09:31:19 kernel: afe_close: port_id = 0x1000
09:31:19 kernel: [aw882xx_smartpa]aw882xx_mute: mute state=1
09:31:19 kernel: afe_close: port_id = 0x1001
09:31:20 pulseaudio[31898]: E: [pulseaudio] client-ext.c: can't obtain command line
I think the most obvious new thing here is E: [pulseaudio] client-ext.c: can't obtain command line
but I wasn’t able to figure that one out. It contains the successful alarm at 08:00 and the non-successful one later on, until I tried to restart pulseaudio
three times without success, then grabbed the log, and finally restated the device. The full log is saved this time, too, if it is needed.
The uptime was around around 12.5 days, as it was the last time my device started acting up strangely. I wonder if uptime alone has something to do with this…
I hope this gets us closer to the root cause!
Edit: One million seconds is ~11.5 days, which would be close enough to be a meaningful data point, especially considering Android devices start reminding the user to reboot the device around ten days (or was it seven days?)…