Kodi Community Forum

Full Version: XBMC 11.0 crashes at startup in RDP session
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In previous versions I've appreciated that I can run XBMC remotely, so as not to risk image retention or burn-in on my plasma TV when doing maintence work on my movie library.

The most recent release crashes during startup. Here's the log:

Code:
23:07:17 T:4924  NOTICE: -----------------------------------------------------------------------
23:07:17 T:4924  NOTICE: Starting XBMC (11.0 Git:20120321-14feb09), Platform: Windows 7, 64-bit (WoW) build 7600. Built on Mar 21 2012 (compiler 1600)
23:07:17 T:4924  NOTICE: Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz
23:07:17 T:4924  NOTICE: Desktop Resolution: 1440x900 32Bit at 60Hz
23:07:17 T:4924  NOTICE: Running with restricted rights
23:07:17 T:4924  NOTICE: Aero is disabled
23:07:17 T:4924  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
23:07:17 T:4924  NOTICE: -----------------------------------------------------------------------
23:07:17 T:4924  NOTICE: Setup SDL
23:07:17 T:4924  NOTICE: Found screen: Dummy Monitor on RDPDD Chained DD, adapter 0.
23:07:17 T:4924  NOTICE: Primary mode: 1440x900 @ 60.00 - Full Screen
23:07:17 T:4924  NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
23:07:17 T:4924  NOTICE: load settings...
23:07:17 T:4924  NOTICE: special://profile/ is mapped to: special://masterprofile/
23:07:17 T:4924  NOTICE: loading special://masterprofile/guisettings.xml
23:07:17 T:4924  NOTICE: Getting hardware information now...
23:07:17 T:4924  NOTICE: Checking resolution 12
23:07:17 T:4924  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
23:07:17 T:4924  NOTICE: Loaded playercorefactory configuration
23:07:17 T:4924  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
23:07:17 T:4924  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
23:07:17 T:4924  NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
23:07:17 T:4924  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
23:07:17 T:4924  NOTICE: Default DVD Player: dvdplayer
23:07:17 T:4924  NOTICE: Default Video Player: dvdplayer
23:07:17 T:4924  NOTICE: Default Audio Player: paplayer
23:07:17 T:4924  NOTICE: Disabled debug logging due to GUI setting. Level 0.
23:07:17 T:4924  NOTICE: Log level changed to 0
23:07:17 T:4924  NOTICE: Loading media sources from special://masterprofile/sources.xml
23:07:17 T:4924  NOTICE: Enabled Joystick: BD Remote Control
23:07:17 T:4924  NOTICE: Details: Total Axis: 0 Total Hats: 0 Total Buttons: 0
23:07:17 T:4924 WARNING: CRenderSystemDX::CreateDevice - initial wanted device config failed
23:07:17 T:4924   ERROR: CRenderSystemDX::CreateDevice - unable to create a device. 8876086C - D3DERR_INVALIDCALL (Invalid call)
23:07:17 T:4924   FATAL: CApplication::Create: Unable to init rendering system
23:07:19 T:640   ERROR: CRemoteControl::Connect - failed to connect

I have not changed the graphics card and it's got the same driver as before. I would appreciate it a lot if someone could help me out Wink
As far as I'm aware, XBMC has never worked via RDP on win32.
That's was helpful..
It did once...loooong ago. Possibly back in the old OpenGL days. To use it remotely now you need to run something link VNC and have XBMC run in windowed mode.
It *may* run if you use windowed mode i.e. System settings, System, Video and enable the setting "Use a fullscreen window rather than true fullscreen", but there are no promises.

JR
When I was having problems setting up MySQL I was troubleshooting remotely with RAdmin - but because I have animations enabled it was painfully slow to do things over a 1mb connection, and I ended up giving up and waiting until I was back home to fix it.
Hmm, RDP actually works fine for me on Eden. Pretty fast too.

Maybe you need to set 32-bit color on the RDP session?

Also, turn off background animations on the XBMC screens (the animation that makes the fanart and backdrops slowly move and zoom) This animation seems to use the GPU and breaks RDP.

Also I'm using Aeon MQ3 if that matters and its indeed working in RDP from Win7 64 to Win7 64.
See if any of this helps:

http://forum.xbmc.org/showthread.php?tid=119185

I'm still on Dharma, so I can't really do a full test for you. I ended up using UltraVNC only. I forget what happens when connected via RDC and XBMC tries to start in (Real) Full Screen. UltraVNC lets me use the "\" key to switch to Windowed mode, but I don't remember if RDC allows that or if it's already locked up (or it was un-useable ... it was something bad).

RDC also does the thing where it logs out the current user and you can't "share" the same screen ... just wasn't a good fit for me.

Edit ... just tried it:

RDC cons:
Only runs at 1024x768
Logs out current user (can't share normal XMBC logged-in desktop user)
Certificate warnings
XBMC crashes on startup if set to real Full-Screen
I'm a little bit late here, but thanks a lot for the replies. Windowed mode (at least with a small window) works just fine, like before. Smile
good thing I checked for a thread before freaking out too much....Rofl
(2012-06-08, 06:23)PugsofAus Wrote: [ -> ]good thing I checked for a thread before freaking out too much....Rofl

Ya, it's great having the forum to document all this.
I have XBMC 12.0 'frodo' on a Mac Mini with Windows 7 x64... One one username, Remote Desktop and XBMC works just fine. On a different username on the SAME box, I get the error. The logs appear identical except for **** lines shown in the log excerpts below. The RDP that works has an extra debug statement: "CRemoteControl::Connect - connecting to: ::1:24000 ..." that the log which fails does not. Not sure what it means though.

This one WORKS with RDP:
Code:
09:31:04 T:3312  NOTICE: Thread XBMC Peripherals start, auto delete: false
09:31:04 T:1848  NOTICE: Thread CRemoteControl start, auto delete: false
09:31:04 T:1848   DEBUG: CRemoteControl::Connect - connecting to: ::1:24000 ...  *****
09:31:04 T:2604   DEBUG: CWin32StorageProvider::Initialize: No optical drive found.
09:31:04 T:2604  NOTICE: Found screen: Dummy Monitor on RDPDD Chained DD, adapter 0.
09:31:04 T:2604  NOTICE: Primary mode: 1920x1200 @ 60.00 - Full Screen
09:31:04 T:2604  NOTICE: Additional mode: 1920x1200 @ 60.00 - Full Screen
09:31:04 T:2604  NOTICE: Checking resolution 16
09:31:04 T:2604   DEBUG: CWinEventsWin32::WndProc: window resize event
09:31:04 T:2604   DEBUG: CWinEventsWin32::WndProc: window move event
09:31:04 T:2604   DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1920,1200 fullscreen)->(0,0,1920,1200 fullscreen)
09:31:04 T:2604   DEBUG: CWinEventsWin32::WndProcWindow is active
09:31:04 T:3744   DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
09:31:05 T:2604   DEBUG: CRenderSystemDX::InitRenderSystem - trying D3D9Ex...
09:31:05 T:2604   DEBUG: CRenderSystemDX::InitRenderSystem - using D3D9Ex
09:31:05 T:2604   DEBUG: CRenderSystemDX::CreateDevice on adapter 0
09:31:05 T:2604   DEBUG: CRenderSystemDX::CreateDevice - using hardware vertex processing
09:31:05 T:2604   DEBUG: CRenderSystemDX::CreateDevice - adapter 0: igdumd32.dll, RDPDD Chained DD, VendorId 0, DeviceId 0 *****
09:31:05 T:2604   DEBUG: CRenderSystemDX::CreateDevice - using D3DCAPS2_DYNAMICTEXTURES *****
09:31:05 T:2604   DEBUG: CRenderSystemDX::CreateDevice - texture caps: 0x0021EC45 *****

This one FAILS with RDP:
Code:
09:28:33 T:3544  NOTICE: Thread XBMC Peripherals start, auto delete: false
09:28:33 T:3612  NOTICE: Thread CRemoteControl start, auto delete: false
09:28:33 T:3964   DEBUG: CWin32StorageProvider::Initialize: No optical drive found.
09:28:33 T:3964  NOTICE: Found screen: Dummy Monitor on RDPDD Chained DD, adapter 0.
09:28:33 T:3964  NOTICE: Primary mode: 1920x1200 @ 60.00 - Full Screen
09:28:33 T:3964  NOTICE: Additional mode: 1920x1200 @ 60.00 - Full Screen
09:28:33 T:3964  NOTICE: Checking resolution 16
09:28:33 T:3612   DEBUG: CRemoteControl::Connect - connecting to: ::1:24000 ...
09:28:33 T:3964   DEBUG: CWinEventsWin32::WndProc: window resize event
09:28:33 T:3964   DEBUG: CWinEventsWin32::WndProc: window move event
09:28:33 T:3964   DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1920,1200 fullscreen)->(0,0,1920,1200 fullscreen)
09:28:33 T:3964   DEBUG: CWinEventsWin32::WndProcWindow is active
09:28:33 T:3464   DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
09:28:34 T:3964   DEBUG: CRenderSystemDX::InitRenderSystem - trying D3D9Ex...
09:28:34 T:3964   DEBUG: CRenderSystemDX::InitRenderSystem - using D3D9Ex
09:28:34 T:3964   DEBUG: CRenderSystemDX::CreateDevice on adapter 0
09:28:34 T:3964   DEBUG: CRenderSystemDX::CreateDevice - using hardware vertex processing
09:28:34 T:3964   WARNING: CRenderSystemDX::CreateDevice - initial wanted device config failed *****
09:28:34 T:3964   ERROR: CRenderSystemDX::CreateDevice - unable to create a device. 8876086C - D3DERR_INVALIDCALL (Invalid call) *****

Any thoughts? I am using identical RDP settings (basically 'full screen'). Other RDP resolutions don't solve the problem. As someone pointed out earlier, it is handy for this to work via RDP so that one doens't have to st in front of the TV doing config work.