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.
@TheYetWakes: Just use OpenELEC. If you want something working and don't want to invest time into fixing things yourself, OE is exactly made for you.
(2014-09-23, 17:30)fritsch Wrote: [ -> ]@TheYetWakes: Just use OpenELEC. If you want something working and don't want to invest time into fixing things yourself, OE is exactly made for you.

Yeah possibly. Not sure I want to install a new linux distro, everything else is finally setup and works. I don't mean to sound ungrateful, as I said previously this fix works like a charm, its more the PVR frontend having problems. I don't mind tinkering and sorting things, its part of the fun afterall. I'm just not sure I can fix this problem myself and mildly annoying as everything was working great previously. Guess i'll have to wait until TV headend offers better Helix support, i'll have to bother them instead Wink

The other half is threatening to move in so I guess its just me finally thinking it may be a good idea to have a more stable system as the daily TV!
Just test it on a usbstick if you are unsure. It shouldn't take many minutes to make OE work. And you shouldn't have to do any tinkering, so the other half should be happy with it.
Let me preface this post by saying I'm a total linux newbie. I'm attempting to set up ubuntu mini + XBMC per the guide in the OP on my Zotac CI520, but I'm having difficulties with the graphics driver. When I attempt to run XBMC, I see this message:

Code:
Error: unable to open display
XBMC needs hardware accelerated OpenGL rendering.
Install an appropriate graphics driver.

lspci displays:
Code:
00:02.0 VGA compatible controller: Intel Corporation Device 0a1e (rev 0b)

pastebins:
http://paste.ubuntu.com/8434158/
http://paste.ubuntu.com/8434160/
http://paste.ubuntu.com/8434176/
http://paste.ubuntu.com/8434178/
http://paste.ubuntu.com/8434180/

"DISPLAY=:0 vainfo | pastebinit" results in
Code:
libva info: VA-API version 0.35.0
vainfo: dri2_util.c:199: isDRI2Connected: Assertion `dri_state->base.fd >= 0' failed.
Currently afk. But have read your post.

Retry line by line from the beginning:-) it is a good training.
I actually did that twice, and the third time I just copied and pasted each line from your guide via SSH terminal after running the basic installation (much easier!). Same results, though B(
I think you are better of with OpenELEC - as this howto is a bit more demanding especially for beginners.

Never the less, provide:

cat /etc/init/xbmc.conf | pastebinit
id | pastebinit
dpkg -l |grep mesa | pastebinit
Here ya go (I modified the fluxbox bit in the xbmc.conf since I wanted to use openbox)

http://paste.ubuntu.com/8435574/
http://paste.ubuntu.com/8435576/
http://paste.ubuntu.com/8435577/

It boots into openbox fine on start, if that's any help.
Are you sure you added the user called xbmc? As your id comments reveals that your username is ayris and not xbmc as the howto wants.

Furthermore this ayris user is not member of group audio nor video.
ysterday I update my system... and now i crash every 30min...
I think I made something wrong or I missing something.

I not sure if I've to add the the ppa:wsnipex/vaapi and update/upgrade again
because of the "*".

dmesg | pastebinit
cat ~/.xbmc/temp/xbmc.log | pastebinit
cat /var/log/Xorg.0.log | pastebinit
DISPLAY=:0 vainfo | pastebinit
dpkg -l |grep mesa | pastebinit
id | pastebinit
aplay -L | pastebinit
Yep, it says user xbmc has been created. I'm going to give it another go just using xbmc as the default user, been playing around with my new monitor and graphics card so I've been distracted B) Thanks for the help so far!
Welp, still getting the same message with regard to XBMC needing hardware OpenGL accelerated rendering whenever I try to run it via commandline.

Code:
xbmc@zotac:~$ DISPLAY=:0 vainfo
libva info: VA-API version 0.36.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_36
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.36 (libva 1.4.0.pre1)
vainfo: Driver version: Intel i965 driver for Intel(R) Haswell - 1.3.3.pre1 (1.3.3.pre1)
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
      VAProfileH264MultiviewHigh      : VAEntrypointVLD
      VAProfileH264MultiviewHigh      : VAEntrypointEncSlice
      VAProfileH264StereoHigh         : VAEntrypointVLD
      VAProfileH264StereoHigh         : VAEntrypointEncSlice

Code:
xbmc@zotac:~$ id
uid=1000(xbmc) gid=1000(xbmc) groups=1000(xbmc),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),30(dip),44(video),46(plugdev),100(users),109(lpadmin),110(sambashare)

Don't know where I'm going wrong since I've followed the guide line for line for the most part. Perhaps I'll try an automated installation of mini ubuntu.
Not sure what you are doing wrong - but yeah getting the howto not to run is like winning in the lottery. How do you start xbmc? Do you start it by opening a terminal in openbox? Provide:

sudo apt-get install mesa-utils
glxinfo | pastebinit
cat /var/log/Xorg.0.log | pastebinit

The above output looks promissing.

Last try -> www.openelec.tv is your next station. They released version 4.2 which should work perfectly on your box.
I actually just went ahead with an automated ubuntu mini installation with a stable build of XBMC, I'll give this a go again in the future when I feel like tinkering again. Now I just want to set up Steam so I can start streaming some games B) Thanks again for the help, though!
So I add the the ppa:wsnipex/vaapi
and made a update, upgrade and dist-upgrade...
but with the same result, xbmc crashs every 30min...
it crash when I usins Live-Tv or listen music or somthing else...