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 - camelreef - 2017-12-10

(2017-12-10, 18:58)fritsch Wrote: Could you share a sample, please? Just Long enough top reproduce.
 
(2017-12-10, 22:13)fritsch Wrote:
(2017-12-10, 20:41)camelreef Wrote: Here are 15mn worth of sample.
 Video: hevc (Main 10), yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn, 23.98 tbc (default)
Audio: dts (DTS-HD MA), 48000 Hz, 5.1(side), s16p (default)

http://youplala.net/~nico/kodi18-4khevc10/Test-2160p.HEVC.HDR.DTS-HD.MA.mkv [5.1 GB]
It will take another 45mn to upload fully - Now all uploaded.

Thanks for looking at this!

Nico
 I won't be near a VAAPI capable hevc-10 bit computer until end of this week. Perhaps someone reading this thread with Apollo Lake, KabyLake or Coffee Lake could test it for you. I will ask in our team channel if someone with e.g. Android could also test it to see if those artefacts are VAAPI only. In short: don't feel forgotten if you don't get a reply in a timely manner. 
 Understood, thanks for setting my expectations!

Nico


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-11

Martijn tested it on windows with dxva11 - no artefacts - perfect flying eagle he said.

Hopefully someone else in this thread can try on VAAPI.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-11

(2017-12-11, 19:04)fritsch Wrote: Martijn tested it on windows with dxva11 - no artefacts - perfect flying eagle he said.

Hopefully someone else in this thread can try on VAAPI.
 Well, that's one thing to check, the source video is clean. Yay! GO EAGLE! Smile And thanks Martijn!

Was that a similar machine?

Nico


Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Martijn - 2017-12-11

Alienware 17 R4 with Gtx1070 and qhd display


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-11

(2017-12-11, 19:36)Martijn Wrote: Alienware 17 R4 with Gtx1070 and qhd display
 Oh, far from an Intel NUC, then!


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-11

(2017-12-11, 20:32)camelreef Wrote:
(2017-12-11, 19:36)Martijn Wrote: Alienware 17 R4 with Gtx1070 and qhd display
 Oh, far from an Intel NUC, then! 

And now he tested on Nvidia Shield - also fine. I asked another team member with Kabylake HW to test - might have the info tomorrow.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - h.udo - 2017-12-11

Tested on Intel® HD Graphics 630 (Kaby Lake GT2) with x11/va combo and playback is flawless.
Ubuntu 17.10.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-12

(2017-12-11, 22:20)h.udo Wrote: Tested on Intel® HD Graphics 630 (Kaby Lake GT2) with x11/va combo and playback is flawless.
Ubuntu 17.10.
 Ah... So what's different?
Does it play flawlessly for more than 10mn?
Kodi 18 or 17? (17 did not appear to give me hw decoding at all)


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - h.udo - 2017-12-12

Don't know what's different.
I tested with last night's master with default settings (ie, with a clean .kodi/ folder)
That means passthrough off and sync playback to display disabled.

**EDIT**
Playback was flawless from start to end.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-12

Works for other Apollo Lake users too: https://forum.kodi.tv/showthread.php?tid=270298&pid=2678431#pid2678431 without artefacts. Mind trying LibreELEC from USB stick?


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - MicTie - 2017-12-12

Something is going on with the Audio-Configuration:

2 days ago I encountered following issue:
After upgrading to the latest nightly version, 'normal' audio stopped working , and 'passthrough' working ...

Changing the Audio Output Device solved the issue:
   Settings/System/Audio Output Device: is set to: Default (HDA Intel PCH ALC283 Analog) => not working
   Settings/System/Audio Output Device: changed to: HDA Intel PCH, SNY LG TV on HDMI =>  everything working normally
            no idea why the settings suddenly changed....

Today, after upgrading to the latest nightly (18.0-ALPHA1 Git:20171212-d790c26), NO audiodevice is found:

the log shows:
Quote:21:46:07.807 T:140569649822080 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
21:46:07.819 T:140569649822080 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/linux.xml
21:46:07.827 T:140569649822080 ERROR: PulseAudio: Failed to connect context
21:46:07.827 T:140569649822080 NOTICE: PulseAudio might not be running. Context was not created.
21:46:07.827 T:140569649822080 NOTICE: No Devices found - retry: 4

I will upload a proper log tomorrow ...

Maybe others face the same issue


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - Stanislav - 2017-12-12

+1 

I had essentially the same symptom with the latest nightly. Reverting to 11 Dec version resolved the issue.

I remember a few days ago audio was also missing, but was simply the case of audio output device changing. I was able to revert to my device (usb-attached DAC) in Audio Settings. But today it was gone.

I'll post debug logs a bit later.

Thanks,
-- Stanislav


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-12

(2017-12-12, 16:02)MicTie Wrote: Something is going on with the Audio-Configuration:

2 days ago I encountered following issue:
After upgrading to the latest nightly version, 'normal' audio stopped working , and 'passthrough' working ...

Changing the Audio Output Device solved the issue:
   Settings/System/Audio Output Device: is set to: Default (HDA Intel PCH ALC283 Analog) => not working
   Settings/System/Audio Output Device: changed to: HDA Intel PCH, SNY LG TV on HDMI =>  everything working normally
            no idea why the settings suddenly changed....

Today, after upgrading to the latest nightly (18.0-ALPHA1 Git:20171212-d790c26), NO audiodevice is found:

the log shows:
Quote:21:46:07.807 T:140569649822080 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/settings.xml
21:46:07.819 T:140569649822080 DEBUG: CSettings: loaded settings definition from special://xbmc/system/settings/linux.xml
21:46:07.827 T:140569649822080 ERROR: PulseAudio: Failed to connect context
21:46:07.827 T:140569649822080 NOTICE: PulseAudio might not be running. Context was not created.
21:46:07.827 T:140569649822080 NOTICE: No Devices found - retry: 4

I will upload a proper log tomorrow ...

Maybe others face the same issue 
 Also post the guisettings.xml (audio device part of it) along with the debug log. We fixed the ALSA vs. Pulse issue yesterday.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - fritsch - 2017-12-12

If you all wait with posting the logs - they might be heavily outdated until they reach us. If you want to take part in development, e.g. using latest nightlies. A "me too" is not helpful - so in case of problem: take latest Debug Log of latest available ppa build and post that along with your issue description as asked for in the very first post.


RE: Intel VAAPI howto with Krypton v17 based on Ubuntu 16.04 server - camelreef - 2017-12-12

(2017-12-12, 12:46)fritsch Wrote: Works for other Apollo Lake users too: https://forum.kodi.tv/showthread.php?tid=270298&pid=2678431#pid2678431 without artefacts. Mind trying LibreELEC from USB stick?
 Is there a specific build/place to get it from, please?