Lennart Poettering | 1 Jun 15:03 2009
Picon

Re: Controlling pulseaudio volume with kmix

On Sat, 30.05.09 12:03, Piero Filippin (filippinp <at> yahoo.co.uk) wrote:

> Hi,
> first of all I want to thank everyone for their work on pulseaudio. I  
> always thought Linux audio sucked, finally something which make sense  
> (and works)!
> I enabled the a52 in asound.conf, and finally I can enjoy surround sound!
>
> However, I am having 2 issues. First of all, for some reasons I cannot  
> understand, I cannot use the a52 output on pavucontrol, the sound is  
> "choppy", this means something like 100ms of audio every second - but  
> "simultaneous output on a52" works like a charm. Just a weirdness.

This is probably an issue with the timing logic in the a52 ALSA
backend. pavucontrol sets rather short latency settings on all devices
to be able to show the PCM monitoring meters that closely reflect what
you actually hear. These lower latency settings probably break the a52
backend.

Please note that Fedora does not ship that module due to patent
issues, and hence I have never tested if it actually works. I wrote
the a52 logic in PA without ever having tested it.

It would probably be a good idea to include the a52 logic directly in
the PA plugin to fix all the timing issues, instead of relying on ALSA
for that. But uh, given the broken patent situation this is unlikely
to happen anytime soon. Sorry.

> The only serious issue: I am not able to do is to change the volume with  
> kde4 kmix (I was able to before enabling a52). I can change the volume  
(Continue reading)

Piero Filippin | 1 Jun 15:44 2009
Picon

Re: Controlling pulseaudio volume with kmix

Lennart Poettering wrote:
On Sat, 30.05.09 12:03, Piero Filippin (filippinp <at> yahoo.co.uk) wrote:
Hi, first of all I want to thank everyone for their work on pulseaudio. I always thought Linux audio sucked, finally something which make sense (and works)! I enabled the a52 in asound.conf, and finally I can enjoy surround sound! However, I am having 2 issues. First of all, for some reasons I cannot understand, I cannot use the a52 output on pavucontrol, the sound is "choppy", this means something like 100ms of audio every second - but "simultaneous output on a52" works like a charm. Just a weirdness.
This is probably an issue with the timing logic in the a52 ALSA backend. pavucontrol sets rather short latency settings on all devices to be able to show the PCM monitoring meters that closely reflect what you actually hear. These lower latency settings probably break the a52 backend.
What I found weird is if I pick "simultaneous output on a52" it works smooth. In my understanding the "simultaneous" is supposed to "broadcast" the audio to all the cards. As I have only one card, this should not make absolutely no difference (but probably the timings are more relaxed, fixing the problem).

Please note that Fedora does not ship that module due to patent issues, and hence I have never tested if it actually works. I wrote the a52 logic in PA without ever having tested it. It would probably be a good idea to include the a52 logic directly in the PA plugin to fix all the timing issues, instead of relying on ALSA for that. But uh, given the broken patent situation this is unlikely to happen anytime soon. Sorry.

The only serious issue: I am not able to do is to change the volume with kde4 kmix (I was able to before enabling a52). I can change the volume on every single application (eg volume slider in amarok2 or mplayer) or using pavucontrol, but changing the volume in kmix has no effect (only the master mute works, and it was not working before).
On KDE ymmv. Try using the newest g-v-c. Please note that legacy mixers like kmix tend to expose the full low-level analog alsa mixer. If you use digital output that is useless, use the PA volumer control instead, either in the form of pavucontrol or at a lower level with pacmd/pactl. Lennart
Thank you a lot - this is what was trying to find out - kmix not controlling pulse is not a problem with my configuration.
This is definitely kmix fault, it refuses to work with anything else than hw:X. Pulse works fine with alsamixer (even is in my configuration the channels are in the wrong order, but this is an alsa issue).

To solve my problem (pavucontrol is not usable if you are watching a movie) I mapped the multimedia keys in my keyboard to "amixer set Master 10%-" and "amixer set Master 10%+" (channels' volumes are linked together).

I had no luck with pacmd/pactl (last time I tried there was no support for volume increment/decrement, just absolute).



_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss <at> mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Tom Poe | 1 Jun 18:04 2009
Picon

ubuntu/jack/recordMyDesktop error

Still getting the jack library error with Ubuntu 8.04.
"exit status: 3584"  jack library (dlopen/disym error on libjack.so
:~$ ls -l /usr/lib/libjack*
lrwxrwxrwx 1 root root     4 2009-04-07 23:05 /usr/lib/libjack0.100.0 -> 
jack
lrwxrwxrwx 1 root root    12 2009-04-07 23:05 
/usr/lib/libjack-0.100.0.so.0 -> libjack.so.0
lrwxrwxrwx 1 root root    17 2009-04-07 23:05 /usr/lib/libjack.so.0 -> 
libjack.so.0.0.28
-rw-r--r-- 1 root root 68408 2008-02-02 02:52 /usr/lib/libjack.so.0.0.28

I typed keywords, ubuntu jack library error with recordMyDesktop, and 
followed a couple very good threads.  Need some troubleshooting 
suggestions, or suggestion for alternate capture app.

When I run Jack control, I can add vkeybd and Jack sees it.  When I run 
recordMyDesktop, Jack doesn't see it.
Tom
Tom
Colin Guthrie | 1 Jun 19:01 2009
Picon

Re: ubuntu/jack/recordMyDesktop error

'Twas brillig, and Tom Poe at 01/06/09 17:04 did gyre and gimble:
> Still getting the jack library error with Ubuntu 8.04.
> "exit status: 3584"  jack library (dlopen/disym error on libjack.so
> :~$ ls -l /usr/lib/libjack*
> lrwxrwxrwx 1 root root     4 2009-04-07 23:05 /usr/lib/libjack0.100.0 -> 
> jack
> lrwxrwxrwx 1 root root    12 2009-04-07 23:05 
> /usr/lib/libjack-0.100.0.so.0 -> libjack.so.0
> lrwxrwxrwx 1 root root    17 2009-04-07 23:05 /usr/lib/libjack.so.0 -> 
> libjack.so.0.0.28
> -rw-r--r-- 1 root root 68408 2008-02-02 02:52 /usr/lib/libjack.so.0.0.28
> 
> I typed keywords, ubuntu jack library error with recordMyDesktop, and 
> followed a couple very good threads.  Need some troubleshooting 
> suggestions, or suggestion for alternate capture app.
> 
> When I run Jack control, I can add vkeybd and Jack sees it.  When I run 
> recordMyDesktop, Jack doesn't see it.
> Tom

I'm afraid that this is a pulseaudio list, so this is a little 
off-topic. You'll no doubt have better luck on a jack mailing list :)

Col

--

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]
Tom Poe | 1 Jun 19:26 2009
Picon

Re: ubuntu/jack/recordMyDesktop error

Colin Guthrie wrote:
> 'Twas brillig, and Tom Poe at 01/06/09 17:04 did gyre and gimble:
>> Still getting the jack library error with Ubuntu 8.04.
>> "exit status: 3584"  jack library (dlopen/disym error on libjack.so
>> :~$ ls -l /usr/lib/libjack*
>> lrwxrwxrwx 1 root root     4 2009-04-07 23:05 /usr/lib/libjack0.100.0 
>> -> jack
>> lrwxrwxrwx 1 root root    12 2009-04-07 23:05 
>> /usr/lib/libjack-0.100.0.so.0 -> libjack.so.0
>> lrwxrwxrwx 1 root root    17 2009-04-07 23:05 /usr/lib/libjack.so.0 
>> -> libjack.so.0.0.28
>> -rw-r--r-- 1 root root 68408 2008-02-02 02:52 /usr/lib/libjack.so.0.0.28
>>
>> I typed keywords, ubuntu jack library error with recordMyDesktop, and 
>> followed a couple very good threads.  Need some troubleshooting 
>> suggestions, or suggestion for alternate capture app.
>>
>> When I run Jack control, I can add vkeybd and Jack sees it.  When I 
>> run recordMyDesktop, Jack doesn't see it.
>> Tom
>
> I'm afraid that this is a pulseaudio list, so this is a little 
> off-topic. You'll no doubt have better luck on a jack mailing list :)
>
> Col
>
>
Good point, Colin.  Will do.
Tom
Mark Greenwood | 1 Jun 21:41 2009

PA Startup problem on Acer Aspire One

Strange issue.. my Acer Aspire One is having issues since I installed pulseaudio on it.. I think they might
be related to bootup speed, since this model has a rather slow SSD from which it boots. I'm running PA 0.9.15

Essentially, if I start PA using the 'normal' method (i.e. just install it and let the scripts do what they
are supposed to) then I get no audio. I can start pavucontrol and I can see activity in the vu meters for the
applications, but there is no activity on the vu meter for the output (Intel HDA). I also can't play
anything using direct ALSA output in an application, because something (PA presumably) has control of
the sound card, although module-suspend-on-idle is loaded.

If I kill pulseaudio and start it again from the command line, it all works correctly.

I have a suspicion that it might be due to the slow bootup and perhaps something to do with suspend on idle. Can
I disable suspend on idle somehow to test this theory (I couldn't find it in default.pa)? Anyone else have
any other ideas?

Thanks,

Mark
Brian J. Murrell | 1 Jun 21:49 2009
Picon

Re: exiting on resume of rhythmbox

On Sat, 2009-05-30 at 19:12 -0400, Brian J. Murrell wrote:
> 
> Was any of this helpful?  Given that I have disabled tunnelling and the
> problem still reproduces, it must be something other than tunnelling,
> yes?  Any other ideas?  What can I do to help track it down?

I've also discovered that once a PA is in cpu-hogging mode (i.e. after
resuming an app., like rhythmbox), simply pausing whatever is driving it
(i.e. rhythmbox) and waiting for PA to settle down then resuming (i.e.
rhythmbox again) and PA will be again operating normally.

Maybe this helps trigger an idea/thought.

b.

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss <at> mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
H.S. | 2 Jun 00:45 2009
Picon

not allowed to configure local sound server

Hello,

On a Debian Testing machine, I have noticed that I am no longer allowed
to configure local sound server in pulseaudio device chooser (got by
padevchooser), presumably after some relevant upgrade in the recent few
weeks. The option in the various tabs in the chooser's interface
are all grayed out. I have seen the same problem in another Testing machine.

In a Debian Unstable machine, however, the options are allowed to be
changed, as expected.

Anybody else facing the same problem? Or know how to fix this?

I belong to pulse-access and pulse-rt groups in addition to audio and video.

This is on kernel 2.6.26-2-686 and I also have:
$> dpkg -l *pulse* | grep ^i | gawk '{print $2 "  " $3}'
gstreamer0.10-pulseaudio  0.10.15-1
libpulse-browse0  0.9.15-2
libpulse-mainloop-glib0  0.9.15-2
libpulse0  0.9.15-2
pulseaudio  0.9.15-2
pulseaudio-esound-compat  0.9.15-2
pulseaudio-module-gconf  0.9.15-2
pulseaudio-module-hal  0.9.15-2
pulseaudio-module-x11  0.9.15-2
pulseaudio-module-zeroconf  0.9.15-2
pulseaudio-utils  0.9.15-2

Thanks.

--

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
Jason Taylor | 2 Jun 01:18 2009
Picon

Applications that set there role

Are there any applications out there that actually set there media.role correctly yet?

Jason Taylor

--
"Weekends don't count unless you spend them doing something completely pointless. " - Calven

_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss <at> mail.0pointer.de
https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Colin Guthrie | 2 Jun 11:01 2009
Picon

Re: PA Startup problem on Acer Aspire One

'Twas brillig, and Mark Greenwood at 01/06/09 20:41 did gyre and gimble:
> Strange issue.. my Acer Aspire One is having issues since I installed
> pulseaudio on it.. I think they might be related to bootup speed,
> since this model has a rather slow SSD from which it boots. I'm
> running PA 0.9.15
> 
> Essentially, if I start PA using the 'normal' method (i.e. just
> install it and let the scripts do what they are supposed to) then I
> get no audio. I can start pavucontrol and I can see activity in the
> vu meters for the applications, but there is no activity on the vu
> meter for the output (Intel HDA). I also can't play anything using
> direct ALSA output in an application, because something (PA
> presumably) has control of the sound card, although
> module-suspend-on-idle is loaded.
> 
> If I kill pulseaudio and start it again from the command line, it all
> works correctly.

Even if pulse suspends itself, it should be able to unsuspend OK unless 
something has snuck in and grabbed the device.

When it's in this locked state, the output of "pacmd list-sinks" will 
confirm if it's in the suspended state and you should be able to issue a 
"pacmd suspend-sink 0 false" to unsuspend sink with index 0. If it is 
locked into a suspend state, this should try and unsuspend it.

You can also try hitting the mute button twice in pavucontrol to see if 
it is another occurrence of the infamous "undetected mute on startup bug."

> I have a suspicion that it might be due to the slow bootup and
> perhaps something to do with suspend on idle. Can I disable suspend
> on idle somehow to test this theory (I couldn't find it in
> default.pa)? Anyone else have any other ideas?

Look again ;)

My default.pa has:
### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

--

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
   Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
   Mandriva Linux Contributor [http://www.mandriva.com/]
   PulseAudio Hacker [http://www.pulseaudio.org/]
   Trac Hacker [http://trac.edgewall.org/]

Gmane