[09:50] <JeThroHD> hei, can someone help me, I just instald UbuntuStudio and I want jack to work whit a usb sound plugg, I get sound for it in the pulse audio controller for recording
[09:51] <JeThroHD> but can't get it to run whit jack
[09:55] <JeThroHD> I'm sorry if this is the rong place to ask, but a nuge in the right deriction would be good
[09:55] <JeThroHD> *wrong
[10:18] <JeThroHD> Konig USB 5.1 3D Virtual Sound Controller is the name of it, but I don't think support is the problem, because I can see it in jack
[10:27] <jussi> JeThroHD: I dont know the answer, but do stick around,  there are several us tz based people who are good with stuff like that.
[10:29] <JeThroHD> thnx mon, be right back
[10:50] <AutoStatic> Hello JeThroHD
[10:50] <AutoStatic> I've got some USB soundplugs lying around here
[10:50] <AutoStatic> They work with JACK so
[10:52] <JeThroHD> mhmm... so you use the jack setup and change the input device to the useb thing right?
[10:54] <AutoStatic> Yes
[10:55] <AutoStatic> What's the output of cat /proc/asound/cards in a terminal?
[10:56] <JeThroHD> mhmm.... you meen to open jack by the terminal and then look at the outread or do you mean meesege screen in jack?
[11:00] <JeThro_HD> sorry dropt out a bit
[11:01] <AutoStatic> He he, np
[11:01] <AutoStatic> No, just open a terminal and type cat /proc/asound/cards
[11:01] <AutoStatic> And then paste the output here
[11:03] <JeThro_HD>  0 [NVidia         ]: HDA-Intel - HDA NVidia                       HDA NVidia at 0xfe024000 irq 23  1 [Set            ]: USB-Audio - USB Headphone Set                       USB Headphone Set at usb-0000:00:0b.0-8, full speed
[11:03] <JeThro_HD> sorry that was a bit mesy
[11:09] <JeThro_HD> this is the error meg form jack:
[11:09] <AutoStatic> No it's ok, thanks!
[11:09] <AutoStatic> Ah, so your USB thingy is called 'Set'
[11:09] <AutoStatic> In QjackCtl you can enter this manually in the 'Interfaces' field of the Set up window
[11:09] <JeThro_HD> think so, do you mean the brand?
[11:10] <AutoStatic> like this hw:Set
[11:10] <JeThro_HD> ok thnx
[11:10] <AutoStatic> No it's the name the system gives to this soundcard
[11:14] <AutoStatic> Does it work?
[11:15] <JeThro_HD> I think it's working, but I still can't get any sound to my headphones
[11:15] <JeThro_HD> 13:13:42.980 XRUN callback (9) is the messege from jack
[11:15] <AutoStatic> Headphones are connected to the USB card?
[11:15] <AutoStatic> Ah, xruns
[11:16] <AutoStatic> What number of periods/buffer are you using?
[11:16] <AutoStatic> And frames/period?
[11:16] <JeThro_HD> 3
[11:17] <JeThro_HD> I just let it all be defult
[11:17] <AutoStatic> 3 is good
[11:17] <AutoStatic> for USB
[11:17] <AutoStatic> (2=onboard, 3=USB/FireWire)
[11:18] <JeThro_HD> where do I setup this?
[11:20] <AutoStatic> Also in QjackCtl, the Setup window
[11:20] <AutoStatic> Try starting with a higher frames/period setting (like 1024) and try to get as low as possible without getting any xruns
[11:21] <JeThro_HD> still can't find the onbord or usb/firewire setting, sorry
[11:23] <JeThro_HD> its alredy sett to 1024, sould i go lower?
[11:25] <AutoStatic> the onboard or usb setting => periods/buffer
[11:25] <AutoStatic> 2 periods/buffer=onboard, 3 periods/buffer = USB/FireWire
[11:25] <AutoStatic> If you're getting xruns with a frames setting of 1024 there is something going wrong
[11:28] <AutoStatic> I have a similar USB sound device here, a C-Media one, and that runs just fine
[11:30] <JeThro_HD> any Idea how to truble shot this??
[11:31] <JeThro_HD> is it beacuse of the alsa driver?
[11:32] <AutoStatic> Which Ubuntu Studio version are you using?
[11:32] <AutoStatic> Which version of Jack?
[11:36] <JeThro_HD> natty and kernel 2.6.38-10-generic
[11:37] <JeThro_HD> is that a real time kernel ?
[11:48] <JeThro_HD> The xrun is bad on defult settings also, would it help if I took a screenshot of the setup?
[11:57] <AutoStatic> Yeah, that might help
[11:58] <AutoStatic> 2.6.38 is not a realtime kernel, but you don't need one
[12:06] <JeThro_HD> ok, http://dl.dropbox.com/u/11295547/Pictures/screenShot.png
[12:06] <JeThro_HD> thnx for the effort
[12:30] <AutoStatic> JeThro_HD: those are all default settings
[12:30] <AutoStatic> And thanks
[12:31] <AutoStatic> Try setting sample rate to 48000 and Periods/Buffer to 3
[12:31] <JeThro_HD> k
[12:31] <AutoStatic> In the interface field enter manually 'hw:Set' without the single quotes
[12:33] <JeThro_HD> still get the "14:33:16.300 XRUN callback (3)"
[12:34] <AutoStatic> Does it look a bit like this? http://linux.autostatic.com/temp/qjackctl-konig.png
[12:38] <JeThro_HD> timeout where difrent and frame/priod, but after I changed that it still gives me xruns callbacks
[12:40] <AutoStatic> And what might help is to disable CPU frequency scaling
[12:40] <AutoStatic> What kind of CPU do you have?
[12:41] <JeThro_HD> amd athlone duel core 4200+
[12:42] <AutoStatic> Then it might help to add two panel applets to your gnome bar
[12:42] <AutoStatic> Right click - Add to panel - CPU Frequency Scaling Monitor
[12:43] <AutoStatic> Do that two times, one for each core
[12:43] <JeThro_HD> ok
[12:43] <AutoStatic> In the preferences for the applet set one applet to monitor CPU 0 and the other to monitor CPU 1
[12:44] <JeThro_HD> k done
[12:44] <AutoStatic> And then set both CPU's to Performance and make sure they don't scale or use the Ondemand setting
[12:44] <JeThro_HD> both on prefomence?
[12:45] <AutoStatic> Yup
[12:45] <JeThro_HD> done, that stopes the scaling?
[12:45] <AutoStatic> Yes, jackd can have issues with scaling
[12:46] <JeThro_HD> let me try a restart,  be back in 2 sec
[12:47] <AutoStatic> Ok
[12:51] <JeThroHD> right still callbacks but the error msg is different
[12:51] <JeThroHD> **** alsa_pcm: xrun of at least 0.019 msecs
[12:51] <JeThroHD> JackPosixMutex::Unlock res = 1
[12:51] <JeThroHD> 14:49:25.026 XRUN callback (1).
[12:51] <AutoStatic> What does jackd --version in a terminal output?
[12:52] <JeThroHD> this repits
[12:54] <JeThroHD> mhmm  I only have qjackctl installed and when i typed jack it sayd it was'nt installed
[12:54] <JeThroHD> dose that meen anything
[12:54] <JeThroHD> ?
[12:54] <AutoStatic> jackd --version
[12:54] <JeThroHD> did'nt say
[12:55] <JeThroHD> how do i start it up so it says? sudo first?
[12:55] <AutoStatic> and aptitude show jackd?
[12:55] <AutoStatic> No QjackCtl starts jackd for you
[12:56] <AutoStatic> aptitude show jackd | grep Version
[12:57] <JeThroHD> version 5 (is that right?) sounds wiard
[12:58] <AutoStatic> No that's ok
[12:59] <AutoStatic> If you press Start in QjackCtl you can also open the Messages window, the JACK version is mentioned somewhere in there too
[13:01] <JeThroHD> is it  "jackdmp 1.9.7"
[13:02] <AutoStatic> Ah, Jack2
[13:02] <AutoStatic> thanks
[13:03] <AutoStatic> Try adding '-S' after the jack command in the Server Path field of the QjackCtl Setup window
[13:06] <JeThroHD> what dos "-S" do?
[13:06] <AutoStatic> It puts JACK in synchronous mode
[13:06] <JeThroHD> sil xrun fail
[13:07] <AutoStatic> Hmm, bummer
[13:08] <AutoStatic> Then I fear I'm out of options :(
[13:09] <JeThroHD> I have had a live cd on this commputer before, and jack worked from that, mabe I can cpoy the settings?
[13:09] <AutoStatic> What kind of live CD?
[13:09] <JeThroHD> what do you think, is it the new version there is smoething wrong whit or just the setup?
[13:10] <JeThroHD> it was a guitar live cd based on debian, think it was squeez. it had the realtime kernel though
[13:11] <AutoStatic> Ah, then I think it is Natty probably
[13:11] <AutoStatic> I don't use it myself
[13:11] <AutoStatic> I'm still on Lucid (10.04)
[13:12] <JeThroHD> mabey, mhmm I would to but I want to use this setup for video edeting too so that's why I wnt whit natty to get the latest whitout commpiling from source
[13:12] <JeThroHD> cose that is over my head
[13:13] <AutoStatic> video editing?
[13:13] <AutoStatic> What are you using for that?
[13:13] <AutoStatic> And I think it is possible to get an xrun free setup with Natty but it might require some digging
[13:14] <JeThroHD> mhmm
[13:15] <AutoStatic> But what are you using for video editing?
[13:16] <JeThroHD> kden and blender + open shot, weird it's not giving me xruns (i put it back to deffult)
[13:16] <AutoStatic> Oh, he he
[13:16] <JeThroHD> what did the -S do?
[13:16] <AutoStatic> It puts Jack2 into synchronous mode
[13:17] <AutoStatic> Not sure what that exactly means
[13:17] <AutoStatic> But it helps in some cases
[13:17] <AutoStatic> Natty is using an older version of kdenlive btw
[13:17] <JeThroHD> mhmm...  I know, that's why I got the ppa from the website
[13:18] <AutoStatic> Ah good :)
[13:18] <AutoStatic> Less xruns now?
[13:18] <AutoStatic> Gotta go btw
[13:19] <JeThroHD> jeep... in defult mood
[13:19] <JeThroHD> *mode thanx for the help
[13:19] <AutoStatic> Sure you're using your USB card?
[13:21] <JeThroHD> no sat it back to defult,  on the usb it gos back to xruns