Kodi Community Forum

Full Version: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I just tried the new Beta 1 and have no video image output. Sound is playing, interface is working, just a black screen.

Running Ubuntu 14.04 with lts-xenial packages on an Intel J1900 platform.

Disabling vaapi and playing on CPU works.
Using VAAPI with "Normal Shaders" shows a red flash before audio starts.
Using VAAPI with "Enhanced Shaders" shows a green flash before audio starts.

Log extract:

Code:
19:07:29 T:140684811880448 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
19:07:29 T:140681385875200  NOTICE: Creating InputStream
19:07:29 T:140681385875200  NOTICE: Creating Demuxer
19:07:29 T:140681385875200  NOTICE: Opening stream: 0 source: 256
19:07:29 T:140681385875200  NOTICE: Creating video codec with codec id: 28
19:07:29 T:140681385875200  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:07:29 T:140681385875200  NOTICE: Creating video thread
19:07:29 T:140681385875200  NOTICE: Opening stream: 1 source: 256
19:07:29 T:140681385875200  NOTICE: Finding audio codec for: 86020
19:07:29 T:140681377482496  NOTICE: running thread: video_thread
19:07:29 T:140681385875200  NOTICE: Creating audio thread
19:07:29 T:140681336129280  NOTICE: running thread: CVideoPlayerAudio::Process()
19:07:29 T:140681385875200  NOTICE: Opening stream: 0 source: 769
19:07:29 T:140681377482496  NOTICE: CDVDVideoCodecFFmpeg::GetFormat - Creating VDPAU(1280x720)
19:07:29 T:140681377482496  NOTICE: VDPAU::Open: required extension GL_NV_vdpau_interop not found
19:07:29 T:140681377482496  NOTICE:  (VDPAU) Close
19:07:29 T:140681327736576  NOTICE: COutput::OnStartup: Output Thread created
19:07:29 T:140681336129280  NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
19:07:29 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:29 T:140684811880448   ERROR: Previous line repeats 4 times.
19:07:29 T:140684811880448  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:07:29 T:140684811880448  NOTICE: GL: NPOT texture support detected
19:07:29 T:140684811880448  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:07:29 T:140684811880448  NOTICE: Using GL_TEXTURE_2D
19:07:29 T:140684811880448  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:07:29 T:140684811880448  NOTICE: GL: NPOT texture support detected
19:07:29 T:140684811880448  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:07:29 T:140684811880448  NOTICE: Display resolution ADJUST : HDMI1: 1920x1080 @ 23.98Hz (24) (weight: 0.000)
19:07:29 T:140684811880448  NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
19:07:29 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:29 T:140684811880448  NOTICE: VideoPlayer: OnLostDisplay received
19:07:29 T:140684811880448  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:07:29 T:140684811880448  NOTICE: GL: NPOT texture support detected
19:07:29 T:140684811880448  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:07:29 T:140684811880448  NOTICE: Using GL_TEXTURE_2D
19:07:29 T:140684811880448  NOTICE: VideoPlayer: OnLostDisplay received
19:07:29 T:140684811880448  NOTICE: VideoPlayer: OnResetDisplay received
19:07:29 T:140684811880448  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:07:29 T:140684811880448  NOTICE: GL: NPOT texture support detected
19:07:29 T:140684811880448  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:07:29 T:140684811880448  NOTICE: Using GL_TEXTURE_2D
19:07:29 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:29 T:140681327736576 WARNING: COutput::QueueReturnPicture - pic not found
19:07:29 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140684811880448   ERROR: Previous line repeats 1 times.
19:07:30 T:140684811880448  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:07:30 T:140684811880448  NOTICE: GL: NPOT texture support detected
19:07:30 T:140684811880448  NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681377482496  NOTICE: CDVDVideoCodecFFmpeg::CDropControl: calculated diff time: 41727
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLMapSurface - Error: the requested function is not implemented(20)
19:07:30 T:140681327736576   ERROR: VAAPI::GLUnMapSurface - Error: the requested function is not implemented(20)

Regards
Coolinger
upgrade your os
We require mesa 11 or later.
For reference: I was missing this ppa.
Since it was unstable I decided to reinstall with 16.04


sudo apt-add-repository ppa:wsnipex/vaapi
sudo apt-get update
sudo apt-get dist-upgrade


Regards
Coolinger