Archive:Linux FAQ: Difference between revisions
Prof Yaffle (talk | contribs) No edit summary |
m (Bot: Automated text replacement (-class="wikitable" +class="prettytable" & -Available Tags +Available tags & -<source +<syntaxhighlight & -</source> +</syntaxhighlight>)) |
||
Line 41: | Line 41: | ||
| Answer= | | Answer= | ||
In Linux your XBMC log is located in: | In Linux your XBMC log is located in: | ||
< | <syntaxhighlight lang="bash">$HOME/.xbmc/temp/xbmc.log</syntaxhighlight><br /> | ||
{{note|The location of the log assumes you are logged in as the '''<big>xbmc user</big>''' and not '''<big>root</big>'''.}}<br /> | {{note|The location of the log assumes you are logged in as the '''<big>xbmc user</big>''' and not '''<big>root</big>'''.}}<br /> | ||
'''''See also:''''' [[SSH|Accessing XBMC via SSH]] e.g. Putty | '''''See also:''''' [[SSH|Accessing XBMC via SSH]] e.g. Putty | ||
Line 53: | Line 53: | ||
<br /> | <br /> | ||
{{Note|Don't forget to [[Log file#Enable Debugging|'''Enable Debugging''']] when creating the log so that maximum detail is available}}<br /> | {{Note|Don't forget to [[Log file#Enable Debugging|'''Enable Debugging''']] when creating the log so that maximum detail is available}}<br /> | ||
< | <syntaxhighlight lang="bash">$ sudo apt-get install pastebinit -y | ||
$ cat $HOME/.xbmc/temp/xbmc.log | pastebinit</ | $ cat $HOME/.xbmc/temp/xbmc.log | pastebinit</syntaxhighlight> | ||
}} | }} | ||
Line 61: | Line 61: | ||
| Question= Where's the UserData folder? | | Question= Where's the UserData folder? | ||
| Answer= | | Answer= | ||
< | <syntaxhighlight lang="bash">$HOME/.xbmc/userdata</syntaxhighlight> | ||
}} | }} | ||
Line 70: | Line 70: | ||
The installation paths are as below: | The installation paths are as below: | ||
< | <syntaxhighlight lang="bash">/usr/share/xbmc/ | ||
/usr/lib/xbmc/</ | /usr/lib/xbmc/</syntaxhighlight><br /> | ||
{{Note|No user XBMC configuration files are kept in these locations; refer to [[userdata]] for these.}} | {{Note|No user XBMC configuration files are kept in these locations; refer to [[userdata]] for these.}} | ||
Line 121: | Line 121: | ||
| Answer = | | Answer = | ||
Some Intel GPUs have issues with rc6 it can be disabled via grub. | Some Intel GPUs have issues with rc6 it can be disabled via grub. | ||
< | <syntaxhighlight lang="bash">$ sudo nano /etc/default/grub</syntaxhighlight> | ||
Append '''i915.i915_enable_rc6=0''' to: | Append '''i915.i915_enable_rc6=0''' to: | ||
< | <syntaxhighlight lang="xml">GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.i915_enable_rc6=0"</syntaxhighlight> | ||
* Press {{keypress|ctrl|X}} say '''YES''' to save file | * Press {{keypress|ctrl|X}} say '''YES''' to save file | ||
Line 131: | Line 131: | ||
;Then run | ;Then run | ||
< | <syntaxhighlight lang="bash">$ sudo update-grub</syntaxhighlight> | ||
}} | }} | ||
|} | |} | ||
Line 165: | Line 165: | ||
Make sure that old versions of the NVIDIA drivers are removed if you use other third-party PPAs (repositories). For the sake of your sanity, '''don't remove any Ubuntu sources''', as that is highly likely to break something. | Make sure that old versions of the NVIDIA drivers are removed if you use other third-party PPAs (repositories). For the sake of your sanity, '''don't remove any Ubuntu sources''', as that is highly likely to break something. | ||
< | <syntaxhighlight lang="bash"> | ||
$ sudo apt-get install python-software-properties pkg-config | $ sudo apt-get install python-software-properties pkg-config | ||
$ sudo add-apt-repository -r ppa:the_3rd_party_ppa_you_wish_to_remove_here | $ sudo add-apt-repository -r ppa:the_3rd_party_ppa_you_wish_to_remove_here | ||
Line 171: | Line 171: | ||
$ apt-get update | $ apt-get update | ||
$ sudo apt-get install nvidia-current nvidia-settings | $ sudo apt-get install nvidia-current nvidia-settings | ||
</ | </syntaxhighlight><br /> | ||
{{forum link2|[[forum:142220|NVidia Drivers updates XBMCBuntu, Ubuntu and variants forum discussion thread]]}}<br /> | {{forum link2|[[forum:142220|NVidia Drivers updates XBMCBuntu, Ubuntu and variants forum discussion thread]]}}<br /> | ||
Line 184: | Line 184: | ||
Create or edit your existing '''/etc/X11/xorg.conf''' and add to section '''Device''' as below. | Create or edit your existing '''/etc/X11/xorg.conf''' and add to section '''Device''' as below. | ||
< | <syntaxhighlight lang="xml">Section "Device" | ||
Identifier "Intel Graphics" | Identifier "Intel Graphics" | ||
Driver "intel" | Driver "intel" | ||
Option "AccelMethod" "sna" | Option "AccelMethod" "sna" | ||
EndSection</ | EndSection</syntaxhighlight> | ||
For more information on '''SNA''', see: [http://www.phoronix.com/scan.php?page=article&item=intel_sna_july2012&num=1 '''Intel SNA vs. UXA On Ivy Bridge'''] | For more information on '''SNA''', see: [http://www.phoronix.com/scan.php?page=article&item=intel_sna_july2012&num=1 '''Intel SNA vs. UXA On Ivy Bridge'''] | ||
Line 201: | Line 201: | ||
Once you have your drivers in place, you need to make sure that OpenGL is properly configured. Run the following command: | Once you have your drivers in place, you need to make sure that OpenGL is properly configured. Run the following command: | ||
< | <syntaxhighlight lang="bash"> | ||
# glxinfo | grep -i direct | # glxinfo | grep -i direct | ||
</ | </syntaxhighlight> | ||
The result should be: | The result should be: | ||
Line 228: | Line 228: | ||
* Or, again for NVIDIA, you can disable Compiz directly at a terminal prompt: | * Or, again for NVIDIA, you can disable Compiz directly at a terminal prompt: | ||
:< | :<syntaxhighlight lang="bash">$ sudo nvidia-xconfig --no-composite</syntaxhighlight> | ||
Example minimal xorg.conf for NVIDIA: [[Minimal NVidia xorg.conf]] | Example minimal xorg.conf for NVIDIA: [[Minimal NVidia xorg.conf]] | ||
}} | }} | ||
Line 254: | Line 254: | ||
| Question= Required Packages | | Question= Required Packages | ||
| Answer= | | Answer= | ||
< | <syntaxhighlight lang="bash"> | ||
$ sudo apt-get install alsa-utils libasound2 | $ sudo apt-get install alsa-utils libasound2 | ||
</ | </syntaxhighlight> | ||
}} | }} | ||
Line 265: | Line 265: | ||
{{Note|'''Unmute channels in alsamixer''' in all cases if you're getting no sound via e.g. HDMI. Just for guidance, a couple of quick reference commands are listed below.}}<br /> | {{Note|'''Unmute channels in alsamixer''' in all cases if you're getting no sound via e.g. HDMI. Just for guidance, a couple of quick reference commands are listed below.}}<br /> | ||
{{tip|Substitute '''IEC958''' with your device ID depending on your '''{{code|aplay -l}} output.}}''' | {{tip|Substitute '''IEC958''' with your device ID depending on your '''{{code|aplay -l}} output.}}''' | ||
< | <syntaxhighlight lang="bash"> | ||
$ amixer -q set Master 100% unmute | $ amixer -q set Master 100% unmute | ||
$ amixer -q set PCM 100% unmute | $ amixer -q set PCM 100% unmute | ||
$ amixer -q set 'IEC958',1 unmute | $ amixer -q set 'IEC958',1 unmute | ||
$ amixer -q set 'IEC958',0 unmute | $ amixer -q set 'IEC958',0 unmute | ||
</ | </syntaxhighlight><br /> | ||
{{note|Make sure that your correct sound card is in use in alsamixer. To change your card, press {{keypress|F6}} and then try different cards to make ensure it's not something as simple as using the wrong card - sometimes the onboard card may not be the one you want or need.}}<br /> | {{note|Make sure that your correct sound card is in use in alsamixer. To change your card, press {{keypress|F6}} and then try different cards to make ensure it's not something as simple as using the wrong card - sometimes the onboard card may not be the one you want or need.}}<br /> | ||
Line 328: | Line 328: | ||
Connect to your Debian/Ubuntu-based system via [[SSH]] and run the commands below: | Connect to your Debian/Ubuntu-based system via [[SSH]] and run the commands below: | ||
< | <syntaxhighlight lang="bash"> | ||
$ sudo apt-get install python-software-properties pkg-config | $ sudo apt-get install python-software-properties pkg-config | ||
$ sudo add-apt-repository -r ppa:current_XBMC_providing_ppa | $ sudo add-apt-repository -r ppa:current_XBMC_providing_ppa | ||
Line 336: | Line 336: | ||
$ sudo apt-get remove xbmc xbmc.bin | $ sudo apt-get remove xbmc xbmc.bin | ||
$ sudo apt-get install xbmc xbmc.bin | $ sudo apt-get install xbmc xbmc.bin | ||
</ | </syntaxhighlight> | ||
}} | }} | ||
Revision as of 05:55, 14 March 2014
General topics Devices |
FAQs Linux |
Linux FAQ |
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. |
Frequently Asked Questions for XBMC running under Linux-based operating systems. Template:XBMC FAQ
Caveat
- There are no official XBMC builds for Linux distributions other than Ubuntu yet. If you use something other than Ubuntu, check to see if XBMC is available via your repositories or normal software installation method.
- See also: Installing XBMC for Linux for how to install XBMC on other distributions.
General FAQ
- See also: XBMC all platforms FAQ for FAQs that apply to all versions of XBMC.
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||
|
Troubleshooting: General
|
Troubleshooting: Video
INCOMPLETE: This page or section is incomplete. Please add information or correct uncertain data which is marked with a ? |
- Most of the problems that you encounter with slow display, playback or OpenGL related errors on Linux are because you do not have the proper display drivers installed, or because your versions are outdated. Using the correct drivers or updating can be a decisive step in resolving some issues.
| ||||||||||
| ||||||||||
| ||||||||||
| ||||||||||
|
Troubleshooting: Audio
| ||||
| ||||
| ||||
| ||||
|
Dual Audio Setup
This is an ultimate goal for some XBMC users. With the move to AudioEngine it becomes more complex and even impossible in some cases. One XBMC forum user, puntloos, posted his finding which seem to work relatively well for his setup. Bear in mind that this will not be universal, though, and thus may not work under other circumstances.Setting up dual audio forum discussion thread |
Updating XBMC
INCOMPLETE: This page or section is incomplete. Please add information or correct uncertain data which is marked with a ? |
- We obviously recommend the use of our PPAs, but we recognise that Ubuntu is only one of the many Linux distributions in use and users will also have Archlinux, Debian or Gentoo (amongst many others). Please feel free to provide details on how you can upgrade packages on these and other distros. The details below are thus really intended for XBMCbuntu and Ubuntu variant (Xubuntu, Kubuntu, Mint...) installations.
| ||||
| ||||
| ||||
| ||||
|