2014-11-09, 21:04
(2014-11-09, 18:33)expandables Wrote: Official stable release of gotham works fine I use this gotham release https://www.dropbox.com/s/2uh368dvs3l12x...505.tar.gz
But when i use any of your nightly releases I get the blackscreen exit problem with kodi still running.
As we discussed on PM, I get a similar problem. However when I exit Kodi (which runs fine by the way latest miappa build), Kodi/xbmc is not running after I exit. The session on tty1 is just a black screen however the session is still there, I cannot access any other tty session or they are all black screen. If I type startx (I have xfce4 installed) I get a desktop on tty7 and if I logout I get a visible session back on tty1-6. I can obviously use this 'trick' to get around having to reboot to get back to a terminal session but obviously not ideal. There is nothing in the logs as kodi has terminated.
Cheers
Spart
UPDATE
If I run kodi from within xfce4 by running /opt/xbmc-bcm/xbmc-bin/lib/kodi/kodi.bin then it runs fine. I get LiveTV etc. But on exit I get black screen and no access to any tty again. However it leaves a kodi process running this time that is not there when started from the command line. If I kill this tree using ssh and htop then I can get back to my tty's and xfce4 desktop.
I am using this expendables script to install maippa's build on raspbian.
Code:
#!/bin/bash
cd /home/pi
wget -O kodi-14-20141106-nc4.tar.gz http://goo.gl/pGZmCZ --no-check-certificate
FILE=/home/pi/kodi-14*.tar.gz
echo "This script will update Kodi if $FILE is found in the home directory of user [pi]."
if [ -f $FILE ]; then
echo "$FILE found. Installing Kodi to /opt"
cd /home/pi
echo "Removing old Kodi."
sudo rm -rf /opt/xbmc-bcm
echo "Extracting new Kodi."
sudo tar -xzf /home/pi/kodi-*.tar.gz -C /opt
echo "Going into Kodi again."
cd /opt/kodi*
echo "Moving Kodi again."
sudo mv xbmc-bcm /opt/xbmc-bcm
sudo head -n 171 "/opt/xbmc-bcm/xbmc-bin/share/xbmc/FEH.py" > "/opt/xbmc-bcm/xbmc-bin/share/xbmc/FEH.py.new"
sudo mv "/opt/xbmc-bcm/xbmc-bin/share/xbmc/FEH.py.new" "/opt/xbmc-bcm/xbmc-bin/share/xbmc/FEH.py"
echo "Allmost done."
sudo rm -r /opt/xbmc-bcm/xbmc-bin/share/xbmc/addons/script.raspbmc.*
echo "Going to remove the old kodi"
cd /home/pi
sudo rm -r kodi-14*.tar.gz
cd /opt
sudo rm -r kodi*
echo "Done I will reboot now!"
sudo reboot
else
echo "File $FILE does not exist."
fi
Cheers
Spart