Kodi Community Forum

Full Version: HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You don't understand. I'll still be using bash scripting, but within Python. You should do whatever you want of course ;-)
This will probably be my last post in this topic because the install script seems to have worked flawlessly for me. The issues I'm having are not script related. I mentioned 13.0 alpha 1 as general information on what the script installed.

My problems are 99% due to the tv shutting off after 10 minutes of inactivity (pause). I will search elsewhere for a possible solution. Thanks again Bram77, uNiversal and Wsnipex
Hi Can anyone help?

My new Linux / XBMC PC has been working great but I have a problem today. I had the TV set on the wrong HDMI input and I hard reset the XBMC PC a few times, now when it boots I see the Bios splash screen, I then see the XBMC logo OK but then it just goes blank / black. I can still use Putty to SSH in to the PC. But I am not sure how to get the picture back?

I have the PC connected directly to the TV via the HDMI cable.

Many thanks.
(2013-02-18, 13:37)Grumpa Wrote: [ -> ]This will probably be my last post in this topic because the install script seems to have worked flawlessly for me. The issues I'm having are not script related. I mentioned 13.0 alpha 1 as general information on what the script installed.

My problems are 99% due to the tv shutting off after 10 minutes of inactivity (pause). I will search elsewhere for a possible solution. Thanks again Bram77, uNiversal and Wsnipex

I've never had that problem so I'm affraid I can't help you with that. You'll probably fond your answers on the Ubuntu forums somewhere.

(2013-02-18, 13:49)cw-kid Wrote: [ -> ]Hi Can anyone help?

My new Linux / XBMC PC has been working great but I have a problem today. I had the TV set on the wrong HDMI input and I hard reset the XBMC PC a few times, now when it boots I see the Bios splash screen, I then see the XBMC logo OK but then it just goes blank / black. I can still use Putty to SSH in to the PC. But I am not sure how to get the picture back?

I have the PC connected directly to the TV via the HDMI cable.

Many thanks.

Do you have automatic updates enabled?
No dont think so, when I installed Ubuntu minimal I selected No to automatic updates.

I just checked the Grub and the line I edited is still present: quiet splash i915.i915_enable_rc6=0

So I have no idea why its blank screen again or how to fix it. Really hope I dont have to format and start all over again.

Thanks
You could have selected it form the installation script too.
Maybe you could try and boot in safe mode from grub to see if you are getting errors while booting?
I tried booting in to the recovery mode in Ubuntu that loaded up OK.

I ran this command does it tell us anything?

xbmc@xbmc01:~$ dpkg -l | grep xbmc

ii plymouth-theme-xbmc-logo 1.0.2 all graphical boot animation and logger - xbmc-logo theme
ii xbmc 2:13.0~git20130213.2107-1d92d14-0quantal all XBMC Media Center PVR Xvba Edition (arch-independent data package)
ii xbmc-bin 2:13.0~git20130213.2107-1d92d14-0quantal amd64 XBMC Media Center PVR Xvba Edition (binary data package)
ii xbmc-pvr-argustv 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon Argustv
ii xbmc-pvr-dvbviewer 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon Dvbviewer
ii xbmc-pvr-mediaportal-tvserver 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon Mediaportal Tvserver
ii xbmc-pvr-mythtv-cmyth 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon MythTv - Cmyth
ii xbmc-pvr-nextpvr 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon NextPvr
ii xbmc-pvr-njoy 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon Njoy
ii xbmc-pvr-tvheadend-hts 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon TvHeadend Hts
ii xbmc-pvr-vdr-vnsi 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon VDR Vnsi
ii xbmc-pvr-vuplus 1.0.0~git20130129.2244-96774c4-0quantal amd64 XBMC PVR Addon Vuplus
xbmc@xbmc01:~$

In the recovery mode I dropped to shell command, I then typed XBMC and it says

Error unable to open display
XBMC needs hardware accelerated OpenGL rendering
Install appropriate graphics driver.

Has it lost the graphics driver somehow ?

Thanks
If I run: dpkg -l | grep Intel


xbmc@xbmc01:~$ dpkg -l | grep Intel
ii i965-va-driver:amd64 1.0.17-1 amd64 VAAPI driver for Intel G45 & HD Graphics family
ii xserver-xorg-video-intel 2:2.20.9-0ubuntu2 amd64 X.Org X server -- Intel i8xx, i9xx display driver
xbmc@xbmc01:~$

xbmc@xbmc01:~$ ps -elf | grep intel
0 S xbmc 1419 1324 0 80 0 - 2348 pipe_w 12:39 pts/0 00:00:00 grep --color=auto intel
xbmc@xbmc01:~$
At least you've narrowed down that it's related to the video drivers. Maybe you could try reinstalling them? Or maybe reconfigure the x-server?
(2013-02-18, 14:29)Bram77 Wrote: [ -> ]At least you've narrowed down that it's related to the video drivers. Maybe you could try reinstalling them? Or maybe reconfigure the x-server?

I would if I knew how to do that but I dont.
Should I run your install script again to fix? Will that wipe out all my settings and config in XBMC ?

Thank you.
I'm affraid running the script again won't fix your problem.
Try this:

Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo dpkg-reconfigure xserver-xorg

The first command might result in an error if no xorg.conf file exists (which is likely and normal).
xbmc@xbmc01:~$ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
[sudo] password for xbmc:
cp: cannot stat `/etc/X11/xorg.conf': No such file or directory
xbmc@xbmc01:~$ sudo dpkg-reconfigure xserver-xorg
xbmc@xbmc01:~$


I then rebooted its still a blank screen.

When I entered the reconfigure xserver command and pressed enter, it didn't seem to do anything? Other than take me to the new line with the ~$
Bram, whats the command please for re-installing the Intel graphics drivers? Maybe I should try that?

Thanks
Damm its working now, I totally forgot about another problem I have been having with using a central MySQL database for XBMC on my Windows Home Server. If the WHS Server is asleep XBMC does not launch when booting up from shutdown, because it can't see the MySQL database. I have installed the WOL add-in for XBMC and set that up to wake the WHS Server, but it only works when the PC resumes from S3 Sleep and not from S5 Shutdown. I need some way of sending a WOL packet to the WHS server whist Ubuntu is loading up. I wrote about the issue here on the WOL add-in thread.

Still might be useful knowing the command to reinstall the Intel Graphics Drivers for future reference though.

Many thanks