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 - wwessel - 2015-12-13

(2015-12-11, 12:52)wwessel Wrote: I have an issue with the latest version on an ASUS Chromebox:

Starting a movie works fine, the movie is played flawlessly.

But when I stop the movie OE is restarting and I only have a black screen with mouse pointer on it. Then I have to stop/start kodi via ssh to make it work again.

cat ~/.kodi/temp/kodi.log | pastebinit: http://sprunge.us/GChJ
dmesg | pastebinit: http://sprunge.us/VIjE

EDIT: It looks like it only happens with SD material. I can't reproduce this with HD movies. But stopping the first SD movie it happens again...

Issue still there with today's build. I tried latest Milhouse build and it has the same behaviour. The last one without this issue was the Jarvis 16.0 build, so something is broken in 17.0?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-13

(2015-12-13, 12:45)jteeuw Wrote: Hi ,

I did a fresh install and followed the how to from page one, everything is working perfecty but when watching Live TV I have green frames ,about 3 green frames per minute.
Can somebody tell from the logs I my setup is good?

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/13987283/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/13987289/

cat /home/kodi/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/13987306/

dmesg | pastebinit
http://paste.ubuntu.com/13987307/

Not a Debug Log - can you test without tvheadend? What about recordings?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-13

(2015-12-13, 14:26)wwessel Wrote:
(2015-12-11, 12:52)wwessel Wrote: I have an issue with the latest version on an ASUS Chromebox:

Starting a movie works fine, the movie is played flawlessly.

But when I stop the movie OE is restarting and I only have a black screen with mouse pointer on it. Then I have to stop/start kodi via ssh to make it work again.

cat ~/.kodi/temp/kodi.log | pastebinit: http://sprunge.us/GChJ
dmesg | pastebinit: http://sprunge.us/VIjE

EDIT: It looks like it only happens with SD material. I can't reproduce this with HD movies. But stopping the first SD movie it happens again...

Issue still there with today's build. I tried latest Milhouse build and it has the same behaviour. The last one without this issue was the Jarvis 16.0 build, so something is broken in 17.0?

Your build is 4 days outdated - reproduce with today's version.


RE: New Era: VAAPI with EGL interoperation - wwessel - 2015-12-13

(2015-12-13, 14:33)fritsch Wrote:
(2015-12-13, 14:26)wwessel Wrote:
(2015-12-11, 12:52)wwessel Wrote: I have an issue with the latest version on an ASUS Chromebox:

Starting a movie works fine, the movie is played flawlessly.

But when I stop the movie OE is restarting and I only have a black screen with mouse pointer on it. Then I have to stop/start kodi via ssh to make it work again.

cat ~/.kodi/temp/kodi.log | pastebinit: http://sprunge.us/GChJ
dmesg | pastebinit: http://sprunge.us/VIjE

EDIT: It looks like it only happens with SD material. I can't reproduce this with HD movies. But stopping the first SD movie it happens again...

Issue still there with today's build. I tried latest Milhouse build and it has the same behaviour. The last one without this issue was the Jarvis 16.0 build, so something is broken in 17.0?

Your build is 4 days outdated - reproduce with today's version.

OK, here are the latest logs:

http://sprunge.us/eJHK
http://sprunge.us/bJPH

There's one thing changed in the behaviour: After restarting it stays with black screen for some seconds, then the GUI comes up again. The same is happening after wake up from suspend state:

http://sprunge.us/eXMN
http://sprunge.us/hWZa


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-13

Can you upload the crashlog from your home directory?


RE: New Era: VAAPI with EGL interoperation - wwessel - 2015-12-13

(2015-12-13, 15:34)fritsch Wrote: Can you upload the crashlog from your home directory?

I can't find one in /storage. Is there another place?


RE: New Era: VAAPI with EGL interoperation - wwessel - 2015-12-13

(2015-12-13, 15:38)wwessel Wrote:
(2015-12-13, 15:34)fritsch Wrote: Can you upload the crashlog from your home directory?

I can't find one in /storage. Is there another place?

OK, I found it in ~/.kodi/temp:

http://sprunge.us/QXfS


RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2015-12-13

Still problems with OOS audio when using audio passthrough. And now downgrading to an older version doesn't fix the problems either Sad


RE: New Era: VAAPI with EGL interoperation - jteeuw - 2015-12-13

(2015-12-13, 14:29)fritsch Wrote:
(2015-12-13, 12:45)jteeuw Wrote: Hi ,

I did a fresh install and followed the how to from page one, everything is working perfecty but when watching Live TV I have green frames ,about 3 green frames per minute.
Can somebody tell from the logs I my setup is good?

dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/13987283/

DISPLAY=:0 vainfo | pastebinit
libva info: VA-API version 0.38.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_38
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/13987289/

cat /home/kodi/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/13987306/

dmesg | pastebinit
http://paste.ubuntu.com/13987307/

Not a Debug Log - can you test without tvheadend? What about recordings?

I have it with live tv and (tv) recordings other files not .

here is my debug log :

cat /home/kodi/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/13992295/


New Era: VAAPI with EGL interoperation - VirtualRain - 2015-12-13

For an average joe, is it recommended to use the Isenguard OE 15.2 build (which was last updated a month ago) or the newer Video Player 17 build (what is this?)


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-13

Average Joe should buy a FireTV ...


New Era: VAAPI with EGL interoperation - VirtualRain - 2015-12-13

(2015-12-13, 21:26)fritsch Wrote: Average Joe should buy a FireTV ...

Haha... In post #2 it mentions beginner Isenguard OE build is for every day joe, just wondering if that's still the case.


RE: New Era: VAAPI with EGL interoperation - _Spook_ - 2015-12-13

Also problem with black screen with only pointer after finish watching a video file is back....


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-12-13

(2015-12-13, 22:05)_Spook_ Wrote: Also problem with black screen with only pointer after finish watching a video file is back....

No help without the required logfiles from thread 1.


RE: New Era: VAAPI with EGL interoperation - VirtualRain - 2015-12-14

When I first tried these builds back in September, I had an issue where I was getting no HDMI output on a refresh rate switch.

I filed a bug with freedesktop.org.

Just today, I thought I would give this another try.

I had the same issue, but discovered disconnecting the HDMI cable and reconnecting it would restore the video/audio.

So it seems my problem all along was an issue with hand-shaking after a refresh rate change.

I've temporarily worked around this by chaining the GUI to 1080p 23.98 which means for 90% of my content, no refresh rate change is required, and thus no loss of signal.

How do I fix this properly so I can get Kodi to do refresh rate switching and be able to re-establish handshake/signal with my AVR (Yamaha RX-A3050 with HDMI 2.0 and HDCP 2.2)?