directx error (1 Viewer)

glenn 1990

Portal Pro
July 1, 2010
247
36
Home Country
Belgium Belgium
Hi,

If I start mp 2 client (server is working fine), I get an directx error wich crashes mp.
Does someone now what's wrong. I've installed the sdk's described in the wiki.

log
Code:
[2011-01-07 19:27:24,921] [2886   ] [Main     ] [DEBUG] - Registering DirectX MainForm as IScreenControl service
[2011-01-07 19:27:24,936] [2901   ] [Main     ] [DEBUG] - DirectX MainForm: Initialize DirectX
[2011-01-07 19:27:24,936] [2901   ] [Main     ] [DEBUG] - GraphicsDevice: Initialize DirectX
[2011-01-07 19:27:24,968] [2932   ] [Main     ] [DEBUG] - BuildPresentParamsFromSettings windowed True 1280 720
[2011-01-07 19:27:24,983] [2948   ] [Main     ] [INFO ] - DirectX: Using adapter: 0 NVIDIA GeForce 8400M GS Hardware
[2011-01-07 19:27:24,983] [2948   ] [Main     ] [ERROR] - 
SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.DeviceEx.Internal_Constructor(Direct3DEx direct3D, Int32 adapter, DeviceType deviceType, IntPtr controlHandle, CreateFlags createFlags, D3DDISPLAYMODEEX* fullscreenDisplayMode, PresentParameters[] presentParameters)
   at SlimDX.Direct3D9.DeviceEx..ctor(Direct3DEx direct3D, Int32 adapter, DeviceType deviceType, IntPtr controlHandle, CreateFlags createFlags, PresentParameters presentParameters)
   at MediaPortal.UI.SkinEngine.DirectX.D3DSetup.InitializeEnvironment()
[2011-01-07 19:27:26,138] [4102   ] [Main     ] [DEBUG] - BuildPresentParamsFromSettings windowed True 1280 720
[2011-01-07 19:27:26,138] [4102   ] [Main     ] [INFO ] - DirectX: Using adapter: 0 NVIDIA GeForce 8400M GS Reference
[2011-01-07 19:27:26,138] [4102   ] [Main     ] [FATAL] - GraphicsDevice: Failed to setup DirectX
System.NullReferenceException: Object reference not set to an instance of an object.
   at MediaPortal.UI.SkinEngine.DirectX.GraphicsDevice.Initialize(Form window)
 

Smeulf

Retired Team Member
  • Premium Supporter
  • October 27, 2010
    672
    454
    France
    Home Country
    France France
    Hi,

    Did you tried MP2 on your Windows XP SP3 ?

    If yes, it can be related as MP2 requirement is set to Windows 7...
     

    Albert

    MP2 Developer
  • Premium Supporter
  • February 18, 2008
    1,297
    1,130
    45
    Freiburg im Breisgau, Germany
    Home Country
    Germany Germany
    AW: directx error

    glenn, as MP2 is set to run on Win7, we don't officially support Vista.

    But I also tried to run it on my HTPC which is still on Vista x64; it doesn't work here either. If you get it running on your Vista system, please tell me what you had to do to run it without errors. As far as I know, currently, there is no technical show stopper for MP2 to run on Vista. Most probably, the Video player will be the only component which will need Win7, but the current version should run on Vista too.
     

    Users who are viewing this thread

    Top Bottom