Archive:Linux FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Text replacement - "{{Helix updated}}" to "")
 
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{mininav| [[Linux]] {{l2| [[FAQ]] }} }}
{{notice|1= {{bigger|1= The Linux FAQ is going though a major overhaul and some things might be missing. For a copy of the old version see '''[http://wiki.kodi.tv/index.php?title=Linux_FAQ&oldid=76795 here]'''.}} }}


{{notice|1= {{bigger|1= The Linux FAQ is going though a major overhaul and some things might be missing. For a copy of the old version see '''[http://wiki.xbmc.org/index.php?title=Linux_FAQ&oldid=76795 here]'''.}} }}


{{XBMC FAQ}}
<section begin="intro" />'''F'''requently '''A'''sked '''Q'''uestions for Kodi running under Linux-based operating systems.<section end="intro" />
 
'''F'''requently '''A'''sked '''Q'''uestions for XBMC running under Linux-based operating systems.


__TOC__
__TOC__
{{-}}
{{-}}
== General FAQ ==
:{{big|''See also: '''[[XBMC all platforms FAQ]]''' for FAQs that apply to all versions of XBMC.''}}


=== Supported Linux distributions ===
=== Supported Linux distributions ===
:* Team XBMC provides precompiled binaries for Ubuntu from the '''[[Team XBMC PPA]]'''. In the future there will also be precompiled binaries for Debian and Steam OS.
:* Team Kodi provides precompiled binaries for Ubuntu from the '''Team Kodi PPA'''. In the future there will also be precompiled binaries for Debian and Steam OS.
:* Team XBMC recognizes '''[[OpenELEC]]''' versions of XBMC as "pretty damn awesome".
:* Team Kodi recognizes '''[[LibreELEC]]''' versions of Kodi as "pretty damn awesome".
:* Generally speaking, as long as XBMC is compiled per recommended guidelines (see '''[[HOW-TO:Compile XBMC for Linux]]'''), those builds are considered "kosher".
:* Generally speaking, as long as Kodi is compiled per recommended guidelines (see '''[[Compiling Kodi]]'''), those builds are considered "kosher".
:* XBMC builds that use external ffmpeg/libav are not supported and are strongly discouraged.
:* Kodi builds that use external ffmpeg/libav are not supported and are strongly discouraged.


=== Supported hardware ===
=== Supported hardware ===
Line 25: Line 19:
{{collapse bottom}}
{{collapse bottom}}


=== How to install or update XBMC for Linux ===
=== How to install or update Kodi for Linux ===
{{Main|HOW-TO:Install XBMC for Linux|XBMCbuntu}}
{{Main|HOW-TO:Install Kodi for Linux}}


For an easy to use fresh installation of both XBMC and OS you can use '''[[XBMCbuntu]]'''. XBMCbuntu can be installed from a DVD or USB thumb drive.


=== Kodi for Linux version ===
: The current stable version of Kodi for Linux is {{Current version}}. This is the same code that all of the other platforms (Android, iOS, Mac, Windows, etc) are using.


; Ubuntu:
=== What version/nightly build/beta of Kodi am I running? ===
{{#lst:Team XBMC PPA|repos}}
: Kodi main menu > System > Lower submenu > System info. '''Note the build date.'''




; For other supported distros, see [[HOW-TO:Install XBMC for Linux]]
=== How to autostart Kodi in desktop mode ===


=== How to update XBMCbuntu ===
A)
{{See|XBMCbuntu FAQ}}


=== XBMC for Linux version ===
<pre>
: The current stable version of XBMC for Linux is {{Current version}}. This is the same code that all of the other platforms (Android, iOS, Mac, Windows, etc) are using.
sudo sed -i "1i @kodi" /etc/xdg/lxsession/LXDE-pi/autostart
</pre>


=== What version/nightly build/beta of XBMC am I running? ===
or B)
: XBMC main menu > System > Lower submenu > System info. '''Note the build date.'''


=== Programs and tools to help with XBMC ===
<pre>
: For a list of programs and tools to help with XBMC, such as renaming files, managing media, file sharing, and more, see '''[[Supplemental tools/Linux]]'''
mkdir -p ~/.config/autostart
ln -s /usr/bin/kodi ~/.config/autostart
</pre>


=== How to autostart XBMC in desktop mode ===
Source of this information is HOW TO: Autostart Kodi for Linux
:{{editor note|this needs filling out}}


=== What are the differences between Ubuntu + XBMC, XBMCbuntu, and OpenELEC? ===
=== What are the differences between Ubuntu + Kodi and LibreELEC? ===
:{{editor note|this needs filling out}}
* '''Ubuntu + Kodi:''' This setup will give you the full Unity desktop environment that has enough software installed to be a general computing solution.
* '''[[LibreELEC]]:''' An appliance distribution. Getting software other than what is provided in the basic distribution will be a little difficult, but not impossible.


== Troubleshooting ==
{{see also|Troubleshooting}}


=== Getting more help with XBMC for Linux ===
=== Getting more help with Kodi for Linux ===
:* '''[http://forum.xbmc.org/forumdisplay.php?fid=52 XBMC for Linux specific help forum]'''
:* '''[http://forum.kodi.tv/forumdisplay.php?fid=52 Kodi for Linux specific help forum]'''
:* '''[irc://irc.freenode.org/xbmc #xbmc]''' and '''[irc://irc.freenode.org/xbmc-linux #xbmc-linux]''' [[w:IRC|IRC]] chat channels on irc.freenode.org.
:* '''[irc://irc.freenode.org/Kodi #Kodi]''' [[w:IRC|IRC]] chat channel on irc.freenode.org.


=== Userdata folder and logs ===
:{{Main|Userdata folder|Debug log}}
:{{editor note|this needs filling out}}


=== Audio issues ===
=== Audio issues ===
:For most audio issues, including configuration examples, see '''[[Audio]]''' and '''[[Audio troubleshooting]]'''.
:For most audio issues, including configuration examples, see '''Audio''' and '''Audio troubleshooting'''.


=== Video tearing on Nvidia GPUs ===
=== Video tearing on Nvidia GPUs ===
: When XBMC is used with Nvidia hardware, tearing will occur when the X composite extension is used.
: When Kodi is used with Nvidia hardware, tearing will occur when the X composite extension is used.


:* '''Solution 1:''' Enable "Unredirect Fullscreen Window" in Compiz Config Settings Manager. [http://ubuntuforums.org/showthread.php?p=11145045#post11145045]
:* '''Solution 1:''' Enable "Unredirect Fullscreen Window" in Compiz Config Settings Manager. [http://ubuntuforums.org/showthread.php?p=11145045#post11145045]
Line 84: Line 75:
EndSection</pre>
EndSection</pre>
:::'''2.''' Then log in with a gnome classic session (without the composite extension compiz doesn't work).
:::'''2.''' Then log in with a gnome classic session (without the composite extension compiz doesn't work).
:::'''3.''' Also make sure to set Vertical blank sync to Always enabled in XBMC.
:::'''3.''' Also make sure to set Vertical blank sync to Always enabled in Kodi.




:* '''Solution 3:''' Disable the use of the SDL backing store - this is a bug in Ubuntu which will probably be fixed in due time but could cause tearing right now: http://askubuntu.com/questions/450593/how-do-i-eliminate-screen-tearing-on-14-04-and-xbmc-with-nvidia-331/450673#450673
:* '''Solution 3:''' Disable the use of the SDL backing store - this is a bug in Ubuntu which will probably be fixed in due time but could cause tearing right now: http://askubuntu.com/questions/450593/how-do-i-eliminate-screen-tearing-on-14-04-and-xbmc-with-nvidia-331/450673#450673


=== Why can't I update XBMC on Ubuntu 13.04, 13.10, or other release? ===
=== Why can't I update Kodi on Ubuntu 13.04, 13.10, or other release? ===
: The precompiled binaries from the Team XBMC PPA only work with Ubuntu releases that are still getting support. When Ubuntu drops support for a version then our PPA stops making a binary for it. Simply update Ubuntu itself and then XBMC updates should work again. If you don't want to update Ubuntu that often then we recommend using a long term support (LTS) version of Ubuntu, such as 14.04, which will be supported until 2019.
: The precompiled binaries from the Team Kodi PPA only work with Ubuntu releases that are still getting support. When Ubuntu drops support for a version then our PPA stops making a binary for it. Simply update Ubuntu itself and then Kodi updates should work again. If you don't want to update Ubuntu that often then we recommend using a long term support (LTS) version of Ubuntu, such as 14.04, which will be supported until 2019.
 
{{Gotham updated}}
 
[[Category:XBMC Manual]]
[[Category:FAQ]]
[[Category:Linux|*]]
[[Category:Troubleshooting]]

Latest revision as of 07:20, 14 November 2020

Emblem-important-yellow.png NOTICE:
The Linux FAQ is going though a major overhaul and some things might be missing. For a copy of the old version see here.


Frequently Asked Questions for Kodi running under Linux-based operating systems.


Supported Linux distributions

  • Team Kodi provides precompiled binaries for Ubuntu from the Team Kodi PPA. In the future there will also be precompiled binaries for Debian and Steam OS.
  • Team Kodi recognizes LibreELEC versions of Kodi as "pretty damn awesome".
  • Generally speaking, as long as Kodi is compiled per recommended guidelines (see Compiling Kodi), those builds are considered "kosher".
  • Kodi builds that use external ffmpeg/libav are not supported and are strongly discouraged.

Supported hardware

For x86 hardware:

How to install or update Kodi for Linux


Kodi for Linux version

The current stable version of Kodi for Linux is Kodi v21 Omega. This is the same code that all of the other platforms (Android, iOS, Mac, Windows, etc) are using.

What version/nightly build/beta of Kodi am I running?

Kodi main menu > System > Lower submenu > System info. Note the build date.


How to autostart Kodi in desktop mode

A)

sudo sed -i "1i @kodi" /etc/xdg/lxsession/LXDE-pi/autostart

or B)

mkdir -p ~/.config/autostart
ln -s /usr/bin/kodi ~/.config/autostart

Source of this information is HOW TO: Autostart Kodi for Linux

What are the differences between Ubuntu + Kodi and LibreELEC?

  • Ubuntu + Kodi: This setup will give you the full Unity desktop environment that has enough software installed to be a general computing solution.
  • LibreELEC: An appliance distribution. Getting software other than what is provided in the basic distribution will be a little difficult, but not impossible.


Getting more help with Kodi for Linux


Audio issues

For most audio issues, including configuration examples, see Audio and Audio troubleshooting.

Video tearing on Nvidia GPUs

When Kodi is used with Nvidia hardware, tearing will occur when the X composite extension is used.
  • Solution 1: Enable "Unredirect Fullscreen Window" in Compiz Config Settings Manager. [1]
    1. Install CCSM (Compiz Config Settings Manager): sudo apt-get install compizconfig-settings-manager
    2. Open Compiz Config Settings Manager
    3. Check the option "Unredirect Fullscreen Window", which should be under the "Composite" section.


  • Solution 2: Disable the composite extension.
1. Add this to the end of /etc/X11/xorg.conf: (make a new file if xorg.conf doesn't exist)
Section "Extensions"
  Option "Composite" "Disable"
EndSection
2. Then log in with a gnome classic session (without the composite extension compiz doesn't work).
3. Also make sure to set Vertical blank sync to Always enabled in Kodi.


Why can't I update Kodi on Ubuntu 13.04, 13.10, or other release?

The precompiled binaries from the Team Kodi PPA only work with Ubuntu releases that are still getting support. When Ubuntu drops support for a version then our PPA stops making a binary for it. Simply update Ubuntu itself and then Kodi updates should work again. If you don't want to update Ubuntu that often then we recommend using a long term support (LTS) version of Ubuntu, such as 14.04, which will be supported until 2019.