Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - rouladenkoenig - 2016-05-01

Sorry, but I forgot to mention that I want to use my PCIe soundcard Asus Xonar Essence STX.
The HDMI-output is fine, so I would think that it's not an EDID-related problem.

If this thread is only related to the egl / vaapi development then of course I'm going to ask in another subforum.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-01

Yeah, you are wrong here. It's an Ubuntu issue, those xonor cards have a long history of problematic drivers... I wish you luck :-)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - tocinillo - 2016-05-01

Hi again,

Today I saw some image problems in the latest Kodi 17 git, sometimes I saw green flashes in the image. Sorry but I don't have the full log, only the normal. Since I played the movie to finish:

Quote:19:39:19 T:140193616148864 NOTICE: VideoPlayer: Opening: nfs://192.168.1.80/volume1/Peliculas/****BDremux AVC 1080p.mkv
19:39:19 T:140193616148864 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
19:39:19 T:140189761967872 NOTICE: Creating InputStream
19:39:19 T:140189761967872 NOTICE: Creating Demuxer
19:39:20 T:140189761967872 NOTICE: Opening stream: 0 source: 256
19:39:20 T:140189761967872 NOTICE: Creating video codec with codec id: 28
19:39:20 T:140189761967872 NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
19:39:20 T:140189761967872 NOTICE: Creating video thread
19:39:20 T:140189761967872 NOTICE: Opening stream: 1 source: 256
19:39:20 T:140189761967872 NOTICE: Finding audio codec for: 86020
19:39:20 T:140189761967872 NOTICE: Creating audio thread
19:39:20 T:140189761967872 NOTICE: Opening stream: 3 source: 256
19:39:20 T:140190450169600 NOTICE: running thread: CVideoPlayerAudio:Tonguerocess()
19:39:20 T:140190609630976 NOTICE: running thread: video_thread
19:39:20 T:140190164817664 NOTICE: COutput::OnStartup: Output Thread created
19:39:20 T:140189761967872 NOTICE: CDVDMessageQueue::GetLevel() - can't determine level
19:39:20 T:140190450169600 NOTICE: Previous line repeats 8 times.
19:39:20 T:140190450169600 NOTICE: Creating audio stream (codec id: 86020, channels: 6, sample rate: 48000, no pass-through)
19:39:20 T:140193616148864 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:39:20 T:140193616148864 NOTICE: GL: NPOT texture support detected
19:39:20 T:140193616148864 NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:39:20 T:140193616148864 NOTICE: Using GL_TEXTURE_2D
19:39:20 T:140193616148864 NOTICE: Display resolution ADJUST : HDMI3: 1920x1080 @ 23.98Hz (24) (weight: 0.000)
19:39:20 T:140193616148864 NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
19:39:20 T:140193616148864 NOTICE: VideoPlayer: OnLostDisplay received
19:39:21 T:140193616148864 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:39:21 T:140193616148864 NOTICE: GL: NPOT texture support detected
19:39:21 T:140193616148864 NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:39:21 T:140193616148864 NOTICE: Using GL_TEXTURE_2D
19:39:21 T:140193616148864 NOTICE: VideoPlayer: OnLostDisplay received
19:39:21 T:140193616148864 NOTICE: VideoPlayer: OnResetDisplay received
19:39:21 T:140193616148864 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:39:21 T:140193616148864 NOTICE: GL: NPOT texture support detected
19:39:21 T:140193616148864 NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:39:21 T:140193616148864 NOTICE: Using GL_TEXTURE_2D
19:39:21 T:140193616148864 ERROR: GL: Vertical Blank Syncing unsupported
19:39:21 T:140193616148864 NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
19:39:21 T:140193616148864 NOTICE: GL: NPOT texture support detected
19:39:21 T:140193616148864 NOTICE: GL: Using GL_ARB_pixel_buffer_object
19:40:06 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:40:06 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:40:25 T:140191322720000 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
19:43:55 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:43:55 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:44:22 T:140192019113728 NOTICE: script.tv.show.next.aired: ### starting data update
19:44:23 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #253463 - Black Mirror
19:44:24 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series info for #262980 - House of Cards
19:44:24 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #121361 - Juego de Tronos
19:44:25 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series & episode info for #80379 - The Big Bang Theory
19:44:25 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series info for #295829 - The Man in the High Castle
19:44:25 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series info for #270633 - True Detective
19:44:26 T:140192019113728 NOTICE: script.tv.show.next.aired: ### getting series info for #260449 - Vikingos
19:44:26 T:140192019113728 NOTICE: script.tv.show.next.aired: ### data update finished
19:45:25 T:140191322720000 NOTICE: AddOnLog: PVR IPTV Simple Client: EPG file path is not configured. EPG not loaded.
19:52:12 T:140190164817664 NOTICE: Previous line repeats 1 times.
19:52:12 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:52:13 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:52:23 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:52:23 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:52:45 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:52:45 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:53:06 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:53:07 T:140190164817664 ERROR: Previous line repeats 1 times.
19:53:07 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:53:28 T:140190164817664 ERROR: Previous line repeats 1 times.
19:53:28 T:140190164817664 ERROR: VAAPI::GLMapSurface - Error: invalid VABufferID(7)
19:53:29 T:140190164817664 ERROR: VAAPI::GLUnMapSurface - Error: invalid VABufferID(7)
19:53:33 T:140190609630976 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
19:54:02 T:140193616148864 NOTICE: CVideoPlayer::CloseFile()
19:54:02 T:140193616148864 NOTICE: VideoPlayer: waiting for threads to exit
19:54:02 T:140189761967872 NOTICE: CVideoPlayer::OnExit()
19:54:02 T:140189761967872 NOTICE: Closing stream player 1
19:54:02 T:140189761967872 NOTICE: Waiting for audio thread to exit
19:54:02 T:140190450169600 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
19:54:02 T:140190450169600 NOTICE: thread end: CVideoPlayerAudio::OnExit()
19:54:02 T:140189761967872 NOTICE: Closing audio device
19:54:02 T:140189761967872 NOTICE: Deleting audio codec
19:54:02 T:140189761967872 NOTICE: Closing stream player 2
19:54:02 T:140189761967872 NOTICE: waiting for video thread to exit
19:54:02 T:140190609630976 ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
19:54:02 T:140190609630976 NOTICE: thread end: video_thread
19:54:02 T:140189761967872 NOTICE: deleting video codec
19:54:02 T:140189761967872 NOTICE: Closing stream player 3
19:54:02 T:140193616148864 NOTICE: VideoPlayer: finished waiting
19:54:02 T:140193616148864 NOTICE: VAAPI::Close
19:54:02 T:140190164817664 NOTICE: COutput::OnExit: Output Thread terminated
19:54:02 T:140193616148864 NOTICE: VAAPI::Close - closing decoder context
19:54:02 T:140193616148864 NOTICE: CWinSystemX11::SetFullScreen - calling xrandr
19:54:02 T:140193616148864 NOTICE: VideoPlayer: OnLostDisplay received
19:54:03 T:140193616148864 NOTICE: CVideoPlayer::CloseFile()
19:54:03 T:140193616148864 NOTICE: VideoPlayer: waiting for threads to exit
19:54:03 T:140193616148864 NOTICE: VideoPlayer: finished waiting
19:54:03 T:140193616148864 NOTICE: CVideoPlayer::CloseFile()
19:54:03 T:140193616148864 NOTICE: VideoPlayer: waiting for threads to exit
19:54:03 T:140193616148864 NOTICE: VideoPlayer: finished waiting
19:54:04 T:140193616148864 ERROR: GL: Vertical Blank Syncing unsupported

Thanks Smile


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-01

No help possible. Reproduce and provide all logs post 1 wants to have.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - sandolph - 2016-05-01

(2016-05-01, 05:56)AdamG Wrote: Just registered and first post here, just wanted to say thanks for the how-to.

Installed perfectly and everything running great on an Intel NUC NUC5PPYH (N3700) just had to change the default audio device to HDMI.

Initially had the whole cstate/crashing issue but this seems to have resolved after playing with some BIOS settings.

I have the same NUC and have freezing problems, care to detail the BIOS settings?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - AdamG - 2016-05-03

(2016-05-01, 23:41)sandolph Wrote:
(2016-05-01, 05:56)AdamG Wrote: Just registered and first post here, just wanted to say thanks for the how-to.

Installed perfectly and everything running great on an Intel NUC NUC5PPYH (N3700) just had to change the default audio device to HDMI.

Initially had the whole cstate/crashing issue but this seems to have resolved after playing with some BIOS settings.

I have the same NUC and have freezing problems, care to detail the BIOS settings?

Boot>Boot Configuration>UEFI Boot>OS Selection>Linux

then install Ubuntu in UEFI mode

I may have turned off the Intel Dynamic Power Tech under Power as well but I can't recall, I have left the NUC turned on for over 2 weeks though and haven't had any issues, no need to add any kernel hacks to the grub bootloader options.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - grantonstar - 2016-05-03

Upgraded for the first time in a month using the 0503 nightly. Have noticed some strangeness with the controls (left/right) and skin compatibility issues. Is there some way or some where I can get a previous nightly from while I wait for the builds to stabilise again?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Jorgensen - 2016-05-03

(2016-05-03, 15:44)grantonstar Wrote: Upgraded for the first time in a month using the 0503 nightly. Have noticed some strangeness with the controls (left/right) and skin compatibility issues. Is there some way or some where I can get a previous nightly from while I wait for the builds to stabilise again?

I have the same problem. Pressing right moves up and pressing left moves right. Does that make sense? Any logs needed?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-03

Nope - it's an upstream problem and they are working on a fix.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Jagsta - 2016-05-04

Are there any known issues with the older Intel GPUs and this build? (I've got a Celeron 847/QS77 NUC).

I tried a clean 16.04 LTS install following the instructions in post 1, but experienced frame drops I don't get running Jarvis stable on 14.04 LTS with the same source material (bluray backup with DTS HD-MA soundtrack). Kodi was configured as per the installation instructions with the exception of vertical blank sync which was missing from the Kodi settings.

I've regressed to the latter configuration for now but can install the 16.04 + kodi 17 nightlies from the PPA if this isn't expected behaviour and you're interested in debug logs, or am I asking too much of my geriatric hardware? (although the v16 + 14.04 combination runs OK)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-04

See the relevant logs, that this howto wants - without them - no help possible.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Jagsta - 2016-05-04

(2016-05-04, 19:01)fritsch Wrote: See the relevant logs, that this howto wants - without them - no help possible.

So with a clean install, settings as close as I can get to the HOWTO (vertical blank sync not there for example), Playing back a bluray iso I get jerky playback whereas on 14.04 and kodi16 it's smooth, any ideas what might be causing this?

http://paste.ubuntu.com/16224928/
http://paste.ubuntu.com/16224930/
http://paste.ubuntu.com/16224938/
http://paste.ubuntu.com/16224944/

Thanks for taking a look.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-04

Vertical Blank setting is gone - it's on by default now.

No idea for your bluray iso. Try to mount it and play the title via the mounted fs - does that work?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Jagsta - 2016-05-04

(2016-05-04, 21:50)fritsch Wrote: Vertical Blank setting is gone - it's on by default now.

Ah ok, so are these log messages safe to ignore?

Code:
20:22:30 T:140126063450496    INFO: GL: Enabling VSYNC
20:22:30 T:140126063450496   ERROR: GL: Vertical Blank Syncing unsupported

I'll try a 1080p h264 mkv file and mounting the iso as you suggest to see if the behaviour is any different.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2016-05-04

It's an old message that can be ignored.