/srv/irclogs.ubuntu.com/2012/05/11/#ubuntustudio-devel.txt

Len-nbJack 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-nbailo_, xrun/min seem to go away while cpu speed is higher.00:02
ailo_Len-nb: Makes sense00:03
ailo_That means less chance of getting xruns because of NM if CPU is fast00:03
Len-nbNow if I could just get it to stay set to performance...00:04
ailo_Should make the netbook hotter too00:04
Len-nbsuch is life...00:04
ailo_Len-nb: How are you changing it now?00:05
Len-nbailo_, I have yet to catch the CPU at the two in between speeds...00:05
Len-nbI had a line in rc.local that set it to performance.00:06
Len-nbBut something shut it off to on demand.00:07
Len-nbportable 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 others00:10
Len-nbjust US. Anything else is desktop apps or games.00:11
Len-nbThe same as i would put on my desktop00:11
ailo_cause laptops seem to have their own conf file to set all kinds of things00:11
Len-nbThere is a daemon running called ondemand00:12
Len-nbIt may do different things because a battery is present.00:12
ailo_Len-nb: There's a utlity called cpufrequtils00:13
Len-nbThats how I am watching the cpu freq.00:13
ailo_You should be able to set default settings with it's conf file00:13
ailo_/etc/default/cpufrequtils00:13
Len-nbThats also what I call to set performance on boot.00:13
Len-nbI'll look.00:14
ailo_If I remember correctly, you can edit a file in /sys/* to do it manually00:14
ailo_echo performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor00:16
Len-nbNope, file not there. I think I have to keep ondemand from running _and_ then set things to performance.00:16
Len-nbJa, I saw that on the audio setup page. I got the way I do it from there too.00:17
Len-nbMaybe try the other too.00:17
ailo_But that's only for the first processor though00:17
Len-nbI 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-0400:21
ailo_Still, strange that it changes for you00:21
Len-nbIt will take me some playing around. But probably worth doing in my case.00:23
Len-nbHmm, did /etc/rc.local freq stays at 1.6 and is now governed by "performance"00:28
Len-nbPulled power on battery, still full speed, plugged back still ok. Maybe I have a timing issue with upstart.00:29
Len-nbrc.local runs before whatever sets ondemand. I think I will try a wait 30 or 6000:30
Len-nbsorry, use a sleep.00:31
Len-nbNow I have xrun/2minutes...00:36
Len-nbailo_, how come I see this in syslog:01:40
Len-nbMay 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 file01:46
ailo_Probably in /usr/share/ubuntustudio-controls/ubuntustudio-controls01:47
ailo_Ah, sorry01:48
ailo_I remember now01:48
Len-nbYa, it was before this boot.--Thu May 10 18:46:01 2012: JACK server starting in realtime mode with priority 7701:48
Len-nbThats from right now01:48
ailo_I'm exhausted. Bugs caused by bugs01:49
ailo_Time to hit bed01:49
Len-nbThe 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 realtime01:53
ailo_Not sure. There's something about that group anyway01:54
Len-nbThat should confuse things.... think about all those slightly old audio howto pages ;-)01:54
Len-nbailo_, instead of "record" mode it should be "performance" mode.02:30
Len-nbstill confusing... maybe "high performance" mode.02:30
Len-nbailo_, 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 :P02:59
Len-nbAs 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
micahgFYI, http://www.freedesktop.org/wiki/Software/PulseAudio/Notes/2.017:46

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