No audio and video playback stutters
- /e/ version: 0.16-20210424112062
- Device model(s): Sony Xperia XA 2 Ultra
- Device rooted: no
Summary
Choppy video and no audio in all the apps I've tried(Youtube, Netflix, Crunchyroll, Lbry, Amazon Prime Video).
I have tried a couple of versions of /e/, but also LineageOS versions and the problem is the same. Choppy videos and no audio. I used to use SailfishOS without any problem, which leads me to think that it's an Android ROMs issue.
The problem
Steps to reproduce
Play any video
What is the current behavior?
Choppy videos and no audio
What is the expected correct behavior?
Smooth videos with audio
Technical informations
Relevant logs (adb logcat
)
05-24 11:52:58.648 1690 2168 E LightsService: Light requested not available on this device. 2
05-24 11:52:58.654 1690 2168 V InputDispatcher: Asynchronous input event injection succeeded.
05-24 11:52:58.663 740 4331 D audio_hw_primary: start_output_stream: enter: stream(0xea57f000)usecase(1: low-latency-playback) devices(0x2) is_haptic_usecase(0)
05-24 11:52:58.664 740 4331 D audio_hw_primary: select_devices for use case (low-latency-playback)
05-24 11:52:58.664 740 4331 I msm8974_platform: platform_check_and_set_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
05-24 11:52:58.664 740 4331 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-24 11:52:58.664 740 4331 I msm8974_platform: platform_check_and_set_codec_backend_cfg: new_snd_devices[0] is 2
05-24 11:52:58.664 740 4331 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: bitwidth 16, samplerate 48000 channels 2, backend_idx 0 usecase = 1 device (speaker)
05-24 11:52:58.665 740 4331 E audio_hw_extn: audio_extn_enable_hifi_filter: Could not get ctl for mixer cmd - HiFi Filter, using default control
05-24 11:52:58.665 740 4331 D msm8974_platform: platform_check_codec_backend_cfg:becf: updated afe: bitwidth 16, samplerate 48000 channels 2,backend_idx 0 usecase = 1 device (speaker)
05-24 11:52:58.665 740 4331 D msm8974_platform: platform_check_codec_backend_cfg:becf: afe: playback on codec device not supporting native playback set default Sample Rate(48k)
05-24 11:52:58.665 740 4331 I msm8974_platform: platform_check_codec_backend_cfg:becf: afe: Codec selected backend: 0 updated bit width: 16 and sample rate: 48000
05-24 11:52:58.665 740 4331 D audio_hw_primary: check_usecases_codec_backend:becf: force routing 0
05-24 11:52:58.665 740 4331 E msm8974_platform: platform_check_backends_match: Invalid snd_device =
05-24 11:52:58.665 740 4331 D audio_hw_primary: check_usecases_codec_backend:becf: (74) check_usecases curr device: speaker, usecase device: backends match 0
05-24 11:52:58.665 740 4331 D audio_hw_primary: check_usecases_codec_backend:becf: check_usecases num.of Usecases to switch 0
05-24 11:52:58.665 740 4331 D hardware_info: hw_info_append_hw_type : device_name = speaker
05-24 11:52:58.665 740 4331 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-24 11:52:58.665 740 4331 D audio_hw_primary: enable_snd_device: snd_device(2: speaker)
05-24 11:52:58.665 740 4331 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 1, with Raise=0
05-24 11:52:58.665 740 4331 D audio_route: Apply path: speaker
05-24 11:52:58.677 740 4331 I audio_hw_utils: audio_extn_utils_update_stream_output_app_type_cfg Allowing 24 and above bits playback on speaker ONLY at default sampling rate
05-24 11:52:58.677 740 4331 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 3
05-24 11:52:58.677 740 4331 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 3, with Raise=0
05-24 11:52:58.677 740 4331 D audio_hw_utils: audio_extn_utils_send_app_type_cfg: usecase->out_snd_device speaker
05-24 11:52:58.677 740 4331 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-24 11:52:58.678 740 4331 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
05-24 11:52:58.678 740 4331 I audio_hw_utils: send_app_type_cfg_for_device PLAYBACK app_type 69937, acdb_dev_id 101, sample_rate 48000, snd_device_be_idx 135
05-24 11:52:58.679 740 4331 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(1) new_snd_devices(0)
05-24 11:52:58.679 740 4331 D audio_hw_utils: audio_extn_btsco_get_sample_rate:Not a BT SCO device, need not update sampling rate
05-24 11:52:58.680 740 4331 D : Failed to fetch the lookup information of the device 00000065
05-24 11:52:58.680 740 4331 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-24 11:52:58.680 740 4331 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 1 snd_dev 2
05-24 11:52:58.680 740 4331 D audio_hw_primary: enable_audio_route: apply mixer and update path: low-latency-playback
05-24 11:52:58.680 740 4331 D audio_route: Apply path: low-latency-playback
05-24 11:52:58.681 740 4331 D audio_hw_primary: select_devices: done
05-24 11:52:58.704 1690 2168 V InputDispatcher: Asynchronous input event injection succeeded.
05-24 11:52:48.995 1690 3527 D ConnectivityService: maybeHandleNetworkMonitorMessage: 528386
05-24 11:52:58.711 1690 4650 I ActivityTaskManager: START u0 {flg=0x10804000 cmp=com.android.systemui/.recents.RecentsActivity} from uid 10076
05-24 11:52:58.713 3605 3741 E BufferQueueProducer: [unnamed-3605-5] setMaxDequeuedBufferCount: 2 dequeued buffers would exceed the maxBufferCount (2) (maxAcquired 1 async 0 mDequeuedBufferCannotBlock 0)
05-24 11:52:58.713 3605 3741 E Surface : IGraphicBufferProducer::setBufferCount(3) returned Invalid argument
05-24 11:52:58.721 1690 1913 D AutofillManagerService: Close system dialogs
05-24 11:52:58.724 3605 3605 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{29f2418 V.E...... ........ 0,0-1080,72} canPanelBeCollapsed(): false
05-24 11:52:58.727 3605 3605 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@4455d8f
05-24 11:52:58.753 740 4331 D msm8974_platform: platform_set_channel_map mixer_ctl_name:Playback Channel Map13
05-24 11:52:58.754 740 4331 D msm8974_platform: platform_set_channel_map: set mapping(1 2 0 0 0 0 0 0) for channel:2
05-24 11:52:58.755 740 4331 D audio_hw_primary: start_output_stream: exit
05-24 11:52:58.828 3605 3605 D ImageWallpaper: wallpaper visibility changes to: true
05-24 11:52:59.231 9189 9189 D BluetoothA2dp: Unbinding service...
05-24 11:52:59.397 1690 1755 I system_server: NativeAlloc concurrent copying GC freed 128866(6513KB) AllocSpace objects, 56(2740KB) LOS objects, 49% free, 11MB/22MB, paused 179us total 156.651ms
05-24 11:52:59.411 1690 1917 I DropBoxManagerService: add tag=system_server_strictmode isTagEnabled=true flags=0x2
05-24 11:53:00.007 3605 3605 D KeyguardClockSwitch: Updating clock: 11:53
05-24 11:53:00.217 1690 1913 D AutofillManagerService: Close system dialogs
05-24 11:53:00.227 1690 1919 I ActivityManager: Killing 9189:com.android.settings/1000 (adj 900): remove task
05-24 11:53:00.229 1690 4650 I ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=foundation.e.blisslauncher/.features.launcher.LauncherActivity} from uid 10076
05-24 11:53:00.246 3605 3605 V StatusBar: mStatusBarWindow: com.android.systemui.statusbar.phone.StatusBarWindowView{29f2418 V.E...... ........ 0,0-1080,72} canPanelBeCollapsed(): false
05-24 11:53:00.251 1690 4503 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
05-24 11:53:00.254 4733 4733 W ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@90aa7e6
05-24 11:53:00.263 4695 8909 V ULocation: onSetRequest: ProviderRequest[ON interval=0] by WorkSource{10063 foundation.e.blisslauncher}
05-24 11:53:00.264 4695 8909 V ULocation: using autoUpdate=true autoTime=30000
05-24 11:53:00.266 4695 4909 D ULocClient: Set update interval to 30000
05-24 11:53:00.267 4695 4909 D ULocService: setUpdateInterval[com.google.android.gms] interval: 30000
05-24 11:53:00.267 4695 4909 D ULocService: Set merged location interval to 30000 (com.google.android.gms:30000ms)
05-24 11:53:00.267 4695 4909 D ULocClient: updateBinding - current: true, refs: 2, reqs: 1, avail: true
05-24 11:53:00.292 727 727 I Zygote : Process 9189 exited due to signal 9 (Killed)
05-24 11:53:00.293 1690 1919 W ActivityManager: setHasOverlayUi called on unknown pid: 9189
05-24 11:53:00.306 1690 1931 I libprocessgroup: Successfully killed process cgroup uid 1000 pid 9189 in 77ms
05-24 11:53:00.314 4733 4733 D AppProvider: reload() called
05-24 11:53:00.315 4733 4733 D AppProvider: initializeAppLoading() called with: loader = [foundation.e.blisslauncher.features.launcher.tasks.LoadAppsTask@6913893]
05-24 11:53:00.315 4733 4733 D AppProvider: initializeShortcutsLoading() called with: loader = [foundation.e.blisslauncher.features.launcher.tasks.LoadShortcutTask@fc410d0]
05-24 11:53:00.315 4733 4733 D AppProvider: initializeDatabaseLoading() called with: loader = [foundation.e.blisslauncher.features.launcher.tasks.LoadDatabaseTask@47ab8c9]
05-24 11:53:00.319 4733 4880 I LoadShortcutTask: doInBackground: 0
05-24 11:53:00.321 4733 4873 I AppUtils: totalAppsBefore: 25
05-24 11:53:00.357 4733 4873 I AppUtils: Total Apps Loaded: 21
05-24 11:53:00.386 4733 4733 D AppProvider: loadShortcutsOver() called with: shortcuts = [{}]false
05-24 11:53:00.386 4733 4733 D AppProvider: loadDatabaseOver() called with: databaseItems = [main]false
05-24 11:53:00.404 4733 4733 D AppProvider: loadAppsOver() called false
05-24 11:53:00.404 4733 4733 D AppProvider: prepareLauncherItems() called
05-24 11:53:00.404 4733 4733 I AppProvider: Total number of apps: 21
05-24 11:53:00.404 4733 4733 I AppProvider: Total number of items in database: 21
05-24 11:53:00.422 4733 4812 I e.blisslaunche: Waiting for a blocking GC ProfileSaver
05-24 11:53:00.479 4733 4733 D HorizontalPager: onViewAdded() called with: child = [android.widget.GridLayout{72e7c73 V.E...... ......I. 0,0-0,0 #7f090043 app:id/appGrid}]
05-24 11:53:00.479 4733 4733 D HorizontalPager: onViewAdded() called with: child = [android.widget.GridLayout{ca83730 V.E...... ......I. 0,0-0,0 #7f090043 app:id/appGrid}]
05-24 11:53:00.498 4733 4733 D HorizontalPager: onViewAdded() called with: child = [foundation.e.blisslauncher.core.customviews.InsettableFrameLayout{fe8e842 V.E...... ......I. 0,0-0,0}]
05-24 11:53:00.498 4733 4733 D HorizontalPager: child is instance of insettable
05-24 11:53:00.516 4733 4733 D android.widget.GridLayout: horizontal constraints: x4-x0>=992, x4-x3<=247, x3-x2<=247, x2-x1<=247, x1-x0<=247 are inconsistent; permanently removing: x4-x3<=247.
05-24 11:53:00.516 4733 4733 D android.widget.GridLayout: vertical constraints: y4-y0>=1824, y4-y3<=338, y3-y2<=338, y2-y1<=338, y1-y0<=338 are inconsistent; permanently removing: y4-y3<=338.
05-24 11:53:00.518 4733 4733 D android.widget.GridLayout: vertical constraints: y1-y0>=338, y2-y1>=338, y3-y2>=338, y4-y3>=338, y4-y0<=1330 are inconsistent; permanently removing: y4-y0<=1330, y4-y3<=338.
05-24 11:53:00.540 4733 4733 D DeviceStatusService: Starting service
05-24 11:53:00.541 4733 4733 D WeatherUpdateService: onCreate
05-24 11:53:00.549 4733 4733 V WeatherUpdateService: Got intent Intent { act=org.indin.blisslauncher.action.FORCE_WEATHER_UPDATE cmp=foundation.e.blisslauncher/.features.weather.WeatherUpdateService }
05-24 11:53:00.556 4733 4733 D WeatherUpdateService: Forcing weather update
05-24 11:53:00.556 4733 9550 D WeatherUpdateService: Msg 1
05-24 11:53:00.556 4733 9550 V WeatherUpdateService: ACQUIRING WAKELOCK
05-24 11:53:00.558 4733 9550 V WeatherUpdateService: Current location is null
05-24 11:53:00.558 4733 9550 D WeatherUpdateService: Getting best location provider
05-24 11:53:00.561 4733 9550 D WeatherUpdateService: Registering location listener
05-24 11:53:00.562 4733 9550 D WeatherUpdateService: Msg 3
05-24 11:53:00.562 4733 9550 D WeatherUpdateService: Weather refresh failed [-1]
05-24 11:53:00.562 4733 9550 D WeatherUpdateService: cancelTimeoutAlarm() called
05-24 11:53:00.562 4733 9550 D WeatherUpdateService: Next update scheduled at Mon May 24 12:53:00 GMT-04:00 2021
05-24 11:53:00.564 4733 9550 D WeatherUpdateService: RELEASING WAKELOCK
05-24 11:53:00.568 4733 4733 D WeatherUpdateService: onDestroy
05-24 11:53:00.568 4733 4733 D WeatherUpdateService: Tearing down worker thread
05-24 11:53:00.655 3605 8131 I ndroid.systemu: Explicit concurrent copying GC freed 6556(401KB) AllocSpace objects, 1(20KB) LOS objects, 49% free, 7923KB/15MB, paused 87us total 85.530ms
05-24 11:53:01.853 740 3537 D audio_hw_primary: out_standby: enter: stream (0xea57f000) usecase(1: low-latency-playback)
05-24 11:53:01.910 740 3537 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback
05-24 11:53:01.912 740 3537 E soundtrigger: audio_extn_sound_trigger_update_stream_status: invalid input device 0x0, for event 2
05-24 11:53:01.913 740 3537 D soundtrigger: audio_extn_sound_trigger_update_stream_status: uc_info->id 1 of type 0 for Event 2, with Raise=0
05-24 11:53:01.913 740 3537 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(0)
05-24 11:53:01.913 740 3537 I msm8974_platform: platform_get_custom_mtmx_params: no matching param with id 0 ip_ch 2 op_ch 2 uc_id 1 snd_dev 2
05-24 11:53:01.913 740 3537 D hardware_info: hw_info_append_hw_type : device_name = speaker
05-24 11:53:01.913 740 3537 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
05-24 11:53:01.913 740 3537 D msm8974_platform: platform_split_snd_device: snd_device(2) num devices(0) new_snd_devices(-315731968)
05-24 11:53:01.935 740 3537 I soundtrigger: audio_extn_sound_trigger_update_device_status: device 0x2 of type 0 for Event 0, with Raise=0
05-24 11:53:01.935 740 3537 D audio_hw_primary: out_standby: exit
Relevant screenshots
Solutions
Workaround
EDITED: I managed to get it to work via bluetooth. By having the audio output via bluetooth, the video and audio magically work like a charm
Possible fixes
No idea