[mythtv-users] NVP: prebuffering pause - Playing or watching HDTV records in mythtv is skippy/pausing

Thomas Kessler electronikjunkie at gmail.com
Sun Jun 10 17:19:33 UTC 2007


On 6/9/07, Alexander Saers <alex at saers.com> wrote:
>
> Hello everybody
>
> I have been searching the web for clues for a while now but cant find any.
> I got a problem only when watching or playing hdtv recordings (720) in
> mythtv. My setup is the following
>
> Computer
> ASUS M2NVP-VX
> AMD 64 X2 3600+ 65W thing
> 2GB of memory
> Using onboard nvidia 6150 card with DVI to a LCD (1280x1024) in res
> Onboard soundcard intel-hda
> SATA2 discs
> Twinhan DVB-C (2033) Mantis based capture card
>
> OS
> Gentoo Linux running ~x86
> kernel 2.6.20
> using mythtv-0.20.1_p13344
>
> The problem is when Im using the Swedish Comhem cable network and are
> watching SVT-HD channel (that are the only channel i have that are HD
> right now). All other channels work just fine :)
>
> Here are the output of mythfrontend when i start mythtv and start watching
> SVT-HD and then exit again.
>
> <snip>
> mythtv at mythbox ~ $ mythfrontend
> 2007-06-09 21:17:25.692 Using runtime prefix = /usr
> 2007-06-09 21:17:25.701 DPMS is active.
> 2007-06-09 21:17:25.739 New DB connection, total: 1
> 2007-06-09 21:17:25.751 Connected to database 'mythconverg' at host:
> localhost
> 2007-06-09 21:17:25.754 Total desktop dim: 1280x1024, with 1 screen[s].
> 2007-06-09 21:17:25.760 Using screen 0, 1280x1024 at 0,0
> 2007-06-09 21:17:25.773 Current Schema Version: 1188
> 2007-06-09 21:17:25.775 Newest Schema Version : 1160
> 2007-06-09 21:17:25.776 New DB connection, total: 2
> 2007-06-09 21:17:25.776 Connected to database 'mythconverg' at host:
> localhost
> 2007-06-09 21:17:25.777 Setting Lock for Database Schema upgrade. If you
> see a long pause here it means the Schema is already locked and is being
> upgraded by another Myth process.
> 2007-06-09 21:17:25.778 New DB connection, total: 3
> 2007-06-09 21:17:25.779 Connected to database 'mythconverg' at host:
> localhost
> 2007-06-09 21:17:25.781 Database Schema upgrade complete, unlocking.
> 2007-06-09 21:17:25.781 mythfrontend version: 0.20.20060828-4
> www.mythtv.org
> 2007-06-09 21:17:25.781 Enabled verbose msgs:  important general
> 2007-06-09 21:17:26.314 Connecting to lcd server: localhost:6545 (try 1 of
> 10)
> 2007-06-09 21:17:27.125 Total desktop dim: 1280x1024, with 1 screen[s].
> 2007-06-09 21:17:27.128 Using screen 0, 1280x1024 at 0,0
> 2007-06-09 21:17:27.130 Switching to wide mode (blootube-wide)
> 2007-06-09 21:17:27.157 Using the OpenGL painter
> 2007-06-09 21:17:28.290 Loading from:
> /usr/share/mythtv/themes/blootube-wide/base.xml
> 2007-06-09 21:17:28.321 Loading from:
> /usr/share/mythtv/themes/default/base.xml
> 2007-06-09 21:17:28.403 Registering Internal as a media playback plugin.
> 2007-06-09 21:17:28.425 Registering MythDVD DVD Media Handler as a media
> handler ext()
> 2007-06-09 21:17:28.427 Registering MythDVD VCD Media Handler as a media
> handler ext()
> 2007-06-09 21:17:28.505 Using NV NPOT texture extension
> 2007-06-09 21:17:28.667 Registering MythMusic Media Handler 1/2 as a media
> handler ext()
> 2007-06-09 21:17:28.668 Registering MythMusic Media Handler 2/2 as a media
> handler ext(ogg,mp3,aac,flac)
> 2007-06-09 21:18:04.626 Connecting to backend server: 127.0.0.1:6543 (try
> 1 of 5)
> 2007-06-09 21:18:04.629 Using protocol version 31
> 2007-06-09 21:18:05.373 TV: Attempting to change from None to
> WatchingLiveTV
> 2007-06-09 21:18:05.374 Using protocol version 31
> 2007-06-09 21:18:06.148 DPMS Deactivated
> 2007-06-09 21:18:06.181 NVP: Disabling Audio, params(-1,2,44100)
> 2007-06-09 21:18:06.206 VideoOutputXv: XvMCTex: Init failed
> 2007-06-09 21:18:06.207 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
> Texture'
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  142
>   Minor opcode:  14
>   Resource id:  0x1d6
> 2007-06-09 21:18:06.880 TV: Changing from None to WatchingLiveTV
> 2007-06-09 21:18:06.882 Realtime priority would require SUID as root.
> 2007-06-09 21:18:06.984 Video timing method: USleep with busy wait
> 2007-06-09 21:18:10.196 VideoOutputXv: XvMCTex: Init failed
> 2007-06-09 21:18:10.197 VideoOutputXv: XVideo Adaptor Name: 'NV17 Video
> Texture'
> X Error: BadMatch (invalid parameter attributes) 8
>   Major opcode:  142
>   Minor opcode:  14
>   Resource id:  0x1d6
> 2007-06-09 21:18:10.855 AFD: Opened codec 0x83e78a0, id(H264) type(Video)
> 2007-06-09 21:18:10.894 AFD: Opened codec 0x83efa30, id(MP3) type(Audio)
> 2007-06-09 21:18:10.896 AFD: Opened codec 0x8474cd0, id(AC3) type(Audio)
> 2007-06-09 21:18:10.896 AFD: Opened codec 0x8444c00, id(DVB_SUBTITLE)
> type(Subtitle)
> 2007-06-09 21:18:10.897 AFD: Opened codec 0x83ee4e0, id(DVB_SUBTITLE)
> type(Subtitle)
> 2007-06-09 21:18:10.918 Opening OSS audio device '/dev/dsp'.
> Unable to open mixer: ''
> 2007-06-09 21:18:10.925 NVP: Enabling Audio
> 2007-06-09 21:18:11.532 NVP: Prebuffer wait timed out 10 times.
> 2007-06-09 21:18:12.424 NVP: prebuffering pause
> 2007-06-09 21:18:13.320 NVP: prebuffering pause
> 2007-06-09 21:18:27.144 NVP: prebuffering pause
> 2007-06-09 21:18:28.356 NVP: prebuffering pause
> 2007-06-09 21:18:29.489 NVP: prebuffering pause
> 2007-06-09 21:18:30.291 NVP: prebuffering pause
> 2007-06-09 21:18:31.308 NVP: prebuffering pause
> 2007-06-09 21:18:32.776 NVP: prebuffering pause
> 2007-06-09 21:18:33.714 NVP: prebuffering pause
> 2007-06-09 21:18:34.622 NVP: prebuffering pause
> 2007-06-09 21:18:35.524 NVP: prebuffering pause
> 2007-06-09 21:18:36.416 NVP: prebuffering pause
> 2007-06-09 21:18:36.592 TV: Attempting to change from WatchingLiveTV to
> None
> 2007-06-09 21:18:39.415 TV: Changing from WatchingLiveTV to None
> 2007-06-09 21:18:39.439 DPMS Reactivated.
> </snip>
>
> As you can see i get a lot of NVP: prebuffering pause. Anyone know why?
>
> One more interesting thing is that when playing an already caputred file
> in mythtv it is still skippy. But when playing it with mplayer it works
> very well. The picture is also only skippy when the picture on the screen
> is changing much?
>
> Is the hardware sufficent? Whats wrong. Any hints are welcome ;)
>
> I found a simular Ticket on mythtv.
> http://www.gossamer-threads.com/lists/mythtv/commits/186593
> But it was closed. It was speculating about the feeding algorithm that
> could support why the screen is only skipping/pausing when the screen
> change much -> high bitrate.
>
> Anyone? Any clues?
>
> Br
> Alexander


I found that compiling the  latest Nvidia drivers from sources fixed my
prebuffering pauses. I run Ubuntu and just used the Envy appilication.

TK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20070610/e5da7625/attachment.htm 


More information about the mythtv-users mailing list