I'm using XFCE with pulseaudio. I don't have a keyboard with dedicated multimedia keys. Getting to alsa to work with f1 f2 and f3 (mute, volume down, volume up) was easy. I want to use pulseaudio instead of alsa. What do I use for mute, volume up and down?
I've had nothing but trouble with Pulseaudio in Fedora 14. I had managed to get rid of it in Fedora 10 with the command: su -c "yum remove alsa-plugins-pulseaudio pulseaudio" I just don't want to have to deal with Pulseaudio anymore. It does not like my sound card and gets in the way. Is there a Linux distribution that does not use Pulseaudio ?
Regarding ALSA and PulseAudio - Explanation on how these two interact. After installing Debian I realised that my sound control (Volume Control: HDA Intel ALSA mixer) was different from what I had with Ubuntu where it would display a window called "Sound properties" in which allowed me to control the sound of each program running - I believe this is the PulseAudio aspect. (If I'm wrong at this point please correct me)
Now I have managed to get PulseAudio setup correctly for me (not as easily as Ubuntu but I moved to Debian to learn, not be spoon fed), however the way in which I did it may of been wrong - pretty much just went to synaptic and installed everything with PulseAudio in its name
Currently the sound icon in my top Gnome panel (within the notification area applet) has the ALSA mixer, sometimes when I log on it has the PulseAudio one (Sound preferences window), I don't really mind which one is loaded thanks to the PulseAudio Volume Control program (under Sound & Video). Is there a way though to stick with just one?
i am having a problem with skype that i wasn't having before, and afaik skype hasn't been upgraded recently, so something else presumably has changed.
because of driver issues i have to use an external usb audio interface to do voip. this interface is not connected to the pulseaudio server. i am able to connect it to jackd and it works fine for both audio in and out. however it no longer shows up in the list of sound devices available to skype. this used not to be the case. i have tried stopping and restarting skype, as well as unplugging and reattaching the interface. the interface does not show up in pulseaudio manager in the lists of devices.
i am using ubuntu 10.04 lts "lucid lynx", and has been encountering problems with audio recently.
i found out for some reason that my system fails to produce sound through pulseaudio, especially when an application is using it (e.g audacious).
the details of the problem:
1. i am using the pulseaudio equalizer from the repository, and i set a program (e.g. audacious) to use pulseaudio so that i can activate the equalizer.
2. while playing, all of my other applications lose the ability to produce any sound, and changing back to alsa during playback (which is using pulseaudio) in audacious indicates that the device is busy. examples include the loss of sound while playing a video from videos.
rough breakdown of what i want to (be able to) do: have sound for all applications using it, for example being able to play a video in videos from my browser and play music in audacious simultaneously.
is there a workaround for this? i'd like to think that there is, but so far my search returned nil.
I'm under Ubuntu 8.04 LTS Hardy Heron using pulseaudio. I've got 2 soundcards : one internal AC97 7.1 without midi (card 0 in ALSA) and a PCI C-MEDIA 2.1 with OPL3 midi (card 3 in ALSA) I have sound in most ALSA or OSS applications with full 7.1 + 2.1 duplex. I have MIDI playback in any ALSA MIDI players (client 29:0 in ALSA).
I'm trying to run Final Doom for W95 on WINE with OSS driver. I have sound effects but no MIDI music. I tryed with padsp and aoss wrappers. I know I can use ALSA driver in wine or timidity, but I would rather use padsp + hardware MIDI if possible. How do I configure ALSA OSS emulation for MIDI playback and check that it's working ? I tryed playmidi but whatever I told it, it couldn't find any midi device.
I am using a couple of Debian Distro (Sid and Lenny) add some Ubuntu into the mix. I made the switch because I was amazed and satisfied with Debian --> once installed, everything works. For me that's okay for o so many years now. I don't question a lot because it just works and I do my job on it satisfactorily. Namely programming the LAMP style programming. Lately I have been using Debian to communicate over the internet -- using Skype and Pidgin and other such things, not to mention listening to music, watching movies, just using the default applications when I originally install Debian.
Along the way, I need to configure something -- that is desktop related -- like the screen resolution of a new LCD monitor replacing the old one and such. Now about my sound -- I'm not touching it because it is working. But that is not the case always. Now I have a constant error -- it is irritating. Rhythmbox don't make a sound always when I have open a web browser (iceweasel, chrome, epiphany) and a site with multimedia object on it -- like a video or something. So how do I correct this? How do I know, too what I am using -- ALSA or Pulseaudio?
It was recommended to me that I remove pulseaudio and re-install alsa. All the howtos on reinstalling alsa had instructions for re-installing alsa from the source. Is it possible to re-install alsa from the repos? If so what are the necessary packages that I need to install, for a complete re-install of alsa?
I spent a few days trying to make audio work on my TV connected via HDMI to a PC. The speaker test used by the sound preferences was dead, as was MPlayer. I managed to find a solution for MPlayer, giving the option "-ao alsa:device=hdmi", as specified in this article:So, basically ALSA can see all my devices. This is the output of aplay -l:Quote:
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC1200 Analog [ALC1200 Analog] Subdevices: 1/1
I've recently switched to Debian Squeeze x64 from Kubuntu 10.04 x64. Overall, I like Debian.
I have one small problem: I play Runescape occasionally, which requires Java. On Kubuntu, I'd use Sun Java, however on Debian it just crashes.
So, I decided to use OpenJDK. Now OpenJDK works fine... But I can't get it to work with ALSA audio output. I installed PulseAudio, and that took care of -that- problem.
Now, currently I have both ALSA and PulseAudio installed. For playback, it works great. PulseAudio is a bit laggy, which isn't too noticeable in Runescape, and for things like media, it seems to work OK. For TF2, which I play through Wine however... No. So, I set that to ALSA, and -that- worked right.
Now comes my main problem: I can't get mic input. I'm trying to use Teamspeak 3(proprietary), and while audio output works, I can't get any input.
TS3 lets me use ALSA or Pulse(along with a couple more), but:
1. Selecting PulseAudio lets me select "SB Audigy Analog Mono", the same thing but a "monitor", and "Default Input Device". None of those work, I get "Error: could not open the selected capture device". On top of that, in the PulseAudio control panel, I get zero level on the monitor, making me think its not setup correctly.
2. Selecting ALSA gives me a whole list of options... But they appear to be audio -outputs-, not capture devices. Also, I get the same error as above.
When running "arecord -l", I get:
Of these, I believe the first one was what worked on Kubuntu. Now, of note is that I'm using my "Line in 2" port for capture; On my previous installations I'd simply set its volume with alsamixer and be done with it.
That all being said, I need a solution to one of these three problems:
1. How can I get OpenJDK to work with ALSA, and thereby remove PulseAudio; get everything standardized with ALSA like I had on Kubuntu, OR
2. How can I remove PulseAudio lag, and get the mic working with that, remove ALSA and get everything standardized with PulseAudio, OR
3. How can I simply make my mic work with the current setup?
Any of those will do. I just need to get my mic working.
At one point, I thought I needed pulseaudio for sound, so I messed around with installing it, even though at the time I had ALSA installed. (suffice to say, I know very little about linux sound). Pulseaudio never did work, I removed it with aptitude. But now ALSA seems to reach to pulseaudio for some reason.
Code:
More confusing is that there are no "alsa" looking processes in ps -A. But apparently, the basics are there
Code:
There's only one thing in init.d that seems relevent to alsa:
Code:
But doing this does not help anything. Does anyone know what to do from here?
And because I'm curious, how come I get sound from Flash Player and Audacity with no problem?
I just got the upgrade for the Linux Kernel version 2.6.40-4 on my Fedora 15 x86-64 box today, and the installation completed with no problems. However when I rebooted after doing the upgrade, I noticed that I had no sound. I use an ATI Radeon HD 4350 video card, and the opensource ATI driver, and use the HDMI audio from it for sound, since my monitor has a sound output jack on it. I've booted into the previous kernel (2.6.38.8-35), and sound works fine. I've tried with the new kernel in both KDE (my default desktop environment) and XFCE to get sound, and it does not work in either one. I've tried installing the VLC Phonon Backend instead of the GStreamer Backend, reinstalling Pulseaudio, reinstalling Alsa, modprobing the necessary modules needed for the card, checking all configurations with the available Pulseaudio tools (paprefs, pavumeter, pavucontrol), checked the volumes using alsamixer, and reinstalling the ALSA Pulseaudio plugin. After trying all of these, I can still get no sound out of any application, and I also noticed that Flash video plays at 2-3 times it's normal speed after the upgrade. Again, these problems do not occur on my previous kernel. Did I maybe overlook something, or can anyone else think of something I could try?
I have an Intel HDA audio card, and would like to record both my soundcard output and my microphone input at the same time. Getting to record my soundcard output (aka "Stereo Mix" or "What-U-Hear") is impossible for my soundcard without using the PulseAudio monitor, so I've set that up. Now I can record either the PulseAudio monitor for my soundcard, or the microphone input, but I don't know how to record both at the same time.
Currently, my .asoundrc looks like this:
Code:
pcm.pulse { type pulse } ctl.pulse {
[code]....
So now I can choose either "pulse" as an input channel in, for example, Audacity or RecordMyDesktop applications (and then set in the PA volume control the actual channel which I want recorded), or choose "pulse_monitor" or "pulse_mic", in order to record either the PA monitor or the microphone, respectively.
I've read through the ALSA plugins reference, as well as the Asym and Dmix pages on ALSA wiki, but I'm still not sure how to put this together. I figured there should be a way either to route the microphone input into the ALSA output, and thus make the PA monitor "hear" what I speak into the microphone, or to make a completely new channel with both ALSA output and microphone input as "slaves", and then use that for recording.
I'm having a problem all the sudden with amixer. set Master 5% used to control the pulse audio master volume. Suddenly, it will only raise and lower the headphone volume. Pulseaudio works, but I no longer have a master volume at all.
I have recently acquired a Lenovo Q150 machine and attempting to use it as a HTPC. I've been reading that with this platform a newer kernel is required to make wireless, sound and a few other tweaks work correctly--so I bumped up to testing repositories to upgrade to the 2.6.38 kernel.[URL]...
The audio on this device has been more than a pain. I'm currently using XBMC to play media on this device and after setting the outputs to custom: plughw:1,9 sound is played correctly. I found this out by using alsamixer, selecting the sound card with the F6 key (Nvidia 1) unmutting all outputs, quiting, and running speaker-test -D plughw:1,X where X is the sub-device from the output of aplay -l until sound could be heard from the receiver.
Now my problem is that applications like mplayer, and iceweasel won't output any sound. I'd prefer not to use the optical out on the device and would like to send sound over HDMI. Has anyone had any luck getting it to work as it should?
I've also installed pulseaudio, not too sure if this is really needed. I've also used module assistant before upgrading to compile alsa from source, it worked but i just decided to upgrade the kernel instead of dealing with m-a every time an update comes through. Linux floppy 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64 GNU/Linux
I have recently been forced to do a hardware upgrade (my previous mobo died). Now, sounds works ok with,amarok because kde has recognized the new hardware and switched to it.
..... does not work, likely because flash uses alsa-oss which is probably not configured automatically. I have tried uninstalling and reinstalling both alsa-oss and flash, but it didn't solve the problem.
I'm trying to update ALSA, following the instructions here: SDB:Alsa-update - openSUSE.I'm not sure how to proceed at STEP THREE. There are two sets of instructions, based on whether or not the kernel has been updated. I'm not sure if it has been. How can I make sure?
I followed these commands to disable pulseaudio in ubuntu 9.10 and now it seems I've broken gnome-volume-control. How can I go about undoing these changes???
after struggling for a couple days with Pulse not working in Natty, I found a solution, and it's easy: Delete the ~/.pulse folder in your home folder. I keep a separate home partition, and apparently some of the old settings conflicted with the new setup.
I'm running xubuntu 11.04 and pulseaudio is giving me some problems with wine and dosbox. I want to romove it and have alsa as default, since it always worked fine for me on this computer
How should I remove it without breaking anything? I've found ways to do it on older releases, but not for 11.04
This tutorial is meant for Ubuntu 9.10 Karmic Koala, but it might work in earlier or later versions as well. I wrote this tutorial mostly because it took me a full day of work using lots of help from people on #mpd and #pulseaudio from the FreeNode IRC server.The goal is to get the MPD daemon working using PulseAudio, but without it being dependent on the X server or a session. To do that we must configure PulseAudio to run in system-wide daemon mode (which is not recommended by the developers, but in this case we do not have a choice). This means it will be using the /etc/pulse/system.pa config file instead of the usual /etc/pulse/default.pa. We must also make sure the appropriate user/group permissions are set, or PulseAudio will be rejecting the connections.The result will be an interrupt-less music environment, not dependent on the X server. Meaning we can for example log out and log in without the music having to stop for even a second. Switching TTYs (Ctrl+Alt+Fx) will also keep the music playing (not possible by default). All that and PulseAudio will still be able to detect and configure all your devices automatically.
Instructions: Make sure you add your username to the following system groups: pulse, pulse-access and audio.Do that by going to System --> Administration --> Users and Groups.Click the unlock button (the one with a picture of some keys), then click Manage Groups. In the list of groups that pops up, for each of the previously mentioned groups click "Properties" and select all the users that you want to have this functionality.
AlsaMixer by default selects "Mic" as the microphone input for my Toshiba Satellite T115D-S1125 see pic below:
[IMG][/IMG]
I need to select "Mic 1" but as soon as I do the mic is muted in Sound Preferences see below:
[IMG][/IMG]
For a brief moment I can see activity from the input level display and then nothing...I have tried removing PulseAudio and that has worked but I prefer to correct this with PulseAudio installed as it seems to be a simple fix...
I would really like to get digital (5.1) surround in Ubuntu 10.04 with pulseaudio. However, when I go to the preferences->sound->hardware setting, I can only select analog surround outputs. The only digital outputs shown are stereo.
After i tried a lot of mpd.conf tricks, I followed the tips on [url], namely, adding the mpd user to groups pulse and pulse-access. Now, which makes me really happy, MPD can have audio output. Downside: no other program can make sound, I can't make my beats again with lmms etc. The volume icon in the top right is always on mute, when i click preferences, the hardware tab didn't even show a device. Now it does, but nothing comes out except mpd out - and pressing the volume keys will display a notification but the main icon in the bar stays on "---" mute. Can i make mpd just an application on the pulseaudio outputs list, so that it can play nicely with the other guys?
I am using 8.04, Pulseaudio, Microsoft Lifechat USB headset and Skype on a Compaq 210. Pulse works fine for everything else. One day, it just stopped working for no apparent reason (only on the Skype mic) so I uninstalled and went back to ALSA (for a few reasons) but couldn't get that working either so now back to square one. When I boot Skype, all goes well, can place a test call, no errors. But on playback of the message it's pure fuzz, basically white noise, no sign of my voice. I've twiddled with just about every volume control and toggle I can find and then some, but nothing. Another interesting thing; Pulse is now NOT working unless I input 'pulseaudio -D' in a terminal after boot. Then it seems to be okay, 'cept the mic.
Strange as the mic works perfectly and crystal clear in Sound Recorder. No probs. So:
1/ How do I replace the recorded white noise in a Skype test call with my own mellifluous tones and;
2/ Where do I put 'pulseaudio -D' (what file) so it will be read and turn pulse on at boot?
Using Skype 2.1.0.47 (I know there is a newer version, .87 I think, but that was even more problematic). Another strange thing; the newer version (.87?) worked flawlessly for months before the mic just one day died (ONLY in Skype). As explained on my last thread; wife's uni/entertainment machine and me being the house computer dude, one of the reasons we use Linux is so I am not fixing Windows problems constantly. I only go near this machine when something goes pear-shaped so that is rarely. My wife doesn't tweak with her computer AT ALL.
Sound issues on this machine have been pretty much constant and I am really sick of it. I have two desktops running ALSA and Skype flawlessly with any USB headset AND they can ring incoming calls through the external speakers and you can take the call through the headset, something that is seemingly impossible for some reason in Pulse. Despite its bells and whistles, this is a serious oversight by Pulse developers in my opinion. (Unless I'm missing something and I've have searched for hours trying to fix THAT little mystery).
I seem to be having a problem with my sound. Every time I start my computer, I hear the sound played at the login screen and the sound played when I login. Right then, every time, the sound cracks up and stops before it finishes. Running "ubuntu-bug audio" shows that ALSA works fine but pulseaudio does not. For reference, "pacmd list" says that there are 0 sinks, 0 sources and 0 caches.
Edit: Solved by a really stupid mistake: loose 3.5mm audio cable. Don't do that. your sound and you're on a desktop computer, go, right now, and check to make sure that you haven't made the same mistake as me.
I'm working on a server who's job is to record audio on a scheduled basis. I'm trying to get this working under Ubuntu Server 10.10 and am having difficulty with pulseaudio.
I've added the user account to groups audio and pulse* and have installed the pulseaudio and associated library packages.
Here's the problem:
If I have a user session logged in, everything works just fine but when I start my program from rc.local (su'ed to a regular user, not root), pulseaudio doesn't start correctly.
My startup script attempts to start pulseaudio with: /usr/bin/pulseaudio --start --log-level=3
but syslog shows this: pulseaudio[1045]: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.Spawn.ExecFailed: /bin/dbus-launch terminated abnormally without any error message
/bin/dbus-launch does not exist on this system, but dbus is there and running.
I run ps ax > /tmp/psout from the startup script and dbus appears to be running before I log into the user account: grep dbus /tmp/psout 551 ? Ss 0:00 dbus-daemon --system --fork
My system works just fine if I leave a user logged in, but it doesn't work after a reboot with no user logged in.
Jan 3 23:52:38 Sai kernel: [ 3914.806177] __ratelimit: 3 callbacks suppressed Jan 3 23:52:38 Sai kernel: [ 3914.806183] compiz.real[1908]: segfault at 11 ip 08055c2d sp bfccbb70 error 4 in compiz.real[8048000+34000] Jan 3 23:52:38 Sai kernel: [ 3914.866575] operapluginwrap[2169]: segfault at b66a5030 ip 003cbd1d sp bff5e5d4 error 4 in libpthread-2.10.1.so[3c4000+15000]
[Code]....
It seems starting up gives a ton of errors I can't really isolate. The above boot errors are in no order. I just pasted them all together.
What happens is randomly when Im browsing through videos on ....., it crashes back to the login screen. Im guessing this has something to do with Opera's plugin/Sound/Pulse Audio.
Using the Pulse Audio manager does anyone know if it is possible to specify a particular sink or source to be used by a named program? I am assuming it will not be the same as the default.