[02:29] <Azelphur> Hi, I'm trying to follow the instructions on this page https://help.ubuntu.com/community/HowToJACKConfiguration I installed the ubuntustudio-audio package and am now trying to run qjackctl, but it just freezes on startup. :(
[02:29] <holstein> Azelphur: i would either check for JACK running, or kill it, or reboot if you are not sure
[02:30] <Azelphur> holstein: apparently I have jackdbus running, and I only just rebooted after installing that package :p
[02:30] <holstein> Azelphur: i would open a terminal and type gksudo qjackctl
[02:30] <holstein> when you can get jack runing stable as root, then you can move on to "as normal user"
[02:30] <Azelphur> woo that got it to start
[02:30] <holstein> maybe you need to add your user to the audio group
[02:31] <holstein> then, start somehting like xynadd or yoshimi and try making a noise
[02:31] <holstein> i'll be back in a second
[02:32] <Azelphur> jack won't start because it says pulseaudio and jackdbus have control over my playback device. :(
[02:32] <Azelphur> I heard someone say you could configure pulseaudio to run via jack, essentially a "everything just works" setup \o/
[02:33] <holstein> Azelphur: i dont use pulse and JACK
[02:34] <Azelphur> I really need both, being able to play some music is fun but not being able to answer the phone kinda essential :P
[02:37] <holstein> Azelphur: you can
[02:37] <ailo> Azelphur: That guide is a bit old
[02:37] <holstein> i just dont
[02:37] <holstein> Azelphur: i would getJACK running stable first
[02:37] <Azelphur> ok do you have any better documentation I could follow?
[02:38] <Azelphur> I imagine I need to stop pulseaudio from starting, because it auto restarts itself usually
[02:38] <ailo> Azelphur: Make sure you killed jack, and pulseaudio before proceeding. "killall -9 jackdbus" "killall pulseaudio" (pulseaudio will respawn
[02:38] <ailo> Azelphur: No need
[02:38] <Azelphur> ok
[02:38] <Azelphur> done that
[02:39] <ailo> Azelphur: Just make sure no applications are using PA, like a browser
[02:39] <ailo> Azelphur: If you haven't set up realtime privilege, you won't be able to start jack in realtime mode
[02:40] <ailo> Azelphur: Not on Ubuntu Studio?
[02:40] <Azelphur> I believe I did that, when I installed the ubuntustudio-audio package it asked me if I wanted realtime and I said yes, I then added myself to the audio group
[02:40] <Azelphur> on Xubuntu 12.04
[02:40] <ailo> Azelphur: On Debian, that would be enough, cause the user is already member of audio group, but not on Ubuntu
[02:40] <ailo> The package is imported directly from Debian
[02:41] <Azelphur> I added myself to the audio group though :P
[02:41] <ailo> Azelphur: Did you logout, and login?
[02:41] <Azelphur> yup
[02:41] <ailo> Ok, so then you should be fine
[02:41] <ailo> Try starting jack again
[02:42] <ailo> Azelphur: No luck?
[02:43] <Azelphur> nope, takes a long time to check as it hangs
[02:43] <ailo> Azelphur: Kill jackdbus again with "killall -9 jackdbus"
[02:43] <Azelphur> https://dl.dropbox.com/u/3832397/screenshots/2012/August/2012-09-05-034320_858x677_scrot.png
[02:44] <Azelphur> done
[02:44] <ailo> Azelphur: In a terminal, do: pasuspend -- jackd -d alsa
[02:45] <ailo> Azelphur: Sorry: pasuspender -- jackd -d alsa
[02:45] <Azelphur> I don't appear to have pasuspend
[02:45] <Azelphur> ah :P
[02:45] <Azelphur> it looks like that worked
[02:45] <ailo> Azelphur: Ok, so jackdbus is not getting a hold of your card, because of PA
[02:45] <Azelphur> fun
[02:46] <ailo> Azelphur: There are two ways to get around that. If you never want PA running alongside jack, use "pasuspender --" before opening whatever jack control program you use, like qjackctl
[02:46] <ailo> If you want to make your own starter, use alacarte
[02:47] <ailo> You can start it from the terminal
[02:47] <ailo> If you instead want PA to connect to jack, install pulseaudio-module-jack
[02:47] <Azelphur> Option B sounds like the one for me, *installs*
[02:47] <ailo> And make sure to restart pulseaudio, before trying that
[02:47] <Azelphur> apparently I already have that package
[02:48] <ailo> ok..
[02:49] <Azelphur> so what do I do to make pulseaudio connect to jack?
[02:50] <ailo> Azelphur: When starting jackdbus (which is how qjackctl is set up by default), PA will create sinks for jack automatically
[02:50] <ailo> It's important that PA is not using the card for anything, when you start jack
[02:50] <ailo> Azelphur: I'd start a new session, and try again
[02:50] <Azelphur> ok
[02:50] <ailo> This is Ubuntu 12.04, right?
[02:50] <Azelphur> I'll jump on IRC on my tablet, my irc client makes sounds :p
[02:50] <ailo> Or, Xubuntu, as you said
[02:50] <Azelphur> Xubuntu 12.04, yes
[02:51] <ailo> That could be the problem
[02:51] <Azelphur> The xubuntu or the Irc client?
[02:52] <ailo> The irc client
[02:52] <Azelphur> Doing a full reboot on my PC too just to be sure
[02:52] <Azelphur> :)
[02:57] <Azelphur> Ailo fresh boot, it still doesn't start
[03:00] <Azelphur> Doesn't work as root either :(
[03:01] <ailo> Azelphur: I don't think using root is helpful at this moment
[03:02] <ailo> It's mostly helpful to determine whether you have realtime privilege
[03:02] <Azelphur> Ok
[03:02] <ailo> Azelphur: Since you were able to start jackd with pasuspender, that means PA is in the way when you're starting normally
[03:03] <Azelphur> Makes sense
[03:03] <ailo> Azelphur: From the error log, I see that it is in fact jackdbus you are starting, which is what we want
[03:03] <Azelphur> Perhaps some application that starts at boot is connecting to pulse audio?
[03:03] <ailo> Azelphur: Default settings on qjackctl should just work
[03:03] <ailo> Azelphur: Have you added any custom auto start apps?
[03:04] <Azelphur> Not that I know pf
[03:04] <Azelphur> Of*
[03:04] <ailo> It's a bit mysterious then
[03:05] <ailo> Azelphur: One way to test your machine would be to make a live media of Ubuntu Studio, and try it. Everything is set up, so all you need to do is boot the live session and try starting jack
[03:05] <Azelphur> I started up pavucontrol and in the playback tab where it lists connected applications it lists "system sounds"
[03:05] <ailo> Yeah?
[03:05] <ailo> That should only be connected when you're actually using system sounds
[03:06] <Azelphur> It is in the list at all times
[03:06] <ailo> I mean, everytime there's a system sound, it connects only for that time
[03:06] <ailo> Azelphur: The would explain it though
[03:06] <Azelphur> Indeed
[03:07] <Azelphur> Any idea what service does that? I could kill it
[03:07] <len-dt> And it doesn't block things if it is going thrugh pulse.
[03:07] <ailo> len-dt: As long as pulse is being used for something, jackdbus won't start
[03:07] <Azelphur> I'm also downloading Ubuntu studio
[03:07] <ailo> len-dt: Meaning, if any app is connected to PA, jackdbus won't be able to grab that device
[03:08] <len-dt> Your experience and mine are different then
[03:08] <ailo> len-dt: It's different if you're starting jackdbus with another debice
[03:08] <ailo> device*
[03:09] <Azelphur> I'm also using a USB headset if that effects anything *shrug*
[03:09] <len-dt> I have had audacious playing an MP3 on the d66 and start jackdbus with qjackctl and the sound from pulse stops and jack starts
[03:09] <ailo> Azelphur: Oh, I forgot to ask you which device you were trying to start jack with
[03:09] <Azelphur> No idea, I just started qjackctl then hit start
[03:10] <ailo> Azelphur: You need to choose the right device in Qjackctl -> Setup -> Interface
[03:10] <len-dt> internal sound then
[03:11] <ailo> len-dt: Could be this works a bit differently between releases. PA does not let go of the device for me at this moment, anyway.
[03:11] <ailo> Also using M66
[03:12] <Azelphur> Interface options are: (default), hw:0, plughw:0, /dev/audio, /dev/dsp
[03:12] <Azelphur> What should I set it to?
[03:12] <ailo> Azelphur: That's not the right menu. Use the arrow next to it, pointing left
[03:13] <Azelphur> Ah, setting it to hw:5 Logitech G930 headset
[03:14] <Azelphur> It started!
[03:14] <Azelphur> Yay :D
[03:14] <ailo> Azelphur: What was hw:1 set to?
[03:14] <ailo> I mean, hw:0?
[03:14] <Azelphur> HDA Intel
[03:14] <ailo> Strange. That's your internal card
[03:14] <ailo> Should work
[03:15] <Azelphur> I have HDA NVidia too
[03:15] <ailo> Anyway, sounds like you are on top of it now
[03:15] <ailo> Azelphur: That's your hdmi out
[03:15] <Azelphur> Also hw:0,0 is ACL892 Analogue
[03:15] <Azelphur> OK, yep progress :)
[03:16] <ailo> Azelphur: https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro/1204
[03:16] <ailo> Just a bit of info on the sound systems
[03:17] <Azelphur> Seems like audio isn't working now, at least the pulse side isnt
[03:17] <ailo> Azelphur: Open the PA mixer
[03:17] <ailo> Azelphur: Oh, and check Qjackctl -> Connect
[03:17] <ailo> You should see PA there
[03:18] <ailo> You still need to set PA to use jack as output, if you want it to send audio to jack
[03:18] <Azelphur> Yep I see pa in there
[03:18] <Azelphur> Ah, how do I do that?
[03:19] <ailo> Azelphur: In the PA mixer
[03:19] <ailo> After starting jack, jack will appear as an output device for PA
[03:19] <Azelphur> Oh that was easy
[03:20] <Azelphur> Yep got sound via pa through the jack sink :D
[03:21] <ailo> Azelphur: using PA with jack will reduce the ability to get stable performance at really low latencies. Something I would believe is hard to get anyway with certain devices
[03:21] <ailo> Azelphur: That's mostly important only if you're planning on playing live on soft instruments
[03:21] <Azelphur> You mean if I use an app that goes pa > jack
[03:22] <Azelphur> Or even if the app connects direct to jack
[03:22] <ailo> Azelphur: It's really pulseaudio-module-jack that does that, and using jackdbus
[03:22] <ailo> The sinks are always created, even if you don't use them
[03:23] <Azelphur> I use a midi piano
[03:24] <Azelphur> Up until now I've been suffering with pulse audio latency haha
[03:24] <ailo> Azelphur: To get lower latency, set Qjackctl -> Setup -> frames/period lower
[03:24] <Azelphur> Hopefully this will be an improvement
[03:24] <ailo> Azelphur: You can get latencies as low as 1ms on some systems
[03:25] <ailo> I prefer 64, but 128 is often enough
[03:25] <Azelphur> That's better than pa by far, the longer pa runs the more latency creeps in, I've had it up at 100+ms haha
[03:26] <ailo> 64 frames/period that is. The latency should be well under 10ms
[03:26] <Azelphur> What's the downside to setting it lower, more CPU usage?
[03:26] <holstein> breakage.. crashing... clicks.. pops
[03:26] <ailo> Azelphur: The lower you set it, the less CPU cycles jack will had to deliver the audio to and from your device
[03:26] <Azelphur> Ah
[03:28] <ailo> Azelphur: You could try something simple, like Hexter
[03:28] <ailo> Azelphur: Make the midi connections in Qjackctl -> Connect -> Alsa
[03:28] <Azelphur> I'm testing with lmms and my USB midi piano
[03:28] <ailo> Does lmms use jack?
[03:29] <Azelphur> Yes
[03:29] <holstein> how is lmms now Azelphur ?
[03:30] <Azelphur> Yay, low latency works now
[03:30] <Azelphur> It seems pretty cool
[03:35] <Azelphur> Gay, hate when that happebs
[03:35] <Azelphur> Happens*
[03:36] <Azelphur> 64 seems a bit choppy sound wise, what makes you able to set 64 and me now?
[03:36] <Azelphur> Not*
[03:37] <ailo> Azelphur: Could be that your headphones won't work well at lower latencies
[03:37] <Azelphur> Ah probably not considering they are wireless :p
[03:37] <ailo> That shouldn't be a factor
[03:38] <ailo> The internal card should work fairly well with that
[03:39] <Azelphur> Guess I would need pro audio headphones to go lower, the set i am using is meant for gaming
[03:40] <ailo> Ah, right
[03:40] <ailo> He has probably not installed linux-lowlatency
[03:40] <ailo> Azelphur: Did you install linux-lowlatency?
[03:40] <Azelphur> nope
[03:41] <ailo> Azelphur: That will change the latency situation
[03:41] <ailo> It's the default Ubuntu Studio kernel
[03:41] <Azelphur> awesome, we've already made significant improvements latency wise...my piano is actually usable :D
[03:41] <Azelphur> I will try that package too
[03:42] <ailo> Azelphur: It's basically exactly the same as the generic kernel, but hasn't been updated for a while.
[03:42] <ailo> If you don't need linux-generic, I would just uninstall it after making sure linux-lowlatency booted fine
[03:43] <ailo> All though, you'd need to uninstall each kernel image separately
[03:43] <Azelphur> righto :)
[03:43] <Azelphur> there's a janitor thing that can do that iirc
[03:45] <Azelphur> ty for your help anyway, I shall be sure to have lots of fun :D
[08:29] <smartboyhw> !dev
[08:29] <smartboyhw> !devel
[08:30] <smartboyhw> !contribute
[11:00] <radar_> hiya, i'm migrating from an ASIO world and wondering if I need wineasio to route something between reaper,fm and jack
[13:57] <holstein> radar_: there is nothing in ubuntustudio preventing *any* software from being written for it
[13:57] <holstein> JACK is the routing tool
[13:58] <holstein> if the applications you are running are written for JACK, then it will be as easy as connecting a line to connect any application, or physical input or output on your hardware to anything else
[14:04] <radar_> if routing to/from an app running with wine should I need wineasio or wine default driver is fast enough ?
[14:05] <holstein> radar_: i havent used wine with JACK
[14:05] <holstein> radar_: i use and have good luck with native apps
[14:06] <holstein> radar_: if these are windows native applications, i would suggest looking at KXstudio.. its built on ubuntustudio and i know that dev and team have made some windows apps work well
[14:06] <holstein> radar_: you can also ask in #opensourcemusicians ..lots of smart folk over there that might be doing what you are trying to do
[14:07] <radar_> thks for the useful tips
[14:08] <radar_> i want to use Reaper (wich runs on wine ... ) the way to join ninjam server and stream
[14:08] <radar_> will see ;)
[14:08] <radar_> still thanks gtg now
[15:55] <billc> i have a belkin home base control center can u tell me how to connect to ubuntu
[15:55] <billc> connect to ubuntu
[15:56] <len-dt> billc, what is a " belkin home base control center"? A midi device?
[15:57] <billc> it makes printers appear to b wireless
[15:57] <billc> it connects usb to eithernet
[15:57] <billc> eithernet
[15:57] <billc> eithernet whew
[15:59] <billc> found supposedly ubuntu drivers but can't install
[15:59] <billc> cant install
[15:59] <ailo> billc: This is more of a ubuntu question. I would just google it though
[16:00] <billc> all is not printing on screen
[16:00] <billc> screen
[16:00] <billc> u saying xubuntu help
[16:01] <len-dt> no #ubuntu
[16:01] <len-dt> xubuntu and ubuntustudio are built on ubuntu
[16:02] <len-dt> what you are asking about is part of the base ubuntu packages ubuntustudio is built on.
[16:02] <billc> k
[16:03] <len-dt> the #ubuntu channel has a whole lot more knowledge base than the few people here
[16:03] <billc> understand
[16:03] <billc> where?
[16:04] <ailo> billc: Same network. The channel is called #ubuntu
[16:05] <billc> ty
[19:55] <cbx33> hey all
[19:55] <cbx33> long time no see peeps
[19:56] <cbx33> do we have an RT kernel anymore?
[20:46] <len-dt> cbx33, low latency kernel.
[20:46] <cbx33> how do i install that?
[20:46] <len-dt> performance is very good. better than generic for sure
[20:47] <len-dt> What are you running for a distro?
[20:48] <cbx33> ubuntu 12.04
[20:49] <len-dt> there is a package called linux-lowlatency
[20:49] <cbx33> ok ty
[20:49] <len-dt> No problem.
[20:50] <cbx33> what's the diff between PAE and non PAE
[20:52] <len-dt> PAE allows the kernel to use more memory if it is 32bit. 64bit doesn't need that
[20:53] <len-dt> so the pae is 32bit and the non should be 64bit
[20:54] <cbx33> ahh ok
[20:55] <cbx33> ty
[20:55] <cbx33> installing
[20:55]  * len-dt has kids to pick up from school