[LINUX] XBMC Setup script - Automatic installation - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: [LINUX] XBMC Setup script - Automatic installation (/showthread.php?tid=54992)
- vikjon0 - 2009-07-22 15:10
For the moment I have a desktop installation and run xbmc in the xbmc session in GDM.
In the beginning it was because the minimal installation was too advances since I didnt know linux and I also needed the desktop GUI to configure wireless etc.
Now it is mostly because I need the desktop & GDM to run some stuff in the background using NX as a terminal server.
It would make more sense to run that stuff on a server in a different room. Problem is that I do not have good place to put a server for the moment. Thus the ION 330 has to double up...
- cyberpark - 2009-07-22 15:36
Interessting. The same error I got when I first did the script and tested it at first.
Question: did you uncomment the SVN repositories or changed any code?
I am interessted in finding out what this could be.
Could you post your term.log and link it on pastebin?
Meanwhile, can you check the following:
1) What happens when you try to start Xserver?
3) Try to update initramfs and reboot:
4) Try to purge XBMC and reinstall it:
5. As a backup, I have made a "joggs-version" (my updated version) of the installer, you need to reinstall a clean ubuntu version first in case. I have implemented pauses between the different steps so you can see if everything is OK aswell:
Tell me how it goes...
I suspect the error you encountered the first time kind of messed it up.
I really want to get this script rock solid, so nice of someone to try it out.
- harryzimm - 2009-07-22 16:00
could be wrong here, but i think that error is caused by creating an account called xbmc during the jaunty installation. Xbmc-live creates the xbmc account for you when you install it. In other words, when you install jaunty dont use xbmc as the username.
- cyberpark - 2009-07-22 16:08
harryzimm Wrote:could be wrong here, but i think that error is caused by creating an account called xbmc during the jaunty installation. Xbmc-live creates the xbmc account for you when you install it. In other words, when you install jaunty dont use xbmc as the username.
Don't think so. I have never installed XBMC Ubuntu without making the "xbmc" user account. XBMC-live should then just append the correct rights to the "xbmc" user account.
I got a working version with this script 4-5 times now. (I'm just stupid enough to edit it while others try it.. )
- joggs - 2009-07-22 17:22
I think I uncommented the power options lines but nothing more.
startX seems to start X as it should.
When performing the steps 3 and 4 no errors occur but when restarting I get to the login prompt. Should xbmc have been started automatically at this point? Can I start it by logging in with the xbmc user and performing some commands?
I'll try the joggs script later today, thank you very much for that by the way, but before I do a clean install, can I try to start xbmc manually?
- cyberpark - 2009-07-22 17:41
Try running the script without uncommenting anything, and we'll take it from there.
- joggs - 2009-07-22 19:15
I've run the joggs script and xbmc starts! Very nice indeed.
The largest problem right now is why I cannot select a resolution higher than 1280x720 under settings,appearance,view options,resolution.
When I installed xbmc from a full ubuntu installation i had alot of resolution options like 1920x1080@ 50 - 60Hz etc.
Also,no sound, if you want digital audio output, I think I read that I should change the audio output device and passthrough output device text to 'hdmi' ? If I change to that, the sound works through hdmi. Is that something that could be automatically set?
- cyberpark - 2009-07-22 20:47
Good thing! Think I will delete the optional power settings in the script.
Regarding the other issues:
What kind of TV and connection you got?
Try to generate a new xorg.conf file from scratch and see if it fix it:
(this will remove the cursor fix and H264 accelaration)
1) Choose shutdown XBMC (not shutdown computer)
1) press ALT+F2 to go to terminal:
Do you use SPDIF (5.1 Digital), HDMI or analog?
Did you remember to activate ALL the sound options in Alsamixer?
1) In XBMC, press ALT+F2 to go to terminal:
2) Open AlsaMixer:
3) Every channel should be green with an 'OO' on it. ('MM' is muted)
4) When all is activated and adjusted volum, press 'Escape'
5) Save the settings:
6) Press SHIFT + F7 to return to XBMC or do a reboot if you are stuck..
I think I need to add a HDMI fix to the script. But since currently run SPDIF -> 5.1 Speaker, I haven't had any issues with it.
- joggs - 2009-07-22 21:43
I have a Samsung 40'' lcd (B650) from 2009 and i use hdmi for picture and sound.
A new xorg made no difference, but I don't think I need to have 1920x1080 in the gui. The resolution is 1920 when I start a movie and that is the most important part.
I use digital sound through hdmi and that started to work when i typed in hdmi instead of the other values as I said in my earlier post, so this could be an implementation in your script where you ask what sound type you want to install, and if hdmi you could set those values I mentioned to hdmi, if thats possible.
I had enabled all channels in the alsamixer the first time and everything works great now.
I also tried my Logitech dinovo mini keyboard now and it worked right away when I used the dinovo usb dongle after a blutooth handshake (pushing the connect button on the keyboard and the dongle) but it didn't work without the dongle so I'm not sure if the Asrock ION built in blutooth unit is enabled/installed. No biggie for me, but if you want the script to be rock solid... :-)
Thanks again for your great help !
- joggs - 2009-07-23 00:12
Hmm, actually I temporary tested the setup on my 32'' samsung that also is full hd but then I couldn't select anything higher than a 720p interface resolution in xbmc as I said earlier, but when I moved the asrock to my 40'' the 1080P resolution was available.
I just watched a dvd and it worked great without dropping any frames so that works as it should. the 720p and 1080p also...
Another problem I noticed was that my FLAC and mp3s played a bit too fast, ie the pitch was higher than it should be and the singer sounds more like a smurf than a human. I use digital audio through hdmi. I'm sure I have read about a fix for the pitch problem but I don't remember in what thread.