Kodi Community Forum

Full Version: VAAPI: Nuc, Chromebox, HSW, IVB, Baytrail with Ubuntu 14.04
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
No. Oe 4.2 will ship Gotham only.

Helix master builds will have those in the future.
Just updated my system again and it appears to be a lot more robust. ~20% across both CPUs playing 25Mbs 1080/50i H264 with a Motion Compensated de-interlace and with "Prefer VAAPI Render Method" enabled.

Fritsch and Fernetmenta - you guys seriously rock (Thanks also to Intel for working on the bugs)

The 2955U-based Chromebox is now pretty close to perfect for my needs.
Hi fritsch,

OK, I have nuked my NUC in order to do some testing with your builds. I followed your instructions in #1, but XBMC does not start up (no xbmc.log either).

Here the remaining logs:
http://paste.ubuntu.com/8191533/
http://paste.ubuntu.com/8191540/
http://paste.ubuntu.com/8191552/
http://paste.ubuntu.com/8191559/
http://paste.ubuntu.com/8191560/

I was suspecting the plymouth package to create the trouble and changed the grub_mcdline_linux_default to "noplymouth" (followed by sudo update-grub), but to no avail.

Any advice appreciated...

Thanks and best,

M4tt0
Your user is walter _not_ xbmc. You need to adjust the upstart script or follow the howto to the word, especially the reconfigure of xserver-common is not optional.
First of all, thanks a lot for looking into this, fritsch! Much appreciated!

I have gone through your installation instructions word by word again and always used copy&paste in order not to introduce typos. I also reconfigured xserver-common again.

In the logs I gave you the wrong id, but I believe the xbmc user is configured correctly, too. Here it is:
uid=1001(xbmc) gid=1001(xbmc) Gruppen=1001(xbmc),20(dialout),24(cdrom),29(audio),30(dip),44(video),46(plugdev),100(users)

What I realized though is that the /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla file could not be written (despite sudo) due to lack of access rights. I did not realize that the file could not be written in my initial installaion. In fact, I can't even cd into the localauthority directory (as adm user walter). Could that be the problem?

The only other deviation from your instructions was that I installed the mini.iso and not the server.iso despite running an UEFI system (Intel NUC i5). I did that because Intel updated the BIOS firmware to address respective issues. I tried the mini and it worked (the SSD boots up without complaints) so I did not worry...

One more thing: I installed the system with an old monitor, connected via MiniDisplayPort to VGA adapter. Since the upstart script waits for HDMI to become ready, I thought that might be the problem. But I have connected the NUC to my TV now. The HDMI Out of the NUC is connected to a HDMI switch, which is in turn connected to the TV, but again XBMC does not start up.

What do you think?

Many thanks again and best regards,

M4tt0
Update: I brute-forced my way into localauthority by sudo chmod a+rw localauthority. Then I was able to create the pkla file. But the reboot did not improve the situation. *Sigh*

Here a new dmesg with my NUC being connected via HDMI:

http://paste.ubuntu.com/8196802/

Best,

M4tt0
Xorg.0.log available?

Stop the xbmc service please. Then Start with your xbmc user: X& enter
After this: DISPLAY=:0 xbmc

What happens?
No Xorg.0.log. No xbmc service running, at least I could not find anything with ps auxww | grep xbmc.
I rebooted the NUC, logged in as xbmc (directly on the NUC, not via ssh) and executed X& enter.
The screen turned black. I tried to get the shell back (Ctrl-c), but the screen kept black. I tried to enter the DISPLAY command blindly, no change.

Anyways, I have got an Xorg.0.log now:
http://paste.ubuntu.com/8198943

Hope this is helpful!?

Best,

M4tt0
Do both via SSH. Just press return enterepress two timestimes.times. Mmh mobile phone goes nuts...
You and your mobile are still good enough to get things going... ;-)

xbmc starts up and appears on the screen. I cannot navigate as the IR is not responding, but I had to fix that within OpenELEC too.

Here the new Xorg.0.log:

http://paste.ubuntu.com/8199196/
Pastebin the init xbmc.conf I think you missed to paste it completely.
Don't know what to wish for now. Either I'm completely stupid or it is more complicated...

Here you go:

http://paste.ubuntu.com/8199621/
All fine. Find var log upstart xbmc.log and habe a look.
Hmmh. Full of the following...
'o passwd entry for user 'xbmc

Let me guess, the xbmc user must not have a pwd?
Nope. How did you add the user? It does not exist in etc passwd? Sure you selected everyone in x11-common?
Pastebin that log. It is of course allowed to habe a password.