Raspberry Pi 2 with ubuntu mate and kodi

Hi, I’m a new member and I started to work a few days ago with raspberri pi 2 and Ubuntu mate.
I installed kodi with ubuntu software center but when I launch It crashes, someone could help me please?

The error message is:
/usr/lib/kodi/kodi-xrandr: Failed to get size of gamma for output default
libEGL warning: DRI2: failed to authenticate
Segmentation fault (core dumped)
Crash report available at /root/kodi_crashlog-20160428_130045.log

In your opinion what’s the problem?

Hi, welcome! Hardware acceleration / OpenGL isn’t enabled by default, so programs that require this (like Kodi) won’t run yet.

I don’t really know how to enable it myself, but I’m watching this:

Another possible issue is that you appear to be running as root (sudo). Please run it as an ordinary user.

An older thread also matches this error message, but it’s not ready yet:

Kodi don’t work natively on Ubuntu mate for now.
As lha7 you need an opengl driver and it only experimental for now and buggy and not stable on 15.10.
There is a way recompiling it with framebuffer display output and openmax, I know wimpy was working on it or maybe I will look about it.
The easiest way is to use openelec distribution for now : http://openelec.tv/get-openelec

Aworan

Sorry for the long time without answer, I tried a lot but I can’t run kodi on ubuntu mate… I know that kodi don’t work natively on ubuntu mate but I found lot of guide and I tried again.
This is the crashlog, I hope that someone could help me to resolve this problem

http://pastebin.com/Pfc2A1Lh

Hey there. I was able to install kodi (although i dind’t played anything with kodi YET) using this method. Check it out!

I tried this guide but I found lots of problem and don’t work with this method