/srv/irclogs.ubuntu.com/2013/03/08/#ubuntustudio.txt

Mathnerd314how do I check that jack is running properly?02:35
Len-nbMathnerd314, properly for what use? Properly includes is it using the right device, is the latency appropriate for the current project, is pulse connected.... etc.03:43
Mathnerd314hmm, well currently I don't think it's running at all, qjackctl says "Cannot lock down 82274202 byte memory area (Cannot allocate memory)" and then that it couldn't start jack03:45
Mathnerd314so from that I gather it's not running at all - which doesn't seem right IIRC03:56
Mathnerd314^ Len-nb03:56
Len-nbOk, are you running ubuntustudio or something else03:57
Len-nbMathnerd314, or have you added another user?03:59
Mathnerd314Len-nb: I started with a ubuntu installation, then installed ubuntustudio-desktop and the other packages03:59
Len-nbAh, that makes sense04:00
Mathnerd314I think kubuntu and edubuntu might be in there too :p04:00
Len-nbyou need to add your user to the audio group04:00
Mathnerd314ah, stuff here: https://help.ubuntu.com/community/Ubuntu%20Studio%20Upgrade%20from%20Ubuntu ?04:01
Mathnerd314I wasn't certain how much of that was outdated04:01
Len-nband make sure the file jack put in /etc/security/limits.d/ is named audio.conf04:02
Mathnerd314yep, contents seem OK04:03
Mathnerd314I guess I need to reboot one more time for linux to notice I'm in the audio group?04:04
Len-nblogout and in04:04
Len-nbreboot is ok too, but shouldn't be needed04:04
Mathnerd314well, at least the error message changed: "ERROR: ALSA: Cannot open PCM device alsa_pcm for playback. Falling back to capture-only mode"04:08
Len-nbwhich device do you have?04:11
Mathnerd314hmm, I'm not certain TBH04:11
Len-nbYes it sounds like it is able to start up.04:12
Mathnerd314the message before that is ": creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit"04:13
Len-nbfrom qjackctl there is a setup dialog04:13
Mathnerd314yep04:13
Len-nbon the left side there is a > beside interface04:14
Len-nbif you click on it it should list what devices you have04:14
Len-nbRight now you are using the first one hw:004:15
Mathnerd314there's two "HD-Audio Generic"'s (hw:0 and hw:1) and "ALC892 Analog" (hw:0,1)04:16
Len-nbAre all of those internal?04:17
Len-nbI guess I am asking if you added an audio interface, or just have the ones that came with your computer?04:18
Mathnerd314they're all internal, I think.04:18
Mathnerd314> jackd -d alsa just says "device busy", so maybe it's a pulseaudio problem04:19
Len-nbWhich version of ubuntu?04:20
Len-nb12.04 or .1004:20
Mathnerd314.1004:20
Mathnerd314I might just switch to Arch, I don't really need these fancy GUI's :-)04:21
Len-nbAlso did you set up an input and an output device? or just the interface?04:21
Len-nbThat is why studio went with xfce04:22
Mathnerd314I'm using xfce right now, actually; maybe gnome is less fancy... :p04:23
Len-nbSeems a lot like the old gnome204:24
Mathnerd314unity was OK, my alt-tab seemd broken though04:25
Mathnerd314I really only installed ubuntustudio to try this out: http://yaxu.org/demonstrating-tidal/04:25
Mathnerd314but after some discussion with him, I'm not certain ubuntustudio is enough04:26
Len-nbI will take a look...but really it shouldn't matter that much.04:27
Mathnerd314well, tidal depends on dirt, which depends on jack: https://github.com/yaxu/Dirt/blob/master/jack.c04:28
Len-nbReally it probably means building things from source whatever DE/distro you choose04:29
Mathnerd314well, building dirt and tidal was easy, the problem is figuring out how to run them04:29
Len-nbI can see that.04:30
Mathnerd314do you think wiping the disk and installing Ubuntu Studio from scratch would fix it?04:31
Len-nbI think it is just a matter of getting the right audio device set up.04:32
Len-nbYou have jack running, Now find out why  it doesn't see the output04:32
Mathnerd314 well, I have audio playing now, and ps -Af doesn't list anything with 'jack' in the name...04:33
Len-nbIt may be set up so that you need one device for input and another for output04:33
Len-nbdefault would be jackdbus if it was running04:34
Len-nbFrom a terminal what does aplay -l say? and arecord -l04:36
Mathnerd314is there a pastebin somewhere?04:37
Len-nb!pastebin04:38
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.04:38
Mathnerd314'k. http://paste.ubuntu.com/5595066/04:38
Mathnerd314so there is a jackd running, actually, but it's running as me, and it seems like pulseaudio got started before it at boot04:39
Mathnerd314*jackdbus04:39
Len-nbPA starts at session start and jackdbus when you run qjackctl04:40
Len-nbit looks like you need to be using hw:1 and not hw:004:40
Mathnerd314... and that works04:42
Len-nbhw:0 is the audio port on your monitor out for DVI04:43
Mathnerd314hmm, but I think that's what I'm using for audio actually04:43
Len-nbDVI audio is not something I have experience with.04:44
* Mathnerd314 checks the cables04:45
Len-nbBut I think it would not have a plug on the computer itself04:45
Mathnerd314I guess there is a separate audio cable04:47
Mathnerd314but yeah, no audio playing at all now04:48
Len-nbWhat was the "it works" above for.04:49
Mathnerd314well, it creates/connects to the server successfully :p04:49
Len-nbIf you are going to use DVI out, then it has to be set up as output only04:51
Mathnerd314ok, that sounds right04:52
Mathnerd314I do only have a pair of speakers...04:52
Mathnerd314(built into the monitor)04:52
Mathnerd314let me check my various manuals just to be sure...04:54
Len-nbhw:0 only shows as play back in your pastebin05:03
Mathnerd314so this is the motherboard: http://www.asus.com/Motherboard/F1A75M_PRO/#specifications05:06
* Len-nb has an old P405:07
Mathnerd314it probably has much better linux support :-)05:08
Len-nbThe owner has gotten to know it quite well05:09
Mathnerd314so part of the problem is there are 6 outputs, so I have to specify 1) that I'm only using one output and 2) which output I'm using05:10
Len-nbAnyway, to use the dvi out you have to set jack to just use that as output. If you wish you can set up HW:1 for inout.05:11
Len-nbJack will show all 605:11
Len-nbyou just connect to the ones you want.05:11
Mathnerd314hmm, yeah, so that part works05:11
Len-nbThe way qjackctl works is that you can use either an Interface for one device for in and out or below that there is input and output for doing them different.05:13
Len-nbSo you can set input to HW:1 and output to HW:005:15
Mathnerd314well, if I just tell it to use the ALC892 Analog then it successfully connects and finds 8 playback ports and 2 capture ports. which I think is the right device/setup05:16
Mathnerd314so I think that's working05:16
Len-nbYup05:16
Mathnerd314but there's no audio coming through, so somehow I have to specify which playback port to use05:16
Len-nbJust have to plug speakers in to hear it :)05:16
Mathnerd314but I only have these (crappy) monitor speakers, which I connected through trial-and-error...05:17
Mathnerd314and they only take up one port05:18
Len-nbYup05:18
Len-nbmine looks like 12/10 i/o but it is really 6x6, 4x4 audio plus 2x2 spdif05:19
* magic_silver_box slaps Len-nb around a bit with a large trout05:20
* magic_silver_box slaps Len-nb around a bit with a large trout05:20
* Mathnerd314 googles to see where that meme came from05:21
Mathnerd314hmm: http://en.wikipedia.org/wiki/Wikipedia:Whacking_with_a_wet_trout05:21
Mathnerd314or http://www.youtube.com/watch?v=WsfiD78Cy0s05:22
Mathnerd314but that reminds me, I still have no audio05:23
Len-nbthe plugs should be line out (-10db) and so might be really quiet if not amplified.05:24
Len-nbAlso some of them may be muted.05:25
Len-nbalsamixer (in a terminal) should show this05:25
Len-nbpulse would have turned up HW:0, but maybe not HW:!05:26
Len-nbHW:105:26
Mathnerd314they all seem to be at max volume05:27
Mathnerd314* max gain05:27
Len-nbNo Ms at the bottom?05:29
* Len-nb hasn't used an internal sound card for a long time.05:31
Mathnerd314http://imagebin.org/24938005:31
Len-nbLooks right05:34
Len-nbWhat are you using as a source?05:36
Mathnerd314trying to get Rhythmbox to work, I think it routes through pulseaudio first05:37
Len-nbSo you should see pulse in jack then. In the connect window05:38
Len-nbAnd in pavucontrol Rhythmbox should be routed to jacksink05:40
Mathnerd314hmm, I don't see those05:42
Len-nbOk, in qjackctl there is an icon that says connections05:42
Len-nb The audio tab will have system it should also have pulse05:43
Mathnerd314and it doesn't... so I need to configure pulseaudio to connect to jack?05:44
Len-nbpavucontrol can be started from a terminal though it show u05:44
Len-nbopps05:44
Len-nbit should be there.05:45
Len-nbpactl list short modules05:45
Len-nbabout number 6 or 7 should something like dbus-jack-detect-module05:46
Len-nbmodule-jackdbus-detect05:47
Mathnerd314yep, it's there05:50
Len-nband jack connections has system?05:51
Mathnerd314yep05:54
Mathnerd314http://imagebin.org/24938205:55
Len-nbOdd05:55
Mathnerd314I need to sleep; pick this up in 8 hours?05:56
Len-nbwith some one, I need sleep too. I 8 I'l be at work.05:57
Len-nbBut there should be others around then in their tz05:57
Mathnerd314yeah, the weekend be more active too, I'm guessing05:57
Len-nbNever reall active.05:58
Mathnerd314see you around, I guess05:58
Len-nbok05:58
Len-nbgood night05:58
faLUCEhello. I have a windows 8 guest on virtualbox under linux (ubuntu, with pulseaudio). when playing audio, I hear some clicks. Is there a way to improve that?11:57
zequencefaLUCE: use a bigger buffer.12:16
faLUCEzequence: on what?12:16
zequencefaLUCE: The latency you can get with virtualboc, running audio apps, is quite high12:16
zequencevirtualbox*12:16
zequenceI mean, you can't run on a low latency, without clicks12:17
faLUCEzequence: ok, I understand12:17
faLUCEzequence: but where can I set the bigger buffer?12:18
zequencefaLUCE: Probably in the application you are using in Windows12:18
zequenceOr, you mean, audio in general?12:18
faLUCEaudio in general12:18
zequenceI don't know how to do that in Windows 812:18
faLUCEzequence: the problem is in ubuntustudio12:19
faLUCEI launch virtualbox through ubuntustudio12:19
faLUCEand vbox uses pulseaudio12:19
zequencefaLUCE: No, the problem is in virtualbox12:19
zequenceYou can try on any linux distro if you want12:20
faLUCEzequence: so, I should try to reduce latency in the windows app?12:21
zequenceNo, you should raise it12:21
zequencevirtualbox doesn't handle low latencies12:21
faLUCEzequence: yes, sorry12:21
faLUCEI would have said: red12:21
faLUCEI would have said: raise12:21
faLUCEzequence: I raised the latency from the default level, for the program, and it did not made difference. However, if I decrease latency from the default level, I hear more glitches12:41
faLUCEzequence: then, I think I should raise latency for the whole virtualbox12:41
zequencefaLUCE: I'm quite able to run Win XP without glitches12:42
zequencefaLUCE: I wouldn't know how to do that. But you could look at changing the latency for PA, something I've never tried doing12:43
faLUCEok12:45
faLUCEhello. I have a windows 8 guest on virtualbox under linux (ubuntu, with pulseaudio). when playing audio, I hear some clicks. Is there a way to improve that?14:00
smartboyhwfaLUCE, well VMs don't normally have good audio quality14:01
faLUCEsmartboyhw: but it would be strange to have so many glitches14:11
smartboyhwfaLUCE, dunno.14:11
zequencefaLUCE: It's not strange, since you're running an entire OS on top of another one. There will be a bigger latency14:15
zequencefaLUCE: You have to take into account that Win8 is more demanding on graphics too14:16
zequencefaLUCE: I would use WinXP, if I were you14:16
smartboyhwfaLUCE, if I were you I would not use Windows at all:P14:16
faLUCEsmartboyhw: I know, but I'm forced :-( .... look, I'm forced to use windows on virtulbox under ubuntu. that's bullshit14:20
smartboyhwfaLUCE, 1. Oh sorry and 2. No foul languages please:)14:20
faLUCEsmartboyhw: ok :-)14:22
faLUCEsorr14:23
faLUCEsorry14:23
faLUCEzequence: the problem is that the software that I have to use is for windows7-8 only14:27
zequencefaLUCE: So, why not install Win on your machine, or use a Win machine?14:29
zequenceIt would make sure you get the full power from the machine14:29
faLUCEzequence: it's a bit hard to explain, but I can't14:29
zequencefaLUCE: Then see if you can raise latency on PA. You could try #pulseaudio14:30
faLUCEzequence: already tried14:30
zequencefaLUCE: You raised PA latency, and got the same issue?14:44
zequenceIf so, the problem is entirely in Win814:44
zequenceI mean, added to the latency problem introduced by VirtualBox14:44
zequenceIf Virtualbox is given more time to work, since you gave PA higher latency, it's not a problem between VB and Linux14:45
faLUCEzequence: It's not clear how to raise latency on pa. I tried several options, but none worked15:53
zequencefaLUCE: I've never tried to find out why, but I'm sure someone at #pulseaudio aught to know15:53
Mathnerd314ok, getting JACK to work, round 2. I restarted pulseaudio, now I have a PA sink and source in qjackctl. But still no sound...18:48
holsteinMathnerd314: ?20:45
holsteini would take pulse out of the equation20:45
holsteinget JACK working. test JACK with a known good audio file in something like audacious20:46
holsteinthese are the steps i would do...20:46
holsteinfrom a fresh start, or checking with ps aux | grep jack to make sure jack is not working...20:46
holstein1. test an audio file with audacious and pulse...20:46
holstein2. troubleshoot and get jack started20:47
holstein3. test same audio file with audacious using jack output20:47
holstein!proaudio | Mathnerd314 this can help troubleshoot jack20:47
ubottuMathnerd314 this can help troubleshoot jack: For information on professional audio tools in Ubuntu, see https://help.ubuntu.com/community/UbuntuStudio/ProAudioIntro20:47
zequenceMathnerd314: When you have the sink and source ready, you still need to set the PA mixer to use the jack sink and source20:48
Mathnerd314well, I'm playing audio now, through pulse20:48
Mathnerd314jack is not running AFAICT20:49
holsteinMathnerd314: then test JACK.. not pulse through JACK.. when JACK is working, then you can test pulse into jack20:49
=== _dancer is now known as MOSMarauder

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