Kodi Community Forum
Linux HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
+--- Thread: Linux HOW-TO: Automated efficient XBMC install - Ubuntu 12.10/13.04 mini based (/showthread.php?tid=141369)



RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2012-11-21

Hello

You could have just hit reply, I can get reply-pm's if I was the one who sent a pm to begin with.

I disabled pm's as I dont want people pm'img me for support. to be honest I only sent you a pm because I know you probably be busy and thats a sure way to get your attention.

Even though it was script related. and thats why this topic/thread exists after all, not to ask about unrelated probs.

About your considered move to python, I hardly barely can keep up with bash if you move to python, I wont get any of it, others may feel same about python, Im not a coder I just do my homework and google a crap shed full before posting about a problem. anyway I hope you bought my present already, its my bday soon. hehe

have a look here https://help.ubuntu.com/community/AppArmor#Disable_AppArmor_framework to actually disable apparmor completey even after this, a grub menu option as to be passed to kernel. apparmor=0 and maybe security="" theres more infor on archwiki. https://wiki.archlinux.org/index.php/AppArmor#Disable

So everyone knows what I pm you heres a quote.

uNiversal Wrote:The script does a stops apparmor then service apparmor teardown and uninstalls it, but doesn't remove the init entries for it which cause loads of errors on boot, complaining it cant open line 35 /lib/apparmor/windows or whatever.

Consider adding

Code:
service apparmor stop
service apparmor teardown
update-rc.d -f apparmor remove
apt-get remove --purge apparmor -y

Thx.

uNi

Offtopic -- please everyone visit here http://forum.xbmc.org/showthread.php?tid=145821

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2012-11-21

@ bram77

updated with script with the apparmor changes above http://pastebin.com/raw.php?i=DC33kxAB

double check and do your git thing and + version 2.6.1?

uNi




RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - ozzyman778 - 2012-11-22

I am running a http://www.zotacusa.com/zotac-h67-wifi-supreme-h67itx-d-e.html main board

I have disabled the onboard intel hd graphics on the chipset and am only using the onboard nvidia gt520 card. This script tells me:

Code:
Installation aborted...
Only NVIDIA, ATI/AMD or INTEL videocards are supported. Please install a compatible videocard and run the script again.

You have a INTEL
NVIDIA videocard.


Any possible solution for this problem?

BTW:

Output of
lspci -v | less

for VGA is

VGA compatible controller: NVIDIA Corporation GF119 (GeForce GT 520) (rev a1) (prog-if 00 [VGA controller])



According to xbmc_installation.log

After ubuntu instalation updated:

Installing INTEL NVIDIA video drivers (may take a while)...

Then just goes straight to: Cleaning up....



OK so I figured out the problem: lspci |grep VGA |awk -F: {' print $3 '} |awk {'print $1'} |tr [a-z] [A-Z]

Shows both the intel onboard VGA and the NVIDIA GT 520 graphics card

How do I change this command to only show the NVIDIA instead of both?


Final Edit(Hopefully)

I changed
Code:
GFX_CARD=$(lspci |grep VGA |awk -F: {' print $3 '} |awk {'print $1'} |tr [a-z] [A-Z])

To:
Code:
GFX_CARD=$(lspci |grep 01:00.0 |awk -F: {' print $3 '} |awk {'print $1'} |tr [a-z] [A-Z]


01:00.0

Happens to be the prefix to my GT 520 when I run lspci so I figured this would tell the script that my card was indeed a "NVIDIA" I tested my theory by running the above command and sure enough one word printed: NVIDIA

Install went smooth and awesome after this small fix!

Where can I send a donation, that was the easiest install ever!




RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - paddythefarmer - 2012-11-23

Hi
I've just installed this on a Asus E350M1-M board. i thought i'd try it after seeing how much work went into it. All works great sound, picture etc.

however i have a couple of problems. i have a Hauppauge WinTV-NOVA-T-500 tv card with remote. it seems that ubuntu has the settings for the old type of remote and only a few buttons work on the new remote. Openelec has the right settings if thats of any help. i can live with this for now as i also have a wireless keyboard and im sure theres a solution out there to find in cyberland

My big problem is that there is a black border around the picture. i've searched google and i can't find a way to do it with terminal via ssh. in Ubuntu i was able to sort this by overscanning with the AMD Catalyst control centre. Is there a way to sort this in this setup? i've very little experience using Terminal, so a step by step guide appreciated

Thanks in advance


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - fritsch - 2012-11-23

@paddythefarmer:
Code:
sudo service xbmc stop
sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
sudo service xbmc start



RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - paddythefarmer - 2012-11-23

Thanks fritsch for the quick reply

i tried your code but im getting

No layout section was found in the file /etc/X11/xorg.conf
Please run 'aticonfig --initial' first or modify your configuration file manually and run aticonfig again
aticonfig: parsing the command-line failed



RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - ozzyman778 - 2012-11-23

How would one run this script on a second or even third computer on the same network? since it requires the computer name to be xbmc wouldn't it conflict with other setups on the same network?


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2012-11-23

If you want to run this script on other machines then yes the username account should be xbmc, however once setup it shouldn't pick on other machines with different installs that have different usernames.

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - thethirdnut - 2012-11-23

(2012-11-23, 03:53)ozzyman778 Wrote: How would one run this script on a second or even third computer on the same network? since it requires the computer name to be xbmc wouldn't it conflict with other setups on the same network?

As uNi said the script wants you to have username 'xbmc' for all machines, but it doesn't matter what the machine name is though. Setting it to xbmc was simply an example given in the first post.




RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - reddy - 2012-11-24

Hi,

I'll try to set up that on Nokia Booklet 3G which has GMA500 graphics. Unfortunately XBMC crashes on every attempt to start it.
When I try:
Code:
xinit xbmc
i can see for a split of a second:
Code:
LLVM ERROR: Program used external function '' which could not be resolved!
pure virtual method called
terminate called without an active exception
Aborted

Here is the installation log: http://pastebin.com/YdEKGfR6
And here is one of the crash logs: http://pastebin.com/8BG99yzp

XMBCbuntu live works so it's possible to run XBMC on this netbook.
I'd appreciate any help


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - deon - 2012-11-26

Hi,

I tried this script today without success. I followed every step to the tee and it all seems to go well until the reboot at the end.

The first tell tale I see that something is wrong is that the reboot page does not load correctly with something to the effect of "No profile has been loaded yet" written repeatedly in a staggered fashion all over the screen.

When I press enter, the system starts a reboot, I can see my POST messages, the XBMC splash screen appears for a few seconds and then it all disappears. Nothing on screen, can't ping or SSH and the system does not react to the power button. This happened after two installations.

Is there anything that I can do to save this? A reinstall yielded the same results, so I will need to try something differently next time. Any ideas? I would love to provide some logs, but I don't quite know how to get to any.

Help will be greatly appreciated.

Cheers,
Deon


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2012-11-26

@deon Welcome to forums

Can you post something about your system what hardware it is etc,

We could use some logs pastebined either (the script does have a install log,)

Did you actually create a user called xbmc on Linux install?
And did you run the script from the xbmc user?

There's other logs we can look at as well like for instance the /var/log/xorg.0.log this would indicate if there's driver issues (which is likely) Or hardware incompatibility.

The script also offers several options to autostart XBMC, the ones more used are the upstart xinit. Again you dont say much about what actual options you used on script install, which can give anyone a clew as to what could be going on.

Help helping you would be greatly appreciated.

thank you

uNi


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - deon - 2012-11-26

Hi Uni,

Thanks for the quick response. I acknowledge that I did not give adequate information.

I did create a user called xbmc (full name also xbmc) and this was the only user, thus the SSH session for running the installation script was also running under the user xbmc.

I am running this on an ASRock Z77E-ITX board using the built in Intel graphics. As I said, the system is completely unresponsive and I cannot even SSH to it. The drive is an mSATA so I cannot just pop it in my other system. Let me try to boot of a USB stick to access the logs on the mSATA drive.

Could you please point me to the locations of the logs you require? I will try my best to access them in my dead system.

It is getting a little late on this side of the world, so I might only get to the logs tomorrow.

Cheers,
Deon


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - deon - 2012-11-26

Hi Uni,

It was easy getting to the data.

The XOrg log can be found here:

http://pastebin.com/ee46YipK

The installation log can be found here:

http://pastebin.com/NWJcTL4m

Hope this can shed some light. Let me know if there is anything else I can provide for you.

Cheers,
Deon


RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2012-11-26

Ah right I saw the hardware, on post before.

I have 0 experience with intel gpu's, idk now we have some information hopefully someone that knows more will chime in. but where systems dont boot or boot to console are possible, though not all cases driver related.

We wait until someone can shed some light.

I have a pointer, which is to edit your /etc/default/grub and remove video=uvesafb:mode_option=1366x768-24,mtrr=3,scroll=ywrap from the grub boot line and run update-grub or when system is booting hold shift key until you see grub options then press "e" navigate to boot line and remove the bolded stuff above and press esc or whatever it is to boot without those options.

That stuff is only for Nvidia and since you have intel its a bad idea to have it in for anything that isnt Nvidia.

to edit in your box directly you can do CTRL+F1 or F2 or F3 until you get a login prompt. Login with user/pass combo you setup.

uNi