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

Mailing List Archive: MythTV: Users

VAAPI failing on playback

 

 

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


jraymyth at gmail

Jun 26, 2012, 6:17 PM

Post #1 of 3 (337 views)
Permalink
VAAPI failing on playback

As I said in another post, I am having troubles managing my STB via IR
blaster. The overwhelming suggestion was to manage my STB by firewire
instead. Unfortunately, my MB is a mini itx Intel with one regular
pci-e slot, which is occupied by a nvidia 210 for VDPAU. So, this
evening, in an attempt to free up that pci-e slot, I decided to test
out VAAPI.

MythTV is giving me CoreContext vaapicontext.cpp:143 (Create) VAAPI:
Error at vaapicontext.cpp:143 (#-1, unknown libva error). I have
found several posts questioning this error, but no resolutions.

Ubuntu 12.04
DQ67EP Mini-itx (i5)



Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:987 (TV) TV: Creating TV object
Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
mythmainwindow.cpp:2588 (PauseIdleTimer) Resuming idle timer
Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
mythmainwindow.cpp:2583 (PauseIdleTimer) Suspending idle timer
Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:1206 (Init) TV: Created TvPlayWindow.
Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from
None to WatchingVideo
Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
audio/audiopulsehandler.cpp:320 (SuspendInternal) Pulse: PulseAudio
suspend OK
Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio

##LOOK HERE
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
vaapicontext.cpp:143 (Create) VAAPI: Error at vaapicontext.cpp:143
(#-1, unknown libva error)
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
##

Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x30812b0,
id(H264) type(Video)
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
avformatdecoder.cpp:1958 (ScanStreams) AFD: codec AAC has 2 channels
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x4d03b00,
id(AAC) type(Audio)
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
avformatdecoder.cpp:1958 (ScanStreams) AFD: codec AC3 has 6 channels
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x5cec260,
id(AC3) type(Audio)
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
audio/audiooutputbase.cpp:764 (Reconfigure) AO: Opening audio device
'hdmi:CARD=PCH,DEV=0' ch 2(2) sr 48000 sf signed 16 bit r
eenc 0
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:195 (SetPreallocBufferSize) ALSA: Setting
hardware audio buffer size to 128
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:211 (SetPreallocBufferSize) ALSA: Error
opening /proc/asound/card0/pcm3p/sub0/prealloc: Permission d
enied.
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:213 (SetPreallocBufferSize) ALSA: Try to
manually increase audio buffer with: echo 128 | sudo tee /p
roc/asound/card0/pcm3p/sub0/prealloc
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:545 (OpenDevice) ALSA: Unable to
sufficiently increase ALSA hardware buffer size - underruns are lik
ely
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:975 (OpenMixer) ALSA: no playback control
PCM found on mixer device default
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
audio/audiooutputalsa.cpp:550 (OpenDevice) ALSA: Unable to open audio
mixer. Volume control disabled
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.

##WHY IS IT TRYING TO USE VDPAU? DEFAULT FALL BACK?
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
mythrender_vdpau.cpp:1539 (CreateDevice) VDPAU: Error at
mythrender_vdpau.cpp:1539 (#1, Unknown)
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
mythrender_vdpau.cpp:1543 (CreateDevice) VDPAU: Failed to create VDPAU
device.
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
mythrender_vdpau.cpp:389 (Create) VDPAU: No VDPAU device
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
mythrender_vdpau.cpp:405 (Create) VDPAU: Failed to create VDPAU render
device.
Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
videoout_vdpau.cpp:147 (InitRender) VidOutVDPAU: Failed to initialise
VDPAU
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
openglvideo.cpp:230 (Init) GLVid: Using custom UYVY input textures.
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
mythplayer.cpp:1738 (InitAVSync) Player(3): Video timing method: DRM
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:5167 (StartPlayer) TV: Created player.
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:2358 (HandleStateChange) TV: Changing from None to
WatchingVideo
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:2449 (HandleStateChange) TV: Main UI disabled.
Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:378 (StartTV) TV: Entering main playback loop.
Jun 26 20:44:35 Jotun mythfrontend[5694]: E Decoder
avformatdecoder.cpp:4374 (GetFrame) decoding error#012#011#011#011eno:
Broken pipe (32)
Jun 26 20:44:36 Jotun mythfrontend[5694]: I CoreContext
tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from
WatchingVideo to None
Jun 26 20:44:36 Jotun mythfrontend[5694]: I CoreContext
audio/audiopulsehandler.cpp:320 (SuspendInternal) Pulse: PulseAudio
resume OK
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


newmank1 at asme

Jun 26, 2012, 9:36 PM

Post #2 of 3 (319 views)
Permalink
Re: VAAPI failing on playback [In reply to]

On Tue, Jun 26, 2012 at 6:17 PM, jr <jraymyth [at] gmail> wrote:
> As I said in another post, I am having troubles managing my STB via IR
> blaster.  The overwhelming suggestion was to manage my STB by firewire
> instead.  Unfortunately, my MB is a mini itx Intel with one regular
> pci-e slot, which is occupied by a nvidia 210 for VDPAU.  So, this
> evening, in an attempt to free up that pci-e slot, I decided to test
> out VAAPI.
>
> MythTV is giving me CoreContext vaapicontext.cpp:143 (Create) VAAPI:
> Error at vaapicontext.cpp:143 (#-1, unknown libva error).  I have
> found several posts questioning this error, but no resolutions.
>
> Ubuntu 12.04
> DQ67EP Mini-itx (i5)
>
>
>
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:987 (TV) TV: Creating TV object
> Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
> mythmainwindow.cpp:2588 (PauseIdleTimer) Resuming idle timer
> Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
> mythmainwindow.cpp:2583 (PauseIdleTimer) Suspending idle timer
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:1206 (Init) TV: Created TvPlayWindow.
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from
> None to WatchingVideo
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> mythcorecontext.cpp:1178 (CheckProtoVersion) Using protocol version 72
> Jun 26 20:44:01 Jotun mythfrontend[5694]: I CoreContext
> audio/audiopulsehandler.cpp:320 (SuspendInternal) Pulse: PulseAudio
> suspend OK
> Jun 26 20:44:01 Jotun mythfrontend[5694]: N CoreContext
> audioplayer.cpp:167 (ReinitAudio) AudioPlayer: Enabling Audio
>
> ##LOOK HERE
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> vaapicontext.cpp:143 (Create) VAAPI: Error at vaapicontext.cpp:143
> (#-1, unknown libva error)
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> vaapicontext.cpp:311 (CreateDisplay) VAAPI: Invalid display
> ##
>
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x30812b0,
> id(H264) type(Video)
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> avformatdecoder.cpp:1958 (ScanStreams) AFD: codec AAC has 2 channels
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x4d03b00,
> id(AAC) type(Audio)
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> avformatdecoder.cpp:1958 (ScanStreams) AFD: codec AC3 has 6 channels
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> avformatdecoder.cpp:2100 (ScanStreams) AFD: Opened codec 0x5cec260,
> id(AC3) type(Audio)
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> audio/audiooutputbase.cpp:764 (Reconfigure) AO: Opening audio device
> 'hdmi:CARD=PCH,DEV=0' ch 2(2) sr 48000 sf signed 16 bit r
> eenc 0
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:195 (SetPreallocBufferSize) ALSA: Setting
> hardware audio buffer size to 128
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:211 (SetPreallocBufferSize) ALSA: Error
> opening /proc/asound/card0/pcm3p/sub0/prealloc: Permission d
> enied.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:213 (SetPreallocBufferSize) ALSA: Try to
> manually increase audio buffer with: echo 128 | sudo tee /p
> roc/asound/card0/pcm3p/sub0/prealloc
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:545 (OpenDevice) ALSA: Unable to
> sufficiently increase ALSA hardware buffer size - underruns are lik
> ely
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:975 (OpenMixer) ALSA: no playback control
> PCM found on mixer device default
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> audio/audiooutputalsa.cpp:550 (OpenDevice) ALSA: Unable to open audio
> mixer. Volume control disabled
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> mythpainter_ogl.cpp:62 (ClearCache) Clearing OpenGL painter cache.
>
> ##WHY IS IT TRYING TO USE VDPAU?  DEFAULT FALL BACK?
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> mythrender_vdpau.cpp:1539 (CreateDevice) VDPAU: Error at
> mythrender_vdpau.cpp:1539 (#1, Unknown)
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> mythrender_vdpau.cpp:1543 (CreateDevice) VDPAU: Failed to create VDPAU
> device.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> mythrender_vdpau.cpp:389 (Create) VDPAU: No VDPAU device
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> mythrender_vdpau.cpp:405 (Create) VDPAU: Failed to create VDPAU render
> device.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: E CoreContext
> videoout_vdpau.cpp:147 (InitRender) VidOutVDPAU: Failed to initialise
> VDPAU
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> openglvideo.cpp:230 (Init) GLVid: Using custom UYVY input textures.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> mythplayer.cpp:1738 (InitAVSync) Player(3): Video timing method: DRM
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:5167 (StartPlayer) TV: Created player.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:2358 (HandleStateChange) TV: Changing from None to
> WatchingVideo
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:2449 (HandleStateChange) TV: Main UI disabled.
> Jun 26 20:44:02 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:378 (StartTV) TV: Entering main playback loop.
> Jun 26 20:44:35 Jotun mythfrontend[5694]: E Decoder
> avformatdecoder.cpp:4374 (GetFrame) decoding error#012#011#011#011eno:
> Broken pipe (32)
> Jun 26 20:44:36 Jotun mythfrontend[5694]: I CoreContext
> tv_play.cpp:2121 (HandleStateChange) TV: Attempting to change from
> WatchingVideo to None
> Jun 26 20:44:36 Jotun mythfrontend[5694]: I CoreContext
> audio/audiopulsehandler.cpp:320 (SuspendInternal) Pulse: PulseAudio
> resume OK

I can't help you with the VDPAU issue, but I assume you created a new
playback profile for VAAPI with only one entry with no resolution
conditions (or just everything larger than 0,0), correct? You should
see what vainfo reports--that might give some clues. Check the other
intel/VAAPI thread for details about the drivers and library versions
I have installed and make sure you have at least all the required
packages. Also make sure your GUI painter is set to Auto or OpenGL or
VAAPI won't work.

Karl
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users


jraymyth at gmail

Jun 27, 2012, 7:34 PM

Post #3 of 3 (306 views)
Permalink
Re: VAAPI failing on playback [In reply to]

> I can't help you with the VDPAU issue, but I assume you created a new
> playback profile for VAAPI with only one entry with no resolution
> conditions (or just everything larger than 0,0), correct? You should
> see what vainfo reports--that might give some clues. Check the other
> intel/VAAPI thread for details about the drivers and library versions
> I have installed and make sure you have at least all the required
> packages. Also make sure your GUI painter is set to Auto or OpenGL or
> VAAPI won't work.
>
> Karl
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://www.mythtv.org/mailman/listinfo/mythtv-users

Karl,
I put another drive into that box, installed mythbuntu to it, and went
thru the VAAPI process in the wiki. and voila, I had working VAAPI.
There must be something fubarred on my prod install. :-/
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://www.mythtv.org/mailman/listinfo/mythtv-users

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


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.