Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Users

Mythfrontend ignores key/remote input, playback intermittently unresponsive

 

 

MythTV users RSS feed   Index | Next | Previous | View Threaded


q.steenhuis at yahoo

Jan 23, 2009, 8:17 AM

Post #1 of 8 (1318 views)
Permalink
Mythfrontend ignores key/remote input, playback intermittently unresponsive

This has been in the archives for a while, but I was hoping that somebody might have some new insight into this problem, which is starting to seriously harm my relationship with my fiancee :). I believe it is related to this long-standing bug: http://svn.mythtv.org/trac/ticket/5660

For me, mythtv is seriously broken, especially when the bug occurs if I'm fast forwarding. I am happy to try a radical solution if it will fix my problem (like upgrading to trunk). I'm willing to buy new hardware, within reason. My other option is going back to standard def TiVO, which I really don't want to do. Really, I'd like to help fix this problem and help more people use an opensource solution with a lot of potential.

At least once per session now, when I am watching either live TV or recorded TV, MythFrontend will simply ignore my key and remote presses. Then, it plays them back all at once, as if queued up. While it is ignoring the keys, fast forward or regular play seem to be fine. I just can't pause or change the speed of playback for a while, usually about 30 seconds to a minute.

Following the notes of a few other people with the same issue, I tried alt+tab, and the rest of the machine is still responsive-alt-tab immediately switches, I can type in an xterm, etc. The machine is also very responsive to commands via an open SSH session. Load is relatively high, but on a dual-core machine, less than 80% load. This happens when watching HD and SD content alike, although maybe a bit more frequently with HD. Sometimes mythcommflag is running, and sometimes it isn't. The machine is used as a backend and frontend, but nothing else is running on it.

I am not running gnome-screensaver. In fact, I completely removed it from the system, and I am not running any other screensaver. I am running the newest weekly build, but I had the same problem in the stock mythbuntu 8.10 version of Mythtv. One possible wrinkle is that I installed gnome-desktop, and I haven't completely removed it--just removed pieces of it, such as the screensaver component. Other differences from a stock install: I added irexec to my .xinitrc to allow me to set my remote control to restart mythfrontend. However, the problem existed before I added this.

I have tried with/without "enable realtime threads." Looking at the help for that setting, it appears that mythfrontend has to run setuid root for it to work. Is that correct, and in mythbuntu, is that the default or not? Does this have a significant performance advantage? What's the proper/best way to set it to run as root?

System specs:
Mythtv version 19693, mythbuntu packages, UK weekly build
2 GB DDR ram
3.2 ghz Athlon 64 X2 (dual core)
HD Homerun
Western Digital Greenpower 1TB hard drive
connected via HDMI to tv
NVidia 8200 onboard, 177.82 drivers
Vista MCE remote, MCEUSB2 drivers (el-cheapo from Newegg, E-Data tech DEC-200B)

Does this problem still exist in trunk? Should I try different video drivers? A different remote control/ir input device? An experimental version of lirc? If anybody has any suggestions, let me know. Even just an idea about where to look in the various mythtv components for what's stalling so that I can figure out my own solution...





_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


redpepperracing at gmail

Jan 23, 2009, 8:45 AM

Post #2 of 8 (1289 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

> Does this problem still exist in trunk? Should I try different video drivers? A different remote control/ir input device? An experimental version of lirc? If anybody has any suggestions, let me know. Even just an idea about where to look in the various mythtv components for what's stalling so that I can figure out my own solution...

I believe it was fixed this morning in trunk:
http://cvs.mythtv.org/trac/ticket/6162

Tom
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


jarpublic at gmail

Jan 23, 2009, 8:47 AM

Post #3 of 8 (1272 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

On Fri, Jan 23, 2009 at 11:17 AM, Quinten Steenhuis
<q.steenhuis [at] yahoo>wrote:

> This has been in the archives for a while, but I was hoping that somebody
> might have some new insight into this problem, which is starting to
> seriously harm my relationship with my fiancee :). I believe it is related
> to this long-standing bug: http://svn.mythtv.org/trac/ticket/5660
>
> For me, mythtv is seriously broken, especially when the bug occurs if I'm
> fast forwarding. I am happy to try a radical solution if it will fix my
> problem (like upgrading to trunk). I'm willing to buy new hardware, within
> reason. My other option is going back to standard def TiVO, which I really
> don't want to do. Really, I'd like to help fix this problem and help more
> people use an opensource solution with a lot of potential.
>
> At least once per session now, when I am watching either live TV or
> recorded TV, MythFrontend will simply ignore my key and remote presses.
> Then, it plays them back all at once, as if queued up. While it is ignoring
> the keys, fast forward or regular play seem to be fine. I just can't pause
> or change the speed of playback for a while, usually about 30 seconds to a
> minute.
>
> Following the notes of a few other people with the same issue, I tried
> alt+tab, and the rest of the machine is still responsive-alt-tab immediately
> switches, I can type in an xterm, etc. The machine is also very responsive
> to commands via an open SSH session. Load is relatively high, but on a
> dual-core machine, less than 80% load. This happens when watching HD and SD
> content alike, although maybe a bit more frequently with HD. Sometimes
> mythcommflag is running, and sometimes it isn't. The machine is used as a
> backend and frontend, but nothing else is running on it.
>
> I am not running gnome-screensaver. In fact, I completely removed it from
> the system, and I am not running any other screensaver. I am running the
> newest weekly build, but I had the same problem in the stock mythbuntu 8.10
> version of Mythtv. One possible wrinkle is that I installed gnome-desktop,
> and I haven't completely removed it--just removed pieces of it, such as the
> screensaver component. Other differences from a stock install: I added
> irexec to my .xinitrc to allow me to set my remote control to restart
> mythfrontend. However, the problem existed before I added this.
>
> I have tried with/without "enable realtime threads." Looking at the help
> for that setting, it appears that mythfrontend has to run setuid root for it
> to work. Is that correct, and in mythbuntu, is that the default or not? Does
> this have a significant performance advantage? What's the proper/best way to
> set it to run as root?
>
> System specs:
> Mythtv version 19693, mythbuntu packages, UK weekly build
> 2 GB DDR ram
> 3.2 ghz Athlon 64 X2 (dual core)
> HD Homerun
> Western Digital Greenpower 1TB hard drive
> connected via HDMI to tv
> NVidia 8200 onboard, 177.82 drivers
> Vista MCE remote, MCEUSB2 drivers (el-cheapo from Newegg, E-Data tech
> DEC-200B)
>
> Does this problem still exist in trunk? Should I try different video
> drivers? A different remote control/ir input device? An experimental version
> of lirc? If anybody has any suggestions, let me know. Even just an idea
> about where to look in the various mythtv components for what's stalling so
> that I can figure out my own solution...
>
>
I am currently running the weekly builds of .21-fixes from the UK Mythbuntu
repositories and I am still experiencing the same issues and I have gone
through similar debugging steps without success.


q.steenhuis at yahoo

Jan 23, 2009, 10:39 AM

Post #4 of 8 (1270 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

----- Original Message ----

> From: Tom Lichti <redpepperracing [at] gmail>
> To: Discussion about mythtv <mythtv-users [at] mythtv>
> Sent: Friday, January 23, 2009 11:45:54 AM
> Subject: Re: [mythtv-users] Mythfrontend ignores key/remote input, playback intermittently unresponsive
>
> > Does this problem still exist in trunk? Should I try different video drivers?
> A different remote control/ir input device? An experimental version of lirc? If
> anybody has any suggestions, let me know. Even just an idea about where to look
> in the various mythtv components for what's stalling so that I can figure out my
> own solution...
>
> I believe it was fixed this morning in trunk:
> http://cvs.mythtv.org/trac/ticket/6162

Does that mean if I sit tight, it will be fixed in a weekly build soon? Or do I need to migrate to trunk if I'm having the problem?

The description definitely sounds like the same problem I've been having, but I am unsure why it's only affecting some people, and not everyone. If there's a workaround or patch for mythtv .21-fixes, I'd rather use that. If not, I'll take the plunge.




_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


allen.p.edwards at gmail

Jan 23, 2009, 10:51 AM

Post #5 of 8 (1274 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

On Fri, Jan 23, 2009 at 10:39 AM, Quinten Steenhuis
<q.steenhuis [at] yahoo> wrote:
>
> ----- Original Message ----
>
>> From: Tom Lichti <redpepperracing [at] gmail>
>> To: Discussion about mythtv <mythtv-users [at] mythtv>
>> Sent: Friday, January 23, 2009 11:45:54 AM
>> Subject: Re: [mythtv-users] Mythfrontend ignores key/remote input, playback intermittently unresponsive
>>
>> > Does this problem still exist in trunk? Should I try different video drivers?
>> A different remote control/ir input device? An experimental version of lirc? If
>> anybody has any suggestions, let me know. Even just an idea about where to look
>> in the various mythtv components for what's stalling so that I can figure out my
>> own solution...
>>
>> I believe it was fixed this morning in trunk:
>> http://cvs.mythtv.org/trac/ticket/6162
>
> Does that mean if I sit tight, it will be fixed in a weekly build soon? Or do I need to migrate to trunk if I'm having the problem?
>
> The description definitely sounds like the same problem I've been having, but I am unsure why it's only affecting some people, and not everyone. If there's a workaround or patch for mythtv .21-fixes, I'd rather use that. If not, I'll take the plunge.
>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>


It happens to me once every few weeks. Drives me nuts when it happens.

I am fairly unsure what is being said about that patch. I also prefer
to wait for an official fix but I noticed a milestone as 0.22. Does
that mean it will not hit the .21-fixes?

If I wanted to fix this, what would I do with this patch file 6162-v1.patch?

Allen
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ylee at pobox

Jan 23, 2009, 1:52 PM

Post #6 of 8 (1276 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

Quinten Steenhuis <q.steenhuis [at] yahoo> says:
> At least once per session now, when I am watching either live TV or
> recorded TV, MythFrontend will simply ignore my key and remote
> presses. Then, it plays them back all at once, as if queued up.

Two thoughts:

1.
You make no mention of whether you are using irxevent to translate
remote button presses into keystrokes, or using mythfrontend's
built-in LIRC interface. Is your .lircrc filled with 'prog =
irxevent', or 'prog = mythtv'? Switch from one to the other.

2.
I experience what you and others describe in one specific
circumstance: When backing up the mythconverg database
(<URL:http://www.gossamer-threads.com/lists/mythtv/users/247868#247868.
I've long since more or less eliminated the issue by modifying the
script to dump the database to a disk other than the one it resides
on.)

You are of course not backing up your database so often as to cause
the issue you describe during every playback. My guess, however, is
that between mythbackend and MySQL something is slow. If so, it likely
has something to do with recordedseek--by far the largest table in
mythconverg. Another suspect is mythbackend's periodic
rescheduling. Tell me: Can you trigger the issue by 'mythbackend
--resched'? When you go to System Status|AutoExpire List, how quickly
does the list appear?

--
Frontend: P4 3.0GHz, 1.5TB software RAID 5 array
Backend: Quad-core Xeon 1.6GHz, 6.6TB sw RAID 6
Video inputs: Four high-definition over FireWire/OTA
Accessories: 47" 1080p LCD, 5.1 digital, and MX-600
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Jan 23, 2009, 3:22 PM

Post #7 of 8 (1283 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

On 01/23/2009 01:39 PM, Quinten Steenhuis wrote:
>> I believe it was fixed this morning in trunk:
>> http://cvs.mythtv.org/trac/ticket/6162
>>
> Does that mean if I sit tight, it will be fixed in a weekly build soon? Or do I need to migrate to trunk if I'm having the problem?
>
> The description definitely sounds like the same problem I've been having, but I am unsure why it's only affecting some people, and not everyone. If there's a workaround or patch for mythtv .21-fixes, I'd rather use that. If not, I'll take the plunge.
>

-fixes doesn't have the code that caused the issue in trunk. Once the
problem in -fixes is identified, it will be fixed.

Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


q.steenhuis at yahoo

Jan 23, 2009, 4:05 PM

Post #8 of 8 (1273 views)
Permalink
Re: Mythfrontend ignores key/remote input, playback intermittently unresponsive [In reply to]

----- Original Message ----
> From: Yeechang Lee <ylee [at] pobox>
> To: Discussion about mythtv <mythtv-users [at] mythtv>
> Sent: Friday, January 23, 2009 4:52:07 PM
> Subject: Re: [mythtv-users] Mythfrontend ignores key/remote input, playback intermittently unresponsive
>
> Quinten Steenhuis says:
> > At least once per session now, when I am watching either live TV or
> > recorded TV, MythFrontend will simply ignore my key and remote
> > presses. Then, it plays them back all at once, as if queued up.
>
> Two thoughts:
>
> 1.
> You make no mention of whether you are using irxevent to translate
> remote button presses into keystrokes, or using mythfrontend's
> built-in LIRC interface. Is your .lircrc filled with 'prog =
> irxevent', or 'prog = mythtv'? Switch from one to the other.

I am not using irxevent at all, but mythfrontend's built-in lirc interface. I'm willing to try it, but I've read that using irxevent is a more complicated approach.

I am using irexec, though not to control myth.

> 2.
> I experience what you and others describe in one specific
> circumstance: When backing up the mythconverg database
> (
> I've long since more or less eliminated the issue by modifying the
> script to dump the database to a disk other than the one it resides
> on.)
>
> You are of course not backing up your database so often as to cause
> the issue you describe during every playback. My guess, however, is
> that between mythbackend and MySQL something is slow. If so, it likely
> has something to do with recordedseek--by far the largest table in
> mythconverg. Another suspect is mythbackend's periodic
> rescheduling. Tell me: Can you trigger the issue by 'mythbackend
> --resched'? When you go to System Status|AutoExpire List, how quickly
> does the list appear?

I tried running mythbackend --resched. It didn't interfere with any keyboard or remote presses.

I also have UseEvents turned on in xorg.conf





_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

MythTV users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.