Opened 14 years ago

Last modified 13 years ago

#2448 closed defect

frontend hangs when switching livetv/guide — at Version 1

Reported by: spam1001@… Owned by: Isaac Richards
Priority: minor Milestone: 0.21
Component: mythtv Version: 0.20
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Isaac Richards)

Intermittently when switching between the guide and live tv mythfrontend will hang, and must be restarted. This happened right after the 0.20 upgrade, I was running 0.19-fixes before.

Here is a mythfrontend log excerpt around the time of the problem. As far as I can tell the problem always shows these messages:

QGLContext::makeCurrent(): Failed.
2006-09-21 20:59:24.654 XMLParse::LoadTheme using /usr/local/share/mythtv/themes/MythCenter/ui.xml
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode:  143
  Minor opcode:  5
  Resource id:  0x1800009

Here is a bit more of the log before and after:

2006-09-21 18:50:04.429 TV: Attempting to change from WatchingLiveTV to None
2006-09-21 18:50:04.571 TV: Changing from WatchingLiveTV to None
2006-09-21 20:11:44.740 XMLParse::LoadTheme using /usr/local/share/mythtv/themes/MythCenter/ui.xml
2006-09-21 20:11:54.959 TV: Attempting to change from None to WatchingPreRecorded
0: start_time: 0.036 duration: 323.907
1: start_time: 0.026 duration: 323.883
stream: start_time: 0.289 duration: 3599.073 bitrate=5187 kb/s
2006-09-21 20:11:55.104 AFD: Opened codec 0x8eea0f0, id(MPEG2VIDEO) type(Video)
2006-09-21 20:11:55.104 AFD: Opened codec 0x90ca880, id(MP2) type(Audio)
2006-09-21 20:11:55.106 Opening ALSA audio device 'spdif'.
2006-09-21 20:11:57.412 VideoOutputXv: XvMCTex: Init failed
2006-09-21 20:11:57.412 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay'
2006-09-21 20:11:57.982 Using realtime priority.
2006-09-21 20:11:57.987 TV: Changing from None to WatchingPreRecorded
2006-09-21 20:11:58.110 Video timing method: SGI OpenGL
2006-09-21 20:31:04.779 WriteAudio: buffer underrun
2006-09-21 20:54:23.137 WriteAudio: buffer underrun
2006-09-21 20:54:35.000 WriteAudio: buffer underrun
2006-09-21 20:58:55.232 TV: Attempting to change from WatchingPreRecorded to None
2006-09-21 20:58:55.406 TV: Changing from WatchingPreRecorded to None
0: start_time: 0.036 duration: 323.907
1: start_time: 0.026 duration: 323.883
stream: start_time: 0.289 duration: 3599.073 bitrate=5187 kb/s
2006-09-21 20:58:56.753 AFD: Opened codec 0x8eea0f0, id(MPEG2VIDEO) type(Video)
2006-09-21 20:58:56.753 AFD: Opened codec 0x8ff7f40, id(MP2) type(Audio)
2006-09-21 20:59:05.826 TV: Attempting to change from None to WatchingLiveTV
2006-09-21 20:59:05.827 Using protocol version 30
2006-09-21 20:59:10.773 AFD: Opened codec 0x90cf0a0, id(MPEG2VIDEO) type(Video)
2006-09-21 20:59:10.774 AFD: Opened codec 0x838a530, id(MP2) type(Audio)
2006-09-21 20:59:10.896 Opening ALSA audio device 'spdif'.
2006-09-21 20:59:10.904 VideoOutputXv: XvMCTex: Init failed
2006-09-21 20:59:10.905 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video Overlay'
2006-09-21 20:59:11.649 Using realtime priority.
2006-09-21 20:59:11.653 TV: Changing from None to WatchingLiveTV
2006-09-21 20:59:11.776 Video timing method: SGI OpenGL
2006-09-21 20:59:23.104 NVP: prebuffering pause
QGLContext::makeCurrent(): Failed.
2006-09-21 20:59:24.654 XMLParse::LoadTheme using /usr/local/share/mythtv/themes/MythCenter/ui.xml
X Error: BadAccess (attempt to access private resource denied) 10
  Major opcode:  143
  Minor opcode:  5
  Resource id:  0x1800009
2006-09-21 21:00:13.033 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:16.233 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:19.433 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:22.634 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:26.122 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:30.014 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:33.490 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:36.754 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:40.002 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:43.223 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:46.431 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:49.659 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:52.875 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:56.091 NVP: Timed out waiting for free video buffers.
2006-09-21 21:00:59.301 NVP: Timed out waiting for free video buffers.
mythfrontend: Fatal IO error: client killed

Hardware: Nvidia geforce4 (420) 2GB ram 3GHz pentium 4

software: ubuntu 6.06 custom linux 2.6.15.7 nvidia 8774 drivers

settings: output res 720x480 bob deinterlace mpeg2 decoder: standard opengl vertical sync (I tried running without this since the error seemed to be GL related, but the output was too choppy and I couldn't stand it) realtime priority threads use video as timebase NOT checked extra audio buffering gui width 657 gui height 458 gui x offset 27 gui y offset 14 use gui size for tv playback NOT checked

A few people have discussed this problem but I couldn't find an open ticket for it: http://www.gossamer-threads.com/lists/mythtv/users/223221 http://www.mythtvtalk.com/forum/archive/o_t/t_3341/x_error_when_watching_tv_and_guide.html http://mythtv.org/pipermail/mythtv-users/2006-September/148137.html

Change History (1)

comment:1 Changed 14 years ago by Isaac Richards

Description: modified (diff)
Priority: majorminor
Note: See TracTickets for help on using tickets.