You are not logged in.

#1 2014-01-14 14:11:32

korn36
Member
Registered: 2014-01-14
Posts: 111

[SOLVED] PulseAudio broken.

I'm running Arch with the latest updates and mainline kernel 3.13-rc8.
Whenever I try to play something via PulseAudio (or open pavucontrol), it just crashes.
When it crashes, this thing appears in the console:

I: [alsa-sink-HDMI 0] alsa-sink.c: Trying resume...
I: [alsa-sink-HDMI 0] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [alsa-sink-HDMI 0] alsa-util.c: ALSA period wakeups disabled
E: [alsa-sink-HDMI 0] sink.c: Assertion 'max_latency <= (10*((pa_usec_t) 1000000ULL))' failed at pulsecore/sink.c:3202, function pa_sink_set_latency_range_within_thread(). Aborting.
Przerwane (core dumped)

As I don't use HDMI audio, the solution would be to disable the HDMI audio, hovewer: Adding radeon.audio=0 to boot params doesn't do anything, and blacklisting snd_hda_intel would also disable my primary soundcard.
How do I disable HDMI audio? (BTW I'm using ATI Radeon HD4650 GPU)

Last edited by korn36 (2014-01-15 18:01:23)

Offline

#2 2014-01-14 14:36:45

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [SOLVED] PulseAudio broken.

Changed output in /etc/pulse/daemon.conf from 24-bit to 16-bit and it seems to work, but I have some 24-bit files and I want to listen to them in their full quality bit-depth. This sound-card supports 24-bit audio so PulseAudio shouldn't have a problem with it. On other distros 24-bit sound works fine.

Last edited by korn36 (2014-01-14 14:41:51)

Offline

#3 2014-01-14 23:31:41

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] PulseAudio broken.

You can use booleans to disable the unwanted sound card even when both cards use the same module. For example, see the last line of:

Discover available modules and their order:
$ cat /proc/asound/modules
 0 snd_hda_intel
 1 snd_ca0106
Disable the undesired video card audio codec in /etc/modprobe.d/modprobe.conf:

# /etc/modprobe.d/modprobe.conf
#
install snd_hda_intel /bin/false

If both devices use the same module then we can use the *enable* parameter from snd-hda-intel module, it's an array of booleans that can enable/disable the desired sound card.
e.g

options snd-hda-intel enable=1,0

Might help you?

Offline

#4 2014-01-15 13:29:43

korn36
Member
Registered: 2014-01-14
Posts: 111

Re: [SOLVED] PulseAudio broken.

Same errors appear now for my non-HDMI soundcard.
24-bit audio seems to work now after changing buffer size in daemon.conf, but PulseAudio sometimes crashes and rarely, sound is choppy.
EDIT: It just crashed when I opened Audacity. sad
EDIT2: PulseAudio doesn't crash anymore. I applied the patch from the #5 post of this thread: https://bbs.archlinux.org/viewtopic.php?id=164605

Last edited by korn36 (2014-01-15 18:01:13)

Offline

#5 2014-01-15 20:25:04

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: [SOLVED] PulseAudio broken.

Hmmm... interesting!

Offline

Board footer

Powered by FluxBB