In my situation this seems to be repeatable. Three times disconecting from car multimedia resulted in no sound afterwards
This comment: Xperia 10 III audio and video problems trigger after a period of time in use - #26 by elkiaer
uses the command pulseaudio --check
.
Can someone confirm that this command exits 0 when everything is OK and not-0 when the bug occurs?
If so one could very easily write a watcher service for this.
I use the 10 III with my car kit regularly and it never happened after that. But Iāve got an old and simple car kit, only HFP, HSP and PBAP profiles, no multimedia stuff like A2DP.
I drive 2000 Honda Accord with non-original simple bluetooth able radio. Nothing fancy but Im not sure what profiles it uses.
I am now 99,9% shure it is the Bluetooth that cause the problem.
I connected the phone to the Bluetooth in the car and got the sound issue.
I must also mention that the phone also was connected to my Amarfit GTS. I can have the Amarfit GTS connected to the phone without getting sound issues.
3 times that happend to me was after car bluetooth usage, but today it was different. I had this issue earlier in the morning after using bluetooth headset. I rebooted and everything went to beeing normal. After that, like usual I was driving connected to car audio, this time using gps. After the trip (Like 2 hours from now) everything is fine and audio works
Sorry folks for not testing it further with logs and so on but while Im working I need to be within phone call reach so I really cant mess around with no sound
In those two cases when it happened on my 10 III not only it wasnāt after any Bluetooth usage but Bluetooth was completely turned off. Unfortunately, I canāt say what else might have triggered it, but clearly there must be various reasons. The last time it happened, IIRC, I was watching a video from YouTube and I interrupted its playback by closing the browser window and when I selected another video to watch the sound was already gone and volume controls didnāt work anymore.
What do you think? Is it possible that audio sybsystem gets āoverheatedā by usage and than stops working? From what we know there must be some sound usage before the problem occurs. By overheating I mean pulseaudio gets loaded with stuff up to the point it cannot process it anymore? Something like overloaded printed buffor that may cause it to stop printing completly?
Have you been on android 12 when flashing sailfish? I have flashed an xperia 10 iii with android 12 and have the same issue ( the only one, but a very annoying one)
I have also flashed from Android 12, but if that really counts, we are in the funland of undefined behavior territory, since the AOSP binaries should overwrite the drivers usedā¦ Could the sound āchipā really have its own separately-flashed firmware? Is there a way to find this out?
I read that android 11 is recommended and jolla replied that the sound issue comes from the underlying android, so i guess this could be the root of the issue. i will try getting android 11 and flashing it and flashing back sailfish tomorrow
I also thought about making a daemon that restarts pulseaudio every minute
I have used Android 11 recommended by Jolla (not the newest Android 11 but specifically the version mentioned) and I also have this issue. As far as I know everyone has this problem.
Yes i just wanted to write that i read that on the forum. Funny thing is sound comes through the bluetooth headset, but if i disconnect it not through the speakers and if i reconnect the headset thereās sound again
When not using Bluetooth for audio it is Very rare that the issue will occur.
To solve the issue please type the following in the terminal:
pulseaudio --check && pulseaudio -k && pulseaudio --start
Sadly it doesnāt work anymore. I think i should call it a day and retry tomorrow
Or simply systemctl --user restart pulseaudio.service
I disabled idleing sinks, now i enabled it again and restarting works again. Here is a log efaultuser@Xperia10III ~]$ devel-su journalctl -alef -n all --full|grep pu lse Password: Nov 30 09:33:01 Xperia10III pulseaudio[26732]: Diag_LSM_Init: Failed to ope n handle to diag driver, error = 13diag: In diagpkt_tbl_reg, service not ini tialized. Nov 30 09:33:01 Xperia10III pulseaudio[26791]: W: [pulseaudio] pid.c: Stale PID file, overwriting. Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib64/libsnd monitor.so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib64/libssr ec.so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib64/libhdm iedid.so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib64/libhfp .so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib64/libhdm ipassthru.so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: "/vendor/lib/soundfx/libqcomv isualizer.so" is 32-bit instead of 64-bit Nov 30 09:33:01 Xperia10III pulseaudio[26791]: library "/vendor/lib/libqtige f.so" not found Nov 30 09:33:01 Xperia10III pulseaudio[26791]: "/vendor/lib/soundfx/libqcomp ostprocbundle.so" is 32-bit instead of 64-bit Nov 30 09:33:01 Xperia10III pulseaudio[26791]: "/vendor/lib/hw/sound_trigger .primary.sm6350.so" is 32-bit instead of 64-bit Nov 30 09:33:02 Xperia10III pulseaudio[26791]: E: [pulseaudio] classify.c: c ould not find group Nov 30 09:36:01 Xperia10III mce[1974]: modules/cpu-keepalive.c: cka_session_ renew(): long session active after 180138 ms; id=534/undefined name=:1.1085 owner=:1.1085 pid=26791 uid=100000 gid=100000 priv=0 cmd=/usr/bin/pulseaudio --daemonize=no -n --file=/etc/pulse/a Nov 30 09:39:07 Xperia10III mce[1974]: modules/cpu-keepalive.c: cka_session_ finish(): long session lasted 365785 ms; id=534/undefined name=:1.1085 owner =:1.1085 pid=26791 uid=100000 gid=100000 priv=0 cmd=/usr/bin/pulseaudio --da emonize=no -n --file=/etc/pulse/a Nov 30 09:40:39 Xperia10III pulseaudio[26791]: E: [pulseaudio] classify.c: c ould not find group Nov 30 09:41:41 Xperia10III pulseaudio[26791]: Diag_LSM_Init: Failed to ope n handle to diag driver, error = 13diag: In diagpkt_tbl_reg, service not ini tialized. Nov 30 09:41:41 Xperia10III pulseaudio[27679]: W: [pulseaudio] pid.c: Stale PID file, overwriting. Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib64/libsnd monitor.so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib64/libssr ec.so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib64/libhdm iedid.so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib64/libhfp .so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib64/libhdm ipassthru.so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: "/vendor/lib/soundfx/libqcomv isualizer.so" is 32-bit instead of 64-bit Nov 30 09:41:42 Xperia10III pulseaudio[27679]: library "/vendor/lib/libqtige f.so" not found Nov 30 09:41:42 Xperia10III pulseaudio[27679]: "/vendor/lib/soundfx/libqcomp ostprocbundle.so" is 32-bit instead of 64-bit Nov 30 09:41:42 Xperia10III pulseaudio[27679]: "/vendor/lib/hw/sound_trigger .primary.sm6350.so" is 32-bit instead of 64-bit
After doing: Edit file /etc/sysconfig/pulseaudio and add option for verbosity or debugging (log-level)
[root@Sailfish nemo]# vi /etc/sysconfig/pulseaudio
CONFIG="-vvv -n --file=/etc/pulse/arm_droid_default.pa"
Restart PA (Note: restart does not work [X 3.0.3.10])
[root@Sailfish nemo]# systemctl --user stop pulseaudio
[root@Sailfish nemo]# systemctl --user start pulseaudio
As stated here: Sailfish OS logging and debugging - together.jolla.com
i did the same on an xperia 10 ii. There i get no errors, but the same so files are missing and at least the first two are also 32bit, so for the 10 ii this doesnāt seem to be a problem
edit: i got rid of the problem i flashed android 11, played a YouTube video, a music file, then flashed sailfish and sound hasāt disappeared yet