/srv/irclogs.ubuntu.com/2012/06/11/#ubuntustudio.txt

Harry_hello08:30
studio-user628hi. my instalation just finished, but i do have an error. input/output error during write on /dev/sda10:23
studio-user628what could it be?10:24
studio-user628thanks10:24
studio-user628should boot from ahci mode?10:24
barbis_hello! I have a small problem with a usb guitar cable. The device is recognized by the system and IT WORKS in audacity without jack. But when i  open jack there's no way to make that device work. i changed in the preferences the input (from default to the usb generic debice) but still no sound. any idea?10:54
ailobarbis_: If you can make it work with pulseaudio, it will work with jack. Everything else works normally? Desktop sound (from the browser, etc..)11:05
barbis_Yes, everything works fine, desktop sound and the analog mic11:11
barbis_ailo: well, everything WAS working fine... I need a reboot.11:14
ailobarbis: If you just want to restart desktop sound, you can do this in a terminal: killall pulseaudio11:25
ailoShould help logging out and in again also11:25
ailobarbis: Which is the analog mic? An internal mic with a laptop?11:26
ailoIf jack starts, but doesn't want to quit, this is because of a known bug. To kill jack, you must do: killall -9 jackdbus11:27
ailobarbis: What drivers were you using with Audacity when you used your usb device?11:28
barbisailo: thank you for the advice!11:29
barbisthe analog mic is an external jack audio11:29
barbissorry, how can i know which driver i'm using?11:30
ailobarbis: Nevermind. What happens when you start jack?11:37
ailoYou say no sound, but it does start?11:37
barbisyeah it start11:39
ailobarbis: Ok, so what application are you using to test sound?11:40
barbiswell, when i open it i have an error "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"11:40
barbisailo: but when i click start it start11:40
barbisailo: ardour and audacity11:41
ailobarbis: What usb device is it, btw?11:41
barbisailo: is a guitar usb cable, big jack from one side, usb the other. is a IMG stageline11:42
ailobarbis: So, you tried to record to Ardour, but nothing was captured?11:44
barbisailo: yes11:44
barbisailo: but wait, i just checked the message log from jack and there is some errors11:45
ailobarbis: If jack is running, it is working11:46
barbisailo: Mon Jun 11 13:38:55 2012: [1m[31mERROR: Cannot lock down 82246176 byte memory area (Cannot allocate memory)[0m11:46
ailobarbis: I see. You are not running Ubuntu Studio11:46
ailoThis means you don't have realtime privilege11:46
barbisailo: Mon Jun 11 13:38:55 2012: [1m[31mERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted)[0m11:46
barbisMon Jun 11 13:38:55 2012: [1m[31mERROR: AcquireSelfRealTime error[0m11:46
barbisailo: i am, just installed two days ago11:46
barbisubuntu studio 12.0411:47
ailobarbis: Ok, so did you add a new user?11:47
barbisailo: just installed as usual and create my own account$11:48
ailoBut this is not related to you not getting sound though11:48
ailoIt just means you cannot run jack applications at low latencies, because realtime privilege is not set up correctly11:48
barbisailo, ah no, you're right, i had already installed before and now i just reinstalled the os but i used my old /home11:49
ailobarbis: That should not make any difference. Strange11:49
ailoTo achieve realtime privilege, you must make sure you are member of audio group11:50
ailoTo do that: sudo usermod -a -G audio $USER11:50
ailoAlso, you need the file /etc/security/limits.d/audio.conf11:51
ailoIn that file there should be two lines uncommented:11:51
ailo@audio   -  rtprio     9511:51
ailo@audio   -  memlock    unlimited11:51
ailoIf you edit /etc/security/limits.conf you might need to restart. Not sure. At least log out and login again, when adding yourself to audio group11:52
ailoAh, sorry11:52
ailoNot /etc/security/limits.conf (if you have lines with "@audio.." there remove them11:53
ailo/etc/security/limits.d/audio.conf, as mentioned before11:53
ailoThis will only solve the realtime privilege problem11:54
barbiseuh, in fact i have just one file /etc/security/limits.d/audio.conf.disabled11:54
ailobarbis: You'll need to rename it. Remove .disabled11:54
barbisah ok perfect11:54
ailobarbis: Also, make sure the lines are uncommented11:55
ailobarbis: Your device is a generic usb 1.1 device, which means it doesn't need drivers to any OS11:55
ailoSo, it should work, no problem11:55
ailoYou just need to get more comfortable with the programs perhaps11:56
barbisailo: just that commented #@audio   -  nice      -1911:56
ailobarbis: You can leave that commented. It won't help anyway11:56
barbisthe others two are uncommented11:56
barbisok11:56
ailook, good. Now restart. realtime should work after that11:56
barbisthank you11:57
barbisailo: ok there's not anymore those errors12:01
barbisailo: but still the usb device is not working12:03
barbisailo: as you said12:03
ailobarbis: If it works with audacity, it will work with jack and Ardour. It's just a matter of finding the correct configs12:08
ailoHave you adjusted samplerate?12:08
ailoI don't think it supports more than 44.1 kHz12:08
barbisits at 44,112:09
barbisbtw, in the input device menu i have hw:1 generic USB audio device and hw:1,0 USB device12:10
barbiswhich one is supposed to be the right one?12:10
ailohw:1 is usually the one you choose, but you can try both12:10
ailoIt should work with hw:112:10
ailoif a device has digital outs, you will se both hw:1.0 and hw:1.1 for that device.12:12
ailoSo, in this case, I don't believe it will matter. Especially since your device is usb 1.1 compliant12:12
barbisah, in the jack message log there's no mention about hw:1 just control device hw:012:12
barbisailo: (thank for the expanation)12:13
ailobarbis: Maybe you can only use the output? Try setting output only12:14
ailoI mean, the other way around of course12:14
ailo"capture only"12:14
ailoYou change: Audio - Duplex / Audio - Capture only12:15
ailoAgain, I don't think this should matter12:16
barbisdamn i knew that i was loosing myself in a glass of water (literally translated from italian, don't know if make sense in english). i changed the interface to hw:112:17
barbisand it works12:17
ailo:)12:17
barbisbut then it will not be possible to use the internal card for output?12:18
ailobarbis: Everytime you reboot, the order of the cards will change12:18
ailobarbis: I will try now, to see if it works myself. Never tried that before :P12:19
ailoIt seems to work12:19
ailoIt is even possible to use two devices at once, but usually you would need to sync them to avoid clicks12:21
ailoAnd you need a special config file for that12:21
barbisok, i have really no idea what happened but now it works, just selected input hw:1 and output hw:012:23
barbisi'm able to record and listen with two devices12:23
ailoOh, to clarify, When I said two devices at once, I meant for both output and input (and then you need to sync with spdif and have a special config). I haven't ever tried using one for input and another for output12:26
ailoCould be there are problems at lower latencies perhaps12:26
ailoNo idea12:26
ailobarbis: I seem to get an occasional xrun using 1024 frames/period, so not very good12:28
ailobut this is a generic kernel also :(12:28
barbisah ok, no here i'm trying to just plug the guitar with usb and go out with the build in soundcard12:30
barbisit's time to get a proper external soundcard (i'm telling that to myself since forever...)12:31
barbisanyway, when jack crash i'm not able to restar it again, that's normal? (as you told me before i restart pulseaudio and kill jack)12:32
barbisis just opening crashed12:33
ailobarbis: You only need to kill jackdbus12:33
ailobarbis: Also, there's a pulsaudio + jack bridge on by default. If you have problems, you may want to uninstall pulseaudio-module-jack12:34
ailoIf you don't need jackdbus (not sure exactly when you might need it), disable "Enable D-Bus Support" in qjackctl -> Setup -> Misc12:34
ailoThis will also disable the bridge12:34
ailoWithout jackdbus, you should have no errors12:35
ailoAfter uninstalling pulseaudio-module-jack, you will at least need to restart pulseaudio for changes to take effect (I think)12:35
ailoladish will probably need jackdbus12:36
ailoUnfortunately, there's no easy way to change these settings right now :(. Hopefully we will have a tool for that soon12:37
barbisi have no idea what jackdbus is, but it keep giving me problems, so i will disable it as you suggest12:48
barbismeantime i just messed everything up once again  :(12:49
barbisbah, now nothing is working again, even skype :(,13:07
barbisailo: well, now it's time to practice, but thank you very much for your help and support, really appreciated and, even if it was for a short time, i saw things working :-)13:09
barbisailo: have a nice day (evening, don't know where you are :-) ) and thx again!13:09
aubedoreeHello13:43
ailohi aubedoree13:44
ailoNew to Ubuntu Studio?13:45
aubedoreeNot even new13:45
aubedoree:D13:45
aubedoreeI'm a basic ubuntu user13:45
aubedoreeI wanted to install linux-lowlatency13:46
aubedoreeit messed up my system13:46
ailomultiple OS's?13:46
aubedoreenow I'm still a ubuntu user, and I'm wondering how to make the switch to ubuntustudio13:46
aubedoreeNo.13:46
aubedoreefglrx issue. Possibly13:47
aubedoreeNo idea really13:47
ailolinux-lowlatency is essentially linux-generic, but with a couple of different configgs13:47
aubedoreeI just reinstalled the entire system (which is still messed up, but LESS messed up)13:47
aubedoreeQuestion : do I simply apt-get install ubuntustudio from my ubuntu distro ?13:48
aubedoreein order to get something that works ?13:48
ailoYou can either install Ubuntu Studio from the live DVD, or just add ubuntustudio-* packages, like ubuntustudio-audio, if you only want audio related13:49
ailoFor audio you'll still need to set up realtime privilege13:49
ailoIn order to get better performance with jack13:49
aubedoreeSo if I follow you, I have to do the following :13:50
aubedoree1- install linux-rt kernel13:50
aubedoree2- update sources.list in order to have ubuntustudio packages13:50
holsteinaubedoree: there is no linux-rt13:50
holsteinthere is only lowlatency, and you dont *ned* it13:50
holsteinneed*13:50
holsteinaubedoree: the ubuntustudio packages are in the default repos, so you dont update sources.list13:51
aubedoreeailo holstein "realtime privilege" : how to set it up ?13:51
holsteinaubedoree: you just literally search ubuntustudio, and install what you like13:51
holsteinOR, just install the specifice software you want13:51
aubedoreehmm.13:52
holsteinaubedoree: i suggest you just start using the software, and if you run into issues, we can troubleshoot for "realtime privilages"13:52
aubedoreeOK13:52
ailoaubedoree: first, install jackd. And choose "yes" for realtime privilege13:52
aubedoreeI'll clean up my install13:52
aubedoreeand then I'll follow with jackd13:53
ailoaubedoree: Second, add yourself to audio group13:53
ailosudo usermod -a -G audio $USER13:53
holsteinif you dont need JACK, dont install/use it aubedoree13:53
ailoholstein: He's into trying out Ubuntu Studio13:53
ailoIf he doesn't need jack, he sure won't need lowlatency either13:54
holsteini would "try it out" with the live CD13:54
aubedoreeI've tried the liveCD out some time ago13:54
aubedoreeI've got a firebox13:54
holsteinaubedoree: nah.. we didnt have one some time ago13:54
holsteinaubedoree: i have a presonus firepod13:54
aubedoree.. Then I don't know what I tried out ;)13:54
aubedoreeAnd I ultimately think I'll have to use it eventually13:55
holsteinaubedoree: maybe 64studio?... doesnt matter... i still say thats the easiest way to test and try the software13:55
aubedoreeI'm just a beginner audiowise13:55
aubedoreeBut I intend to learn13:56
aubedoreeSince I want to ultimately record and mix my own audio13:56
aubedoreeusing Open Source software13:57
aubedoreePresonus hardware : well-supported ?13:57
holsteinaubedoree: i think you have the proper idea :)13:57
holsteinaubedoree: trying to replace software for free is a bad idea... these tools are professional quality tools that are not meant to emulate other tools13:58
holsteini think that is an issue some folks have13:58
holsteinaubedoree: the firepod works OOTB13:58
holsteinaubedoree: cant say about the firebox13:58
aubedoreeholstein : I don't use non open source software unless I have no other choice13:59
holsteinaubedoree: you might be interested in the #opensourcemusicians community as well13:59
aubedoreeAnd I've stopped using non open source software with warty warthog14:00
holsteinlooks like it'll work http://www.ffado.org/?q=node/3314:00
aubedoreeOK thx14:01
aubedoreeI'll have to learn how to use jackd though14:01
aubedoree:D14:01
aubedoreeI'll figure it out eventually14:02
holsteinaubedoree: i suggest starting JACK as root to troubleshoot14:02
aubedoreethanks for your help14:02
holsteingksudo qjackctl14:02
holsteinif you can get the presonus working with the ffado driver in there as root, then you know any other issues are permissions issues14:02
aubedoreehmm14:03
holsteini dont bother with pulse and JACK.. i plan on removing that fro my 12.04 install when i get around to upgrading14:04
aubedoreepulseaudio seeems to be more trouble than anything else14:04
aubedoreeis it possible to have a working distro without pulse ?14:05
holsteineh... i have alsa only and pulse systems14:05
holsteini have issues both places14:05
aubedoreedoing everything with jack ?14:05
holsteindepends on what you consider "everything"14:05
holsteinJACK is open... *everyone* who want can write in JACK support... but they dont14:05
holsteini personally dont want flash and normal daily computing audio tasks done on my studio machine14:06
holsteinif you have that one machine to kind of do everything, then you probably want pulse through JACK, which is what you get by default with 12.0414:06
ailoaubedoree: I've made a page about audio on 12.04 here https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro/120414:07
ailoNot the best writing, but hopefully it will give you some clues14:07
holsteinailo: very nice!14:07
ailoIt's all in there. PA, alsa, jack14:07
ailoholstein: It's a part of the community docs, under "Ubuntu Studio User Guide" and "Introduction to Audio"14:08
aubedoreeI bookmarked the link14:09
ailoIf you want desktop sound with a firewire device currently, you'll need the PA -> jack bridge14:09
aubedoreehmm14:09
ailoIt works pretty well, unless you need really low latencies14:09
holsteinmost folks dont14:09
ailoIt's all configured by default, so all you need to do is install the packages14:10
holsteinmost folks just think they do, and spend hours/days/weeks getting low latency ;)14:10
ailoAlso, realtime privilege14:10
holsteini did... i can get under 1ms... but i rarely use that setting14:10
aubedoreeHow can you know if you need low latency or realtime ?14:10
holsteintook months til i just calmed down and made some music14:10
ailoaubedoree: If you need to play a live software instrument, like a synth, you'll need to hear what you are playing14:11
ailoaubedoree: So, you need low latency14:11
aubedoreeI'll need to play a live analogic instrument (a violin).14:11
ailoOtherwise there will be a pause between the time you hit the key and you hear the sound14:11
ailoaubedoree: For a violin you won't need low latency14:11
aubedoree... because ?14:12
aubedoreeI will need unlagged feedback, won't I ?14:13
ailoaubedoree: When you record, you hear the violin directly. It doesn't need to pass through the computer14:13
aubedoreeHmm.14:13
aubedoreeOK I get it14:13
ailoAll you need is to hear the playback from the computer (drum machines or whatever)14:13
holsteinyou can monitor from the hardware before the computer too14:13
ailoYeah, using a mixer or a preamp or whatever14:13
ailoaubedoree: This is the community wiki https://help.ubuntu.com/community/UbuntuStudio14:14
holsteinthe firebox actually just does it14:14
aubedoreeI'm not sure I'd use drums machines in combination with a violin. Could be an idea though14:14
holsteinyou can mix whats "live" and whats coming back from the computer14:14
holsteinyou can disable monitoring the signal you are recording from the computer14:14
holsteinyou'll have the tracks you have already made, and the violin live14:15
ailoaubedoree: Here's a chapter on realtime support. That is the only chapter you *need* to worry about. It is required for low latency, and is probably useful for higher latencies as well14:15
ailohttps://help.ubuntu.com/community/UbuntuStudioPreparation#Real-Time_Support14:15
holsteinthe latency gets compensated... and for all intents and purposes, your latency can be a second14:15
aubedoreeI think I'll take it slow and begin with a clean ubuntustudio distro.14:15
aubedoreeAnd go from there, reading the documentation, there seems to be a lot to digest14:16
ailoaubedoree: It would make things easier, since everything is already set up. All you need is to learn how to use the programs14:16
aubedoreeailo : it's probably better14:16
aubedoreeI'll have an excuse to buy a new machine, that way :D14:17
holsteini can do all i need with audio on a p4 with a gig of ram.. but buy what you want :)14:18
aubedoreeYou never can have enough machines anyway14:19
aubedoreeAnd I prefer dedicated systems14:19
aubedoreein general14:19
holsteinyup... i think that is the best as well14:19
aubedoreeOk thanks for your help !14:19
holsteinaubedoree: enjoy!14:20
aubedoreeBye, going back to work :)14:20
aubedoreethank you holstein & ailo14:20
ailoaubedoree: Have a nice day14:20
aubedoreeyou too14:20
=== _dancer is now known as MOSMarauder

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