[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2016-09-20 Thread dino99
outdated ** Changed in: pulseaudio Importance: Unknown => Undecided ** Changed in: pulseaudio Remote watch: PulseAudio sound server #655 => None ** Changed in: pulseaudio Status: New => Invalid ** Changed in: alsa-plugins Importance: Unknown => Undecided ** Changed in:

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2016-09-20 Thread Luke Yelavich
Lucid is EOL. ** Changed in: alsa-plugins (Ubuntu) Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/348353 Title: Pulseaudio fails with Alsa a52 (ac3) plugin

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2012-05-09 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: alsa-plugins (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/348353 Title:

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-08-02 Thread Danny Wood
Hi, I will try again later. I've been busy moving house the last couple of weeks so I haven't had the time. thanks, Danny -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-08-01 Thread QuinnStorm
In trying to build from source, I had to patch debian/rules to pass --enable-avcodec=yes to configure before it would notice that I'd installed libavcodec-dev, I may have happened to do something else at the same time, but I doubt it. At the very least its something to look into to get it to

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-08-01 Thread QuinnStorm
Strike that, I didn't catch that it was running configure twice, I'm not sure just why, I was just using debian/rules binary, maybe there's something strange about how its built, I apologize, I should have checked more before commenting...wish there was an edit feature -- Pulseaudio fails with

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-16 Thread Mike Rans
Just one more thing as Columbo would say. To make your PPA self contained, if you haven't already, you need to add the A52 plugin itself, as unfortunately Lucid does not include it in the Alsa plugins. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-16 Thread Danny Wood
I have tried this. Unfortunately the build system didnt create it. I will have to upload the source package later with the full buil- depends. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-15 Thread Mike Rans
I was mistaken. I confused sinks and profiles. With $CARD, withe A52 profile does appear in the Hardware tab in the Sound preferences, so a suitable .asoundrc is: pcm.a52 { @args [CARD] @args.CARD { type string } type rate slave { pcm { type a52

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-15 Thread Mike Rans
New versions of Pulseaudio will be patched, but in the meantime, here are the revised steps for Ubuntu Lucid 10.04 LTS: 1. Open from Pulse source code: src/modules/alsa/alsa-sink.c 2. Replace: pa_sink_set_max_rewind(u-sink, u-hwbuf_size); with: if (pa_alsa_pcm_is_hw(u-pcm_handle)) {

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-15 Thread Danny Wood
I have managed to incorporate the alsa config into my pulseaudio file now. Adding the config to /usr/share/alsa/a52.conf and adding a hook into the pulse.conf within the same directory works perfectly. My PPA now contains the packages and configs require to get this working from scratch. So to

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-15 Thread Mike Rans
That's excellent. It will make it easy for everyone to get this working. I suggest you contribute your a52.conf with amended pulse.conf to the appropriate developers (Alsa?) for inclusion in future releases. All the Pulseaudio fixes I've previously mentioned will be in a future Pulseaudio

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-14 Thread Mike Rans
pcm.a52 { @args [CARD] @args.CARD { type string } type rate slave { pcm { type a52 bitrate 448 channels 6 card $CARD } rate 48000 #required somehow, otherwise nothing happens in PulseAudio } } I tried the

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-14 Thread Danny Wood
Just removing the card line works. It binds to the first SPDIF it finds I think which will usually be the correct one. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-14 Thread Mike Rans
Thanks. I will try that later. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-13 Thread Danny Wood
Perfect. The extra in thread rewind fixed it for me. I now have a fully working a52 through pulseaudio. I have updated my PPA and the new patch is attached. ** Patch added: Working version of the patch http://launchpadlibrarian.net/51859149/0098-fix-a52-surround.patch ** Patch removed: Patch

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-13 Thread Mike Rans
Good news! pl bossart also came up with a great way to avoid editing /usr/local/share/pulseaudio/alsa-mixer/profile-sets/default.conf # Rate Converter to 48kHz, needed for some applications pcm.a52 { @args.0 { type integer } type rate slave { pcm Filter_A52Encode

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-13 Thread Mike Rans
coling suggested: You shouldn't need to specify either card NVidia or card 0. Just use the argument passed in and pass it through to the slave. It's just about cooking up the right .asoundrc syntax. Something like (untested): {{{ pcm.Filter_A52Encode { @args [ CARD ] @args.CARD {

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
Finally I got it all working including a52 Pulseaudio profiles! These are the steps on Ubuntu Lucid 10.04 LTS: 1. Open from Pulse source code: src/modules/alsa/alsa-sink.c 2. Replace: pa_sink_set_max_rewind(u-sink, u-hwbuf_size); with: if(strcmp(u-device_name, a52) == 0) {

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Danny Wood
Thanks and nice work, I will have to test this when I get home. For now I have created a debian patch against the latest pulseaudio build in Ubuntu which can be put into the debian/patches (and added to the debian/patches/series file) folder to enable building the .deb package using dpkg (and

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
Thanks for making the PPA. It should make it a lot easier for users. I just had a quick look at your patch and I think there's a couple of problems. pa_sink_set_max_request(u-sink, u-hwbuf_size); pa_sink_set_max_rewind(u-sink, u-hwbuf_size); --- this one should be deleted +if

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Danny Wood
Oh yeah, forgot to delete that line. I have made the changes you have suggested, in the ppa and in this patch. The .asoundrc will need user input anyway for the card name, but the configuration will be reduced to only editing that line now. A native pulseaudio ac3 would be the best but if this

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
That's great. Let me know if it works for you. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Brian Murray
** Tags added: patch -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Danny Wood
Well unfortunatly it appears to not work for me. Pulseaudio detects the card and profiles correctly but when it comes to playing it dies. Here is my verbose output: I: alsa-sink.c: Trying resume... D: alsa-util.c: Maximum hw buffer size is 21824 ms D: alsa-util.c: Set buffer size first (to 4608

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Danny Wood
Forgot to say that any audio app causes this crash and the device just disappears then I have to restart pulseaudio. I can get sound out just fine using the speaker-test to the alsa device only. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
My .asoundrc ** Attachment added: .asoundrc http://launchpadlibrarian.net/51800014/.asoundrc -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
Actually just to rule things out I just reduced my.asoundrc to only: # Encode AC3 - Directly on hardware pcm.Filter_A52Encode { type a52 bitrate 448 channels 6 card NVidia } # Rate Converter to 48kHz, needed for some applications pcm.a52 { type rate slave { pcm

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
Here's my alsa-sink.c - I'm pretty sure I didn't miss anything though. ** Attachment added: alsa-sink.c http://launchpadlibrarian.net/51800300/alsa-sink.c -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
I saw process_rewind errors like that when the rates didn't match between Alsa and Pulseaudio - is everywhere using 48000? Is Pulse definitely connecting to the rate converter and not directly to the A52 filter? Is Pulse itself definitely using 48000? Failing that, you can try copying Pulse's

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
See: http://pulseaudio.org/ticket/839#comment:3 ** Bug watch added: PulseAudio sound server #839 http://pulseaudio.org/ticket/839 -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
pl bossart in Pulseaudio email list discussion said: NAK. This does not work for me. You need to rewind also in the thread context: diff --git a/src/modules/alsa/alsa-sink.c b/src/modules/alsa/alsa-sink.c index 2995c3c..4059a9b 100644 --- a/src/modules/alsa/alsa-sink.c +++

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Mike Rans
Also here's my output if it helps with your debugging. ** Attachment added: pulseaudiooutput.txt http://launchpadlibrarian.net/51802858/pulseaudiooutput.txt -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug

Re: [Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-12 Thread Luke Yelavich
This asoundrc is too card specific. You should not be referring to nvidia in your asoundrc, because everyone using a52/SPDIF hardware has different chipsets. You probably need to use the various variables/macros available for specifying the card identifier. Luke -- Pulseaudio fails with Alsa

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-10 Thread Mike Rans
I forced Pulseaudio not to rewind using: pa_sink_set_max_rewind(u-sink, 0); This seemed to fix it. timeout=0 is no longer needed in default.pa: default.pa: load-module module-suspend-on-idle # timeout=0 However, there is still a need for a rate converter in asoundrc: # Rate Converter to

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-08 Thread Mike Rans
I added to default.pa: load-module module-suspend-on-idle timeout=0 and it seemed to prevent the unloading with Rhythmbox. When I load Oolite that uses libsdl then the unloading still seems to occur (so Oolite produces no sound). -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-08 Thread Bug Watch Updater
** Changed in: alsa-plugins Status: Unknown = New -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-07 Thread Mike Rans
I have found something that works for a while. I add to .asoundrc: # Rate Converter to 48kHz, needed for Pulseaudio it seems pcm.Filter_RateConvert { type rate slave { pcm Filter_A52Encode rate 48000 } } and in default.pa: load-module module-alsa-sink device=Filter_RateConvert

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-04 Thread Bug Watch Updater
** Changed in: pulseaudio Status: Unknown = New -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid) https://bugs.launchpad.net/bugs/348353 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing

[Bug 348353] Re: Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)

2010-07-03 Thread Mike Rans
I tried using the ppa here: https://launchpad.net/~ricotz/+archive/unstable This upgraded Alsa to 1.0.23, Pulseaudio to 1:0.9.22 and kernel to 2.6.35-6.7. The problem is still the same with these newer versions. -- Pulseaudio fails with Alsa a52 (ac3) plugin (Ubuntu 10.04 Lucid)