Archive:Linux FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (Text replacement - "{{Helix updated}}" to "")
 
(10 intermediate revisions by 3 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.kodi.tv/index.php?title=Linux_FAQ&oldid=76795 here]'''.}} }}


{{Kodi FAQ}}


<section begin="intro" />'''F'''requently '''A'''sked '''Q'''uestions for Kodi running under Linux-based operating systems.<section end="intro" />
<section begin="intro" />'''F'''requently '''A'''sked '''Q'''uestions for Kodi running under Linux-based operating systems.<section end="intro" />
Line 9: Line 6:
__TOC__
__TOC__
{{-}}
{{-}}
== General FAQ ==
:{{big|''See also: '''[[All platforms FAQ]]''' for FAQs that apply to all versions of Kodi.''}}


=== Supported Linux distributions ===
=== 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 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 '''[[OpenELEC]]''' versions of Kodi as "pretty damn awesome".
:* Team Kodi recognizes '''[[LibreELEC]]''' versions of Kodi as "pretty damn awesome".
:* Generally speaking, as long as Kodi is compiled per recommended guidelines (see '''[[HOW-TO:Compile Kodi 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".
:* Kodi 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.


Line 26: Line 20:


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


For an easy to use fresh installation of both Kodi and OS you can use '''[[Kodibuntu]]'''. Kodibuntu 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 Kodi PPA|repos}}
: Kodi main menu > System > Lower submenu > System info. '''Note the build date.'''




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


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


=== Kodi for Linux version ===
<pre>
: 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.
sudo sed -i "1i @kodi" /etc/xdg/lxsession/LXDE-pi/autostart
</pre>


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


=== Programs and tools to help with Kodi ===
<pre>
: For a list of programs and tools to help with Kodi, 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 Kodi 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 + Kodi, Kodibuntu, and OpenELEC? ===
=== 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.
* '''Ubuntu + Kodi:''' This setup will give you the full Unity desktop environment that has enough software installed to be a general computing solution.
* '''Kodibuntu:''' Comes ready to boot straight into an Kodi session, but still gives you full access to Ubuntu's vast software repositories. The default desk top is LXDE and not much software is installed.
* '''[[LibreELEC]]:''' An appliance distribution. Getting software other than what is provided in the basic distribution will be a little difficult, but not impossible.
* '''OpenELEC:''' 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 Kodi for Linux ===
=== Getting more help with Kodi for Linux ===
Line 64: Line 56:
:* '''[irc://irc.freenode.org/Kodi #Kodi]''' [[w:IRC|IRC]] chat channel 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 ===
Line 93: Line 82:
=== Why can't I update Kodi 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 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.
: 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.
{{Helix updated}}
[[Category: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.