Re: [Freevo-users] What is freevo doing while Idle?
On 02/11/2011 07:52 AM, Adam Charrett wrote: > What freevo was doing was a poll of internal modules every 0.01 seconds ( > or every 10 milliseconds if you prefer :-) ). This was to check for events, > changes to the cache etc etc. I've now moved all of this to the kaa framework > which doesn't wake up every 10 millisecond all the time. > > I'm running this on my main box at the moment to check for issues, and as > its my main box any problems will get fixed asap or there'll be hell to > pay :-) > Adam, I updated to svn:head and I'm getting this error: I have updated and reinstalled both kaa and freevo. AttributeError: Lirc instance has no attribute 'rc' 2011-02-11 21:33:29,447 ERRORException while emitting signal Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/kaa/base/core.py", line 580, in emit if cb(*args, **kwargs) == False: File "/usr/lib/python2.6/site-packages/kaa/base/callable.py", line 226, in __call__ return cb(*cb_args, **cb_kwargs) File "/usr/lib/python2.6/site-packages/freevo/rc.py", line 229, in __process_key self.rc.post_key(code) AttributeError: Lirc instance has no attribute 'rc' Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] Mplayer audio/video sync
On 02/11/2011 02:50 AM, Stephen Rowles wrote: > This may be a silly suggestion, but have you tried checking in "top"? No > idea what spec your machine is but could it be that it is only just > capable of playing back the video and with the overhead of freevo it > can't quite cope, hence audio slipping out of sync? Thanks for the response. Yes, top tells me that I'm only using 60% of the CPU for mplayer and 10% for python (freevo) when running mplayer both inside and outside of freevo. I don't think I have a cpu performance problem. > > Another silly thing worth checking is are you running them both as the > same user? Could it be there are some different .mplayer settings that > are being used? I have tried different users too. I get the same behavior outside of freevo when using either the user which freevo runs (root) or an non-root user. When outside of freevo, the videos play just fine. The choice of videos is sensitive too. US broadcasts recorded from CBS, ABC, NBC work fine. I have trouble with videos from FOX and ION. I'm going to try and hack up mplayer.py to launch mplayer using "system" instead of the ChildApp class and see what happens there. I just need a fews hours to concentrate on it. Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users
Re: [Freevo-users] What is freevo doing while Idle?
On Sun, 6 Feb 2011, Alan wrote: > On Sun, Feb 6, 2011 at 5:21 AM, Jim Duda wrote: >> I noticed that when freevo has nothing to do, the python process is still >> consuming 10% of my processor. >> All it should be doing is polling the LIRC socket (I think). > > This is a really old bug, but since you didn't mention what version > you are using, check it out: > > http://www.mail-archive.com/freevo-users@lists.sourceforge.net/msg17063.html > Yes it is but one I've hopefully just fixed, I've checked in a couple of changes yesterday that should reduce the CPU usage when idle down to 3% if that. What freevo was doing was a poll of internal modules every 0.01 seconds ( or every 10 milliseconds if you prefer :-) ). This was to check for events, changes to the cache etc etc. I've now moved all of this to the kaa framework which doesn't wake up every 10 millisecond all the time. I'm running this on my main box at the moment to check for issues, and as its my main box any problems will get fixed asap or there'll be hell to pay :-) Cheers Adam -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users