Len-nb | 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:00 |
---|---|---|
Len-nb | ailo_, xrun/min seem to go away while cpu speed is higher. | 00:02 |
ailo_ | Len-nb: Makes sense | 00:03 |
ailo_ | That means less chance of getting xruns because of NM if CPU is fast | 00:03 |
Len-nb | Now if I could just get it to stay set to performance... | 00:04 |
ailo_ | Should make the netbook hotter too | 00:04 |
Len-nb | such is life... | 00:04 |
ailo_ | Len-nb: How are you changing it now? | 00:05 |
Len-nb | ailo_, I have yet to catch the CPU at the two in between speeds... | 00:05 |
Len-nb | I had a line in rc.local that set it to performance. | 00:06 |
Len-nb | But something shut it off to on demand. | 00:07 |
Len-nb | portable devices must keep checking or something. I have not changed from power to battery or anything like that though. | 00:08 |
ailo_ | Len-nb: Do you have some laptop specific stuff installed? | 00:09 |
ailo_ | You might have conf files for them that override others | 00:10 |
Len-nb | just US. Anything else is desktop apps or games. | 00:11 |
Len-nb | The same as i would put on my desktop | 00:11 |
ailo_ | cause laptops seem to have their own conf file to set all kinds of things | 00:11 |
Len-nb | There is a daemon running called ondemand | 00:12 |
Len-nb | It may do different things because a battery is present. | 00:12 |
ailo_ | Len-nb: There's a utlity called cpufrequtils | 00:13 |
Len-nb | Thats how I am watching the cpu freq. | 00:13 |
ailo_ | You should be able to set default settings with it's conf file | 00:13 |
ailo_ | /etc/default/cpufrequtils | 00:13 |
Len-nb | Thats also what I call to set performance on boot. | 00:13 |
Len-nb | I'll look. | 00:14 |
ailo_ | If I remember correctly, you can edit a file in /sys/* to do it manually | 00:14 |
ailo_ | echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor | 00:16 |
Len-nb | Nope, file not there. I think I have to keep ondemand from running _and_ then set things to performance. | 00:16 |
Len-nb | Ja, I saw that on the audio setup page. I got the way I do it from there too. | 00:17 |
Len-nb | Maybe try the other too. | 00:17 |
ailo_ | But that's only for the first processor though | 00:17 |
Len-nb | I do it twice one for each cpu. | 00:17 |
ailo_ | Len-nb: How about sysfsutils? | 00:20 |
ailo_ | Len-nb: An old link http://superuser.com/questions/179329/disable-frequency-scaling-ondemand-daemon-on-ubuntu-10-04 | 00:21 |
ailo_ | Still, strange that it changes for you | 00:21 |
Len-nb | It will take me some playing around. But probably worth doing in my case. | 00:23 |
Len-nb | Hmm, did /etc/rc.local freq stays at 1.6 and is now governed by "performance" | 00:28 |
Len-nb | Pulled power on battery, still full speed, plugged back still ok. Maybe I have a timing issue with upstart. | 00:29 |
Len-nb | rc.local runs before whatever sets ondemand. I think I will try a wait 30 or 60 | 00:30 |
Len-nb | sorry, use a sleep. | 00:31 |
Len-nb | Now I have xrun/2minutes... | 00:36 |
Len-nb | ailo_, how come I see this in syslog: | 01:40 |
Len-nb | 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:41 |
ailo_ | Len-nb: Did you remove the lines from the wrong file /etc/security/limits.conf? | 01:45 |
ailo_ | And what does jack say when you start it, in its' messages? | 01:45 |
ailo_ | 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:46 |
ailo_ | Probably in /usr/share/ubuntustudio-controls/ubuntustudio-controls | 01:47 |
ailo_ | Ah, sorry | 01:48 |
ailo_ | I remember now | 01:48 |
Len-nb | Ya, it was before this boot.--Thu May 10 18:46:01 2012: JACK server starting in realtime mode with priority 77 | 01:48 |
Len-nb | Thats from right now | 01:48 |
ailo_ | I'm exhausted. Bugs caused by bugs | 01:49 |
ailo_ | Time to hit bed | 01:49 |
Len-nb | 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:50 |
ailo_ | 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:53 |
ailo_ | Not sure. There's something about that group anyway | 01:54 |
Len-nb | That should confuse things.... think about all those slightly old audio howto pages ;-) | 01:54 |
Len-nb | ailo_, instead of "record" mode it should be "performance" mode. | 02:30 |
Len-nb | still confusing... maybe "high performance" mode. | 02:30 |
Len-nb | 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 | 02:59 |
Len-nb | 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. | 03:01 |
micahg | FYI, http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/2.0 | 17:46 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!