[00:00] Jack running with pulse bridged, hydrogen running (playing audio), ardour recording two tracks of audio. Dsp at 33%.... CPU at 800Mhz. Switching workspaces flips it up to 1.6Ghz momentarily. [00:02] ailo_, xrun/min seem to go away while cpu speed is higher. [00:03] Len-nb: Makes sense [00:03] That means less chance of getting xruns because of NM if CPU is fast [00:04] Now if I could just get it to stay set to performance... [00:04] Should make the netbook hotter too [00:04] such is life... [00:05] Len-nb: How are you changing it now? [00:05] ailo_, I have yet to catch the CPU at the two in between speeds... [00:06] I had a line in rc.local that set it to performance. [00:07] But something shut it off to on demand. [00:08] portable devices must keep checking or something. I have not changed from power to battery or anything like that though. [00:09] Len-nb: Do you have some laptop specific stuff installed? [00:10] You might have conf files for them that override others [00:11] just US. Anything else is desktop apps or games. [00:11] The same as i would put on my desktop [00:11] cause laptops seem to have their own conf file to set all kinds of things [00:12] There is a daemon running called ondemand [00:12] It may do different things because a battery is present. [00:13] Len-nb: There's a utlity called cpufrequtils [00:13] Thats how I am watching the cpu freq. [00:13] You should be able to set default settings with it's conf file [00:13] /etc/default/cpufrequtils [00:13] Thats also what I call to set performance on boot. [00:14] I'll look. [00:14] If I remember correctly, you can edit a file in /sys/* to do it manually [00:16] echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor [00:16] Nope, file not there. I think I have to keep ondemand from running _and_ then set things to performance. [00:17] Ja, I saw that on the audio setup page. I got the way I do it from there too. [00:17] Maybe try the other too. [00:17] But that's only for the first processor though [00:17] I do it twice one for each cpu. [00:20] Len-nb: How about sysfsutils? [00:21] Len-nb: An old link http://superuser.com/questions/179329/disable-frequency-scaling-ondemand-daemon-on-ubuntu-10-04 [00:21] Still, strange that it changes for you [00:23] It will take me some playing around. But probably worth doing in my case. [00:28] Hmm, did /etc/rc.local freq stays at 1.6 and is now governed by "performance" [00:29] Pulled power on battery, still full speed, plugged back still ok. Maybe I have a timing issue with upstart. [00:30] rc.local runs before whatever sets ondemand. I think I will try a wait 30 or 60 [00:31] sorry, use a sleep. [00:36] Now I have xrun/2minutes... [01:40] ailo_, how come I see this in syslog: [01:41] May 10 16:31:03 len-netbook pulseaudio[1802]: [pulseaudio] module-jack-sink.c: JACK error >Cannot use real-time scheduling (RR/72)(1: Operation not permitted)< [01:45] Len-nb: Did you remove the lines from the wrong file /etc/security/limits.conf? [01:45] And what does jack say when you start it, in its' messages? [01:46] us-controls edits the wrong file, as I mentioned. If you want to use the memlock values, either paste them into the right file, or edit the program ubuntustudio-controls, which is a python file [01:47] Probably in /usr/share/ubuntustudio-controls/ubuntustudio-controls [01:48] Ah, sorry [01:48] I remember now [01:48] Ya, it was before this boot.--Thu May 10 18:46:01 2012: JACK server starting in realtime mode with priority 77 [01:48] Thats from right now [01:49] I'm exhausted. Bugs caused by bugs [01:49] Time to hit bed [01:50] The line above was before but from the pulse half. So maybe it is complaining about jacksink not being able to be RT as jack is because pulse is not... [01:53] Len-nb: I think pulse uses audio group too, which is why probably jack will begin to use a new group later called realtime [01:54] Not sure. There's something about that group anyway [01:54] That should confuse things.... think about all those slightly old audio howto pages ;-) [02:30] ailo_, instead of "record" mode it should be "performance" mode. [02:30] still confusing... maybe "high performance" mode. [02:59] ailo_, found out what happens... ondemand gets set 60 sec after boot "to give user time to logon". So I logon and check and it says performance.... then a few sec later it becomes ondemand :P [03:01] As I have been setting up runlevel 3 as my performance level... I have set thing to switch that way. I may still have some problems yet. [17:46] FYI, http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/2.0