[mythtv-users] Mythfrontend crashes/locks computer during playback

Robert Grandin grandin.robert at gmail.com
Tue Nov 9 02:30:58 UTC 2010


Hello all,

I'm having a situation where mythfrontend will fail mid-playback.  
Playback seems fine until the screen goes blank (video output from the 
computer is gone and replaced by the screen manufacturer's logo) and the 
audio sticks in a quickly-repeating loop (a few cycles per second of the 
last few moments of audio).  Sometimes I can watch ~30-45 minutes before 
this occurs.  Other times it takes less that 5 minutes.

Upon reboot I repair the database using 'mysqlcheck -u root -p --repair 
mythconverg' and the database appears to be OK after that.  I haven't 
been able to tie these crashes to the backend changing tasks (i.e. 
starting/stopping a recording, beginning to flag commercials, etc).

The backend records programs without problem and I can download/watch 
files to my laptop through MythWeb without a problem.  I can also 
connect from a separate frontend computer and then playback works just 
fine (or at least I haven't watched anything long enough to induce a 
freeze).  Basically, it seems that I can watch my programs as long as 
I'm not trying to watch on the computer that runs my TV.

These problems didn't exist until recently when I replaced hardware in 
my computer.  I migrated my old recordings and database to the new 
hardware.  Here's my current system:

    * OpenSUSE 11.3 64bit
    * MythTV 0.23 (installed via YaST)
    * PCHDTV TV card
    * Intel Pentium (2 cores at 2.9 GHz)
    * 2GB RAM
    * ASUS P5G43T-M Pro motherboard

I have done the following based on some forum-hunting and log-file viewing:

    * Made sure that OpenGL isn't used for vsync
    * Changed the deinterlacing to "One Field".  My display is a
      480-line projector panel.


Here is some sample output from log files ('mythfrontend -v playback -l 
logfile.txt').

The tail of a log file produced with "-v playback" option enabled:
...
2010-11-01 21:40:00.214 NVP(0): 3200 interlaced frames seen.
'video_output' mean = '33499.21', std. dev. = '1668.30', fps = '29.85'
'video_output' mean = '33497.95', std. dev. = '1666.77', fps = '29.85'
'video_output' mean = '33498.65', std. dev. = '1665.69', fps = '29.85'
'video_output' mean = '33332.29', std. dev. = '73.50', fps = '30.00'
2010-11-01 21:40:13.597 NVP(0): 3600 interlaced frames seen.
'video_output' mean = '33498.52', std. dev. = '1667.93', fps = '29.85'
'video_output' mean = '33498.57', std. dev. = '1664.38', fps = '29.85'
'video_output' mean = '33331.84', std. dev. = '38.79', fps = '30.00'
'video_output' mean = '33498.78', std. dev. = '1664.67', fps = '29.85'
...

The tail of a log file with "-v all" option enabled:
...
2010-11-08 20:00:59.681 SetAudiotime set=1289268059.681368, audt=640482 
atc=641591 tb=196256 sb=58784 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.681 GetAudiotime now=1289268059.681430, 
set=1289268059.681368, ret=0, audt=640482 sf=1
2010-11-08 20:00:59.681 AO: Broadcasting free space avail
2010-11-08 20:00:59.681 WriteAudio: Preparing 6144 bytes (1536 frames)
2010-11-08 20:00:59.681 SetAudiotime set=1289268059.681743, audt=640482 
atc=641591 tb=196176 sb=64848 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.681 AO: audio waiting for space on soundcard: have 
688 need 6144
2010-11-08 20:00:59.687 SetAudiotime set=1289268059.687473, audt=640488 
atc=641591 tb=195088 sb=63760 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.687 AO: audio waiting for space on soundcard: have 
1776 need 6144
2010-11-08 20:00:59.692 SetAudiotime set=1289268059.692661, audt=640494 
atc=641591 tb=194080 sb=62752 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.692 AO: audio waiting for space on soundcard: have 
2768 need 6144
2010-11-08 20:00:59.697 SetAudiotime set=1289268059.697810, audt=640500 
atc=641591 tb=193104 sb=61776 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.697 AO: audio waiting for space on soundcard: have 
3760 need 6144
2010-11-08 20:00:59.702 SetAudiotime set=1289268059.702995, audt=640505 
atc=641591 tb=192096 sb=60768 eds=4421389 abps=4 sf=1
2010-11-08 20:00:59.703 AO: audio waiting for space on soundcard: have 
4752 need 6144
2010-11-08 20:00:59.705 AVSync show
2010-11-08 20:00:59.706 GetAudiotime now=1289268059.706198, 
set=1289268059.702995, ret=3, audt=640505 sf=1
2010-11-08 20:00:59.706 NVP(2): A/V Divergence: 1.13016, Rate: 
-0.00710304, Warpfactor: 1.0197, warpfactor_avg: 1.01062
...

The "-v all" was enabled for about 45 minutes of viewing, so I have a 
120MB file to search through for more details.  If anyone has any 
suggestions for helpful keywords to check for, that would be greatly 
appreciated!

Any help will be greatly appreciated!

Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20101108/904ffebe/attachment.htm>


More information about the mythtv-users mailing list