Ubuntu Multimedia :: Cannot Run Jack And PulseAudio Simultaneously
Jan 10, 2011
I'm on Ubuntu 10.04 64bit, and I've got JACK and Pulseaudio both installed, though I don't run them simultaneously. I also have LinuxSampler and Rosegarden, and I have the necessary ALSA drivers. Pulseaudio can output to my external sound card, but JACK doesn't, even if I tell it to. I've seen its full name (Guitar Rig Mobile IO) and chosen it as the output device under Settings, but to no avail. It still sends the output to the internal (and crappy) sound card.
1) Many of us use JACK for low-latency audio work, but it's annoying to have to turn it on or off to have to allow regular Ubuntu applications to work. It's even more annoying that both can't normally work together -- either JACK or PulseAudio must take control of the sound control. This method allow JACK to do, and PulseAudio just routes to JACK.
2) JACK is kinda super awesome. By routing PulseAudio through it, your regular Ubuntu sound application suddenly get super powers. Pretty easy to do! (Well, we count our blessings in Linux...)
1. DYNAMICALLY You need the PulseAudio utilities and JACK sink:
Code: sudo aptitude install pulseaudio-utils pulseaudio-module-jack And then run this to get PulseAudio connected to JACK: Code:pactl load-module module-jack-sink pactl load-module module-jack-source Now, go to Ubuntu's sound preferences, and you'll see "Jack sink" in the output tab. If you use JACK Control, you can create a script for the above and have it set up in "Execute script after Startup". Then, PulseAudio will automatically load the JACK sink when you start JACK.
2. BY DEFAULT Edit /etc/pulse/default.pa, and add these lines:
Code:load-module module-jack-source load-module module-jack-sink You can test it without rebooting by restarting PulseAudio. In Ubuntu, PulseAudio is started in the user session, not as a system daemon. To restart it:
I'm using an Acer Aspire 5536g and Ubuntu 10.10 x64. I can't get any sound from my mic with PulseAudio installed and the headphone jack sense function doesn't work either - when I plug my headphones I get sound from both them and my built-in speakers. I don't have any problems with PulseAudio removed.
Is it possible to output one playback stream to multiple devices simultaneously with the current PulseAudio / Phonon setup? The PulseAudio mixer only has radio buttons to choose one device per playback stream. I believe the hardware is capable of this, since I remember doing that before we had PulseAudio. How can I duplicate an audio stream?
Here's one application scenario: I am travelling with my family, all crammed in small hotel room. My wife and me want to watch a movie on my laptop without waking up our kids. I just happen to have one analogue headphone available and one wireless USB headset with me. (Of course, the low tech solution is to bring an 3,5mm Y-cable to attach two analogue headsets, but I would really love to use the USB headset together with the analogue one.)
Another similar thing that bugs me is that my laptop's built-in speakers now always seem dead when an analogue headphone is plugged in. This is mostly what one wants, and before PulseAudio, one had to manually switch them off which was generally annoying. However, the downside is for example with notifications.
For example, before PulseAudio, I could configure Skype to always ring over the laptop's built-in speakers, regardless of whether the analogue headphones were plugged in. This is no longer possible, since PulseAudio does not distinguish between built-in speakers and built-in analogue port any more, while old Alsa did. So in my office, where some analogue headphones are plugged into the docking station, I never hear Skype ringing if I don't wear the headphones.
How can I get Firefox (and other pulseaudio-using programs) to play while I have jack running? Is there a way to make pulseaudio run through jack? I'm running ubuntu and puredyne distros.
I've got an Acer Aspire 5101 with Natty on it and everything works so far, but I can't start Muse. It says: "Muse failed to find a jack audio server". At the bottom it also says: "...if Jack was started check if it was started as the same user as Muse". This might be the issue. But how can I check this? BTW: Jackd has been installed and I am a Member of the Audio Group.
I am new to Ubuntu and don't know how to fix this. I got this Notebook for free, because my Brother wanted to dispose it as it didn't worked properly after he reinstalled xp. Only the dvd-drive is broken, the rest is in really good condition for such an old thing. After a lot of trial and error I could finally install Natty from USB.
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 ?
I recently purchased a set of three professional mics and converters for them (they are XLR mics, so i bought three icicles to convert into the USB port)The computer sees all three microphones, but I can figure out how to be able to record on all three at the same time.Is this at all possible, or did I just waste a ton of money on converters?EDIT: I would like to add that these mics are identical, and I'm wondering if nothing else if it's possible to merge the two mount points so that it appears as one micEDIT AGAIN: I have also just installed Pulse Audio Volume Control, and it picks up both mics. How can i tell audacity to use this?
my internal sound card is used for videos and normal movie watching. second sound card m-audio connected to amplifier and speaker which is in living room. most of the time i need to use these sound card simultaneously. i want second sound card to be used with banshee or rhythom box to listen audio and keep the internal sound card for any other default audio usage
cant get both the Jamendo and Magnatune song libraries to load in Rythmbox. It loads one or the other (whichever I click on first) and then gets about 1/4 through on the one that I didnt load first. It then stays stuck at 1/4 until I restart Rythmbox. I have alternated loading both mutliples times, and still no luck.
I have a 24inch monitor and a LCD TV both connected to my graphic card, by HDMI for the TV and DVI for the monitor. Here's my problem: I would like GDM and Boxee to start simultaneously when I start my computer, Boxee displayed on my TV and GDM on my monitor. I made some research and I unfortunately did not found anything about starting a graphical software and GDM in parrallel (two separated DISPLAY). I have no particular attachment to GDM so if you think it would be easier to use the classic login prompt or another Display-Manager do not hesitate, The crux is to have an authentification system before accessing to Gnome and an detached Boxee running on my TV.
I just installed 10.10 and I'm having an issue where sound outputs from the headphones and my speakers simultaneously, and the volume control controls both outputs rather than one of them individually.This has been asked about before at this thread, but none of the solutions I've tried from there have worked. I tried installing linuxant, but it just killed my sound altogether despite uninstalling it afterward. I tried updating the Linux audio modules as per this page but to no avail.I'm running Ubuntu 10.10 (64-bit) on my own custom built desktop, which for what it's worth, contains this motherboard.
I have an onboard Realtek HD soundcard which I have 2 2.1 sound systems hooked into. The rear two speakers play audio simultaneously i.e running the terminal sound test "front left" and "front right" come out of both the rear speakers at the same time. I am running Ubuntu Natty Narwhal 11.04 with all of the latest updates. May be unrelated, but also there seems to be a very large amount of lag when playing system sounds. Takes a few seconds after the event has occurred for the associated sound to play.
For starters; although I am comfortable with Ubuntu, I don't really understand these midi and jack things,Ok,so I got a midi controller keyboard which I want to connect to my ubuntu pc to start making some music (play piano and possibly try to make some songs). I don't know if my sound card supports midi, but I got a Roland midi-to-usb converter. I connected it to my pc and downloaded Jack Control. When I fire up Jack control my normal music (using audacious) stops (don't know if this is normal). On the window that appears I hit start which results in an error, which I will paste below:
Sun VBox host - Debian 5.0 VM - Ubuntu 10.04 (lucid) gnome desktop rdesktop
Running rdesktop to connect the VM on the host connection can be established with VM desktop displayed on the host desktop. But there are 2 mouse pointers on VM desktop. It is difficult to control. One mouse pointer does not work but hanging there. 2 pointers moves simultaneously.
I have an ESI Gigaport HD USB external soundcard which I'd like to use via Jack with my Thinkpad T40 running Ubuntu 9.04.This is the card, it has no inputs and 8 x outputs:
[URL]
The card is autodetected on plug in. I can see the 8 x outputs in the Jack connection window but I can't run any sound to it. Anything I connect to it on any of the 8 channels is silent.
I had Ubuntu 10.4 installed and JACK was working excellent. I noticed that gnome was a little more than what I needed so I installed the xubuntu-desktop package. After that install JACK no longer works... I run the command jackd -d alsa and I get a bus error. I did a new install from an xubuntu iso and same error.
Same as above. I've fiddled around, but I can't get Rosebud to work. I have Qsynth, ZynAddSubFX Synth, JACK control, and Rosebud but I can't get any of it to work
Can't get jack to work. Installed from synaptic (running ubuntu 10.10, 64bit).
WHen ckicking "start" in qjackctl (jack control) I keep getting this message:
19:27:58.615 Patchbay deactivated. 19:27:58.616 Statistics reset. Cannot connect to server socket err = No such file or directory Cannot connect to server socket jack server is not running or cannot be started
I have just tried XFCE4. Everything is cool except that when i select, let's say, 5 files on Desktop i can't move them simultaneously. I can move just one file. Is this normal behavior of XFCE?
Upgraded from v11 to 11.3Now when I'm using my voip application and open a ..... video the sound from both applications mixes. It seems also that I have less kmix control.
I just realize that when I plug in my headphones in my laptop, the sound in the laptop's speakers continues to play and I have no sound on the headphones. This is the output of the 'sudo lshw -C sound' on my system:
I can not get sound to exit from my headphone jack, whenever I plug it in, no sounds come out. Notebook model is Acer 3820TG. By the way, I've tried adding the line for HDA Intel with udo gedit /etc/modprobe.d/alsa-base.conf
JACK will not run ( eg. the server just won't go! ) When running Rosegarden I can not access the Qsynth/Fluidsynth.In the Rosegarden "manage MIDI devices" menu it now shows ONLY one "General Midi Device" -thats all, and I do not know where to/how to get access to qsynth/fluidsynth to use soundfontsIn manage midi devices I ONLY get the option of "general midi"and then its only through "14:0 Midi through port 0 (duplex)" and no other channels are available or offered!If I import one of the devices that come with rosegarden ( like Aleisis ) there is no sound.
Also if anyone knows: (& if I can fix the above) how do I set Rosegarden to use a software synth like ZynAddSubFX on the track/channel? External softsynths do not show up, so how do I assign the channel to use them>
Ps: Rosegarden did not install with the help files, even a complete removal and reinstall does not fix this- hats why I may be asking questions which could possibly be in the Rosegarden manual ( but NOT anywhere online that I've found in 3 days of searching- and I'm a research assistant for cognitive sciences- eg: good at researching! )
Here's the JACK output:
First the error:
COULD NOT CONNECT TO JACK SERVER AS CLIENT -Overall operation failed -Unable to connect to server
Jack runs, but I can't get sound to play through it. Another thing that happens is when I launch jack, all audio in the system, whether its connected to jack or not, goes off. There are no errors or anything in the messages window. And I checked to see if it was connected to the correct interface. I have a mac mini and I run ppc lucid lynx. The system does detect my hardware, and its not muted. All I want to do is use MusE. Is there maybe anyway to run MusE without jack?
I finally ditched PulseAudio and set up my system with a realtime kernel. I'm redirecting ALSA over JACK. The good: - Awesome, I can get <5ms latency without any xruns! (although 23.2 msec as described below is just fine for me) The bad: - I'm a long-time linux audio user, but have got some minor issues which spoil the fun.
1. Without pulseaudio, the indicator applet refuses to show a volume control applet. The old gnome-volume-control-applet (the one with tooltip!) loads but doesn't show in the gnome-panel. Although I can set the volume with envy24control, it's not quite as practical as using the scrollwheel! Any way to fix this?
2. When I launching any application (such as a terminal) from the gnome-panel, a new JACK connection is created, but not cleaned up after closing the application. As a result, the QJackCtl connection list is flooded with alsa-jack.jackP.8528.xx connections (where 8528 is the process ID of gnome-panel). The jack_lsp command line program shows the same (added spaces after every : to get around the smiley filter):
I am trying to set my computer up to do sound sequencing. I want to plug my MIDI keyboard in and record with a sequencer. Running 10.04, was following a tutorial on installing JACK, and my audio stopped working. Since then, I've gone through all guides I can find, some advising an upgrade of ALSA, some saying to use OCC. I've tried both, but nothing seems to work.
I suspect it may have something to do with libjack0. I could not install jackd because it claimed libjack0 to be the wrong version, and for some reason I couldn't upgrade. So I uninstalled libjack0, then installed jackd, which automatically included the version of libjack0 it wanted. After that, I could get the JACK server running, but the computer had no sound.
I will post whatever logs or information necessary to troubleshoot, but I don't know exactly how or what to post. If you need logs, please tell me how to get them.
I have everything installed and Jack working fine. I'm in the user group and have realtime enabled and running. My problem is that I can't get my input (the guitar) through rakarrack and out. This is how it is set up: Guitar is plugged in directly through the Input jack on the sound card (I have tried with the front input, rear, front mic, and rear mic inputs)
I have kde mixer set to allow pass-through of the sound from the input source (I can hear the guitar in my speakers, un-amplified directly from the source). The problem is that I cant get this source into rakarrack with jack to save my life. I have tried all sorts of combinations both physically with the audio jacks and in jack audio. Is that Jack isn't detecting the right input source with alsa or something?