Kodi Community Forum
Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - 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: Linux VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 (/showthread.php?tid=165707)



RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-27

(2014-12-27, 12:52)menno Wrote: I am still getting hangs on my Asus Chrome, with your verly laterst openelec build
dmesg;
http://sprunge.us/IDbd
kodi.log
http://sprunge.us/egAa


Symptom: Picture Freezes, audio continues. Ill revert to the first build in this particular topic.
need any other log?

I don't see a single hang in the dmesg ... and besides your tvheadend spamming a bit, also nothing in the kodi.log


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - menno - 2014-12-29

I see, well I got my first hang on the first build out of this topic;
kodi.log
http://sprunge.us/GJYW
dmesg;

http://sprunge.us/UUSe


I dont think you can see anything again though. This hang came after hours of continues tv watching.....
Ill install the final 5.0 now.
I must say I am afaid though that this bug is still present but it could take hour(s) to become visible....


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-29

Again, not a single hang in your dmesg. I only see that reading from your bluray drive goes wrong.

You have a hang, when you see something like this:

Quote:[ 74.253274] [drm] stuck on render ring
[ 74.254915] [drm] GPU HANG: ecode 0:0x85df3c1d, in xbmc.bin [710], reason: Ring hung, action: reset
[ 74.254919] [drm] GPU hangs can indicate a bug anywhere in the entire gfx stack, including userspace.
[ 74.254922] [drm] Please file a _new_ bug report on bugs.freedesktop.org against DRI -> DRM/Intel
[ 74.254925] [drm] drm/i915 developers can then reassign to the right component if it's not a kernel issue.
[ 74.254928] [drm] The gpu crash dump is required to analyze gpu hangs, so please always attach it.
[ 74.254931] [drm] GPU crash dump saved to /sys/class/drm/card0/error
[ 76.250758] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
[ 80.245684] [drm] stuck on render ring
[ 80.247327] [drm] GPU HANG: ecode 0:0x85dffffc, in xbmc.bin [710], reason: Ring hung, action: reset
[ 80.432959] traps: xbmc.bin[710] general protection ip:85bf4e sp:7fffcb9b2ed0 error:0 in xbmc.bin[400000+1d45000]
[ 82.243259] [drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off

Which is not there at all in your log.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - mhoogenbosch - 2014-12-30

I've upgraded to OpenElec 5.0.0 yesterday. It took a while because the advise from fritsch was to do a clean install.

But, Many Many thanks to fritsch! VAAPI Motion Adaptive looks really great on my system (intel nuc DC54250). I've been watching Live HD television all morning and no single lock up.

Again, many many thanks and a good newyear!


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - -DDD- - 2014-12-30

fritsch, do you know when IVB will become an functional MADI?


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-30

See: https://bugs.freedesktop.org/show_bug.cgi?id=79765


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - -DDD- - 2014-12-30

Thanks, will subscribe there. Maybe next year Intel have more Ideas/Time for this Issue Smile


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-30

Yeah - we have done our job ... they didn't. Funny sidenote: Before we started to implement it, it was broken _everywhere_ - not a single working application on linux, not even their experimental gstreamer branch.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - VanillaXtract - 2014-12-31

I recently bought an ECS Liva. Specs:
Intel Bay Trail-M N2807 1.58GHz
2GB DDR3L RAM
32GB eMMC Storage
UEFI boot only

When I boot to the USB with the 14.04 server, the install runs fine up until the partitioning stage. It does not appear to detect the storage. It says configure ISCSI. Any help or suggestions?
Image


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-31

Quote:32GB eMMC Storage

Most likely needs special drivers, kernel. Install to usb stick and afterwards fiddle with own kernel and initramfs.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - VanillaXtract - 2014-12-31

I am able to install a full version of Trusty.Is there a way to figure out what the server install is missing that the full version has?


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-31

Why not ask on ubuntuforums?


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - fritsch - 2014-12-31

You can btw. just keep full blown ubuntu, if you don't like pulseaudio, just remove it, then set lightdm to auto login and choose the xbmc sessions -> done. And don't forget to install the vaapi drivers mentioned on the first page / updated kernel.

All the init stuff is not needed for you, as lightdm takes care of this.


RE: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04 - VanillaXtract - 2014-12-31

That is what I will do for now then. I purged pulseaudio and enabled auto login. It boots straight to kodi. Thanks for your help.


Thank you! - Sta11ion - 2015-01-02

Thank you very much for this guide, fritsch, wsnipex, and all the developers / contributors whose name I don't know Big Grin

I've followed this excellent guide and successfully installed Kodi nightly (via PPA) on a Z97 system running HSW Refresh CPU (Pentium Anniversary).

Initial testing shows that everything works well. 24p playback is working great. I don't have much interlaced contents to test.

Haven't encountered the GPU HANG issue yet. (p.s. The Dropbox links to the custom 3.18 kernel are returning 404)

The Upstart script works like a charm - booting straight to Kodi.

One small issue I encountered once was that Kodi was unable to switch refresh rate at the start of video playback - stuck at 1080p 50Hz. This happened after waking display from sleep (Kodi's built in sleep function). Restarting X didn't help. Rebooting the PC fixed the issue. I haven't had a chance to try to reproduce it.

Thanks again guys and have a Happy 2015!