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

Mailing List Archive: MythTV: Users

Remote Frontend HD playback causes Segfault

 

 

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


mike at dividia

Jun 30, 2007, 1:00 PM

Post #1 of 7 (462 views)
Permalink
Remote Frontend HD playback causes Segfault

I can't for the life of me figure this one out. I'm running F7 on both
my backend and frontend. My backend (though its the lesser power
machine) plays back HD content just fine. But my beefier frontend
segfaults within the first 30 seconds of playback. It seems to vary,
sometimes I get the segfault immediately, sometimes I think its finally
going to work then boom.

I need some guidance on what to try, I've changed interlacing, with and
without opengl timing, even tried XvMC thought this machine shouldn't
need it. I've tried several nvidia drivers (currently using 100.14.11).
I don't think its a driver issue because X is not crashing, just
mythfrontend is crashing. Also playback of SD stuff works fine,
mythfrontend can run for days perhaps for eternity as long as I don't
try to play back an HD clip.

Currently running ATrpms-bleeding SVN revision 13756. I suppose I could
try building from source and enabling the debug stuff. But I was hoping
someone had a few hints before I went through that.

I do have one clue, earlier I believe artsd was using /dev/dsp for
whatever reason so when I tried to play an HD clip I got an message
saying it was disabling audio. Well, the clip played fine after that,
except the obvious no sound, but at least it didn't segfault. So.....
I'm tinkering with the audio buffering options.

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


ben at inspiredtechs

Jun 30, 2007, 6:17 PM

Post #2 of 7 (423 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

Mike,

Take a look at this ticket: http://svn.mythtv.org/trac/ticket/3677
And this thread: http://www.gossamer-threads.com/lists/mythtv/users/276872

If hope this is helpful.

Thanks,
Ben

On 6/30/07, Mike LaPlante <mike[at]dividia.net> wrote:
>
> I can't for the life of me figure this one out. I'm running F7 on both
> my backend and frontend. My backend (though its the lesser power
> machine) plays back HD content just fine. But my beefier frontend
> segfaults within the first 30 seconds of playback. It seems to vary,
> sometimes I get the segfault immediately, sometimes I think its finally
> going to work then boom.
>
> I need some guidance on what to try, I've changed interlacing, with and
> without opengl timing, even tried XvMC thought this machine shouldn't
> need it. I've tried several nvidia drivers (currently using 100.14.11).
> I don't think its a driver issue because X is not crashing, just
> mythfrontend is crashing. Also playback of SD stuff works fine,
> mythfrontend can run for days perhaps for eternity as long as I don't
> try to play back an HD clip.
>
> Currently running ATrpms-bleeding SVN revision 13756. I suppose I could
> try building from source and enabling the debug stuff. But I was hoping
> someone had a few hints before I went through that.
>
> I do have one clue, earlier I believe artsd was using /dev/dsp for
> whatever reason so when I tried to play an HD clip I got an message
> saying it was disabling audio. Well, the clip played fine after that,
> except the obvious no sound, but at least it didn't segfault. So.....
> I'm tinkering with the audio buffering options.
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>


mike at dividia

Jul 2, 2007, 7:15 AM

Post #3 of 7 (401 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

Ben Dailey wrote:
> Mike,
>
> Take a look at this ticket: http://svn.mythtv.org/trac/ticket/3677
> And this thread:
> http://www.gossamer-threads.com/lists/mythtv/users/276872
> <http://www.gossamer-threads.com/lists/mythtv/users/276872>
>
> If hope this is helpful.
>
> Thanks,
> Ben
>
Thanks Ben, I have no idea if my issue is the same as that one. I've
attached a -v audio log.

I don't mind trying to compile from source, so that I could provide a
backtrace. But I don't know exactly how to go about it. Mainly because I
don't know what all rpms I'd have to remove before trying to compile
from source.

I can easily grep for rpms with *myth* in the names and remove all
those, then download the source. But I don't know if thats sufficient,
or if I would still have lingering libraries from the rpms.

Also, there's the fact that my backend plays back the HD stuff just
fine, and its on the same SVN release. And then today, for grins, I
installed mythfrontend on my somewhat under powered laptop to see how it
would handle the HD content. It plays back the HD recordings, not
smoothly lots of prebuffering pauses, but it never segfaults like my
main frontend does.

Makes me think something is wrong with the hardware on this frontend,
except mplayer plays the HD stuff fine.

Thanks
Mike

PS - original attempt to attach mythfrontend log got blocked because of
size, here is a link http://myth.laplantefamily.net/mythfrontend.log
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


ben at inspiredtechs

Jul 2, 2007, 9:44 AM

Post #4 of 7 (392 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

Mike,

The bug is apparently tighted to SSE processor extensions. It is possible
why you are not seeing the segfault on your other machines? What processor
are in each system? There has been a fix committed in head for this issue
and it has solved the problem for me in my quick 2 minute test this morning.
If you would like I can give you my uninstall and build scripts that I use
to make sure my system is clean for a new build. The log you attached looks
very similar to what I was seeing before the segfaults but I am no expert
and I wouldn't take my comments authoritatively.

Thanks,
Ben

On 7/2/07, Mike LaPlante <mike[at]dividia.net> wrote:
>
> Ben Dailey wrote:
> > Mike,
> >
> > Take a look at this ticket: http://svn.mythtv.org/trac/ticket/3677
> > And this thread:
> > http://www.gossamer-threads.com/lists/mythtv/users/276872
> > <http://www.gossamer-threads.com/lists/mythtv/users/276872>
> >
> > If hope this is helpful.
> >
> > Thanks,
> > Ben
> >
> Thanks Ben, I have no idea if my issue is the same as that one. I've
> attached a -v audio log.
>
> I don't mind trying to compile from source, so that I could provide a
> backtrace. But I don't know exactly how to go about it. Mainly because I
> don't know what all rpms I'd have to remove before trying to compile
> from source.
>
> I can easily grep for rpms with *myth* in the names and remove all
> those, then download the source. But I don't know if thats sufficient,
> or if I would still have lingering libraries from the rpms.
>
> Also, there's the fact that my backend plays back the HD stuff just
> fine, and its on the same SVN release. And then today, for grins, I
> installed mythfrontend on my somewhat under powered laptop to see how it
> would handle the HD content. It plays back the HD recordings, not
> smoothly lots of prebuffering pauses, but it never segfaults like my
> main frontend does.
>
> Makes me think something is wrong with the hardware on this frontend,
> except mplayer plays the HD stuff fine.
>
> Thanks
> Mike
>
> PS - original attempt to attach mythfrontend log got blocked because of
> size, here is a link http://myth.laplantefamily.net/mythfrontend.log
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>


mike at dividia

Jul 2, 2007, 9:55 AM

Post #5 of 7 (395 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

Ben Dailey wrote:
> Mike,
>
> The bug is apparently tighted to SSE processor extensions. It is
> possible why you are not seeing the segfault on your other machines?
> What processor are in each system? There has been a fix committed in
> head for this issue and it has solved the problem for me in my quick 2
> minute test this morning. If you would like I can give you my
> uninstall and build scripts that I use to make sure my system is clean
> for a new build. The log you attached looks very similar to what I was
> seeing before the segfaults but I am no expert and I wouldn't take my
> comments authoritatively.
>
> Thanks,
> Ben
Hmm, actually yes, both my other systems are AMD, where as the system
I'm having trouble with is Intel. If a fix is already in the works then
I may just wait until Axel gets the next set of rpms out. I knew the
risk of running SVN when I upgraded to it, but decided it was worth it
so that my firewire STB would work reliably.

The kicker is that my backend is in the bedroom, my frontend is on the
nice big LCD HDTV. So I'm having to watch the HD stuff on my crappy
CRT. :-(

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


mike at dividia

Jul 5, 2007, 4:43 PM

Post #6 of 7 (362 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

Mike LaPlante wrote:
> Ben Dailey wrote:
>
>> Mike,
>>
>> The bug is apparently tighted to SSE processor extensions. It is
>> possible why you are not seeing the segfault on your other machines?
>> What processor are in each system? There has been a fix committed in
>> head for this issue and it has solved the problem for me in my quick 2
>> minute test this morning. If you would like I can give you my
>> uninstall and build scripts that I use to make sure my system is clean
>> for a new build. The log you attached looks very similar to what I was
>> seeing before the segfaults but I am no expert and I wouldn't take my
>> comments authoritatively.
>>
>> Thanks,
>> Ben
>>
> Hmm, actually yes, both my other systems are AMD, where as the system
> I'm having trouble with is Intel. If a fix is already in the works then
> I may just wait until Axel gets the next set of rpms out. I knew the
> risk of running SVN when I upgraded to it, but decided it was worth it
> so that my firewire STB would work reliably.
>
> The kicker is that my backend is in the bedroom, my frontend is on the
> nice big LCD HDTV. So I'm having to watch the HD stuff on my crappy
> CRT. :-(
>
> Thanks for the replies.
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users[at]mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Sorry to reply to myself, just wanted to add a tidbit of information. I
have been stating that its only HD stuff that causes the segfault. Turns
out it actually anything recorded off my STB connected via firewire. So
even the SD digital stuff is causing the segfault. These are all
recorded using mpeg2ts obviously. All other shows are recorded on my PVR
150 and 250. Those seem to play just fine on trouble system.

Thanks, just wanted to stick that in there in case it helps.

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


trgreer at gmail

Jul 5, 2007, 5:45 PM

Post #7 of 7 (368 views)
Permalink
Re: Remote Frontend HD playback causes Segfault [In reply to]

On 7/5/07, Mike LaPlante <mike[at]dividia.net> wrote:
> Sorry to reply to myself, just wanted to add a tidbit of information. I
> have been stating that its only HD stuff that causes the segfault. Turns
> out it actually anything recorded off my STB connected via firewire. So
> even the SD digital stuff is causing the segfault. These are all
> recorded using mpeg2ts obviously. All other shows are recorded on my PVR
> 150 and 250. Those seem to play just fine on trouble system.
>
> Thanks, just wanted to stick that in there in case it helps.
>
> Mike

My recommendation is to start troubleshooting from the beginning again.

What do your frontend and backend logfiles display just prior to the segfault?
Are any errors being logged in dmesg, syslog, xorg.0.log, etc?

Tom
_______________________________________________
mythtv-users mailing list
mythtv-users[at]mythtv.org
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 lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.