Xperia 10 III audio and video problems trigger after a period of time in use

Unfortunately I experience it nearly daily, but killing pulseaudio as default user did the trick, thanks again to all of you. That’s a simple and doable workaround for me.

1 Like

wow, that’s pretty much as reproducible as can be, pls contact jolla support, they will want your logs, with most of us experiencing it once per year you just cannot catch it in logs, almost daily is as good as it gets

1 Like

but annoying during important phone calls

Yaeh, just like 112 failing when you really need it, but there is no good way to test, unless you want to end up on the fake 112 callers list

Please read @direc85 post, that’s the “right” workaround, and you can even use qCommand to make it an icon in your app drawer for quick access. :wink:

1 Like

that’s just the same as ‘pulseaudio -k’, all he does is execs the same as defaultuser and using more chars

I disagree, ‘pulseaudio -k’ is a kill command, and that is like punching someone on the nose instead of nicely asking him to turn around. :wink:
Yeaa… I know the end result is the same, mostly…

Yeah in theory sure, in practice no as it will just restart


there is no magic pulseaudio happening here, whether you systemctl restart pulseaudio or pulseaudio -k end result is the same, it restarts always

1 Like

And then again… why would you want to send a general to do the work of a private? It’s just not good practice.
Lets just agree to disagree, because my dog will start eating me if I don’t go for that walk. :wink:

I’ve no clue, but can guarantee you that pulseaudio -k ends up in the exact same restart state for pulseaudio, that has in its service file restart=always, so in theory if it’s broken (no audio) it should trigger that itself, buf it obviously doesn’t as people report hearing nothing, pls don’t terrorise your dog and give him a good excercise

Bug is still present on my 10III with latest SFOS version (4.6.0.11). Very annoying.

2 Likes

Its never happend when the gps is off.
Starting the gps for using in e.g. Pure Maps the issue with no sound and video in slowmotion will occurre shortly after. In the beginning I used the pulse command, but now I restart the phone to be sure.

either this or add it to the Utilities menu in settings

As mentioned here a manual restart action has been added to Sailfish utilities.
As this is a bug report tracked by Jolla, I strongly suggest fixing the actual issue rather than adding a manual workaround. How could manually restarting audio services prevent missed calls? People who are using Sailfish as a daily driver have probably implemented some automatic service restart, so who needs a manual restart? What we need is a fix!

1 Like

If it was that easy it would already be done. Sheesh.

I can confirm that this is still happening to me in 4.6.0.13.
Because the different kinds of symptoms and observations are now spread over multiple threads, I’d like to re-iterate the categories of audio (routing) issues I’ve seen to make sure we’re on the same page:

audio routing: sink

  • after some time with headphones plugged in, the output suddenly comes through the speakers despite the headphones still being plugged in
    • I’ve never seen this mid-play of a song or audio track, only after stopping and resuming playback
    • headphone jack plug detection still works, because if you had different volume levels set for headphones and speakers, the volume level still gets toggled when (un)plugging the jack
  • alarm, usual case: when headphones are plugged in, the alarm sound is only played through headphones, not through speakers
    • all other Sailfish devices play the alarm sound through the speaker as well
  • alarm, special case: I just encountered a situation with headphones not being plugged in, where no alarm sound was played at all
    • the output of LANG=C pactl list is this:
    Module #0
    	Name: module-keepalive
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Juho Hämäläinen"
    		module.description = "Keepalive. Send cpu wakeup heartbeat while streams are active."
    		module.version = "14.2.0"
    
    Module #1
    	Name: module-droid-card
    	Argument: rate=48000 hw_volume=false unload_call_exit=true output_voip_rx=false record_voice_16k=true
    	Usage counter: n/a
    	Properties:
    		module.author = "Juho Hämäläinen"
    		module.description = "Droid card"
    		module.version = "14.2.103"
    
    Module #2
    	Name: module-droid-hidl
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Juho Hämäläinen"
    		module.description = "Droid AudioSystem passthrough"
    		module.version = "14.2"
    
    Module #3
    	Name: module-meego-parameters
    	Argument: cache=1 directory=/var/lib/nemo-pulseaudio-parameters use_voice=false
    	Usage counter: n/a
    	Properties:
    		module.author = "Pekka Ervasti"
    		module.description = "Meego parameters module"
    		module.version = "14.2.31"
    
    Module #4
    	Name: module-meego-mainvolume
    	Argument: virtual_stream=true unmute_delay=600
    	Usage counter: n/a
    	Properties:
    		module.author = "Juho Hämäläinen"
    		module.description = "Nokia mainvolume module"
    		module.version = "14.2.31"
    
    Module #5
    	Name: module-stream-restore-nemo
    	Argument: restore_device=no restore_volume=yes restore_muted=no route_table=/etc/pulse/x-maemo-route.table fallback_table=/etc/pulse/x-maemo-stream-restore.table use_voice=false
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Automatically restore the volume/mute/device state of streams"
    		module.version = "14.2.31"
    
    Module #6
    	Name: module-match
    	Argument: table=/etc/pulse/x-maemo-match.table key=application.name
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Playback stream expression matching module"
    		module.version = "14.2+git9"
    
    Module #7
    	Name: module-augment-properties
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Augment the property sets of streams with additional static information"
    		module.version = "14.2+git9"
    
    Module #8
    	Name: module-null-sink
    	Argument: sink_name=sink.null rate=48000
    	Usage counter: 0
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Getaktetes NULL-Ziel"
    		module.version = "14.2+git9"
    
    Module #9
    	Name: module-null-source
    	Argument: source_name=source.null rate=48000
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering & Marc-Andre Lureau"
    		module.description = "Clocked NULL source"
    		module.version = "14.2+git9"
    
    Module #10
    	Name: module-bluetooth-discover
    	Argument: headset=droid
    	Usage counter: n/a
    	Properties:
    		module.author = "João Paulo Rechi Vita"
    		module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
    		module.version = "14.2+git9"
    
    Module #11
    	Name: module-bluez5-discover
    	Argument: headset=droid
    	Usage counter: n/a
    	Properties:
    		module.author = "João Paulo Rechi Vita"
    		module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
    		module.version = "14.2+git9"
    
    Module #12
    	Name: module-policy-enforcement
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Janos Kovacs"
    		module.description = "Policy enforcement module"
    		module.version = "14.2.47"
    		policy.sink_route.target = "ihf"
    		policy.sink_route.mode = "ihf"
    		policy.sink_route.hwid = ""
    		policy.source_route.target = "microphone"
    		policy.source_route.mode = ""
    		policy.source_route.hwid = ""
    		x-nemo.voicecall.status = "inactive"
    		x-nemo.media.state = "inactive"
    		x.emergency_call.state = "inactive"
    
    Module #13
    	Name: module-role-ducking
    	Argument: trigger_roles=notification,warning ducking_roles=x-maemo volume=-12dB duck_while_corked=true
    	Usage counter: n/a
    	Properties:
    		module.author = "Flavio Ceolin <flavio.ceolin@profusion.mobi>"
    		module.description = "Apply a ducking effect based on streams roles"
    		module.version = "14.2+git9"
    
    Module #14
    	Name: module-native-protocol-unix
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Native protocol (UNIX sockets)"
    		module.version = "14.2+git9"
    
    Module #15
    	Name: module-always-sink
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Colin Guthrie"
    		module.description = "Hält stets ein Ziel geladen, selbst wenn dies ein Null-Ziel ist"
    		module.version = "14.2+git9"
    
    Module #16
    	Name: module-intended-roles
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Automatically set device of streams based on intended roles of devices"
    		module.version = "14.2+git9"
    
    Module #17
    	Name: module-suspend-on-idle
    	Argument: timeout=1
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "When a sink/source is idle for too long, suspend it"
    		module.version = "14.2+git9"
    
    Module #18
    	Name: module-console-kit
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Create a client for each ConsoleKit session of this user"
    		module.version = "14.2+git9"
    
    Module #19
    	Name: module-systemd-login
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Lennart Poettering"
    		module.description = "Create a client for each login session of this user"
    		module.version = "14.2+git9"
    
    Module #20
    	Name: module-dbus-protocol
    	Argument: 
    	Usage counter: n/a
    	Properties:
    		module.author = "Tanu Kaskinen"
    		module.description = "D-Bus interface"
    		module.version = "14.2+git9"
    
    Sink #0
    	State: SUSPENDED
    	Name: sink.primary_output
    	Description: Droid sink primary output
    	Driver: module-droid-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 1
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: sink.primary_output.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Droid sink primary output"
    		device.class = "sound"
    		device.api = "droid-hal"
    		droid.flags = ""
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    		droid.output.primary = "true"
    		droid.output.low_latency = "true"
    		droid.output.media_latency = "false"
    		droid.output.voip = "true"
    	Ports:
    		output-parking: Parking port (type: Unknown, priority: 50, available)
    		output-earpiece: Output to earpiece (type: Unknown, priority: 200, available)
    		output-speaker: Output to speaker (type: Unknown, priority: 300, available)
    		output-wired_headset: Output to wired headset (type: Unknown, priority: 100, available)
    		output-wired_headphone: Output to wired headphone (type: Unknown, priority: 100, available)
    		output-line: Output to line (type: Unknown, priority: 100, available)
    		output-aux_digital: Output to aux digital (type: Unknown, priority: 100, available)
    		output-proxy: Output to proxy (type: Unknown, priority: 100, available)
    		output-fm: Output to fm (type: Unknown, priority: 100, available)
    		output-bluetooth_sco: Output to bluetooth sco (type: Unknown, priority: 100, available)
    		output-sco_headset: Output to sco headset (type: Unknown, priority: 100, available)
    		output-sco_carkit: Output to sco carkit (type: Unknown, priority: 100, available)
    	Active Port: output-speaker
    	Formats:
    		pcm
    
    Sink #1
    	State: SUSPENDED
    	Name: sink.deep_buffer
    	Description: Droid sink deep_buffer
    	Driver: module-droid-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 1
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: sink.deep_buffer.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Droid sink deep_buffer"
    		device.class = "sound"
    		device.api = "droid-hal"
    		droid.flags = ""
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    		droid.output.media_latency = "true"
    		x-maemo.mode = "ihf"
    		x-maemo.accessory_hwid = ""
    	Formats:
    		pcm
    
    Sink #2
    	State: SUSPENDED
    	Name: sink.null
    	Description: Null-Ausgabe
    	Driver: module-null-sink.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor Source: sink.null.monitor
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY SET_FORMATS 
    	Properties:
    		device.description = "Null-Ausgabe"
    		device.class = "abstract"
    		device.icon_name = "audio-card"
    	Formats:
    		pcm
    
    Source #0
    	State: SUSPENDED
    	Name: sink.primary_output.monitor
    	Description: Monitor of Droid sink primary output
    	Driver: module-droid-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 1
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor of Sink: sink.primary_output
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Monitor of Droid sink primary output"
    		device.class = "monitor"
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    	Formats:
    		pcm
    
    Source #1
    	State: SUSPENDED
    	Name: sink.deep_buffer.monitor
    	Description: Monitor of Droid sink deep_buffer
    	Driver: module-droid-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 1
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor of Sink: sink.deep_buffer
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Monitor of Droid sink deep_buffer"
    		device.class = "monitor"
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    	Formats:
    		pcm
    
    Source #2
    	State: SUSPENDED
    	Name: source.primary_input
    	Description: Droid source primary input
    	Driver: module-droid-card.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 1
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor of Sink: n/a
    	Latency: 0 usec, configured 0 usec
    	Flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME 
    	Properties:
    		device.description = "Droid source primary input"
    		device.class = "sound"
    		device.api = "droid-hal"
    		droid.input.external = "true"
    		droid.input.builtin = "true"
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    	Ports:
    		input-parking: Parking port (type: Unknown, priority: 50, available)
    		input-builtin_mic: Input from builtin mic (type: Unknown, priority: 200, available)
    		input-back_mic: Input from back mic (type: Unknown, priority: 200, available)
    		input-wired_headset: Input from wired headset (type: Unknown, priority: 100, available)
    		input-bluetooth_sco_headset: Input from bluetooth sco headset (type: Unknown, priority: 100, available)
    		input-fm_tuner: Input from fm tuner (type: Unknown, priority: 100, available)
    		input-voice_call: Input from voice call (type: Unknown, priority: 200, available)
    	Active Port: input-builtin_mic
    	Formats:
    		pcm
    
    Source #3
    	State: SUSPENDED
    	Name: sink.null.monitor
    	Description: Monitor of Null-Ausgabe
    	Driver: module-null-sink.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 8
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor of Sink: sink.null
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Monitor of Null-Ausgabe"
    		device.class = "monitor"
    		device.icon_name = "audio-input-microphone"
    	Formats:
    		pcm
    
    Source #4
    	State: SUSPENDED
    	Name: source.null
    	Description: Null Input
    	Driver: module-null-source.c
    	Sample Specification: s16le 2ch 48000Hz
    	Channel Map: front-left,front-right
    	Owner Module: 9
    	Mute: no
    	Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
    	        balance 0.00
    	Base Volume: 65536 / 100% / 0.00 dB
    	Monitor of Sink: n/a
    	Latency: 0 usec, configured 0 usec
    	Flags: DECIBEL_VOLUME LATENCY 
    	Properties:
    		device.description = "Null Input"
    		device.class = "abstract"
    		device.icon_name = "audio-input-microphone"
    	Formats:
    		pcm
    
    Client #1
    	Driver: module-systemd-login.c
    	Owner Module: 19
    	Properties:
    		application.name = "Login Session 1"
    		systemd-login.session = "1"
    
    Client #2
    	Driver: module-dbus-protocol.c
    	Owner Module: 20
    	Properties:
    		application.name = "D-Bus client"
    
    Client #3
    	Driver: module-dbus-protocol.c
    	Owner Module: 20
    	Properties:
    		application.name = "D-Bus client"
    
    Client #4
    	Driver: module-dbus-protocol.c
    	Owner Module: 20
    	Properties:
    		application.name = "D-Bus client"
    
    Client #5
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "jolla keyboard"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "242c"
    		application.process.id = "3862"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "booster-qt5"
    		application.language = "de_DE.utf8"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/maliit-server"
    
    Client #6
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "QtPulseAudio:25"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "26cf"
    		application.process.id = "25"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "voicecall-ui"
    		application.language = "de_DE.utf8"
    		application.process.machine_id = "Xperia10III"
    		application.icon_name = "icon-launcher-phone"
    		application.process.arg0 = ""
    
    Client #7
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "ngf-tonegen-plugin"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Client #8
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "AlienAudioService"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "277d"
    		application.process.id = "5270"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "alienaudioservice"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/alienaudioservice"
    
    Client #9
    	Driver: module-dbus-protocol.c
    	Owner Module: 20
    	Properties:
    		application.name = "D-Bus client"
    
    Client #10
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "libcanberra"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		application.version = "0.30"
    		application.id = "org.freedesktop.libcanberra"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Client #27
    	Driver: protocol-native.c
    	Owner Module: 14
    	Properties:
    		application.name = "pactl"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "6ba165"
    		application.process.id = "27062"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "pactl"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "pactl"
    
    Sample #0
    	Name: pulldown_highlight
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 0.0s
    	Size: 2.1 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		event.id = "pulldown_highlight"
    		media.name = "pulldown_highlight"
    		media.filename = "/usr/share/sounds/jolla-ambient/stereo/pulldown_highlight.wav"
    		application.name = "libcanberra"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		application.version = "0.30"
    		application.id = "org.freedesktop.libcanberra"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Sample #1
    	Name: keyboard_0
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 0.0s
    	Size: 2.0 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		media.name = "keyboard_0"
    		application.name = "jolla keyboard"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "242c"
    		application.process.id = "3862"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "booster-qt5"
    		application.language = "de_DE.utf8"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/maliit-server"
    
    Sample #2
    	Name: keyboard_1
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 0.0s
    	Size: 2.0 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		media.name = "keyboard_1"
    		application.name = "jolla keyboard"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		policy.application.id = "242c"
    		application.process.id = "3862"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "booster-qt5"
    		application.language = "de_DE.utf8"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/maliit-server"
    
    Sample #3
    	Name: camera_shutter
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 0.4s
    	Size: 41.4 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		event.id = "camera_shutter"
    		media.name = "camera_shutter"
    		media.filename = "/usr/share/sounds/jolla-ambient/stereo/camera_shutter.wav"
    		application.name = "libcanberra"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		application.version = "0.30"
    		application.id = "org.freedesktop.libcanberra"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Sample #4
    	Name: start_charging
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 1.1s
    	Size: 107.7 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		event.id = "start_charging"
    		media.name = "start_charging"
    		media.filename = "/usr/share/sounds/jolla-ambient/stereo/start_charging.wav"
    		application.name = "libcanberra"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		application.version = "0.30"
    		application.id = "org.freedesktop.libcanberra"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Sample #5
    	Name: close_app
    	Sample Specification: s16le 1ch 48000Hz
    	Channel Map: mono
    	Volume: (invalid)
    	        balance 0.00
    	Duration: 2.0s
    	Size: 188.3 KiB
    	Lazy: no
    	Filename: n/a
    	Properties:
    		media.role = "event"
    		event.id = "close_app"
    		media.name = "close_app"
    		media.filename = "/usr/share/sounds/jolla-ambient/stereo/close_app.wav"
    		application.name = "libcanberra"
    		native-protocol.peer = "UNIX socket client"
    		native-protocol.version = "34"
    		application.version = "0.30"
    		application.id = "org.freedesktop.libcanberra"
    		policy.application.id = "238e"
    		application.process.id = "3278"
    		application.process.user = "defaultuser"
    		application.process.host = "Xperia10III"
    		application.process.binary = "ngfd"
    		application.language = "C"
    		application.process.machine_id = "47277e2ae09045288c01e6c40865e95f"
    		application.process.arg0 = "/usr/bin/ngfd"
    
    Card #0
    	Name: droid_card.primary
    	Driver: module-droid-card.c
    	Owner Module: 1
    	Properties:
    		droid.hw_module = "primary"
    		device.icon_name = "audio-card"
    	Profiles:
    		default: Default profile (sinks: 10, sources: 5, priority: 100, available: yes)
    		voicecall: Call mode (sinks: 0, sources: 0, priority: 0, available: yes)
    		voicecall-record: Call mode record (sinks: 0, sources: 0, priority: 0, available: yes)
    		communication: Communication mode (sinks: 0, sources: 0, priority: 0, available: yes)
    		ringtone: Ringtone mode (sinks: 0, sources: 0, priority: 0, available: yes)
    		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
    	Active Profile: default
    	Ports:
    		output-parking: Parking port (type: Unknown, priority: 50, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-earpiece: Output to earpiece (type: Unknown, priority: 200, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-speaker: Output to speaker (type: Unknown, priority: 300, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-wired_headset: Output to wired headset (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-wired_headphone: Output to wired headphone (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-line: Output to line (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-aux_digital: Output to aux digital (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-proxy: Output to proxy (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-fm: Output to fm (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-bluetooth_sco: Output to bluetooth sco (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-sco_headset: Output to sco headset (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		output-sco_carkit: Output to sco carkit (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-parking: Parking port (type: Unknown, priority: 50, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-voice_call: Input from voice call (type: Unknown, priority: 200, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-builtin_mic: Input from builtin mic (type: Unknown, priority: 200, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-back_mic: Input from back mic (type: Unknown, priority: 200, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-wired_headset: Input from wired headset (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-bluetooth_sco_headset: Input from bluetooth sco headset (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    		input-fm_tuner: Input from fm tuner (type: Unknown, priority: 100, latency offset: 0 usec, available)
    			Part of profile(s): default
    
    • this might be due to the alarm sink being configured to the headphone jack? I haven’t tried plugging in my headphones at that time to check.

audio routing: source

  • internal microphone not used in calls when headphones are attached
    1. have headphones plugged in, just plain headphones with a TTS plug and without a mic of their own
    2. get an incoming call and answer it
    3. sometimes (not always) it happens that you hear the other side well, but they cannot hear you.
    4. unplugging the headphone jack resolves the situation by activating the internal mic again

audio broken

  • after a while, starting/ resuming audio tracks won’t output any audio, neither via headphones nor speaker. The audio progress bar stays stuck
    • I’ve only encountered this with headphones plugged in
    • situation is recognisable by slight clicking noises in the headphones instead of the audio that is supposed to be played
    • situation not resolved by just unplugging the headphones

The restart pulseaudio Sailfish Utils trigger is not that great of a workaround as it requires all audio-emitting apps to be restarted again. But it is able to (temporarily) resolve all the situations I’ve described.

3 Likes

Android apps don’t have to be restarted

My problem is for sure related to using GPS AND Android. I am not sure about bluetooth. Losing the audio/video in my case happens also if I am not using headphones so different case than described by schmittlauch

As requested previously I managed to use GPS without android started for a day. I uses OSM scout navigation and played the music. No audio loss during whole testing period (1 day).
Later I made a test to use GPS in android (waze) and play music, then audio was lost, video frozen after approx in 1 hour. I’ve tried to scroll through journal, and found that the change happen around these messages:

cze 22 11:23:34 Xperia10III kernel: binder: undelivered transaction 1858454, process died.
cze 22 11:23:34 Xperia10III kernel: binder: undelivered transaction 1858455, process died.
cze 22 11:23:34 Xperia10III kernel: binder: undelivered transaction 1858473, process died.
cze 22 11:23:34 Xperia10III kernel: binder: undelivered transaction 1858474, process died.
cze 22 11:23:35 Xperia10III kernel: qcom_rpmh DRV:apps_rsc TCS Busy, retrying RPMH message send: addr=0x30010
cze 22 11:23:37 Xperia10III kernel: [aw882xx_smartpa]aw882xx_startup: capture enter
cze 22 11:23:37 Xperia10III kernel: [aw882xx_smartpa]aw882xx_set_fmt: fmt=0x4001
cze 22 11:23:37 Xperia10III kernel: msm_mi2s_snd_startup: set sysclk failed, err:-524
cze 22 11:23:37 Xperia10III kernel: __afe_port_start: port id: 0x1001
cze 22 11:23:37 Xperia10III kernel: afe_send_custom_topology_block: AFE SVC cal has invalid size: 0!
cze 22 11:23:37 Xperia10III kernel: afe_send_custom_topology: No cal sent for cal_index 10! ret -22
cze 22 11:23:37 Xperia10III kernel: afe_find_cal_topo_id_by_port: port id: 0x1001, dev_acdb_id: -22
cze 22 11:23:37 Xperia10III kernel: afe_find_cal_topo_id_by_port: top_id:1000ff02 acdb_id:102 afe_port:0x1001
cze 22 11:23:37 Xperia10III kernel: afe_get_cal_topology_id: port_id = 0x1001 acdb_id = 102 topology_id = 0x1000ff02 cal_type_index=8 ret=0
cze 22 11:23:37 Xperia10III kernel: afe_send_port_topology_id: AFE set topology id 0x1000ff02 enable for port 0x1001 ret 0
cze 22 11:23:37 Xperia10III kernel: send_afe_cal_type: cal_index is 1
cze 22 11:23:37 Xperia10III kernel: send_afe_cal_type: dev_acdb_id[41] is -22
send_afe_cal_type: Sending cal_index cal 1
cze 22 11:23:37 Xperia10III kernel: afe_send_hw_delay: port_id 0x1001 rate 48000 delay_usec 578 status 0
cze 22 11:23:37 Xperia10III kernel: [aw882xx_smartpa]aw882xx_mute: mute state=0

And a lots of further messages from afe and aw882xxx.

About Bluetooth: i remember once that sound was disappearing, but continuing to work in the Bluetooth headset

I have now used the phone for a week without placefinder GPS and no problem. Started the GPS placefinder and the sound was gone. I am not happy.