[mythtv-users] Black screen when playing video, using Intel Graphics on KabyLake & VAAPI

Andrew Theurer andrew.theurer at gmail.com
Wed Jul 12 15:56:37 UTC 2017


On Wed, Jul 12, 2017 at 9:05 AM, Stuart Auchterlonie <
stuarta at squashedfrog.net> wrote:

> On 11/07/17 22:34, Andrew Theurer wrote:
> > Wondering if anyone knows what to do here.  I have tried 0.28 and master
> > branch on git but get the same problem.  I have an Intel NUC with
> > KabyLake, and I have configured Myth to use OpenGL painter, with VAAPI
> > playback profile, and I have updated Intel i965 driver to the latest.
> > When I pick a video or TV show to watch, I get a black screen, and it
> > thinks it playing the video.  I can "pause" and the UI showing the
> > position in the video comes up.  However, the rest of the screen is
> > still black.
> >
> > I tried VLC on the same system, and I can play videos no problem using
> > the Intel VAAPI.
> >
> > Below is the log from mythfrontend.  I am not worried about the audio
> > stuff just yet.  Forgot to mention, I have also tried older versions of
> > the intel i965 driver, but still get the same black screen with Mythtv.
> > I am curious what the "VAAPI: Error at vaapicontext.cpp:879 (#20, the
> > requested function is not implemented)" really means.
>
> Something isn't working right in the vaapi layer.
>
> For some reason the call to vaapi here is returning not implemented
> which is odd, as it's a pretty generic call that would be used by
> most vaapi software.
>
> Odd that vlc works and mythtv doesn't :-/
>

I saw that someone had success here with an older version:
https://forum.mythtv.org/viewtopic.php?t=2177

So I'll try building some older combinations of libva and the intel
driver.  Is there any way to call the "player" for mythtv directly on the
command line?  Kind of like calling vlc?

>
>
> Regards
> Stuart
>
>
> >
> > Thanks,
> >
> > -Andrew
> >
> >
> > 2017-07-11 16:17:07.615350 E  ALSA: snd_pcm_info_get_card: Operation not
> > permitted
> > 2017-07-11 16:17:07.628248 N  AudioPlayer: Enabling Audio
> > 2017-07-11 16:17:07.736592 I  Player(0): Video timing method: DRM
> > 2017-07-11 16:17:07.749664 I  TV::StartPlayer(): Created player.
> > 2017-07-11 16:17:07.749760 I  TV::HandleStateChange(): Changing from
> > None to WatchingLiveTV
> > 2017-07-11 16:17:07.749771 I  TV::HandleStateChange(): State is LiveTV &
> > mctx == ctx
> > 2017-07-11 16:17:07.751780 I  TV::HandleStateChange(): UpdateOSDInput
> done
> > 2017-07-11 16:17:07.751801 I  TV::HandleStateChange(): UpdateLCD done
> > 2017-07-11 16:17:07.752944 I  TV::HandleStateChange(): ITVRestart done
> > 2017-07-11 16:17:07.754704 I  TV::HandleStateChange(): Main UI disabled.
> > 2017-07-11 16:17:07.754767 I  TV::StartTV(): Entering main playback loop.
> > libva info: VA-API version 0.40.0
> > libva info: va_getDriverName() returns 0
> > libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> > libva info: Found init function __vaDriverInit_0_40
> > libva info: va_openDriver() returns 0
> > libva info: VA-API version 0.40.0
> > libva info: va_getDriverName() returns 0
> > libva info: Trying to open /usr/lib64/dri/i965_drv_video.so
> > libva info: Found init function __vaDriverInit_0_40
> > libva info: va_openDriver() returns 0
> > 2017-07-11 16:17:09.017753 I  AFD: codec AC3 has 2 channels
> > 2017-07-11 16:17:09.018728 I  AFD: Opened codec 0x38c8bc0, id(AC3)
> > type(Audio)
> > 2017-07-11 16:17:09.019465 I  AFD: codec AC3 has 2 channels
> > 2017-07-11 16:17:09.020372 I  AFD: Opened codec 0x3d507c0, id(AC3)
> > type(Audio)
> > 2017-07-11 16:17:09.034805 I  VAAPI: Version: 0.40
> > 2017-07-11 16:17:09.034830 I  VAAPI: Driver : Intel i965 driver for
> > Intel(R) Kabylake - 1.8.4.pre1 (glk-alpha-73-g684c5a1)
> > 2017-07-11 16:17:09.034884 I  VAAPI: Profile: MPEG2Simple Entrypoints:
> > VLD EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.034903 I  VAAPI: Profile: MPEG2Main Entrypoints: VLD
> > EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.034922 I  VAAPI: Profile: H264ConstrainedBase
> > Entrypoints: VLD EncSlice (UNSUPPORTED) Unknown
> > 2017-07-11 16:17:09.034939 I  VAAPI: Profile: H264Main Entrypoints: VLD
> > EncSlice (UNSUPPORTED) Unknown
> > 2017-07-11 16:17:09.034956 I  VAAPI: Profile: H264High Entrypoints: VLD
> > EncSlice (UNSUPPORTED) Unknown
> > 2017-07-11 16:17:09.034972 I  VAAPI: Profile: Unknown Entrypoints: VLD
> > EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.034987 I  VAAPI: Profile: H264StereoHigh
> > Entrypoints: VLD EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.035002 I  VAAPI: Profile: VC1Simple Entrypoints: VLD
> > 2017-07-11 16:17:09.035017 I  VAAPI: Profile: VC1Main Entrypoints: VLD
> > 2017-07-11 16:17:09.035031 I  VAAPI: Profile: VC1Advanced Entrypoints:
> VLD
> > 2017-07-11 16:17:09.035048 I  VAAPI: Profile: None Entrypoints:
> > VideoProc (UNSUPPORTED)
> > 2017-07-11 16:17:09.035063 I  VAAPI: Profile: Unknown Entrypoints: VLD
> > Unknown
> > 2017-07-11 16:17:09.035080 I  VAAPI: Profile: Unknown Entrypoints: VLD
> > EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.035095 I  VAAPI: Profile: HEVCMain Entrypoints: VLD
> > EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.035111 I  VAAPI: Profile: HEVCMain10 Entrypoints:
> > VLD EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.035126 I  VAAPI: Profile: Unknown Entrypoints: VLD
> > EncSlice (UNSUPPORTED)
> > 2017-07-11 16:17:09.035139 I  VAAPI: Profile: Unknown Entrypoints: VLD
> > 2017-07-11 16:17:09.073542 I  GLVid: Using raw RGBA input textures.
> > 2017-07-11 16:17:09.075514 I  AFD: Opened codec 0x3d51f80,
> > id(MPEG2VIDEO) type(Video)
> > 2017-07-11 16:17:09.096380 I  AOBase: Opening audio device 'default' ch
> > 2(2) sr 48000 sf 32 bit floating point reenc 0
> > 2017-07-11 16:17:09.108303 E  ALSA: no playback control PCM found on
> > mixer device default
> > 2017-07-11 16:17:09.108310 E  ALSA: Unable to open audio mixer. Volume
> > control disabled
> > 2017-07-11 16:17:09.277458 E  VAAPI: Error at vaapicontext.cpp:879 (#20,
> > the requested function is not implemented)
> > 2017-07-11 16:17:09.401819 N  Player(0): Waited 102ms for video buffers
> > AAAAAAAAAAAAAAAAAAAAAALPf
> > 2017-07-11 16:17:09.518306 N  Player(0): Waited 218ms for video buffers
> > AAAAAAAAAAAAAAAAAAAAAALPf
> > 2017-07-11 16:17:09.599411 E  VAAPI: Error at vaapicontext.cpp:879 (#20,
> > the requested function is not implemented)
> > 2017-07-11 16:17:09.616501 E  VAAPI: Error at vaapicontext.cpp:879 (#20,
> > the requested function is not implemented)
> > 2017-07-11 16:17:09.633528 E  VAAPI: Error at vaapicontext.cpp:879 (#20,
> > the requested function is not implemented)
> > 2017-07-11 16:17:09.682858 E  VAAPI: Error at vaapicontext.cpp:879 (#20,
> > the requested function is not implemented)
> >
> >
> >
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://lists.mythtv.org/mailman/listinfo/mythtv-users
> > http://wiki.mythtv.org/Mailing_List_etiquette
> > MythTV Forums: https://forum.mythtv.org
> >
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://lists.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20170712/b3c473a6/attachment.html>


More information about the mythtv-users mailing list