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.
(2012-10-30, 20:56)roach9 Wrote: [ -> ]annnnd i switched back. Tongue


Yes, Openelec is perfect for certain people! Angel

At least you tried some alternatives.

uNi
(2012-10-30, 20:56)roach9 Wrote: [ -> ]annnnd i switched back. Tongue

Maybe you could provide me with some feedback? What do you miss in this installation compared to OpenElec?
(2012-10-30, 21:34)Bram77 Wrote: [ -> ]
(2012-10-30, 20:56)roach9 Wrote: [ -> ]annnnd i switched back. Tongue

Maybe you could provide me with some feedback? What do you miss in this installation compared to OpenElec?

I had lockups while using Aeon MQ4. About 3 in an hour when fiddling about the menus.

Haven't had one in OpenELEC. Not sure where the problem really lies....
I've had those too using Aeon MQ4. I think these are errors in the skin or incompatibility with the XBMC version. I haven't had any lockup with all the other skins I've used on this installation, so there is nothing I can do about that unfortunately.
Depends on the xbmc version vs aeon mq4 version, you have to use compatible skin versions to the xbmc version installed, confluence itself is not perfect at best of times, some lockup bugs have only been fixed recently in git.

uNi
(2012-10-27, 00:49)uNiversal Wrote: [ -> ]@Bram77 libcec is part of the xvba packages it pumps in auto, one less to do! Feature added already.

Script installs stable xbmc, but it could offer cutting edge as well?

While your making a lists the IONHT CIR can be fixed as well , Link in my signature.

Th mini xinit upstart scrip is the way to go, problem is that if you press exit on power menu xbmc restarts, instead of going to terminal (no biggie)

Ill have a look at script tomorrow for anything that may have been left out, typos etc.

Im sure I have posts that just too much info... lol.

uNi

ok might be a little late but i think you can fix the xbmc restarting on hitting quit. what is it is is xbmc doesnt return the normal status 0 for exiting so upstart thinks it crashed there is a stanza for the upstart script called normal-exit i think. you set it to what xbmc outputs on exit. problem is i dont know what this code is

Yea, I think exit 0 somewhere if that is even it, but with the mini upstart xinit script I wouldn't know how to even get it to exit properly.

I dont really understand how the script works or what its doing, only that it does it. hehe

Someone with more experience would probably know. but who to ask?

uNi
Followed this guide on a zotac zbox ID80 (nvidia GPU, not ION though) it seems to work in principle:
Code:
[3032315.355] (++) Using config file: "/storage/.config/xorg.conf"
And I don't have a black screen

But the log gives me a ton of errors. Some relevant sounding snippets:
Code:
[3032318.149] (II) NVIDIA(GPU-0): Display (ONKYO Corporation TX-SR705 (DFP-0)) does not support
[3032318.149] (II) NVIDIA(GPU-0):     NVIDIA 3D Vision stereo.
[3032318.154] (II) NVIDIA(0): NVIDIA GPU GeForce GT 520M (GF119) at PCI:2:0:0 (GPU-0)
[3032318.154] (--) NVIDIA(0): Memory: 524288 kBytes
[3032318.154] (--) NVIDIA(0): VideoBIOS: 75.19.0a.00.09
[3032318.154] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[3032318.154] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
[3032318.156] (--) NVIDIA(0): Valid display device(s) on GeForce GT 520M at PCI:2:0:0
[3032318.156] (--) NVIDIA(0):     CRT-0
[3032318.156] (--) NVIDIA(0):     ONKYO Corporation TX-SR705 (DFP-0) (connected)
[3032318.156] (--) NVIDIA(0):     DFP-1
[3032318.156] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[3032318.156] (--) NVIDIA(0): ONKYO Corporation TX-SR705 (DFP-0): 165.0 MHz maximum pixel clock
[3032318.156] (--) NVIDIA(0): ONKYO Corporation TX-SR705 (DFP-0): Internal Single Link TMDS
...
[3032318.159] (WW) NVIDIA(GPU-0): The EDID for ONKYO Corporation TX-SR705 (DFP-0) contradicts
[3032318.159] (WW) NVIDIA(GPU-0):     itself: mode "1920x1080" is specified in the EDID;
[3032318.159] (WW) NVIDIA(GPU-0):     however, the EDID's valid VertRefresh range (49.000-61.000
[3032318.159] (WW) NVIDIA(GPU-0):     Hz) would exclude this mode's VertRefresh (24.0 Hz);
[3032318.159] (WW) NVIDIA(GPU-0):     ignoring VertRefresh check for mode "1920x1080".
[3032318.160] (WW) NVIDIA(GPU-0): The EDID for ONKYO Corporation TX-SR705 (DFP-0) contradicts
[3032318.160] (WW) NVIDIA(GPU-0):     itself: mode "1920x1080" is specified in the EDID;
[3032318.160] (WW) NVIDIA(GPU-0):     however, the EDID's valid VertRefresh range (49.000-61.000
[3032318.160] (WW) NVIDIA(GPU-0):     Hz) would exclude this mode's VertRefresh (25.0 Hz);
[3032318.160] (WW) NVIDIA(GPU-0):     ignoring VertRefresh check for mode "1920x1080".
[3032318.160] (WW) NVIDIA(GPU-0): The EDID for ONKYO Corporation TX-SR705 (DFP-0) contradicts
[3032318.160] (WW) NVIDIA(GPU-0):     itself: mode "1920x1080" is specified in the EDID;
[3032318.160] (WW) NVIDIA(GPU-0):     however, the EDID's valid VertRefresh range (49.000-61.000
[3032318.160] (WW) NVIDIA(GPU-0):     Hz) would exclude this mode's VertRefresh (30.0 Hz);
[3032318.160] (WW) NVIDIA(GPU-0):     ignoring VertRefresh check for mode "1920x1080".
[3032318.162] (==) NVIDIA(0):
[3032318.162] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[3032318.162] (==) NVIDIA(0):     will be used as the requested mode.
These EDID warnings seem to repeat themselves.

So far, playing video looks ok to me, no obvious stuttering etc.
(2012-10-31, 05:15)puntloos Wrote: [ -> ]Followed this guide on a zotac zbox ID80 (nvidia GPU, not ION though) it seems to work in principle:
Code:
[3032315.355] (++) Using config file: "/storage/.config/xorg.conf"
And I don't have a black screen

HuhThat's a openelec path, what's t doing in here? the xorg is placed in /etc/X11/xorg.conf Not anywhere else kthx
(2012-10-31, 05:15)puntloos Wrote: [ -> ]But the log gives me a ton of errors. Some relevant sounding snippets:
Code:
snip


There's relevant error to worry about see if you follow this up tune yourself up

Dont mix openelec and minimal ubuntu, as paths are not same, this is nothing like openelec.

kthx +1

uNi
Really nice script. Will try it on lenovo q180.
As an option maybe also some tools like:
- transmission
- boblight
- couchpotato
- sickberad
- samba

Is avahi already included for airplay?

How does your script handle ati drivers update? Will they auto update or. is it possible to hold the updates and manually execute them?
(2012-10-31, 05:58)uNiversal Wrote: [ -> ]
(2012-10-31, 05:15)puntloos Wrote: [ -> ]Followed this guide on a zotac zbox ID80 (nvidia GPU, not ION though) it seems to work in principle:
Code:
[3032315.355] (++) Using config file: "/storage/.config/xorg.conf"
And I don't have a black screen

HuhThat's a openelec path, what's t doing in here? the xorg is placed in /etc/X11/xorg.conf Not anywhere else kthx
You're correct.. I could put it in /etc too, but given that Openelec suggests putting additional files there I figured ..
Quote:
(2012-10-31, 05:15)puntloos Wrote: [ -> ]But the log gives me a ton of errors. Some relevant sounding snippets:
Code:
snip
There's relevant error to worry about
Sorry can you rephrase? Are you saying the error needs to be fixed?
The error sounds like the Onkyo device is saying that it doesn't support 1080p@24 but it certainly does..
Quote: see if you follow this up tune yourself up
Followed that to the letter, with the only exception of where I put xorg.conf. Maybe the system is mixing 2 xorg.conf's now but other than that..
Quote:Dont mix openelec and minimal ubuntu, as paths are not same, this is nothing like openelec.
Welllll.. the only thing that I'm trying to do is feed the nvidia driver a different configfile. I don't think mixing that part is too crazy..
kthx +2

This is NOT openelec
(2012-10-31, 12:51)puntloos Wrote: [ -> ]You're correct.. I could put it in /etc too, but given that Openelec suggests putting additional files there I figured ..

Not -you- could, you have to put it in /etc/X11/, its not optional, clearly you cant mix openelec/ubuntu, because this and openelec are nothing alike under the hood, at best you can adapt some settings in xorg. Nvidia will never read any other path.

(2012-10-31, 12:51)puntloos Wrote: [ -> ]Sorry can you rephrase? Are you saying the error needs to be fixed?
The error sounds like the Onkyo device is saying that it doesn't support 1080p@24 but it certainly does..

Nothing to rephrase, there are no errors. please place the xorg in correct place /etc/X11/
remove the other path completely. kthx Confused

(2012-10-31, 12:51)puntloos Wrote: [ -> ]Followed that to the letter, with the only exception of where I put xorg.conf. Maybe the system is mixing 2 xorg.conf's now but other than that..

You followed it to the letter except you messed up on the important part Laugh remove "/storage/.config/xorg.conf" please!!!

(2012-10-31, 12:51)puntloos Wrote: [ -> ]Welllll.. the only thing that I'm trying to do is feed the nvidia driver a different configfile. I don't think mixing that part is too crazy..
kthx +2

It is crazy, because Your nvidia driver cant find anything. EVRYTHING is crazy when you mix up little things like this.
Then do what I said, dont mix paths, Linux is very particular about where it expects to find things, again, did I already say, this is nothing like openelec??

Rofl omg.

uNi
You probably can relocate your xorg config and make X work with it. But there is nothing to gain with that. As uNiversal says. Just use the /etc/X11/xorg.conf and you'll be fine Smile
Thanks guys, I didn't mean to hijack an ubuntu thread, I just figured that when it comes to xorg+the actual nvidia driver openelec was similar enough to this setup to apply (with minor modifications) the same principles.

Will figure it out myself (indeed step 1 use the other xorg.conf location)
(2012-10-31, 09:38)illiac4 Wrote: [ -> ]Really nice script. Will try it on lenovo q180.
As an option maybe also some tools like:
- transmission
- boblight
- couchpotato
- sickberad
- samba

Is avahi already included for airplay?

How does your script handle ati drivers update? Will they auto update or. is it possible to hold the updates and manually execute them?

You can already select to install samba during the ubuntu minimal installation.
Additional sofware installations will be added once the core functionalities are stable. I'll add avahi in the next iteration.
If you enable automatic system updates during the ubuntu installation or during the script your video drivers will be automatically updated. Otherwise you'll have to update them manually.