[mythtv-commits] Ticket #5893: keystroke handling for Lirc too expensive

MythTV mythtv at cvs.mythtv.org
Sat Nov 8 22:22:36 UTC 2008


#5893: keystroke handling for Lirc too expensive
---------------------------------+------------------------------------------
 Reporter:  km at mathcs.emory.edu  |       Owner:  stuartm
     Type:  defect               |      Status:  new    
 Priority:  minor                |   Milestone:  unknown
Component:  libmythui            |     Version:  unknown
 Severity:  medium               |     Mlocked:  0      
---------------------------------+------------------------------------------
 From mythmainwindow.cpp handling a Lirc keycode
 ---
 if (keycode)
         {
             GetMythUI()->ResetScreensaver();
             if (GetMythUI()->GetScreenIsAsleep())
                 return;
 ---
 ResetScreensaver (in screensaver-x11.cpp) invokes

      myth_system("gnome-screensaver-command --poke

 So there is a fork/exec of gnome-screensaver-command on every Lirc key
 press. On a system with little free memory this can several seconds per
 keystroke.

 The strategy should be changed. At very least there should be an option to
 disable screensaver checking.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5893>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list