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: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-13

This thread is not about Jarvis. We prepare for Krypton v17.

All the Jarvis builds won't have this EGL work, though HEVC support should "work", with wrong colors and most likely too slow but it should somehow work - 8 bit only.


RE: New Era: VAAPI with EGL interoperation - zigzag930 - 2016-01-14

Sorry, I saw the thread started with 15.2 and had thought (without reading all 191 pages) that the more recent work was on Kodi 16. That's what I get for not reading the whole thread.....

Anyway, thanks for your reply.

You mention Jarvis build will most likely not work properly with HW decode, therefore - I have no desire to go there. To be clear, the discussion this thread refers to Kodi 15.2+? Were you able to get h/w decode working properly on 15.2 custom builds? If so, is there an intel openelec build you recommend I could d/l to test?

J


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

Just use latest and greatest image and start from usb by entering live


RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-01-14

I've installed http://fritsch.fruehberger.net/openelec/v17_videoplayer_testing/OpenELEC-Generic.x86_64-7.0-devel-20160108180514-r21847-gcb964cf.img.gz
and experience black screen issue (need to off/on the AVR to fix). I believe I've read about this being fixed in December?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

When? Always? Only on Tuesdays? In which combination? After playing a special video? After a car passed your house?

Did you send the logfiles by stagecoach?


RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-01-14

Calm down Smile There has been reported issue when screen goes black (after playing a video with adjustable refresh rate on iirc) and you need to poke AVR to fix this. Something like that happened to me on a beebox and denon avr. I remember reading about this being fixed some time ago so experiencing this with the build from January surprised me. If this is not expected I will collect the logs for sure.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

(2016-01-14, 12:04)scf2k Wrote: Calm down Smile There has been reported issue when screen goes black (after playing a video with adjustable refresh rate on iirc) and you need to poke AVR to fix this. Something like that happened to me on a beebox and denon avr. I remember reading about this being fixed some time ago so experiencing this with the build from January surprised me. If this is not expected I will collect the logs for sure.

Nope it's not expected. I am calm like a bomb :-)


RE: New Era: VAAPI with EGL interoperation - Devil-Strike - 2016-01-14

(2016-01-14, 12:04)scf2k Wrote: Calm down Smile There has been reported issue when screen goes black (after playing a video with adjustable refresh rate on iirc) and you need to poke AVR to fix this. Something like that happened to me on a beebox and denon avr. I remember reading about this being fixed some time ago so experiencing this with the build from January surprised me. If this is not expected I will collect the logs for sure.

Can confirm this, same problem yesterday whene watching 24p content, about 2 or 3 times in 45min is goes back to 50 or 60Hz.

kodi log: http://sprunge.us/PKbC

Hmm log is empty, please just wait will watch a serie now, if it is going to switch framerate will update file.


RE: New Era: VAAPI with EGL interoperation - scf2k - 2016-01-14

Don't know is it related, but my content was 24p too. Will collect the logs tonight.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

(2016-01-14, 14:16)Devil-Strike Wrote:
(2016-01-14, 12:04)scf2k Wrote: Calm down Smile There has been reported issue when screen goes black (after playing a video with adjustable refresh rate on iirc) and you need to poke AVR to fix this. Something like that happened to me on a beebox and denon avr. I remember reading about this being fixed some time ago so experiencing this with the build from January surprised me. If this is not expected I will collect the logs for sure.

Can confirm this, same problem yesterday whene watching 24p content, about 2 or 3 times in 45min is goes back to 50 or 60Hz.

kodi log: http://sprunge.us/PKbC

Hmm log is empty, please just wait will watch a serie now, if it is going to switch framerate will update file.

Yeah - you need to turn on debuglogging please, prior to switching. Also include dmesg | pastebinit


RE: New Era: VAAPI with EGL interoperation - Devil-Strike - 2016-01-14

(2016-01-14, 14:44)fritsch Wrote:
(2016-01-14, 14:16)Devil-Strike Wrote:
(2016-01-14, 12:04)scf2k Wrote: Calm down Smile There has been reported issue when screen goes black (after playing a video with adjustable refresh rate on iirc) and you need to poke AVR to fix this. Something like that happened to me on a beebox and denon avr. I remember reading about this being fixed some time ago so experiencing this with the build from January surprised me. If this is not expected I will collect the logs for sure.

Can confirm this, same problem yesterday whene watching 24p content, about 2 or 3 times in 45min is goes back to 50 or 60Hz.

kodi log: http://sprunge.us/PKbC

Hmm log is empty, please just wait will watch a serie now, if it is going to switch framerate will update file.

Yeah - you need to turn on debuglogging please, prior to switching. Also include dmesg | pastebinit

Upated to latest build and watched serie now is not happening so seems to be fixed with build : OpenELEC-Generic.x86_64-7.0-devel-20160113193434-r21911-gcd1b1d6


RE: New Era: VAAPI with EGL interoperation - meowmoo - 2016-01-14

(2016-01-14, 15:12)Devil-Strike Wrote:
(2016-01-14, 14:44)fritsch Wrote:
(2016-01-14, 14:16)Devil-Strike Wrote: Can confirm this, same problem yesterday whene watching 24p content, about 2 or 3 times in 45min is goes back to 50 or 60Hz.

kodi log: http://sprunge.us/PKbC

Hmm log is empty, please just wait will watch a serie now, if it is going to switch framerate will update file.

Yeah - you need to turn on debuglogging please, prior to switching. Also include dmesg | pastebinit

Upated to latest build and watched serie now is not happening so seems to be fixed with build : OpenELEC-Generic.x86_64-7.0-devel-20160113193434-r21911-gcd1b1d6

Its kinda random (for me), i had a few days in a row where it not happened at all, and last night it happens 3 times in a row... Never cacht it with a debug log :/

I try to force it with start/stop later

We should do dmesg | pastebinit when we are in the black screen I guess?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

(2016-01-14, 15:29)meowmoo Wrote:
(2016-01-14, 15:12)Devil-Strike Wrote:
(2016-01-14, 14:44)fritsch Wrote: Yeah - you need to turn on debuglogging please, prior to switching. Also include dmesg | pastebinit

Upated to latest build and watched serie now is not happening so seems to be fixed with build : OpenELEC-Generic.x86_64-7.0-devel-20160113193434-r21911-gcd1b1d6

Its kinda random (for me), i had a few days in a row where it not happened at all, and last night it happens 3 times in a row... Never cacht it with a debug log :/

I try to force it with start/stop later

We should do dmesg | pastebinit when we are in the black screen I guess?

Afterwards is fine. Also if you can, boot the computer with drm.debug=0xe in kernel command line, then we can directly file upstream bugs.


RE: New Era: VAAPI with EGL interoperation - meowmoo - 2016-01-14

kernel stuff is way over my head fritsch :/

But If its easy to do on a chromebox and you tell me how I do my best Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-01-14

Code:
mount -o remount,rw /flash
nano /flash/syslinux.cfg and place this drm.debug=0xe behind the other stuff in the kernel command line (same line, no new line)
Save the file with CTL o and exit with CTL x
mount -o remount,rw /flash
reboot

Whenever you fuckup that file you can change it again with a live boot cd or another OE live stick.