Harry_ | hello | 08:30 |
---|---|---|
studio-user628 | hi. my instalation just finished, but i do have an error. input/output error during write on /dev/sda | 10:23 |
studio-user628 | what could it be? | 10:24 |
studio-user628 | thanks | 10:24 |
studio-user628 | should 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 |
ailo | barbis_: 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 mic | 11:11 |
barbis_ | ailo: well, everything WAS working fine... I need a reboot. | 11:14 |
ailo | barbis: If you just want to restart desktop sound, you can do this in a terminal: killall pulseaudio | 11:25 |
ailo | Should help logging out and in again also | 11:25 |
ailo | barbis: Which is the analog mic? An internal mic with a laptop? | 11:26 |
ailo | If jack starts, but doesn't want to quit, this is because of a known bug. To kill jack, you must do: killall -9 jackdbus | 11:27 |
ailo | barbis: What drivers were you using with Audacity when you used your usb device? | 11:28 |
barbis | ailo: thank you for the advice! | 11:29 |
barbis | the analog mic is an external jack audio | 11:29 |
barbis | sorry, how can i know which driver i'm using? | 11:30 |
ailo | barbis: Nevermind. What happens when you start jack? | 11:37 |
ailo | You say no sound, but it does start? | 11:37 |
barbis | yeah it start | 11:39 |
ailo | barbis: Ok, so what application are you using to test sound? | 11:40 |
barbis | well, 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 |
barbis | ailo: but when i click start it start | 11:40 |
barbis | ailo: ardour and audacity | 11:41 |
ailo | barbis: What usb device is it, btw? | 11:41 |
barbis | ailo: is a guitar usb cable, big jack from one side, usb the other. is a IMG stageline | 11:42 |
ailo | barbis: So, you tried to record to Ardour, but nothing was captured? | 11:44 |
barbis | ailo: yes | 11:44 |
barbis | ailo: but wait, i just checked the message log from jack and there is some errors | 11:45 |
ailo | barbis: If jack is running, it is working | 11:46 |
barbis | ailo: Mon Jun 11 13:38:55 2012: [1m[31mERROR: Cannot lock down 82246176 byte memory area (Cannot allocate memory)[0m | 11:46 |
ailo | barbis: I see. You are not running Ubuntu Studio | 11:46 |
ailo | This means you don't have realtime privilege | 11:46 |
barbis | ailo: Mon Jun 11 13:38:55 2012: [1m[31mERROR: Cannot use real-time scheduling (RR/10)(1: Operation not permitted)[0m | 11:46 |
barbis | Mon Jun 11 13:38:55 2012: [1m[31mERROR: AcquireSelfRealTime error[0m | 11:46 |
barbis | ailo: i am, just installed two days ago | 11:46 |
barbis | ubuntu studio 12.04 | 11:47 |
ailo | barbis: Ok, so did you add a new user? | 11:47 |
barbis | ailo: just installed as usual and create my own account$ | 11:48 |
ailo | But this is not related to you not getting sound though | 11:48 |
ailo | It just means you cannot run jack applications at low latencies, because realtime privilege is not set up correctly | 11:48 |
barbis | ailo, ah no, you're right, i had already installed before and now i just reinstalled the os but i used my old /home | 11:49 |
ailo | barbis: That should not make any difference. Strange | 11:49 |
ailo | To achieve realtime privilege, you must make sure you are member of audio group | 11:50 |
ailo | To do that: sudo usermod -a -G audio $USER | 11:50 |
ailo | Also, you need the file /etc/security/limits.d/audio.conf | 11:51 |
ailo | In that file there should be two lines uncommented: | 11:51 |
ailo | @audio - rtprio 95 | 11:51 |
ailo | @audio - memlock unlimited | 11:51 |
ailo | If 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 group | 11:52 |
ailo | Ah, sorry | 11:52 |
ailo | Not /etc/security/limits.conf (if you have lines with "@audio.." there remove them | 11:53 |
ailo | /etc/security/limits.d/audio.conf, as mentioned before | 11:53 |
ailo | This will only solve the realtime privilege problem | 11:54 |
barbis | euh, in fact i have just one file /etc/security/limits.d/audio.conf.disabled | 11:54 |
ailo | barbis: You'll need to rename it. Remove .disabled | 11:54 |
barbis | ah ok perfect | 11:54 |
ailo | barbis: Also, make sure the lines are uncommented | 11:55 |
ailo | barbis: Your device is a generic usb 1.1 device, which means it doesn't need drivers to any OS | 11:55 |
ailo | So, it should work, no problem | 11:55 |
ailo | You just need to get more comfortable with the programs perhaps | 11:56 |
barbis | ailo: just that commented #@audio - nice -19 | 11:56 |
ailo | barbis: You can leave that commented. It won't help anyway | 11:56 |
barbis | the others two are uncommented | 11:56 |
barbis | ok | 11:56 |
ailo | ok, good. Now restart. realtime should work after that | 11:56 |
barbis | thank you | 11:57 |
barbis | ailo: ok there's not anymore those errors | 12:01 |
barbis | ailo: but still the usb device is not working | 12:03 |
barbis | ailo: as you said | 12:03 |
ailo | barbis: If it works with audacity, it will work with jack and Ardour. It's just a matter of finding the correct configs | 12:08 |
ailo | Have you adjusted samplerate? | 12:08 |
ailo | I don't think it supports more than 44.1 kHz | 12:08 |
barbis | its at 44,1 | 12:09 |
barbis | btw, in the input device menu i have hw:1 generic USB audio device and hw:1,0 USB device | 12:10 |
barbis | which one is supposed to be the right one? | 12:10 |
ailo | hw:1 is usually the one you choose, but you can try both | 12:10 |
ailo | It should work with hw:1 | 12:10 |
ailo | if a device has digital outs, you will se both hw:1.0 and hw:1.1 for that device. | 12:12 |
ailo | So, in this case, I don't believe it will matter. Especially since your device is usb 1.1 compliant | 12:12 |
barbis | ah, in the jack message log there's no mention about hw:1 just control device hw:0 | 12:12 |
barbis | ailo: (thank for the expanation) | 12:13 |
ailo | barbis: Maybe you can only use the output? Try setting output only | 12:14 |
ailo | I mean, the other way around of course | 12:14 |
ailo | "capture only" | 12:14 |
ailo | You change: Audio - Duplex / Audio - Capture only | 12:15 |
ailo | Again, I don't think this should matter | 12:16 |
barbis | damn 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:1 | 12:17 |
barbis | and it works | 12:17 |
ailo | :) | 12:17 |
barbis | but then it will not be possible to use the internal card for output? | 12:18 |
ailo | barbis: Everytime you reboot, the order of the cards will change | 12:18 |
ailo | barbis: I will try now, to see if it works myself. Never tried that before :P | 12:19 |
ailo | It seems to work | 12:19 |
ailo | It is even possible to use two devices at once, but usually you would need to sync them to avoid clicks | 12:21 |
ailo | And you need a special config file for that | 12:21 |
barbis | ok, i have really no idea what happened but now it works, just selected input hw:1 and output hw:0 | 12:23 |
barbis | i'm able to record and listen with two devices | 12:23 |
ailo | Oh, 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 output | 12:26 |
ailo | Could be there are problems at lower latencies perhaps | 12:26 |
ailo | No idea | 12:26 |
ailo | barbis: I seem to get an occasional xrun using 1024 frames/period, so not very good | 12:28 |
ailo | but this is a generic kernel also :( | 12:28 |
barbis | ah ok, no here i'm trying to just plug the guitar with usb and go out with the build in soundcard | 12:30 |
barbis | it's time to get a proper external soundcard (i'm telling that to myself since forever...) | 12:31 |
barbis | anyway, 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 |
barbis | is just opening crashed | 12:33 |
ailo | barbis: You only need to kill jackdbus | 12:33 |
ailo | barbis: Also, there's a pulsaudio + jack bridge on by default. If you have problems, you may want to uninstall pulseaudio-module-jack | 12:34 |
ailo | If you don't need jackdbus (not sure exactly when you might need it), disable "Enable D-Bus Support" in qjackctl -> Setup -> Misc | 12:34 |
ailo | This will also disable the bridge | 12:34 |
ailo | Without jackdbus, you should have no errors | 12:35 |
ailo | After uninstalling pulseaudio-module-jack, you will at least need to restart pulseaudio for changes to take effect (I think) | 12:35 |
ailo | ladish will probably need jackdbus | 12:36 |
ailo | Unfortunately, there's no easy way to change these settings right now :(. Hopefully we will have a tool for that soon | 12:37 |
barbis | i have no idea what jackdbus is, but it keep giving me problems, so i will disable it as you suggest | 12:48 |
barbis | meantime i just messed everything up once again :( | 12:49 |
barbis | bah, now nothing is working again, even skype :(, | 13:07 |
barbis | ailo: 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 |
barbis | ailo: have a nice day (evening, don't know where you are :-) ) and thx again! | 13:09 |
aubedoree | Hello | 13:43 |
ailo | hi aubedoree | 13:44 |
ailo | New to Ubuntu Studio? | 13:45 |
aubedoree | Not even new | 13:45 |
aubedoree | :D | 13:45 |
aubedoree | I'm a basic ubuntu user | 13:45 |
aubedoree | I wanted to install linux-lowlatency | 13:46 |
aubedoree | it messed up my system | 13:46 |
ailo | multiple OS's? | 13:46 |
aubedoree | now I'm still a ubuntu user, and I'm wondering how to make the switch to ubuntustudio | 13:46 |
aubedoree | No. | 13:46 |
aubedoree | fglrx issue. Possibly | 13:47 |
aubedoree | No idea really | 13:47 |
ailo | linux-lowlatency is essentially linux-generic, but with a couple of different configgs | 13:47 |
aubedoree | I just reinstalled the entire system (which is still messed up, but LESS messed up) | 13:47 |
aubedoree | Question : do I simply apt-get install ubuntustudio from my ubuntu distro ? | 13:48 |
aubedoree | in order to get something that works ? | 13:48 |
ailo | You can either install Ubuntu Studio from the live DVD, or just add ubuntustudio-* packages, like ubuntustudio-audio, if you only want audio related | 13:49 |
ailo | For audio you'll still need to set up realtime privilege | 13:49 |
ailo | In order to get better performance with jack | 13:49 |
aubedoree | So if I follow you, I have to do the following : | 13:50 |
aubedoree | 1- install linux-rt kernel | 13:50 |
aubedoree | 2- update sources.list in order to have ubuntustudio packages | 13:50 |
holstein | aubedoree: there is no linux-rt | 13:50 |
holstein | there is only lowlatency, and you dont *ned* it | 13:50 |
holstein | need* | 13:50 |
holstein | aubedoree: the ubuntustudio packages are in the default repos, so you dont update sources.list | 13:51 |
aubedoree | ailo holstein "realtime privilege" : how to set it up ? | 13:51 |
holstein | aubedoree: you just literally search ubuntustudio, and install what you like | 13:51 |
holstein | OR, just install the specifice software you want | 13:51 |
aubedoree | hmm. | 13:52 |
holstein | aubedoree: i suggest you just start using the software, and if you run into issues, we can troubleshoot for "realtime privilages" | 13:52 |
aubedoree | OK | 13:52 |
ailo | aubedoree: first, install jackd. And choose "yes" for realtime privilege | 13:52 |
aubedoree | I'll clean up my install | 13:52 |
aubedoree | and then I'll follow with jackd | 13:53 |
ailo | aubedoree: Second, add yourself to audio group | 13:53 |
ailo | sudo usermod -a -G audio $USER | 13:53 |
holstein | if you dont need JACK, dont install/use it aubedoree | 13:53 |
ailo | holstein: He's into trying out Ubuntu Studio | 13:53 |
ailo | If he doesn't need jack, he sure won't need lowlatency either | 13:54 |
holstein | i would "try it out" with the live CD | 13:54 |
aubedoree | I've tried the liveCD out some time ago | 13:54 |
aubedoree | I've got a firebox | 13:54 |
holstein | aubedoree: nah.. we didnt have one some time ago | 13:54 |
holstein | aubedoree: i have a presonus firepod | 13:54 |
aubedoree | .. Then I don't know what I tried out ;) | 13:54 |
aubedoree | And I ultimately think I'll have to use it eventually | 13:55 |
holstein | aubedoree: maybe 64studio?... doesnt matter... i still say thats the easiest way to test and try the software | 13:55 |
aubedoree | I'm just a beginner audiowise | 13:55 |
aubedoree | But I intend to learn | 13:56 |
aubedoree | Since I want to ultimately record and mix my own audio | 13:56 |
aubedoree | using Open Source software | 13:57 |
aubedoree | Presonus hardware : well-supported ? | 13:57 |
holstein | aubedoree: i think you have the proper idea :) | 13:57 |
holstein | aubedoree: trying to replace software for free is a bad idea... these tools are professional quality tools that are not meant to emulate other tools | 13:58 |
holstein | i think that is an issue some folks have | 13:58 |
holstein | aubedoree: the firepod works OOTB | 13:58 |
holstein | aubedoree: cant say about the firebox | 13:58 |
aubedoree | holstein : I don't use non open source software unless I have no other choice | 13:59 |
holstein | aubedoree: you might be interested in the #opensourcemusicians community as well | 13:59 |
aubedoree | And I've stopped using non open source software with warty warthog | 14:00 |
holstein | looks like it'll work http://www.ffado.org/?q=node/33 | 14:00 |
aubedoree | OK thx | 14:01 |
aubedoree | I'll have to learn how to use jackd though | 14:01 |
aubedoree | :D | 14:01 |
aubedoree | I'll figure it out eventually | 14:02 |
holstein | aubedoree: i suggest starting JACK as root to troubleshoot | 14:02 |
aubedoree | thanks for your help | 14:02 |
holstein | gksudo qjackctl | 14:02 |
holstein | if you can get the presonus working with the ffado driver in there as root, then you know any other issues are permissions issues | 14:02 |
aubedoree | hmm | 14:03 |
holstein | i dont bother with pulse and JACK.. i plan on removing that fro my 12.04 install when i get around to upgrading | 14:04 |
aubedoree | pulseaudio seeems to be more trouble than anything else | 14:04 |
aubedoree | is it possible to have a working distro without pulse ? | 14:05 |
holstein | eh... i have alsa only and pulse systems | 14:05 |
holstein | i have issues both places | 14:05 |
aubedoree | doing everything with jack ? | 14:05 |
holstein | depends on what you consider "everything" | 14:05 |
holstein | JACK is open... *everyone* who want can write in JACK support... but they dont | 14:05 |
holstein | i personally dont want flash and normal daily computing audio tasks done on my studio machine | 14:06 |
holstein | if 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.04 | 14:06 |
ailo | aubedoree: I've made a page about audio on 12.04 here https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro/1204 | 14:07 |
ailo | Not the best writing, but hopefully it will give you some clues | 14:07 |
holstein | ailo: very nice! | 14:07 |
ailo | It's all in there. PA, alsa, jack | 14:07 |
ailo | holstein: It's a part of the community docs, under "Ubuntu Studio User Guide" and "Introduction to Audio" | 14:08 |
aubedoree | I bookmarked the link | 14:09 |
ailo | If you want desktop sound with a firewire device currently, you'll need the PA -> jack bridge | 14:09 |
aubedoree | hmm | 14:09 |
ailo | It works pretty well, unless you need really low latencies | 14:09 |
holstein | most folks dont | 14:09 |
ailo | It's all configured by default, so all you need to do is install the packages | 14:10 |
holstein | most folks just think they do, and spend hours/days/weeks getting low latency ;) | 14:10 |
ailo | Also, realtime privilege | 14:10 |
holstein | i did... i can get under 1ms... but i rarely use that setting | 14:10 |
aubedoree | How can you know if you need low latency or realtime ? | 14:10 |
holstein | took months til i just calmed down and made some music | 14:10 |
ailo | aubedoree: If you need to play a live software instrument, like a synth, you'll need to hear what you are playing | 14:11 |
ailo | aubedoree: So, you need low latency | 14:11 |
aubedoree | I'll need to play a live analogic instrument (a violin). | 14:11 |
ailo | Otherwise there will be a pause between the time you hit the key and you hear the sound | 14:11 |
ailo | aubedoree: For a violin you won't need low latency | 14:11 |
aubedoree | ... because ? | 14:12 |
aubedoree | I will need unlagged feedback, won't I ? | 14:13 |
ailo | aubedoree: When you record, you hear the violin directly. It doesn't need to pass through the computer | 14:13 |
aubedoree | Hmm. | 14:13 |
aubedoree | OK I get it | 14:13 |
ailo | All you need is to hear the playback from the computer (drum machines or whatever) | 14:13 |
holstein | you can monitor from the hardware before the computer too | 14:13 |
ailo | Yeah, using a mixer or a preamp or whatever | 14:13 |
ailo | aubedoree: This is the community wiki https://help.ubuntu.com/community/UbuntuStudio | 14:14 |
holstein | the firebox actually just does it | 14:14 |
aubedoree | I'm not sure I'd use drums machines in combination with a violin. Could be an idea though | 14:14 |
holstein | you can mix whats "live" and whats coming back from the computer | 14:14 |
holstein | you can disable monitoring the signal you are recording from the computer | 14:14 |
holstein | you'll have the tracks you have already made, and the violin live | 14:15 |
ailo | aubedoree: 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 well | 14:15 |
ailo | https://help.ubuntu.com/community/UbuntuStudioPreparation#Real-Time_Support | 14:15 |
holstein | the latency gets compensated... and for all intents and purposes, your latency can be a second | 14:15 |
aubedoree | I think I'll take it slow and begin with a clean ubuntustudio distro. | 14:15 |
aubedoree | And go from there, reading the documentation, there seems to be a lot to digest | 14:16 |
ailo | aubedoree: It would make things easier, since everything is already set up. All you need is to learn how to use the programs | 14:16 |
aubedoree | ailo : it's probably better | 14:16 |
aubedoree | I'll have an excuse to buy a new machine, that way :D | 14:17 |
holstein | i can do all i need with audio on a p4 with a gig of ram.. but buy what you want :) | 14:18 |
aubedoree | You never can have enough machines anyway | 14:19 |
aubedoree | And I prefer dedicated systems | 14:19 |
aubedoree | in general | 14:19 |
holstein | yup... i think that is the best as well | 14:19 |
aubedoree | Ok thanks for your help ! | 14:19 |
holstein | aubedoree: enjoy! | 14:20 |
aubedoree | Bye, going back to work :) | 14:20 |
aubedoree | thank you holstein & ailo | 14:20 |
ailo | aubedoree: Have a nice day | 14:20 |
aubedoree | you too | 14:20 |
=== _dancer is now known as MOSMarauder |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!