Black screen, failed to get size of gamma
#1
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?
Reply
#2
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.
Reply
#3
Yes, It's Jessie!
Reply
#4
Have you enabled the experimental GL graphics driver in raspi-config? That will not work with kodi.
A complete debug log (wiki) may help.
Reply
#5
No, the experimental GL graphic driver is disabled.
Here is the log: http://pastebin.com/FvMqY5Gy
Reply
#6
(2016-05-15, 15:07)avalloneandrea Wrote: No, the experimental GL graphic driver is disabled.
Here is the log: http://pastebin.com/FvMqY5Gy

Yes, that's a generic kodi, rather than one built for Pi. Never going to work.
If you start with a raspbian jessie image you should have the raspberry pi repo which includes kodi buit for Pi.

You can also download a deb file. E.g. https://www.raspberrypi.org/forums/viewt...6&t=109088
Reply
#7
I have installed Kodi with sudo apt-get install kodi. So is this the wrong way? I will try installing the deb file.
Reply
#8
(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.
Reply
#9
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
Reply
#10
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)?
Reply
#11
(2016-05-17, 21:17)avalloneandrea Wrote: 4. How can I install the latest version (16.1)?

I'd recommend the PiPplware version linked from here:
https://www.raspberrypi.org/forums/viewt...6&t=109088
Reply
#12
I have installed the PiPplware version. Black screen again. This is the log: http://pastebin.com/94dCvZRA Sad
Reply
#13
(2016-05-24, 20:28)avalloneandrea Wrote: I have installed the PiPplware version. Black screen again. This is the log: http://pastebin.com/94dCvZRA Sad

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.
Reply

Logout Mark Read Team Forum Stats Members Help
Black screen, failed to get size of gamma0