You are not logged in.

#1 2016-05-06 07:03:03

tmiddleton
Member
Registered: 2016-03-29
Posts: 28

[SOLVED] PulseAudio gets into 'state' where it ignores fallback device

If I were to see this

May 05 23:46:42 tedspc pulseaudio[870]: D: [pulseaudio] module-intended-roles.c: Not setting device for stream ALSA Playback, because already set.
May 05 23:46:42 tedspc pulseaudio[870]: D: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"s16le\""  format.rate = "44100"  format.channels = "2"  format.cha
May 05 23:46:42 tedspc pulseaudio[870]: D: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo becomes busy, resuming.
May 05 23:46:42 tedspc pulseaudio[870]: D: [pulseaudio] memblockq.c: memblockq requested: maxlength=33554432, tlength=0, base=4, prebuf=0, minreq=1 maxrewind=0
May 05 23:46:42 tedspc pulseaudio[870]: D: [pulseaudio] memblockq.c: memblockq sanitized: maxlength=33554432, tlength=33554432, base=4, prebuf=0, minreq=4 maxrewind=0
May 05 23:46:42 tedspc pulseaudio[870]: I: [pulseaudio] sink-input.c: Created input 75 "ALSA Playback" on alsa_output.pci-0000_00_1b.0.analog-stereo with sample spec s16le 2ch 44100Hz an

in my system log when running speaker-test outputting to pulse, but I had, according to pacmd this device set to fallback:

Welcome to PulseAudio 8.0! Use "help" for usage information.
>>> list-sinks
2 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_01_00.1.hdmi-stereo-extra1>
...
    index: 1
        name: <alsa_output.pci-0000_00_1b.0.analog-stereo>

...and I've turned off streams remembering devices, would anyone else agree that something seems to be horribly broken? Why on earth is speaker-test (and chrome, and everything else) choosing my headphones to output to?

Last edited by tmiddleton (2016-05-06 07:14:03)

Offline

#2 2016-05-06 07:08:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

Please edit your post to change your title to something that a) actually reflects your issue, and b) dispenses with the ridiculous punctuation:
https://wiki.archlinux.org/index.php/Fo … ow_to_post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2016-05-06 07:08:33

tmiddleton
Member
Registered: 2016-03-29
Posts: 28

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

Yup, and sure enough, 'pacmd exit' fixes the problem. Kicking the audio server in the nuts gets the stupid thing working again.

Last edited by tmiddleton (2016-05-06 07:11:37)

Offline

#4 2016-05-06 07:09:56

tmiddleton
Member
Registered: 2016-03-29
Posts: 28

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

jasonwryan wrote:

Please edit your post to change your title to something that a) actually reflects your issue, and b) dispenses with the ridiculous punctuation:
https://wiki.archlinux.org/index.php/Fo … ow_to_post

Hopefully that's better.

Offline

#5 2016-05-06 07:10:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

It is, thanks. Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2016-05-06 07:17:26

tmiddleton
Member
Registered: 2016-03-29
Posts: 28

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

Marking this as 'solved', even though the work-around is just ridiculous. I think I'm going write off Pulse as just hopelessly broken with the next problem I find and just hack together a custom build to work around the defects.

Offline

#7 2016-06-26 02:55:28

Sanjeev K Sharma
Member
Registered: 2013-08-14
Posts: 72

Re: [SOLVED] PulseAudio gets into 'state' where it ignores fallback device

in /etc/pulse/default.pa

load-module module-stream-restore restore_device=false

the default is for PA to remember, per-application, the app's last selected output  - the above says forget that & set to the fallback when an app starts

Last edited by Sanjeev K Sharma (2016-06-26 15:54:16)

Offline

Board footer

Powered by FluxBB