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
  Curious About Arch Ferriah 2 667 11-07-2022, 04:38 PM
Last Post: Ferriah
  Latest version Arch Plasma looks good. Chief 5 375 10-23-2022, 01:53 PM
Last Post: Chief
  Evolution no longer runs on Arch Phosh. Chief 2 235 10-17-2022, 07:22 AM
Last Post: Chief
  Reticulum's Nomadnet (mesh net) on Arch ARM PineFone 0 167 10-16-2022, 08:28 AM
Last Post: PineFone
  Waydroid on Arch Linux ARM install guide? tk1107 3 2,778 10-08-2022, 07:46 AM
Last Post: PineFone
  Scaling problem Arch Linux Phosh Chief 7 649 09-27-2022, 12:31 PM
Last Post: Chief
  How to upgrade Phosh on Pinephone? ibid 1 437 08-18-2022, 09:02 PM
Last Post: mikehenson
  no audio ring on non chatty calls nemsys 0 270 08-14-2022, 03:23 PM
Last Post: nemsys
  error updating arch pohosh shulamy 3 791 08-03-2022, 02:30 AM
Last Post: shulamy
  Help to execute script to install arch with FDE user641 5 1,222 07-03-2022, 09:25 PM
Last Post: RTP

Forum Jump:


Users browsing this thread: 1 Guest(s)