Archive:Kodibuntu: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(21 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mininav|[[General topics]]{{l2|[[Devices]]}}|[[Installing]]{{l2|[[Linux]]}}}}
{{mininav|[[Linux]] {{l2| [[Devices]] }} }}
{{wiki revamp}}
{{wiki revamp}}
<big>{{notice|'''Test builds''' are available, - you wont need AMD/Nvidia/Intel specific iso, its a generic '''64bit''' XBMCbuntu iso '''Download now''' from '''<code>[[forum:189553|[beta] Xbmcbuntu 13 Testing Thread]]</code>'''|XBMCBuntu V13 testing builds}}</big>


<section begin="intro" />XBMCbuntu is a boot-USB drive/LiveCD image with [[XBMC]] pre-configured to work directly out-of-the-box for a dedicated set-top-box style installation of XBMC. Users can either demo XBMC without touching the internal HDD, or use it to install XBMCbuntu on the HDD, without any pre-installed operating systems. XBMCbuntu is based on a light weight version of Ubuntu.<section end="intro" />
<section begin="intro" />XBMCbuntu is a boot-USB drive/LiveCD image with [[XBMC]] pre-configured to work directly out-of-the-box for a dedicated set-top-box style installation of XBMC. Users can either demo XBMC without touching the internal HDD, or use it to install XBMCbuntu on the HDD, without any pre-installed operating systems. XBMCbuntu is based on a light weight version of Ubuntu.<section end="intro" />
Line 10: Line 8:
When installed onto a USB flash drive or hard disk drive XBMCbuntu has the ability to save settings and make updates to XBMC Media Center and the operating-system back onto the USB flash drive or hard disk drive that it is installed onto, this is not possible when running XBMCbuntu from a Live CD booting from a CD-ROM disc as they are read-only and any changes settings are only temporarily saved until the system is rebooted.
When installed onto a USB flash drive or hard disk drive XBMCbuntu has the ability to save settings and make updates to XBMC Media Center and the operating-system back onto the USB flash drive or hard disk drive that it is installed onto, this is not possible when running XBMCbuntu from a Live CD booting from a CD-ROM disc as they are read-only and any changes settings are only temporarily saved until the system is rebooted.


== XBMCbuntu FAQ ==
== General FAQ ==
<section begin="xbmcbuntu_faq" />
<section begin="xbmcbuntu_faq" />
{{See also| XBMCbuntu FAQ}}
{{See also| XBMCbuntu FAQ}}
{{See also| XBMC all platforms FAQ}}
{{See also| XBMC all platforms FAQ}}
{{See also| XBMC v13 (Gotham) FAQ}}
{{See also| XBMC v13 (Gotham) FAQ}}
section end="xbmcbuntu_faq" />
<section end="xbmcbuntu_faq" />
=== Connect to XBMCbuntu via SFTP/SSH ===


{| width="100%"
{{FAQ|1=Connect_via_SSH
| BGcolor=WhiteSmoke
| Question=How do I connect to XBMCbuntu via SFTP/SSH?
| Answer=
You can either use a '''SFTP''' client for secure transfer and editing of files, or connect via SSH, which in addition allows you to also execute commands to the underlying Linux.
:''See also:'' [[SFTP|Connecting to XBMCbuntu via SFTP]] and [[SSH|Connecting to XBMCbuntu via SSH]]
:''See also:'' [[SFTP|Connecting to XBMCbuntu via SFTP]] and [[SSH|Connecting to XBMCbuntu via SSH]]
}}
|}


== XBMCbuntu minimum and recommended hardware requirements ==
== XBMCbuntu minimum and recommended hardware requirements ==
<section begin="XBMCbuntu_hw" />
{{see also|Supported hardware}}
XBMCbuntu starting with v13 is only available as a 64bit base.
 
* x86_64 (Intel/AMD) processor computer capable of booting from CD-ROM/USB drive.
XBMCbuntu should work with the general hardware requirements for Linux:


{| class="prettytable" width="85%" style="background-color:#f1f1f1;"
{{#lst:Supported hardware|Linux}}
! CPU<br/>++<br/><big>[[w:Streaming SIMD Extensions|SSE]]</big>
| x86 or x86_64 processor such as: '''Intel Pentium 4''', '''Intel Pentium M''', '''AMD Athlon XP/64''', '''AMD Opteron''', or newer CPU. Anything made in the last few years does.).
* If your GPU/VPU does not support hardware video decoding then you will require a fast modern processor is required to decode some videos (H.264, VC-1, etc) in 1080P. {{editor note|Hard to quantify this, but maybe we can get a rough benchmark score in here?}}
* There is ''very'' limited Power PC (PPC) support: [[forum:173287|[Linux] How to install on Linux-ppc]]
|-
! RAM
| {{note|<code>Some platforms - the video playback acceleration, a minimum of 512MB dedicated VRAM is required set in BIOS</code>}}
* '''Minimum:''' 256MB
* '''Recommended:''' 1GB or more
|-
! Graphics
|
:XBMC will run on most graphics cards made in the last few years, including hardware video decoding support. This includes most cards from ATI/AMD, Intel, or NVIDIA which support OpenGL 2.0 or later.
{| class="datatable" width="100%"
! rowspan="3" | <br/><br/>'''Minimum:'''<br/><br/>'''Recommended:''' !! style="text-align: center;" | ATI !! style="text-align: center;" | Intel !! style="text-align: center;" | Nvidia
|-
|| [[w:Radeon|ATI Radeon RV710/M92 (HD 4300/4500)]] || [[w:Intel GMA|Intel GMA 950 (945G)]] || [[w:GeForce|Nvidia GeForce 6-Series]]
|-
|| [[w:Radeon|ATI Radeon Cedar (Radeоn HD 5400 Series]] or newer || [[w:Intel GMA|Intel GMA X4500HD (G45)]] or newer || [[w:GeForce|Nvidia GeForce 8-Series]] or newer
|}
|-
! Video<br/>decoding
| For hardware video decoding, which may be necessary on various low-performance CPUs to playback 1080P content, make sure your GPU or VPU supports either '''VAAPI''', '''VDPAU''', or [[CrystalHD]].
{{note|<code>[http://en.wikipedia.org/wiki/Unified_Video_Decoder#UVD_enabled_GPUs ATI Radeon cards lower than UVD2.2]</code>, '''are not supported''' with Ubuntu & variants 12.10 base system, using fglrx due to changes in ATI's drivers. Legacy cards that support the minimum OpenGL requirements still can be installed, but you wont get any hardware acceleration playback in XBMC with fglrx and must remain at a specific driver version to work without bugs..}}
|-
! Drive space
| The XBMC binary generally takes up between 100 to 200 MB of space, depending on how it's compiled. Technically speaking, if your hardware supports netbooting, you don't even require a hard drive for either the OS or XBMC.
* '''Minimum:''' 4 to 8GB
* '''Recommended:''' 16GB or more
: Depending on how big your video library is. Most of the space required for XBMC comes from the images/artwork cache, which can be adjusted: [[HOW-TO:Reduce XBMC disk space]].
|-
! Optical<br/>Drive
|
:;Optional
:DVD - Bluray
|-
! Ethernet<br/>port
|
:;Optional
*'''Minimum:''' 100BASE-TX<br/>
{{note| A wired connection is preferred over slow wifi network, some 5gHz environments may affect wifi signal quality/strength and reduce bandwidth or cause signal fluctuations that affect streaming}}
|}<section end="XBMCbuntu_hw" />


== Get and Install XBMCbuntu ==
== Get and Install XBMCbuntu ==
Line 91: Line 54:
# On the top-left corner of the desktop should be an icon to install Ubuntu. Double-click the icon and, hopefully, you'll get the installation wizard this time.
# On the top-left corner of the desktop should be an icon to install Ubuntu. Double-click the icon and, hopefully, you'll get the installation wizard this time.
<section end="problematic_wizard" />
<section end="problematic_wizard" />
<section begin="live_cd" />
{| width="100%"
{{FAQ|1=Running_as_LiveCD
| BGcolor=WhiteSmoke
| Question=When running XBMCbuntu as a Live CD my changes are lost. Why?
| Answer=
* Since a live CD is booted from read-only media, it requires either installation to rewriteable media (i.e. a USB flash drive or hard disk drive) or complete remastering to install additional software or modify the existing files.
}}
{{FAQ|1=LiveOS_password
| BGcolor=
| Question=What is the username and password to the underlying live OS environment?
| Answer=
<section begin="Upgrade_nvidia_driver />
The username and password to the underlying OS environment are not needed by the average users of XBMCbuntu, but here they are just in case you want to dig into the (very) advanced possibilities that are available. The default username and password on the live CD are listed below, but during installation, you will be able to change these to your own username and password. We recommend that you write down the username and password you have chosen, and store it away in a safe place;
Username: '''xbmc'''
Password: (none)
}}
|}
<section end="live_cd" />


=== Upgrading XBMC via ppa in XBMCbuntu ===
=== Upgrading XBMC via ppa in XBMCbuntu ===
Line 98: Line 82:


{{note| Given the substantial changes that v13 has audio wise, due to redesigned engine, you are recommended to do a fresh install of XBMCbuntu or remove any user configuration files for alsa and or alsa drivers}}
{{note| Given the substantial changes that v13 has audio wise, due to redesigned engine, you are recommended to do a fresh install of XBMCbuntu or remove any user configuration files for alsa and or alsa drivers}}
== XBMCbuntu no audio devices ==
{{note|XBMC V13 will likely not need these changes this are is tagged for removal.}}
For some reason there is a problem with lightdm that affects audio devices detection. A workaround was posted [http://forum.xbmc.org/showthread.php?tid=145451&pid=1322619#pid1322619 '''here'''].
Modify the /etc/init/lightdm.conf
<syntaxhighlight lang="bash" enclose="div">sudo nano /etc/init/lightdm.conf</syntaxhighlight>
;Input use this configuration:
<syntaxhighlight lang="xml" enclose="div">
start on ((filesystem
          and runlevel [!06]
          and started dbus
          and started udev-finish
          and stopped udevtrigger
          and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
                or stopped udev-fallback-graphics))
          or runlevel PREVLEVEL=S)
</syntaxhighlight>
=== Upgrading NVidia drivers in Ubuntu and variants ===
:''see also:'' [[XBMC for Linux specific FAQ#Upgrading NVidia drivers in Ubuntu and variants|Upgrading NVidia drivers in Ubuntu and variants]]
=== Username and password to the underlying live OS environment ===
Username and password to the underlying OS environment are not needed by average users of XBMCbuntu, but here they are just in case you want to dig into the (very) advanced possibilities that are available. The default username and password on the live CD are listed below, but during installation, you will be able to change these to your own username and password. We recommend that you write down the username and password you have chosen, and store it away in a safe place;
Username: '''xbmc'''
Password: (none)
=== XBMCbuntu running as Live CD ===
* Since a live CD is booted from read-only media, it requires either installation to rewriteable media (i.e. a USB flash drive or hard disk drive) or complete remastering to install additional software or modify the existing files.
=== XBMCbuntu installed on USB or HDD ===
:''See also: '''[[HOW-TO:Install XBMCbuntu from a USB thumbdrive|HOW-TO: Install XBMCbuntu from a USB thumbdrive]]'''''
* Some computers, particularly older ones, may not have a BIOS that supports USB booting. Many which do support USB booting may still be unable to boot the device in question. In these cases a computer can often be "redirected" to boot from a USB device through use of an [http://www.pendrivelinux.com/2007/11/21/use-a-floppy-to-boot-usb-pendrive-linux/ initial bootable CD or floppy disk] for live USB installs.
* In contrast to the live CD, the data contained on the booting device can be changed and additional data stored on the same device. This allows for XBMCbuntu USB/HDD to be used as personal storage, as it allows a user to carry their preferred operating system, applications, and configuration as well as personal files with them, making it easy to share a single system between multiple users.
* The absence of moving parts in USB flash devices allows for faster seek time than is possible with hard drives or optical media, meaning all programs will start faster from a USB flash drive than from a local hard disk or XBMCbuntu CD.
* Due to the additional write cycles that occur on a full-blown installation to a USB flash drive, the life of the USB flash drive may be slightly reduced. This usually does not apply to systems particularly designed for live systems which keep all changes in RAM until the user logs off, and XBMCbuntu developers have done their best to try to prevent this from happening.


== XBMC Media Center ==
== XBMC Media Center ==
XBMCbuntu contains [[XBMC for Linux]] compiled with the 'standalone' mode, this enabled certain functions that are not available in normal XBMC installations (Windows, Mac Linux), these functions include Power Management, and Network Management.
XBMCbuntu contains [[XBMC for Linux]] compiled with the 'standalone' mode, this enabled certain functions that are not available in normal XBMC installations (Windows, Mac Linux), these functions include Power Management, and Network Management.
== Upgrading XBMCbuntu ==
To actually update XBMCbuntu, which is a full customised Linux distro, best look at fresh install, unless you are experienced with Linux dist-upgrades. The underlying OS is Lubuntu 14.04LTS.
It is possible (in order to preserve systems tweaks '''not recommended unless you are experienced user''') to just update XBMC itself by treating it as a normal Linux package upgrade: '''''See''''' Upgrading XBMC via [[Team XBMC PPA]]


[[Category:Installation]]
[[Category:Installation]]
Line 151: Line 90:
[[Category:XBMCbuntu|*]]
[[Category:XBMCbuntu|*]]
[[Category:XBMC Manual]]
[[Category:XBMC Manual]]
{{Gotham updated}}

Revision as of 06:40, 19 June 2014

Home icon grey.png   ▶ Linux
▶ Devices
▶ Kodibuntu
Wiki logo.png Wiki revamp:
This page or section of the wiki undergoing a revamp. Content is still being added and organized. Please pardon the dust and anything that might not be working.

XBMCbuntu is a boot-USB drive/LiveCD image with XBMC pre-configured to work directly out-of-the-box for a dedicated set-top-box style installation of XBMC. Users can either demo XBMC without touching the internal HDD, or use it to install XBMCbuntu on the HDD, without any pre-installed operating systems. XBMCbuntu is based on a light weight version of Ubuntu.

XBMCbuntu currently supports MCE (Media Center Edition) Remotes with USB IR-receiver receivers directly out-of-the-box. Installation only requires 8GB (or larger) USB drive or internal HDD.

When installed onto a USB flash drive or hard disk drive XBMCbuntu has the ability to save settings and make updates to XBMC Media Center and the operating-system back onto the USB flash drive or hard disk drive that it is installed onto, this is not possible when running XBMCbuntu from a Live CD booting from a CD-ROM disc as they are read-only and any changes settings are only temporarily saved until the system is rebooted.

General FAQ


How do I connect to XBMCbuntu via SFTP/SSH?

Link

You can either use a SFTP client for secure transfer and editing of files, or connect via SSH, which in addition allows you to also execute commands to the underlying Linux.

See also: Connecting to XBMCbuntu via SFTP and Connecting to XBMCbuntu via SSH

XBMCbuntu minimum and recommended hardware requirements

XBMCbuntu should work with the general hardware requirements for Linux:


CPU x86 or x86-64 processor such as: Intel Pentium 4/ Pentium M, AMD Athlon 64 / Opteron, or newer CPU (that support SSE2, which all CPUs made within the last 10-years does).
  • If your GPU/VPU does not support hardware video decoding then you will require a fast modern processor is required to decode some 1080p videos encoded in H.264, VC-1/WMV9, HEVC/H.265 VP9, etc
RAM
  • Recommended: 1GB or more in a HTPC media player appliance-like computer dedicated for Kodi, and 2GB or more in a computer for multipurpose use.
Graphics

Kodi will run on most graphics cards made within the last 10-years or so, though for good hardware video decoding support a little newer graphics cards can be required. This includes most cards from AMD/ATI, Intel, or NVIDIA which support OpenGL 2.0 or later.

AMD/Intel

Video decoding For hardware video decoding, which may be necessary on low-performance CPUs to playback 1080p content, make sure your GPU or VPU supports either VAAPI or VDPAU. For everything but older AMD cards and Nvidia, VAAPI is recommended. On AMD, you might have to start with the environment variable KODI_GL_INTERFACE set to GLX in order to get VDPAU support.
ATI/AMD ( VA-API 2.0.0 or VDPAU ) Intel ( VA-API 1.7.1 ) Nvidia ( VDPAU )
Minimum without HW decoding: ATI Radeon RV710/M92 (HD 4300/4500) Note: These are uvd2.2 cards Arrandale / Clarkdale or newer Nvidia GeForce 6-Series
Minimum for HW decoding of 8-bit H.264 and VC-1: Radeon HD 5000 series or newer Sandy Bridge / Silvermont or newer GeForce 8 series or newer (released 2006)
Minimum for HW decoding of 8-bit HEVC (H.265): AMD Radeon Rx 300 series or newer Braswell / Skylake or newer Nvidia GeForce 900 series (GM20x) or newer
Minimum for HW decoding of 10-bit HEVC (H.265): AMD Radeon 400 series or newer Apollo Lake / Kaby Lake or newer Not available
Minimum for HW decoding of VP9: Stoney Ridge APU or newer; not available for desktop GPUs at the moment Apollo Lake / Kaby Lake or newer Not available
Drive space The Kodi application generally only takes up between 100 to 200 MB of space, depending on how the binary is compiled. Technically speaking, if your hardware supports netbooting, you do not even require a internal storage for either the operating-system or for Kodi.
  • Minimum: 4 to 8GB
  • Recommended: 16GB or more
Depending on how big your video library is. Most of the space required for Kodi comes from the images/artwork cache.

Note: There´s no 304.xxx driver for Ubuntu 18.04 available anymore from the "Graphic Drivers"-ppa. Users who are using GeForce 6-series cards should either stay on an older Ubuntu version or use newer cards


Get and Install XBMCbuntu

Download from http://xbmc.org/download/

Note: XBMCbuntu v13 will not have flavours its a generic 64bit ISO

XBMCbuntu comes in an ISO form that can be burned to an optical disc. It can also be formatted to a USB drive, as mentioned in the next section.

For instructions on how to acquire, create a bootable usb flash drive, boot or install to/from

See: Create and install from/to a bootable USB flash drive

Resolving potential install wizard issues

Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


  1. Boot your system with the installer thumbdrive and select the "Try Ubuntu" option. This should boot into XBMC.
  2. Click the Shutdown menu in XBMC (lower-left corner) and select "Exit"
  3. You should be presented with a log-in screen. Click "Other..." and enter xbmc as the login and select XBMCbuntu from the dropdown menu (below the Login field).
  4. Click "Login" and you will be prompted for the Password; just leave it blank.
  5. Click "Login" again and the XBMCbuntu desktop should be displayed.
  6. On the top-left corner of the desktop should be an icon to install Ubuntu. Double-click the icon and, hopefully, you'll get the installation wizard this time.


When running XBMCbuntu as a Live CD my changes are lost. Why?

Link
  • Since a live CD is booted from read-only media, it requires either installation to rewriteable media (i.e. a USB flash drive or hard disk drive) or complete remastering to install additional software or modify the existing files.

What is the username and password to the underlying live OS environment?

Link

The username and password to the underlying OS environment are not needed by the average users of XBMCbuntu, but here they are just in case you want to dig into the (very) advanced possibilities that are available. The default username and password on the live CD are listed below, but during installation, you will be able to change these to your own username and password. We recommend that you write down the username and password you have chosen, and store it away in a safe place;

Username: xbmc
Password: (none) 


Upgrading XBMC via ppa in XBMCbuntu

Team XBMC PPA Team XBMC PPA

Note: Given the substantial changes that v13 has audio wise, due to redesigned engine, you are recommended to do a fresh install of XBMCbuntu or remove any user configuration files for alsa and or alsa drivers

XBMC Media Center

XBMCbuntu contains XBMC for Linux compiled with the 'standalone' mode, this enabled certain functions that are not available in normal XBMC installations (Windows, Mac Linux), these functions include Power Management, and Network Management.