Kodi Community Forum

Full Version: NUC, XBMC 13.2: Error: Unabel to create GUI. Exiting.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys

I'm sorry if this question has been asked before, I bet it has, I've googled it a thousand times. But let's get to the point.

My Setup:
Hardware: Intel NUC D54250WYK with 120GB SSD and 8GB RAM.
Software: Windows 7 64-bit with all updated and servicepacks
Reciever: Onkyo TX-SR608
TV: Samsung PS51D8005
XBMC-version: 13.2
XBMC-Launcher: 4.1

Drivers: All the latest driver for the Intel NUC.
Settings you should know about: I've got the XBMC to shut everything down if inactive for 20 minutes.

The NUC is connected to the Reciever via mini-HDMI. The Reciever is connected to the TV via HDMI.
XBMC starts automaticly with Windows via XBMCLauncher 4.1 with XBMC-shell.

What's my problem?
Often when I've watched a move (or whatever) and I choose to shut down my TV and my reciever and I'm starting everything up again the TV comes on and shows the windows desktop and an error message saying "ERROR: Unable to create GUI. Exiting"
I can't seem to get a grip of when this happens, it's almost every time in the scenario above, but not always.

The Intel NUC starts up fast, but from the moment I push the ON-button on my remote until I can see the error message is about 10 seconds. And the NUC doesn't start that fast. That leads me to believe that the NUC wasn't really shut down. However, if the NUC was only sleeping, I wouldn't have any sound because of the integrated sound (that's why I'm not putting it to sleep, but instead shut it down).

It's a really annoying problem. Now I've configured my Harmony Ultimate so that I can start XBMC with the push of a button, but anyway, I'd really like the error-message not to show.

Other issues:
None at the moment

ErrorLog:
I've highlighted the interesting parts in the log-file below. Also, I did watch some stuff at about 13.30 and then left home. I got back and started everything at 17.12 (the last row) so it seems that something is happening after the NUC and XBMC has been shutdown (I believe that it's been shutdown anyways...)

Looks to me as if XBMC can't find an audio device or a screen, and that's what's causing the problem. I'm I totally wrong?

Quote:13:48:59 T:3628 NOTICE: special://profile/ is mapped to: special://masterprofile/
13:48:59 T:3628 NOTICE: -----------------------------------------------------------------------
13:48:59 T:3628 NOTICE: Starting XBMC (13.2 Git:20140817-0f3db05). Platform: x86 Win32 32-bit
13:48:59 T:3628 NOTICE: Using Release XBMC x32 build, compiled Aug 17 2014 by MSVC 160040219 for x86 Win32 32-bit version 0x06000000
13:48:59 T:3628 NOTICE: Running on Windows 7 SP1 64-bit, build 7601
13:48:59 T:3628 NOTICE: Host CPU: Intel® Core™ i5-4250U CPU @ 1.30GHz, 4 cores available
13:48:59 T:3628 NOTICE: Desktop Resolution: 1024x768 32Bit at 60Hz
13:48:59 T:3628 NOTICE: Running with administrator rights
13:48:59 T:3628 NOTICE: Aero is disabled
13:48:59 T:3628 NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
13:48:59 T:3628 NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
13:48:59 T:3628 NOTICE: special://masterprofile/ is mapped to: ---\AppData\Roaming\XBMC\userdata
13:48:59 T:3628 NOTICE: special://home/ is mapped to: ---\AppData\Roaming\XBMC\
13:48:59 T:3628 NOTICE: special://temp/ is mapped to: ---\AppData\Roaming\XBMC\cache
13:48:59 T:3628 NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
13:48:59 T:3628 NOTICE: Local hostname: ---
13:48:59 T:3628 NOTICE: Log File is located: ---\AppData\Roaming\XBMC\xbmc.log
13:48:59 T:3628 NOTICE: -----------------------------------------------------------------------
13:48:59 T:3628 NOTICE: load settings...
13:48:59 T:3628 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
13:48:59 T:3628 NOTICE: Loaded settings file from special://profile/advancedsettings.xml
13:48:59 T:3628 NOTICE: Contents of special://profile/advancedsettings.xml are...
<advancedsettings>
<fullscreen>true</fullscreen>
<musiclibrary>
<itemseparator>/</itemseparator>
</musiclibrary>
<video>
<timeseekforward>10</timeseekforward>
<timeseekbackward>-10</timeseekbackward>
</video>
<audio>
<timeseekforward>10</timeseekforward>
<!-- Time to seek forward in seconds when doing a short seek. Defaults to 30. -->
<timeseekbackward>-10</timeseekbackward>
</audio>
<navigatevirtualkeyboard>true</navigatevirtualkeyboard>
</advancedsettings>
13:48:59 T:3628 NOTICE: Default DVD Player: dvdplayer
13:48:59 T:3628 NOTICE: Default Video Player: dvdplayer
13:48:59 T:3628 NOTICE: Default Audio Player: paplayer
13:48:59 T:3628 NOTICE: Disabled debug logging due to GUI setting. Level 0.
13:48:59 T:3628 NOTICE: Log level changed to 0
13:48:59 T:3628 NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
13:48:59 T:3628 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
13:48:59 T:3628 NOTICE: Loaded playercorefactory configuration
13:48:59 T:3628 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
13:48:59 T:3628 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
13:49:00 T:3640 NOTICE: Thread ActiveAE start, auto delete: false
13:49:00 T:3644 NOTICE: Thread AESink start, auto delete: false
13:49:00 T:3640 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
13:49:00 T:3640 NOTICE: No Devices found - retry: 4
13:49:01 T:3640 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
13:49:01 T:3640 NOTICE: No Devices found - retry: 3
13:49:03 T:3640 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
13:49:03 T:3640 NOTICE: No Devices found - retry: 2
13:49:04 T:3640 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
13:49:04 T:3640 NOTICE: No Devices found - retry: 1
13:49:06 T:3640 ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.
13:49:06 T:3640 NOTICE: Found 0 Lists of Devices
13:49:06 T:3644 ERROR: CAESinkDirectSound::Initialize: Failed to create the DirectSound device with error DSERR_NODRIVER, trying the default device.
13:49:06 T:3644 ERROR: CAESinkDirectSound::Initialize: Failed to create the default DirectSound device with error DSERR_NODRIVER.

13:49:06 T:3720 NOTICE: Thread AESinkNull start, auto delete: false
13:49:06 T:3628 NOTICE: Running database version Addons16
13:49:06 T:3628 NOTICE: ADDONS: Using repository repository.angelscry.xbmc-plugins
13:49:06 T:3628 NOTICE: ADDONS: Using repository repository.xbmc.org
13:49:06 T:3628 NOTICE: ADDONS: Using repository net.rieter.xot.repository
13:49:06 T:3628 NOTICE: ADDONS: Using repository repository.pvr-win32.xbmc.org
13:49:06 T:3724 NOTICE: Thread RemoteControl start, auto delete: false
13:49:06 T:3728 NOTICE: Thread PeripBusCEC start, auto delete: false
13:49:06 T:3732 NOTICE: Thread PeripBusUSB start, auto delete: false
13:49:06 T:3628 ERROR: CWinSystemWin32::InitWindowSystem - no suitable monitor found, aborting...
13:49:06 T:3628 FATAL: CApplication::Create: Unable to init windowing system

17:12:42 T:3628 NOTICE: special://profile/ is mapped to: special://masterprofile/

Things I've tried:
  • Configured XBMCLauncher to wait 10 seconds before starting XBMC
  • Tried both XBMC Shell and Windows Shell in XBMCLauncher
  • Turned of WOL on the NUC
  • Tried switching between Directsound and WASAPI
  • Tried switching between FullScreen and Windowed.
  • Tried to use a whole screen window instead of real fullscreen
  • Tried to get XBMC to put NUC to sleep and hibernate through power saving in the system settings.

Does anybody have any tips, hints, tricks or solution to my problem? I'll take whatever help I can get.

Thanks in advance.
// Sebastian
When you switch off the TV, the hdmi output (audio) and the video output will be gone. You need to force an EDID into the driver to prevent those things happening to simulate constant on.

It has nothing to do with xbmc, btw. Every other application (OpenGL based) will be killed when you do that. Even VLC should die when you switch off the TV.
Thank you very much for the quick answer. At least now I know what I need to do to prevent this behaviour.

I won't bother you guys anymore, I bet I can google it. The problem before was that I didn't know what to Google. Haven't found any information about EDID when I've researched this problem before.

Again, thank you very much.
did you ever find the reason for " unable to create GUI".......... It appears when I try to run XBMC/kodi. Cant go very far if xbmc doesnt load.

I can not find this on the forums anywhere. My friends are also encountering this.

Perplexed. Pretty simple to download it and install it. It just wont run. i have a hard time believing it is my computer.

Any suggestions?

Thank You
I am just getting this error. Twice in as many days, and I have not received it before.

> ERROR: CAESinkDirectSound::GetDefaultDevice: Retrieval of audio endpoint enumeration failed.

I noticed that was in the OP's error log.

My NUC PC does not get to hibernate, though. I keep it "Always On".