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 - Mylo75 - 2015-12-07

I have the same problem on my beebox with build OpenELEC-Generic.x86_64-6.0-devel-20151203154456-r21592-g293aec7.tar

Updates and loads to jarvis screen, but will not load any further. I tried 3 times but it just won't work.

Also any news on a fix for the lip sync issue, or are anymore logs helpful.


RE: New Era: VAAPI with EGL interoperation - JaccoH - 2015-12-07

@fritsch
I actually think your script isn't what we need Wink.

Code:
#!/bin/bash

OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"

while true; do
    /usr/bin/kodi --standalone
    #break while-loop if exit was clean, otherwise restart kodi
    if [ $? -eq 0 ]; then
      break
    fi
done

#give exit code to systemd
exit $?

I assume systemd needs the exit-code?


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

I don't see the Debug Log for that ... I will rebuild tomorrow. Videoplayer was just merged today ... so wanted to wait until things have settled down a bit.


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

(2015-12-07, 23:36)JaccoH Wrote: @fritsch
I actually think your script isn't what we need Wink.

Code:
#!/bin/bash

OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"

while true; do
    /usr/bin/kodi --standalone
    #break while-loop if exit was clean, otherwise restart kodi
    if [ $? -eq 0 ]; then
      break
    fi
done

#give exit code to systemd
exit $?

I assume systemd needs the exit-code?

Won't hurt. It was more of a manual hack - that way you can exit kodi - use openbox and when it would crash it would get restarted by openbox.


RE: New Era: VAAPI with EGL interoperation - Mylo75 - 2015-12-07

(2015-12-07, 23:37)fritsch Wrote: I don't see the Debug Log for that ... I will rebuild tomorrow. Videoplayer was just merged today ... so wanted to wait until things have settled down a bit.

Thanks fritsch, keep up the great work.


RE: New Era: VAAPI with EGL interoperation - JaccoH - 2015-12-07

(2015-12-07, 23:38)fritsch Wrote:
(2015-12-07, 23:36)JaccoH Wrote: @fritsch
I actually think your script isn't what we need Wink.

Code:
#!/bin/bash

OUTPUT=`xrandr -display :0 -q | sed '/ connected/!d;s/ .*//;q'`
xrandr -display :0 --output $OUTPUT --set "Broadcast RGB" "Full"

while true; do
    /usr/bin/kodi --standalone
    #break while-loop if exit was clean, otherwise restart kodi
    if [ $? -eq 0 ]; then
      break
    fi
done

#give exit code to systemd
exit $?

I assume systemd needs the exit-code?

Won't hurt. It was more of a manual hack - that way you can exit kodi - use openbox and when it would crash it would get restarted by openbox.

FWIW: I tested it. Works fine so far.


RE: New Era: VAAPI with EGL interoperation - zeroq - 2015-12-08

This is other kodi log.
Kodi crashes if (Adjust display refresh rate) is enabled.

http://goo.gl/qypwi7


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

(2015-12-08, 00:17)zeroq Wrote: This is other kodi log.
Kodi crashes if (Adjust display refresh rate) is enabled.

http://goo.gl/qypwi7
Can you reproduce with non illegal content?


RE: New Era: VAAPI with EGL interoperation - zeroq - 2015-12-08

It's not illegal its crashing on ivue streaming channel and its crashing as well when playing a file local from server.


RE: New Era: VAAPI with EGL interoperation - zeroq - 2015-12-08

its crashing as well when playing a file local.


RE: New Era: VAAPI with EGL interoperation - basher - 2015-12-08

(2015-12-07, 23:34)Mylo75 Wrote: I have the same problem on my beebox with build OpenELEC-Generic.x86_64-6.0-devel-20151203154456-r21592-g293aec7.tar

Updates and loads to jarvis screen, but will not load any further. I tried 3 times but it just won't work.

Also any news on a fix for the lip sync issue, or are anymore logs helpful.

I guess I should have read the latest updates before rolling the 1203. My Beebox boots and loads the GUI then locks up, network does not start so I dont know what to do next.

How do I recover? Clean install?


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

(2015-12-08, 00:43)zeroq Wrote: its crashing as well when playing a file local.

Just post that log, please.


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

The crashing issues should be fixed. I am still waiting for fernet to rebases on his master - then new builds are produced.


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

New builds are up ... have fun.


RE: New Era: VAAPI with EGL interoperation - jelbo - 2015-12-08

(2015-12-08, 20:21)fritsch Wrote: New builds are up ... have fun.
Great Smile Updating my Beebox N3150. Will edit post with results in a moment. /edit: Update went fine. Of course, didn't excpect anything different this time.

Image