Linux Black screen on startup after upgrade to 16.04
#1
Hi,

I upgraded to Ubuntu 16.04 last night and followed the instructions in the Auto Start guide:
http://kodi.wiki/view/HOW-TO:Autostart_Kodi_for_Linux

My kodi user is called 'finn'.

When the PC boots up, only a black screen is shown on the TV connected via HDMI.
When I log in via ssh and run

Code:
sudo systemctl start kodi

Then Kodi comes up on the TV. Any idea how to get it to come up upon boot?

Logs are here (run via ssh session):
Code:
$ uname -a
Linux mediapc 4.4.0-36-generic #55-Ubuntu SMP Thu Aug 11 18:01:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ lspci -v | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
$ dpkg -l |grep mesa | pastebinit
http://paste.ubuntu.com/23204151/
Code:
$ DISPLAY=:0 vainfo | pastebinit
error: can't connect to X server!
libva info: VA-API version 0.39.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_39
libva info: va_openDriver() returns 0
http://paste.ubuntu.com/23204152/
Code:
$ cat ~/.kodi/temp/kodi.log | pastebinit
http://paste.ubuntu.com/23204153/
Code:
$ dmesg | pastebinit
http://paste.ubuntu.com/23204154/
Code:
$ id | pastebinit
http://paste.ubuntu.com/23204155/
Code:
$ amixer | pastebinit
http://paste.ubuntu.com/23204156/
Code:
$ cat /var/log/Xorg.0.log | pastebinit
http://paste.ubuntu.com/23204182/
Code:
$ cat /etc/systemd/system/kodi.service | pastebinit
http://paste.ubuntu.com/23204177/
Code:
$ dpkg --list | egrep "intel|nvidia|kodi" | pastebinit
http://paste.ubuntu.com/23204191/

Any idea what I'm doing wrong?
Reply
#2
Huh. I also had problems with plymouth and getting a working loading icon for kodi - something to do with /usr/share/plymouth/themes versus /lib/plymouth/themes/

When I tried to fix this problem with a dpkg install, the system did a update-initramfs, and the boot problem resolved itself.

Thanks anyway.
Reply
#3
The problem re-occurred when I upgraded to 16.04.2

After some debugging & trial and error, I realised that the problem was not due to kernels or graphics drivers, but rather the display manager and the use of lightdm.

I followed the instructions here (with the exception of what needed to be installed as I was using i915 intel drivers):

http://forum.kodi.tv/showthread.php?tid=231955

And it worked. Using openbox instead of lightdm stopped the black screen problems for me.

Kodi v17.1 is now working for me on Ubuntu 16.04.2 LTS with 4.80 kernel....
Reply

Logout Mark Read Team Forum Stats Members Help
Black screen on startup after upgrade to 16.040