I have installed Kodi on my Raspberry Pi 2 with Raspbian via
Quote:sudo apt-get install kodi
and added the following line to my /boot/config.txt file
Quote:gpu_mem=512
However, when I launch Kodi, I get the following warnings:
Quote:/usr/lib/arm-linux-gnueabihf/kodi/kodi-xrandr: Failed to get size of gamma for output default
/usr/lib/arm-linux-gnueabihf/kodi/kodi-xrandr: Failed to get size of gamma for output default
libEGL warning: DRI2: failed to authenticate
after, Kodi starts with a solid black screen.
Why, and how can I resolve?
Is this raspbian Jessie?
If you are using the older raspbian Wheezy, I suspect you are getting a generic Kodi, rather than one built for Raspberry Pi.
Have you enabled the experimental GL graphics driver in raspi-config? That will not work with kodi.
A complete
debug log (wiki) may help.
I have installed Kodi with sudo apt-get install kodi. So is this the wrong way? I will try installing the deb file.
(2016-05-16, 15:16)avalloneandrea Wrote: [ -> ]I have installed Kodi with sudo apt-get install kodi. So is this the wrong way? I will try installing the deb file.
It is correct if you are using a clean raspbian jessie image which includes /etc/apt/sources.list.d/raspi.list
containing the line "deb
http://archive.raspberrypi.org/debian/ jessie main ui".
I suspect you don't have that.
That's odd, this is the content of my raspi.list file :/
Code:
deb http://archive.raspberrypi.org/debian/ jessie main ui
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://archive.raspberrypi.org/debian/ jessie main ui
I have followed the guide in the link, and eventually Kodi UI popped up, but:
1. During the installation I got the following errors:
Code:
dpkg: dependency problems prevent configuration of cec-utils:
cec-utils depends from libplatform1; anyway:
package libplatform1 not installed.
dpkg: error processing the package cec-utils (--install):
dependency problems - leaving unconfigured
Configuration of dcadec (20150816-1)...
dpkg: problems prevent configuration of libcec3:armhf:
libcec3:armhf depends from liblockdev1; anyway:
package liblockdev1 not installed.
libcec3:armhf depends from libplatform1; anyway:
package libplatform1 not installed.
dpkg: error processing the package libcec3:armhf (--install):
dependency problems - leaving unconfigured
dpkg: problems prevent configuration of libcec:
libcec depends from libcec3 (= 3.0.1-2); anyway:
package libcec3:armhfit is not configured yet.
dpkg: error processing the package libcec (--install):
dependency problems - leaving unconfigured
Configuration of libdvdcss (1.2.12-0)...
dpkg: problems prevent configuration of python-libcec:
python-libcec depends from libcec3 (= 3.0.1-2); anyway:
package libcec3:armhfit is not configured yet.
dpkg: error processing the package python-libcec (--install):
dependency problems - leaving unconfigured
dpkg: problems prevent configuration of libcec-dev:
libcec-dev depends from libcec3 (= 3.0.1-2); anyway:
package libcec3:armhfit is not configured yet.
dpkg: error processing the package libcec-dev (--install):
dependency problems - leaving unconfigured
Processing trigger for: man-db (2.7.0.2-5)...
Errors occurred while processing:
cec-utils
libcec3:armhf
libcec
python-libcec
libcec-dev
2. The remote doesn't work (probably because of 1.)
3. In the upper left corner I always see mem and cpu usage stats.
4. How can I install the latest version (16.1)?
(2016-05-24, 20:28)avalloneandrea Wrote: [ -> ]I have installed the PiPplware version. Black screen again. This is the log: http://pastebin.com/94dCvZRA
Code:
20:24:30 T:1916633088 NOTICE: Starting Kodi (14.2 Git:Unknown). Platform: Linux ARM (Thumb) 32-bit
This isn't the PiPplware version (which should be Kodi 15). It's not even been built for Pi.
You may be better off uninstalling any versions of kodi first. Make sure it no longer runs, then try installing the PiPplware version.
Anyway, you'll get a better response to these questions on the raspberry pi forum thread discussing the build.