![]() |
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 - tudstudent - 2013-01-16 Check if Xinit is installed -> aka "startx" if your screen turns white with a prompt you should be able to start xine If not then run: glxinfo and post your output Update your nvidia driver on like descibed on this site: http://tech.sixcolumns.com/2012/11/nvidia-310-19-drivers-released-how-to-install-it-in-ubuntu-12-1012-04/ Otherwise we need more info what your problem is. RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-16 Nvidia 310 are quite buggy - your funeral. Sure shot is xswat ppa, where at least drivers get some testing before being spewed out. uNi RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - illiac4 - 2013-01-19 Is it normal that if DVD drive is present it boots longer and i have a feeling that it crashes during boot. And also before it starts loading from disk it takes some time. I am using laptom dvd drive conected to SATA. And also is there some recommended way to reduce the drive speed? RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - un1versal - 2013-01-19 It probably delays some when bios fallback to boot from a CD drive. Though not much. As for recommend way idk hdparm? Not that I see how any of this is script related ![]() uNi RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - illiac4 - 2013-01-20 1. I want to apply at each time the DVD/CD id mounted the command ''eject -x 8 /dev/sr0' or. ''hdparm -E8 /dev/sr0''. Is it possible to add this into excisting automount script? 2. In this script there is no sleep command set afaik. So I wan't to apply the command at every start: hdparm -B 150 -S 180 /dev/sda I have put it into rc.local but it will not start. I ahve also add the file /etc/pm/sleep.d/50-hard-drive-power-management to call the hdparm after resume but it also does not do the job. The script is: Code: #!/bin/bash RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - isamudaison - 2013-01-21 (2013-01-16, 14:30)tudstudent Wrote: Check if Xinit is installed -> aka "startx" I can run startx, it gives me a screen with a terminal but I can't type anything. If I ctrl+alt+f1 I can see the init of x but it's stopped at XINERAMA. I don't understand why I would need v310 drivers when v285+ works with my old 12.04 ubuntu installation. I noticed the first time I ran the script over ssh that there was a syntax error thrown up on the 'installing nvidia drivers' screen about missing a matching ']'. I'll assume this script isn't working with my particular video card. RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - tudstudent - 2013-01-22 Check if your old drivers are compatible with your CURRENT kernel. I have read in an other topic that they are NOT. (Remark, I have never searched for this info, so please investigate yourself) RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - isamudaison - 2013-01-22 Here's a twist: After two reboots, everything started working. And I do mean everything... very odd. RE: [Linux] HOW-TO: Launch X desktop environment on XBMC exit? - millercentral - 2013-01-22 Thanks to the effort around this script and the guide and advice throughout this thread I was able to get all of this up and running in under 30 minutes last night. Had to do a little bit of tweaking around LIRC (picked the wrong hardware originally), some samba config, and added the 23.9/24 hz nvidia fixes and cursor removal tips from uNi, and all is working well. I do have a followup question. About a million posts ago uNi mentioned he was still working on launching X desktop environment automatically after exiting XBMC: (2012-11-05, 14:13)uNiversal Wrote: One step closer to perfect minimal install + xbmc setup! Now to get xbmc to die and show X login, when selecting exit on power menu! I don't think I've seen any tips or guides on how to do this (I could have missed it). Is this possible, and if so, are there any tips on how to accomplish it efficiently? Thanks, and again HUGE THANKS for all the work on this great setup script. RE: [Linux] HOW-TO: Properly Kill the cursor at XBMC startup using xinit. - sion28 - 2013-01-24 (2012-11-05, 14:13)uNiversal Wrote: One step closer to perfect minimal install + xbmc setup! Now to get xbmc to die and show X login, when selecting exit on power menu! Admittedly that's an old post by uNi... but wouldn't that at a minimum require installation of a GUI desktop of some sort? Wouldn't that be contrary to the minimalist effort of this script? I personally would love it. I think this script and the instructions on the first post should include the option of installing a very lightweight desktop of some sort (maybe even the desktop that XBMCbuntu uses?) It would facilitate installation and set up of MythTV, among probably numerous other things. RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - millercentral - 2013-01-24 Or, all I really need is the occasional ability to use a web browser. I don't know a lot about linux, but would it be possible to set Chrome or Opera to run on another TTY that you could switch to using ctrl-alt-#? I still can't get over how FAST the setup this install/script boots. From a cold boot, I rarely see more 1 of the lights on the Xbmc boot screen light up.... typically all the way booted in under 10 seconds. RE: [Linux] HOW-TO: Launch X desktop environment on XBMC exit? - un1versal - 2013-01-24 (2013-01-22, 22:51)millercentral Wrote: I don't think I've seen any tips or guides on how to do this (I could have missed it). Is this possible, and if so, are there any tips on how to accomplish it efficiently? I haven't either though pressing crtl+alt+F1 or F2 is faster than using remote to navigate out of XBMC (2013-01-24, 03:02)sion28 Wrote: 1 - Admittedly that's an old post by uNi... but wouldn't that at a minimum require installation of a GUI desktop of some sort? Wouldn't that be contrary to the minimalist effort of this script? 1 - Yes it is an old post still no reply, No definitely not required any window managers. 2 - No because you dont need a GUI desktop of any kind. Lightdm is buggy as hell, I wouldn't use it but to install a window manager all you need to do is sudo apt-get install insertwindowmanagernamehere.< how is that for a how-to? 3 - No again it wouldn't, so far your speculating So let me guess you quoted my old post just to opportunistically ask about window managers and the likes, Very smooth. uNi RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - illiac4 - 2013-01-25 Woulr using ramdisk with swap improwe performance? I have 4gb and the system uses around 10%. will it be wise to do this? RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - thethirdnut - 2013-01-25 @illiac4 - using RAMdisk for swap is self-defeating since swap is only supposed to be used when system runs out of RAM. RE: HOW-TO: Automated efficient (dedicated) XBMC installation on Ubuntu minimal 12.10 - wsnipex - 2013-01-25 (2013-01-25, 21:30)thethirdnut Wrote: @illiac4 - using RAMdisk for swap is self-defeating since swap is only supposed to be used when system runs out of RAM. depends on your swappiness setting. A high value in /proc/sys/vm/swappiness will cause swapping even with enough free RAM. for 4GB of RAM with little to no other stuff running then xbmc, I'd suggest a value <=10 note: xbmc itself doesn't use much memory, and changing the swappiness will probably not make a noticeable difference - unless we have a mem leak ![]() |