/srv/irclogs.ubuntu.com/2012/09/05/#ubuntustudio.txt

AzelphurHi, 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
holsteinAzelphur: i would either check for JACK running, or kill it, or reboot if you are not sure02:29
Azelphurholstein: apparently I have jackdbus running, and I only just rebooted after installing that package :p02:30
holsteinAzelphur: i would open a terminal and type gksudo qjackctl02:30
holsteinwhen you can get jack runing stable as root, then you can move on to "as normal user"02:30
Azelphurwoo that got it to start02:30
holsteinmaybe you need to add your user to the audio group02:30
holsteinthen, start somehting like xynadd or yoshimi and try making a noise02:31
holsteini'll be back in a second02:31
Azelphurjack won't start because it says pulseaudio and jackdbus have control over my playback device. :(02:32
AzelphurI heard someone say you could configure pulseaudio to run via jack, essentially a "everything just works" setup \o/02:32
holsteinAzelphur: i dont use pulse and JACK02:33
AzelphurI really need both, being able to play some music is fun but not being able to answer the phone kinda essential :P02:34
holsteinAzelphur: you can02:37
ailoAzelphur: That guide is a bit old02:37
holsteini just dont02:37
holsteinAzelphur: i would getJACK running stable first02:37
Azelphurok do you have any better documentation I could follow?02:37
AzelphurI imagine I need to stop pulseaudio from starting, because it auto restarts itself usually02:38
ailoAzelphur: Make sure you killed jack, and pulseaudio before proceeding. "killall -9 jackdbus" "killall pulseaudio" (pulseaudio will respawn02:38
ailoAzelphur: No need02:38
Azelphurok02:38
Azelphurdone that02:38
ailoAzelphur: Just make sure no applications are using PA, like a browser02:39
ailoAzelphur: If you haven't set up realtime privilege, you won't be able to start jack in realtime mode02:39
ailoAzelphur: Not on Ubuntu Studio?02:40
AzelphurI 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 group02:40
Azelphuron Xubuntu 12.0402:40
ailoAzelphur: On Debian, that would be enough, cause the user is already member of audio group, but not on Ubuntu02:40
ailoThe package is imported directly from Debian02:40
AzelphurI added myself to the audio group though :P02:41
ailoAzelphur: Did you logout, and login?02:41
Azelphuryup02:41
ailoOk, so then you should be fine02:41
ailoTry starting jack again02:41
ailoAzelphur: No luck?02:42
Azelphurnope, takes a long time to check as it hangs02:43
ailoAzelphur: Kill jackdbus again with "killall -9 jackdbus"02:43
Azelphurhttps://dl.dropbox.com/u/3832397/screenshots/2012/August/2012-09-05-034320_858x677_scrot.png02:43
Azelphurdone02:44
ailoAzelphur: In a terminal, do: pasuspend -- jackd -d alsa02:44
ailoAzelphur: Sorry: pasuspender -- jackd -d alsa02:45
AzelphurI don't appear to have pasuspend02:45
Azelphurah :P02:45
Azelphurit looks like that worked02:45
ailoAzelphur: Ok, so jackdbus is not getting a hold of your card, because of PA02:45
Azelphurfun02:45
ailoAzelphur: 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 qjackctl02:46
ailoIf you want to make your own starter, use alacarte02:46
ailoYou can start it from the terminal02:47
ailoIf you instead want PA to connect to jack, install pulseaudio-module-jack02:47
AzelphurOption B sounds like the one for me, *installs*02:47
ailoAnd make sure to restart pulseaudio, before trying that02:47
Azelphurapparently I already have that package02:47
ailook..02:48
Azelphurso what do I do to make pulseaudio connect to jack?02:49
ailoAzelphur: When starting jackdbus (which is how qjackctl is set up by default), PA will create sinks for jack automatically02:50
ailoIt's important that PA is not using the card for anything, when you start jack02:50
ailoAzelphur: I'd start a new session, and try again02:50
Azelphurok02:50
ailoThis is Ubuntu 12.04, right?02:50
AzelphurI'll jump on IRC on my tablet, my irc client makes sounds :p02:50
ailoOr, Xubuntu, as you said02:50
AzelphurXubuntu 12.04, yes02:50
ailoThat could be the problem02:51
AzelphurThe xubuntu or the Irc client?02:51
ailoThe irc client02:52
AzelphurDoing a full reboot on my PC too just to be sure02:52
Azelphur:)02:52
AzelphurAilo fresh boot, it still doesn't start02:57
AzelphurDoesn't work as root either :(03:00
ailoAzelphur: I don't think using root is helpful at this moment03:01
ailoIt's mostly helpful to determine whether you have realtime privilege03:02
AzelphurOk03:02
ailoAzelphur: Since you were able to start jackd with pasuspender, that means PA is in the way when you're starting normally03:02
AzelphurMakes sense03:03
ailoAzelphur: From the error log, I see that it is in fact jackdbus you are starting, which is what we want03:03
AzelphurPerhaps some application that starts at boot is connecting to pulse audio?03:03
ailoAzelphur: Default settings on qjackctl should just work03:03
ailoAzelphur: Have you added any custom auto start apps?03:03
AzelphurNot that I know pf03:04
AzelphurOf*03:04
ailoIt's a bit mysterious then03:04
ailoAzelphur: 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 jack03:05
AzelphurI started up pavucontrol and in the playback tab where it lists connected applications it lists "system sounds"03:05
ailoYeah?03:05
ailoThat should only be connected when you're actually using system sounds03:05
AzelphurIt is in the list at all times03:06
ailoI mean, everytime there's a system sound, it connects only for that time03:06
ailoAzelphur: The would explain it though03:06
AzelphurIndeed03:06
AzelphurAny idea what service does that? I could kill it03:07
len-dtAnd it doesn't block things if it is going thrugh pulse.03:07
ailolen-dt: As long as pulse is being used for something, jackdbus won't start03:07
AzelphurI'm also downloading Ubuntu studio03:07
ailolen-dt: Meaning, if any app is connected to PA, jackdbus won't be able to grab that device03:07
len-dtYour experience and mine are different then03:08
ailolen-dt: It's different if you're starting jackdbus with another debice03:08
ailodevice*03:08
AzelphurI'm also using a USB headset if that effects anything *shrug*03:09
len-dtI have had audacious playing an MP3 on the d66 and start jackdbus with qjackctl and the sound from pulse stops and jack starts03:09
ailoAzelphur: Oh, I forgot to ask you which device you were trying to start jack with03:09
AzelphurNo idea, I just started qjackctl then hit start03:09
ailoAzelphur: You need to choose the right device in Qjackctl -> Setup -> Interface03:10
len-dtinternal sound then03:10
ailolen-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
ailoAlso using M6603:11
AzelphurInterface options are: (default), hw:0, plughw:0, /dev/audio, /dev/dsp03:12
AzelphurWhat should I set it to?03:12
ailoAzelphur: That's not the right menu. Use the arrow next to it, pointing left03:12
AzelphurAh, setting it to hw:5 Logitech G930 headset03:13
AzelphurIt started!03:14
AzelphurYay :D03:14
ailoAzelphur: What was hw:1 set to?03:14
ailoI mean, hw:0?03:14
AzelphurHDA Intel03:14
ailoStrange. That's your internal card03:14
ailoShould work03:14
AzelphurI have HDA NVidia too03:15
ailoAnyway, sounds like you are on top of it now03:15
ailoAzelphur: That's your hdmi out03:15
AzelphurAlso hw:0,0 is ACL892 Analogue03:15
AzelphurOK, yep progress :)03:15
ailoAzelphur: https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro/120403:16
ailoJust a bit of info on the sound systems03:16
AzelphurSeems like audio isn't working now, at least the pulse side isnt03:17
ailoAzelphur: Open the PA mixer03:17
ailoAzelphur: Oh, and check Qjackctl -> Connect03:17
ailoYou should see PA there03:17
ailoYou still need to set PA to use jack as output, if you want it to send audio to jack03:18
AzelphurYep I see pa in there03:18
AzelphurAh, how do I do that?03:18
ailoAzelphur: In the PA mixer03:19
ailoAfter starting jack, jack will appear as an output device for PA03:19
AzelphurOh that was easy03:19
AzelphurYep got sound via pa through the jack sink :D03:20
ailoAzelphur: 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 devices03:21
ailoAzelphur: That's mostly important only if you're planning on playing live on soft instruments03:21
AzelphurYou mean if I use an app that goes pa > jack03:21
AzelphurOr even if the app connects direct to jack03:22
ailoAzelphur: It's really pulseaudio-module-jack that does that, and using jackdbus03:22
ailoThe sinks are always created, even if you don't use them03:22
AzelphurI use a midi piano03:23
AzelphurUp until now I've been suffering with pulse audio latency haha03:24
ailoAzelphur: To get lower latency, set Qjackctl -> Setup -> frames/period lower03:24
AzelphurHopefully this will be an improvement03:24
ailoAzelphur: You can get latencies as low as 1ms on some systems03:24
ailoI prefer 64, but 128 is often enough03:25
AzelphurThat's better than pa by far, the longer pa runs the more latency creeps in, I've had it up at 100+ms haha03:25
ailo64 frames/period that is. The latency should be well under 10ms03:26
AzelphurWhat's the downside to setting it lower, more CPU usage?03:26
holsteinbreakage.. crashing... clicks.. pops03:26
ailoAzelphur: The lower you set it, the less CPU cycles jack will had to deliver the audio to and from your device03:26
AzelphurAh03:26
ailoAzelphur: You could try something simple, like Hexter03:28
ailoAzelphur: Make the midi connections in Qjackctl -> Connect -> Alsa03:28
AzelphurI'm testing with lmms and my USB midi piano03:28
ailoDoes lmms use jack?03:28
AzelphurYes03:29
holsteinhow is lmms now Azelphur ?03:29
AzelphurYay, low latency works now03:30
AzelphurIt seems pretty cool03:30
AzelphurGay, hate when that happebs03:35
AzelphurHappens*03:35
Azelphur64 seems a bit choppy sound wise, what makes you able to set 64 and me now?03:36
AzelphurNot*03:36
ailoAzelphur: Could be that your headphones won't work well at lower latencies03:37
AzelphurAh probably not considering they are wireless :p03:37
ailoThat shouldn't be a factor03:37
ailoThe internal card should work fairly well with that03:38
AzelphurGuess I would need pro audio headphones to go lower, the set i am using is meant for gaming03:39
ailoAh, right03:40
ailoHe has probably not installed linux-lowlatency03:40
ailoAzelphur: Did you install linux-lowlatency?03:40
Azelphurnope03:40
ailoAzelphur: That will change the latency situation03:41
ailoIt's the default Ubuntu Studio kernel03:41
Azelphurawesome, we've already made significant improvements latency wise...my piano is actually usable :D03:41
AzelphurI will try that package too03:41
ailoAzelphur: It's basically exactly the same as the generic kernel, but hasn't been updated for a while.03:42
ailoIf you don't need linux-generic, I would just uninstall it after making sure linux-lowlatency booted fine03:42
ailoAll though, you'd need to uninstall each kernel image separately03:43
Azelphurrighto :)03:43
Azelphurthere's a janitor thing that can do that iirc03:43
Azelphurty for your help anyway, I shall be sure to have lots of fun :D03:45
smartboyhw!dev08:29
ubottuInterested in becoming an Ubuntu Developer? Get started here: https://wiki.ubuntu.com/UbuntuDevelopment08:29
smartboyhw!devel08:29
ubottuIf you want to contribute to Ubuntu Studio, please visit #ubuntustudio-devel or join the mailing list from https://lists.ubuntu.com/mailman/listinfo/Ubuntu-Studio-devel08:29
smartboyhw!contribute08:30
radar_hiya, i'm migrating from an ASIO world and wondering if I need wineasio to route something between reaper,fm and jack11:00
holsteinradar_: there is nothing in ubuntustudio preventing *any* software from being written for it13:57
holsteinJACK is the routing tool13:57
holsteinif 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 else13:58
radar_if routing to/from an app running with wine should I need wineasio or wine default driver is fast enough ?14:04
holsteinradar_: i havent used wine with JACK14:05
holsteinradar_: i use and have good luck with native apps14:05
holsteinradar_: 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 well14:06
holsteinradar_: you can also ask in #opensourcemusicians ..lots of smart folk over there that might be doing what you are trying to do14:06
radar_thks for the useful tips14:07
radar_i want to use Reaper (wich runs on wine ... ) the way to join ninjam server and stream14:08
radar_will see ;)14:08
radar_still thanks gtg now14:08
billci have a belkin home base control center can u tell me how to connect to ubuntu15:55
billcconnect to ubuntu15:55
len-dtbillc, what is a " belkin home base control center"? A midi device?15:56
billcit makes printers appear to b wireless15:57
billcit connects usb to eithernet15:57
billceithernet15:57
billceithernet whew15:57
billcfound supposedly ubuntu drivers but can't install15:59
billccant install15:59
ailobillc: This is more of a ubuntu question. I would just google it though15:59
billcall is not printing on screen16:00
billcscreen16:00
billcu saying xubuntu help16:00
len-dtno #ubuntu16:01
len-dtxubuntu and ubuntustudio are built on ubuntu16:01
len-dtwhat you are asking about is part of the base ubuntu packages ubuntustudio is built on.16:02
billck16:02
len-dtthe #ubuntu channel has a whole lot more knowledge base than the few people here16:03
billcunderstand16:03
billcwhere?16:03
ailobillc: Same network. The channel is called #ubuntu16:04
billcty16:05
cbx33hey all19:55
cbx33long time no see peeps19:55
cbx33do we have an RT kernel anymore?19:56
len-dtcbx33, low latency kernel.20:46
cbx33how do i install that?20:46
len-dtperformance is very good. better than generic for sure20:46
len-dtWhat are you running for a distro?20:47
cbx33ubuntu 12.0420:48
len-dtthere is a package called linux-lowlatency20:49
cbx33ok ty20:49
len-dtNo problem.20:49
cbx33what's the diff between PAE and non PAE20:50
len-dtPAE allows the kernel to use more memory if it is 32bit. 64bit doesn't need that20:52
len-dtso the pae is 32bit and the non should be 64bit20:53
cbx33ahh ok20:54
cbx33ty20:55
cbx33installing20:55
* len-dt has kids to pick up from school20:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!