[mythtv-users] Seriously need help fixing new setup

Nick Rout nick.rout at gmail.com
Thu Nov 24 04:56:54 UTC 2011


On Wed, Nov 23, 2011 at 3:04 AM, steve <networks1 at cox.net> wrote:
> On 11/22/2011 1:34 AM, Michael T. Dean wrote:
>> MythTV doesn't rely on any form of external name-based address
>> resolution. All addressing of requests is done using data in the
>> MythTV configuration. However, MythTV /does/ rely on each host having
>> a unique identifier that we can use to store its
>> settings/configuration--and we use the host name, as provided by the
>> system, unless the user creates an override and specifies their own
>> identifier. Mike
>
> Gents, many, many thanks for all your help.  But I decided it was
> hopeless, threw in the towel, and started over from scratch.  Using your
> advice on static ip, hostnaming, etc.,  I am happy to report I now have
> a working setup.  However, although I can record and play, I am getting
> some messages in the frontend log that indicate problems.  To wit:
>
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]non-existing PPS referenced
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]sps_id out of range
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]non-existing SPS 32 referenced in b
> uffering period
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]non-existing PPS 0 referenced
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]decode_slice_header error
> 2011-11-22 06:42:11.701 [h264 @ 0x35326f4f20]no frame!
> 2011-11-22 06:42:11.753 [h264 @ 0x35326f4f20]mmco: unref short failure
> 2011-11-22 06:42:11.772 AFD: Opened codec 0x3399970, id(H264) type(Video)
> 2011-11-22 06:42:11.772 AFD: codec AAC has 2 channels
> 2011-11-22 06:42:11.773 AFD: Opened codec 0x3399ff0, id(AAC) type(Audio)
> 2011-11-22 06:42:11.930 Pulse: PulseAudio resume OK
> 2011-11-22 06:42:12.030 Pulse: PulseAudio suspend OK
> 2011-11-22 06:42:12.047 AO: Opening audio device 'default' ch 2(2) sr 48000 sf s
> igned 32 bit reenc 0
> 2011-11-22 06:42:12.049 ALSA, Error: Setting hardware audio buffer size to 6016
> 2011-11-22 06:42:12.049 ALSA, Error: Error opening /proc/asound/card0/pcm0p/sub0
> /prealloc: Permission denied.
> 2011-11-22 06:42:12.049 ALSA, Error: Try to manually increase audio buffer with:
>  echo 6016 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
> 2011-11-22 06:42:12.049 ALSA, Error: Unable to sufficiently increase ALSA hardwa
> re buffer size - underruns are likely
> 2011-11-22 06:42:12.056 AudioPlayer: Enabling Audio
> 2011-11-22 06:42:12.509 VDPAU: Created 2 output surfaces.
> 2011-11-22 06:42:12.510 VDPAU: Version 1
> 2011-11-22 06:42:12.510 VDPAU: Information NVIDIA VDPAU Driver Shared Library  2
> 80.13  Wed Jul 27 17:15:20 PDT 2011
> 2011-11-22 06:42:12.510 VDPAU: Created VDPAU render device 1366x768
> 2011-11-22 06:42:12.559 OSD: Base theme size: 1280x720
> 2011-11-22 06:42:12.559 OSD: Scaling factors: 1.06562x1.06667
> 2011-11-22 06:42:12.655 [h264 @ 0x35326f4f20]mmco: unref short failure
> 2011-11-22 06:42:12.711 OSD: Base theme size: 1280x720
> 2011-11-22 06:42:12.711 OSD: Scaling factors: 1.06562x1.06667
> 2011-11-22 06:42:12.724 Player(0): Video timing method: USleep with busy wait
> 2011-11-22 06:42:12.725 TV: Changing from None to WatchingPreRecorded
> 2011-11-22 06:42:12.747 ScreenSaverX11Private: DPMS Deactivated 1
> 2011-11-22 06:42:12.747 Player(0): Failed to enable deinterlacing
> 2011-11-22 06:42:12.757 VDPAU: Added 2 output surfaces (total 4, max 4)
> 2011-11-22 06:42:12.778 [h264 @ 0x35326f4f20]mmco: unref short failure
>
>
> The first three lines are repeated lots of times, maybe 20 or so. I found one post the related this error to ffmplayer playing a blu-ray disk, but this is a broadcast recording.  Any ideas what the problem could be here?
>
> Also there seem to be some issues with ALSA.  Sound is working after I removed alsa-plugins-pulseaudio per instructions on the wiki, but as you can see it doesn't like and can't modify the audio buffer size.  I am using the audio defaults (i.e. ALSA:default) on the frontend.  Should I do what it says and increase the buffer with tee /proc/asound/card0/pcm0p/sub0/prealloc (not sure what tee is)?  If so should the buffer size be 6016?

There are two possibilities that I am aware of:

1. a permissions issue on /proc/asound/card0/pcm0p/sub0/prealloc; or

2. the driver for your sound card does not create a prealloc file. I
know snd_usb_audio doesn't seem to.

Are either of these errors actually manifested as a problem a la sofa?
If not, stop worrying :)


More information about the mythtv-users mailing list