audio services shut down after short time on arch-phosh
#1
I was listening to music with audacious when after about five minutes my bluetooth headphones disconnected.
This also happened when the speaker was playing music, as the music simply turned off on the phone.
  Reply
#2
Audacious has a long-outstanding bug/feature request to inhibit suspend during playback.
https://redmine.audacious-media-player.org/issues/51

Until they add the feature you'll need a workaround like the ones in the mobian wiki. I'd suggest changing the .desktop file to use gnome-session-inhibit so that the phone won't suspend while audacious is running.
https://wiki.mobian-project.org/doku.php...pend-sleep
  Reply
#3
(12-17-2021, 11:04 AM)wibble Wrote: Audacious has a long-outstanding bug/feature request to inhibit suspend during  playback.
https://redmine.audacious-media-player.org/issues/51

Until they add the feature you'll need a workaround like the ones in the mobian wiki. I'd suggest changing the .desktop file to use gnome-session-inhibit so that the phone won't suspend while audacious is running.
https://wiki.mobian-project.org/doku.php...pend-sleep

Hello, coming back to this problem, I've observed a disconnect from bluetooth after about five minutes of using the program mpv on an mp3 file.
I've also observed the problem occur both when I connect to the headphones through gnome-settings as well as bluetoothctl in terminal.
  Reply
#4
If you are using mpv, set up an alias to run 'gnome-session-inhibit --inhibit idle --inhibit suspend mpv <file>'
Alternatively follow instructions here: https://wiki.mobian-project.org/doku.php...-is-active
You can enable the systemd user service 'sguard' to prevent suspend while audio is playing. It works reliably. However most clients like Lollypop and GNOME Podcasts now inhibit suspend during playback themselves as well. I've found I don't need sguard anymore.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Scaling problem Arch Linux Phosh Chief 7 171 09-27-2022, 12:31 PM
Last Post: Chief
  How to upgrade Phosh on Pinephone? ibid 1 221 08-18-2022, 09:02 PM
Last Post: mikehenson
  no audio ring on non chatty calls nemsys 0 122 08-14-2022, 03:23 PM
Last Post: nemsys
  error updating arch pohosh shulamy 3 472 08-03-2022, 02:30 AM
Last Post: shulamy
  Curious About Arch Ferriah 1 385 07-24-2022, 04:40 AM
Last Post: Nooblife
  Help to execute script to install arch with FDE user641 5 753 07-03-2022, 09:25 PM
Last Post: RTP
  repository for arch-phosh oihantto64 8 2,268 06-27-2022, 03:00 AM
Last Post: shulamy
  VPN for Arch Linux ARM? tk1107 5 2,138 04-27-2022, 06:23 PM
Last Post: tk1107
  Best Messaging client for pinephone? (arch-phosh) pineuser0 20 8,105 03-23-2022, 07:13 AM
Last Post: saba
  arch-audit oihantto64 0 500 02-03-2022, 01:26 AM
Last Post: oihantto64

Forum Jump:


Users browsing this thread: 1 Guest(s)