Archive:Windows FAQ: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Natethomas
mNo edit summary
>CrystalP
No edit summary
Line 100: Line 100:
:... but the gui works fine.
:... but the gui works fine.
: if you have a video adapter with pixel shader >= 2.0
: if you have a video adapter with pixel shader >= 2.0
:* XBMC compiles the video shader on runtime and it could be that you don't have the compiler. Do a full DirectX update and try again.
:* XBMC compiles the video shader at runtime and it could be that you don't have the compiler. Do a full DirectX update and try again.
: if you have a DirectX 9 video adapter with pixel shader < 2.0
: if you have a DirectX 9 video adapter with pixel shader < 2.0
:* version 9.11: you are out of luck because our video renderer requires a pixel shader >= 2.0
:* version 9.11: you are out of luck because our video renderer requires a pixel shader >= 2.0
:* versions after 9.11: supported, with a software renderer that doesn't need pixel shaders. The CPU will work harder. As long as 9.11 is the latest stable you'd be using the latest nightly build. You also need the DirectX SDK instead of just the runtime.
:* versions after 9.11: supported, with the 'Software' render method. The CPU will work harder.


[[Category:FAQ]]
[[Category:FAQ]]

Revision as of 08:13, 17 December 2010

Template:XBMC faq toc Inline

XBMC for specific FAQs about XBMC running under Windows, Windows computer hardware, and Windows operating-system questions.

What Win32 ports are available ?

There are two existing Windows ports of XBMC
  • XBMC For Windows DX
  • XBMC For Windows GL (build from the linux branch, using SDL/OpenGL)

About XBMC For Windows DX (DirectX)

The DirectX version is the Windows future of XBMC. The codebase is under development and is the base for the Linux, MacOSX and Windows ports. This FAQ will ONLY deal with the DX version!

About XBMC For Windows GL (SDL/OpenGL)

The SDL/OpenGL version is the original and no longer supported Port for Windows Users. While you won't get support official for it now and into the future, it remains currently a working port.

Where do I get XBMC for Windows?

The latest stable version can be found on sourceforge:
However since the svn is updated almost daily we recommend using a nightly build prepared by Billy the Buildbot:
Automatic Update Client for XBMC Community Builds (not currently active as of Jan 6, 2010):

Hardware Questions

What is current recommended hardware requirements for XBMC

For end-users the recommended minimum requirement is a x86-based computer, with a Graphic adapter that supports DirectX version 9.0c.
XBMC for Windows minimum requirements


How to install XBMC for Windows (DirectX)?

XBMC for Windows is simple to install.
  • Grab either a stable or nightly setup version as listed above.
  • Run the downloaded setup to install XBMC for Windows.
  • You can now start XBMC from the startmenu either in fullscreen or windowed mode.
XBMC doesn't depend on video or audio codecs on the system. Everything is installed in the XBMC directory ONLY. Only some user specific data (XML, cache, etc) goes to the users profile directory.

Where is user specific data stored?

All user-specific data is stored in in the XBMC home directory which, for a standard installation, is found in your windows users' application data directory, which may be found in one of two places.
1. Windows Xp: Documents and Settings\[user]\Application Data\XBMC\
2. Vista/Windows 7: Users\[user]\AppData\Roaming\XBMC\

The UserData Folder, where your settings, thumbs and library files are stored is located in the UserData folder within this directory. Similarly, skins, plugins and scripts should be installed by the user into this directory.

XBMC will not alter this directory on an upgrade, so your data will remain safe between upgrades of XBMC.

Can XBMC be run in portable mode?

If you wish, you may run XBMC in portable mode by adding the -p switch to the shortcut used to launch XBMC. This will then use the XBMC folder itself as the Home folder, which means scripts, plugins, skins and userdata will be located within the XBMC folder. This is useful for running XBMC for Windows off a USB stick for portability.
You will, however, have to be careful when upgrading to make sure that the UserData folder you use is not overwritten.

Where is the log file located?

The log file (xbmc.log) is located in the users writable directory, which by default resides in %APPDATA%\XBMC\. If XBMC is started in portable mode, the log file will be created in the XBMC folder itself.

What is the best way to post logs?

Take the xbmc.log from the appropriate XBMC UserData directory (see above, make sure it's a debug log) and upload it to http://pastebin.com/ (other pastebin options exist, but this one is currently the most popular). Post the pastebin link instead of the content into the support forum. For more detailed instructions see How to Post A Problem In a Useful Way.

How can I switch XBMC back and forth from windowed to full screen?

Press the '\' button or 'alt' + 'return' on your keyboard.

What are the recent changes?

All changes to the repository can be seen on our XBMC Tracker
Note: branches/linuxport/XBMC/ is the repository for the Linux, MacOSX and Win32 port. trunk/ belongs to the Xbox repository.

What is the current development platform ?

We currently develop under Windows XP SP3 and Windows 7 with Visual Studio 2008. VS2010 project files are available, but not always as up-to-date.

Can I start XBMC with a delay of X seconds?

When starting XBMC on Windows startup it can be that some sub services weren't started when XBMC is up. To delay XBMC just add the parameter -d X with X equal to the startup delay in seconds.

Does XBMC for Windows support Blu-ray or HD DVD playback with or without menus?

Qualitatively no. There is not yet any C/C++ open source software out there yet capable of fully playing back Blu-ray or HD DVD. FFmpeg (the open source codec-suit that XBMC uses) is able to decode all audio and video codecs used in both Blu-ray and HD DVD, but, even as that might be the case, you still have to get around the DRM encryptions used by the disc formats and there is not yet any C/C++ open source software library capable of that on-the-fly, nor is there any C/C++ open source software library out there capable of displaying Blu-ray or HD DVD menus. XBMC need C/C++ open source software libraries for all of these things to fully support Blu-ray or HD DVD playback. With that said, XBMC does support .m2ts extensions, as well as the decoding and playback of all Blu-ray and HD DVD video and audio codecs. Most current audio limitations are a function of hardware related issues.

Why does XBMC use x% CPU usage while sitting idle?

XBMC was originally written for the XBox game console, which is a single-threaded system (not a multi-tasking OS like Windows). As such, it was written in a game loop, rather than being event-driven. This means that the screen refreshes as fast as possible in order to "feel" responsive to the user. What this boils down to is that while sitting on the idle screen, XBMC is still repainting the screen at 60-90 frames per second (as can be seen by the FPS number if debug mode is enabled). This takes up a lot of processor power, because the "game" is still running, even though you may not be doing anything with it.
There are currently no intentions to change this, as it is a very low-level change of the entire XBMC platform. A few workarounds do exist though:
  • Enable the "blank" screensaver. This puts XBMC into a low FPS mode which uses much fewer resources.
  • Set an Idle timeout. In the PM3-HD skin, under Settings > System > Hardware there is the option to enable a "Shutdown function timer" and a "Shutdown function". The timer only counts down when media is not playing (it's not based on mouse movement like a typical screensaver). Setting the timer to something like 5 minutes, and the function to "Quit" will quit XBMC if no media has played for 5 minutes. It is also easy to use EventGhost or a similar application to register a remote button (or an Un-Idle event) to re-start XBMC.
  • Disable vertical blank sync in the System/Video Output directory. Alternatively, set vertical blank sync to "Enabled during video playback."

How can I make it work on Windows Server 2003 (probably 2008 too)

Some users reported success by changing the following settings:
  • Right click Desktop -> choose Properties -> Settings tab -> Advanced button -> Troubleshoot tab -> move slider on Hardware Acceleration to Full -> OK
  • Make sure as well that you have Audio Playback Hardware Acceleration to Full as well

Why do I see a black/white screen instead of video?

... but the gui works fine.
if you have a video adapter with pixel shader >= 2.0
  • XBMC compiles the video shader at runtime and it could be that you don't have the compiler. Do a full DirectX update and try again.
if you have a DirectX 9 video adapter with pixel shader < 2.0
  • version 9.11: you are out of luck because our video renderer requires a pixel shader >= 2.0
  • versions after 9.11: supported, with the 'Software' render method. The CPU will work harder.