Kodi Community Forum
[LINUX] HOW-TO use VAAPI HW Acceleration on new Intel Sandy Bridge platform - 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] HOW-TO use VAAPI HW Acceleration on new Intel Sandy Bridge platform (/showthread.php?tid=96669)

Pages: 1 2 3 4 5 6 7 8 9 10 11


- warpnine - 2011-09-12

Hi Steve,

thank you for your quick reply. I will soon try it out :-)


- Urry - 2011-09-14

Hello!

Thanks to alanwww1 for his guide!

Followed guide, everything works fine, but ... I'm not very experienced in Linux...
Is there any way to auto mount(and umount) usb removable storage like it works in full Ubuntu with Gnome?

Tried simply add lines to /etc/fstab, but system boot stops if device is not connected ("press S to skip ..."). Option "nofail" does not help.

May be I missed something? Should it work?

Thanks!

PS: Sorry for my English


- warpnine - 2011-09-15

Hello all,

I have a problem installing mesa. After I did:
./autogen.sh --prefix=/usr --with-driver=dri --disable-glut

this error occured:

checking for llvm-config... no
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

I tried to install it with:

sudo apt-get install llvm-2.9

I got the following message:

Statusinformationen werden eingelesen... Fertig
llvm-2.9 ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

So, llvm was already installed. What do I have to do? What went wrong?

Thanx for your help!

Ps.: I used the amd64 Ubuntu 11.04 netboot (http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/current/images/netboot/mini.iso)


- SteveWilliams - 2011-09-17

warpnine Wrote:Hello all,

I have a problem installing mesa. After I did:
./autogen.sh --prefix=/usr --with-driver=dri --disable-glut

this error occured:

checking for llvm-config... no
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

I tried to install it with:

sudo apt-get install llvm-2.9

I got the following message:

Statusinformationen werden eingelesen... Fertig
llvm-2.9 ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.

So, llvm was already installed. What do I have to do? What went wrong?

Thanx for your help!

Ps.: I used the amd64 Ubuntu 11.04 netboot (http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/current/images/netboot/mini.iso)

Try llvm-dev, and see what happens!


- warpnine - 2011-09-17

Thanx Steve,

but after:
sudo apt-get install llvm-dev

I ran:
./autogen.sh --prefix=/usr --with-driver=dri --disable-glut

and got the same error:
checking for llvm-config... no
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

Does anyone have any further suggestions? :-)


- sraue - 2011-09-17

warpnine Wrote:Thanx Steve,

but after:
sudo apt-get install llvm-dev

I ran:
./autogen.sh --prefix=/usr --with-driver=dri --disable-glut

and got the same error:
checking for llvm-config... no
configure: error: LLVM is required to build Gallium R300 on x86 and x86_64

Does anyone have any further suggestions? :-)

disable gallium support or/and the r300 grafic drivers...
Code:
./configure --help
helps


- SteveWilliams - 2011-09-17

You should be able to complete the install of XBMC without having to compile and install MESA.

If your Ubuntu 11.04 installation is up-to-date, there is no need to install the MESA drivers anymore.

Regards


- Krautmaster - 2011-09-21

Hello there,

i collected a few How-Tos and created a new Wiki on my Homeserver.

Topics like VDR, XBMC, HD Acceleration, Ambilight, and so on...

Maybe you all are interested and maybe you can fill, approve, correct these How-To's

http://krautmaster.is-a-chef.com/wiki/index.php/Main_Page

When the Wiki is grown up a little, I'll release it on http://www.htpc-wiki.de

I would prefer English as language, maybe i'll translate it to German too.

Would be nice to see some Pro_Users here to add and share their knowledge in this wiki.

Simply create an articles , paste down approved tutorials and I'll check the form and so on. With a ITX Zacate, Sandy Bridge and Nvidia System i am able to check most of them but this costs time.

Feel free to edit!

Thanks!!!


- bobo1on1 - 2011-09-23

ReferenceClockHang.patch doesn't seem to be needed anymore on ubuntu 11.04 and sandy bridge, I can change refreshrate just fine now without hangs.


- warpnine - 2011-09-24

@steve @sraue

Thanks Guys for helping me!!! Great to have such a support.

After getting stuck I tried the other How-To from here:

http://forum.xbmc.org/showthread.php?tid=86581

And with this I got vaapi to work properly :-) (but there are still some other little problems). So at this point I am happy and will post at the other thread the probs.

But maybe I will give your suggestions another try :-) It starts to make fun :-)


- digitalAir - 2011-10-25

I'm going to give this a try tonight. I was using an Atom D525 nettop solution, and I just bought a new Core i3-2105 system a month ago, and was seeing 102% cpu utilization running Maverick with Dharma. So, after a whole weekend of fighting with it, I went with a quick Win7 solution to keep the Mrs. from losing her patience with me.

Now, it looks like I can return to my linux solution!!!!

Alan, have you tried any of this with Oneiric?

thanks,
digitalAir


- Drae - 2011-11-06

It looks like there are some ELD/EDID additions/fixes set to appear in the Linux 3.2 kernel for the i915 driver. I figure(d) these would fix the lack of EDID support and therefore allow automatic mode selection, multi-channel and high def audio support, etc. I gave it a whirl but for me at least it didn't change anything still no proper edid detection - just two channel lpcm. However I'm really out on a limb here and don't know just grabbing the relevant kernel and building it is enough.

For reference I grabbed the source from http://cgit.freedesktop.org/~airlied/linux/log/?h=drm-core-next.


- Miclaud - 2011-11-07

digitalAir Wrote:Alan, have you tried any of this with Oneiric?

Hi, I'm a new user.

I've followed the Alan's guide on my Sandy Bridge (i3-2100T on Gigabyte GA-H67-UD2H-B3) and went great.

So, I've decided to upgrade all my system by doing a fresh install of ubuntu mini oneiric, x64 edition and, obviously, Linux Kernel version 3.

I've added the xorg edgers ppa and installed all needed packages (including libva1, i965-va-driver, xserver-xorg-video-intel, libgl1-mesa-dri, libbluray1). The only thing I've decided to compile is the XBMC package, choosing the latest git realease.

I've found only a problem: when I activate "Advanced Shaders (GLSL)" from the System->Video panel, I have problems with playing almost all non vaapi accelerated videos. All colors where strange, with a "purple effect".

After many tries I've found that the problem was with the mesa package. So I've tried to create a file in /etc/apt/preferences with these instructions:

Code:
Package: libgl1-mesa-dri
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

Package: libgl1-mesa-dev
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

Package: libgl1-mesa-glx
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

Package: mesa-common-dev
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

Package: libglapi-mesa
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

Package: libgles2-mesa
Pin: version 7.11-0ubuntu3
Pin-Priority: 1001

So, I've forced Mesa to not update to the 7.12 version, included in xorg-edgers.

Now all is great and very fast (and very maintainable, thanks to apt-get). I hope my guide could be any help to anyone.



By the way, I have a question. Is that normal that I play some normal mpeg videos at 50-60 fps while all my H264 HD videos goes only at 30? Excuse the dummy question...


- Ingenieur - 2011-11-08

Hey,

first of all, thanks for your support.

I'm trying to do this How-To but i'm having some problems.

After i did the step "Let's add xbmc user to important groups than reboot" and rebootet, unity disappeared. I only have the Background left but no more interface. The user is logged in but the only thing i can do is to log out via strg+alt+entf.

Any ideas? I'm using ubuntu 11.10 Smile


Colorspace - denist - 2011-11-09

How to set color space in xorg please

Thanx Denis.