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 - grantonstar - 2016-02-15

Hi everyone, I updated my old HD TV to a new Samsung SUHD. I plugged the hdmi cable into the TV and Kodi displayed fine. Then I restarted kodi and I'm now getting a blank screen. Xrandr says it can't open the display and even the bios screen when I reboot doesn't display. I can't configure xorg without a display being detected.

I'm at a loss. I tried different hdmi ports and no difference. The same port works for my cable box. Any ideas?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

Nope. Retry with the logfiles from Post 1.


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

Here you go:

http://paste.ubuntu.com/15073532/
http://paste.ubuntu.com/15073568/
http://paste.ubuntu.com/15073540/

vainfo output is:
Code:
libva info: VA-API version 0.38.0
vainfo: dri2_util.c:199: isDRI2Connected: Assertion `dri_state->base.fd >= 0' failed.



RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

You are not member of video and audio group, right? Also install kernel 4.4 or later.


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

sorry check updated link http://paste.ubuntu.com/15073568/

Accidentally ran it as myself.

Where can I get kernel 4.4 from?


RE: New Era: VAAPI with EGL interoperation - masinad - 2016-02-15

(2016-02-15, 09:29)Matt Devo Wrote:
(2016-02-14, 23:17)masinad Wrote: Installed OpenELEC-Generic.x86_64-6.0.198-Intel_EGL.img but the tvheadend client always fails do install.

in log there is this:

just installed / configured it on a fresh system w/6.0.198 without issue. Maybe a download/connection errror, or perhaps try updating your repos prior to install?


Made an new clean profile in kodi, installed tvheadend client and changed profile back to default and everything works now. Seems there is an problem whit my backup what I did first when I installed egl version. now everything works great.

The picture quality in my 55oled tv is superb Shocked. thank you for your hardwork Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

(2016-02-15, 14:02)grantonstar Wrote: sorry check updated link http://paste.ubuntu.com/15073568/

Accidentally ran it as myself.

Where can I get kernel 4.4 from?

Nothing wrong in this log.

4.4.1 kernel: http://fritsch.fruehberger.net/kernel

Try and use OpenELEC, please - it already has everything setup correctly.


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

(2016-02-15, 14:11)fritsch Wrote:
(2016-02-15, 14:02)grantonstar Wrote: sorry check updated link http://paste.ubuntu.com/15073568/

Accidentally ran it as myself.

Where can I get kernel 4.4 from?

Nothing wrong in this log.

4.4.1 kernel: http://fritsch.fruehberger.net/kernel

Try and use OpenELEC, please - it already has everything setup correctly.

I installed kernel 4.4.1 from above. Same issue.

When I connect it back to my old LG everything is fine. If I disconnect it from the LG into the new TV, then it displays Kodi (at 1024x768). xrandr still reports it can't open the display. And as I said before, if I restart kodi then I'm back to no display.

As I said previously, it's really strange. The TV doesn't even display the BIOS screen. I can try OpenELEC tomorrow (I'm in developing world with poor internet so it's quite slow) but I am not sure I can get it to boot from USB without seeing the BIOS.

Here's the pastebin set again:

http://paste.ubuntu.com/15073999/
http://paste.ubuntu.com/15074001/
http://paste.ubuntu.com/15074010/

vainfo:
Code:
error: XDG_RUNTIME_DIR not set in the environment.
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
vainfo: VA-API version: 0.38 (libva 1.6.1)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 1.6.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Simple            : VAEntrypointEncSlice
      VAProfileMPEG2Main              : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline: VAEntrypointVLD
      VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
      VAProfileH264Main               : VAEntrypointVLD
      VAProfileH264Main               : VAEntrypointEncSlice
      VAProfileH264High               : VAEntrypointVLD
      VAProfileH264High               : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileVC1Simple              : VAEntrypointVLD
      VAProfileVC1Main                : VAEntrypointVLD
      VAProfileVC1Advanced            : VAEntrypointVLD
      VAProfileNone                   : VAEntrypointVideoProc
      VAProfileJPEGBaseline           : VAEntrypointVLD
      VAProfileJPEGBaseline           : VAEntrypointEncPicture
      VAProfileVP8Version0_3          : VAEntrypointVLD
      VAProfileVP8Version0_3          : VAEntrypointEncSlice
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice
      VAProfileHEVCMain               : VAEntrypointVLD
      VAProfileHEVCMain               : VAEntrypointEncSlice



RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

If you run xrandr from the terminal, do it like:

DISPLAY=:0 /usr/lib/kodi/kodi-xrandr

with the very same user actually running kodi. Also provide /var/log/Xorg.0.log


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

(2016-02-15, 15:22)fritsch Wrote: If you run xrandr from the terminal, do it like:

DISPLAY=:0 /usr/lib/kodi/kodi-xrandr

with the very same user actually running kodi. Also provide /var/log/Xorg.0.log

xrandr

Code:
<screen id="0" minimum_w="8" minimum_h="8" current_w="1024" current_h="768" maximum_w="32767" maximum_h="32767">
  <output name="DP1" connected="false">
  </output>
  <output name="HDMI1" connected="false">
  </output>
  <output name="HDMI2" connected="false">
  </output>
  <output name="VIRTUAL1" connected="false">
  </output>
</screen>

xorg log: http://paste.ubuntu.com/15074111/



RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

Yeah - not good - nothing connected -> bugs.freedesktop.org


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

(2016-02-15, 15:36)fritsch Wrote: Yeah - not good - nothing connected -> bugs.freedesktop.org

Ah damn! Would it be worth trying with the openelec build?

The strange thing for me is it occurs pre-Linux booting, not even the BIOS or grub screen displays. Could this indicate something on a hardware level?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2016-02-15

Everything is possible. Change HDMI Port / Cable - whatever, make sure it is seated correctly and so on ...


RE: New Era: VAAPI with EGL interoperation - grantonstar - 2016-02-15

(2016-02-15, 15:45)fritsch Wrote: Everything is possible. Change HDMI Port / Cable - whatever, make sure it is seated correctly and so on ...

Changed cable and ports, same issue.

I guess with no other option i will look to return TV.


RE: New Era: VAAPI with EGL interoperation - LateAdopter - 2016-02-15

There is a series of posts: [REGRESSION] i915: No HDMI output with 4.4 - in the mailing list:

https://lists.freedesktop.org/archives/intel-gfx/2016-February/date.html

Perhaps you have the same problem