MePo 1.6 Final Crash on D3D.GetCapabilities() (1 Viewer)

Bernard

Portal Pro
March 5, 2012
103
25
35
Centurion
South Africa South Africa
Hi guys,

My newly installed MePo 1.6 crashes on startup. Null Reference exception in D3D.GetCapabilities(). I had a look at the code, but could not understand what variable can be null. since most code is encapsulated in another try...catch, that does not print to the log.

History:
I just installed Win 7 on a new box, with a clean 1.6 installation. I also did not add any plugins (not even Lav and Titan Extended, during setup). After all the prerequisites was installed, I just opened MediaPortal, and then it opened the configuration, I chose "Save". Then ran MediaPortal again, and noticed nothing happened.

OS: Win7 x64
Motherboard: MSI P4M900M2-L
VGA: VIA P4M900 (Intergrated)
DirectX: 11 + 9.0c SDK (June2010)

Log is attached.

Please let me know if you need more information.
 

HomeY

Test Group
  • Team MediaPortal
  • February 23, 2008
    6,466
    4,634
    45
    ::1
    Netherlands Netherlands
    Country flag
    Hi Bernard,

    Not sure if your problem is equal to the reports in this thread, but the latest binaries for that issue can be found in this post.
    Your logs don't show:
    [ERROR] - D3D: Could not create device
    but it seems to fail almost directly after Init
    [2014-01-05 19:24:53,247] [Log ] [MPMain ] [INFO ] - D3D: Client size: 1920x1080 - Screen: 1920x1080
    [2014-01-05 19:24:53,247] [Log ] [MPMain ] [DEBUG] - D3D: InitializeDevice()
    [2014-01-05 19:24:53,262] [Log ] [MPMain ] [DEBUG] - D3D: GetCapabilities()
    [2014-01-05 19:24:53,309] [Log ] [MPMain ] [ERROR] - Exception: System.NullReferenceException: Object reference not set to an instance of an object.
     

    Bernard

    Portal Pro
    March 5, 2012
    103
    25
    35
    Centurion
    South Africa South Africa
    Hi Guys,

    Thanks for helping out. I tried the v14 assemblies but no luck. I do get a different experience, for what it's worth:

    When I run MePo now, it actually shows the splash (this didn't show previously) with "Initializing DirectX...", at this point it just sits like that for a while. I killed MePo and noticed that the process went into a infinite loop now, you can see that in the log files because the same line is printed over and over.

    [2014-01-05 21:45:18,444] [Error ] [MPMain ] [ERROR] - D3D: Starting and find AdapterInfo exception System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.D3D.Init()
    [2014-01-05 21:45:18,450] [Error ] [MPMain ] [ERROR] - D3D: Starting and find AdapterInfo exception System.NullReferenceException: Object reference not set to an instance of an object.
    at MediaPortal.D3D.Init()
    Also I see all other log line entries are gone, it is almost as if the original log file gets overridden the first time before it starts making sequence numbers... see the attached log file, it is no. 1 but it has none of the other entries in it... this is probably unrelated but I find it strange.

    Other than that, the error reported is also less helpful compared to the old log output in my first post. I just mention this incase the v14 has changes to how and when log entries are generated.

    Continuing with the problem:
    I have just checked DxDiag and when I ran it, it said I don't have Direct3D, but when I run the x64 bit version it does say that Direct3D is enabled. I'm not sure if this may be the problem, since MePo is 32bit? Can I install like a 32bit driver on Win7 x64, I have not tried something like this before...

    Also a bit better specs is:
    VGA: VIA Chrome9 HC IGP WDDM 1.1 (link to VIA page p4m900)
    OS: Win7 x64 SP1

    Edit: Also note that I don't use some type of auto start. I'm manaully running MePo when everything has loaded. So I don't think this is something like a timing issue.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    For sure something is wrong on D3D side (this is stange).
    But good about the testing, i surely messing something, it should retry 20 times (Init) from my memory.

    In this bin, adaptor can be null because D3D is not yet init (but seems to happen with MP start option that is not you case).

    with this bin, it check for null value until it find one and with a hardcoded retry count value (20).

    I have only one dxdiag it seems how did you see that is a 32 or 64 version ?

    upload_2014-1-5_21-15-16.png
     

    Bernard

    Portal Pro
    March 5, 2012
    103
    25
    35
    Centurion
    South Africa South Africa
    Hi Sebastiii,

    Find new debug logs attached. Infinite loop is gone :)

    DxDiag:
    This is how the "stock" DxDiag looks on my Win7 (notice the "Run 64-bit DxDiag" button):
    dxdiag.png


    On the 32bit DxDiag, I see this on Display:
    dxdiag2.png


    On x64 bit version I see this:
    dxdiag3.png


    I did install the full DirectX 9.0c that was required (strange since I thought DirectX 11 would be fine...). But maybe I should install the full version of DirectX 11 as well, I'm saying full version because I'm not sure why I only have 4 tabs in DxDiag...
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,434
    10,256
    France
    France France
    Country flag
    Ok :)
    I didn't have this 64bit option on mine dxdiag lol
    You install MP from deploy tools right ? it should install eventual missing thing.

    Thanks for log, now it should look like it should. But still didn't solve your issue :(
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    RoChess Random GPU crash leads to MePo restart, but works fine afterwards MediaPortal 1 14
    RoChess Splashscreen MePo version Titan Skin Feedback 8
    benicehavefun Using MePo TV Server 1.23 via MPExtended/WebMediaPortal as a Backend for Plex MPExtended 4
    B IPTV von Deutsche Glasfaser mit MePo nutzbar? TV / Streaming 0
    muellinger MePo 1.19 und PowerDVD 12 für Blu-Ray. Tips für die Konfiguration benötigt Video & DVD 5
    catalpa Moni aus lässt mepo client abstürzen [gelöst, aber wie] Allgemeines Supportforum 13
    J Info button is virtually pressed with each button use in MePo 1.19 Remotes 8
    ajs [Action Required] MP 1.25 Final Release thread MediaPortal 1 503
    ajs [Action Required] MP 1.24 Final Release thread MediaPortal 1 37
    azzuro [Action Required] MP 1.23 Final Release thread MediaPortal 1 58
    badboyxx MP 1.22 final is crashing when jumping forward while playing DVD-Iso watch/edit Videos 26
    T Issues with MediaPortal not starting correctly using versions after 1.20 Final General Support 6
    ajs [Action Required] MP 1.22 Final Release thread MediaPortal 1 83
    O [Action Required] MP 1.21 Final Release thread MediaPortal 1 84
    greybox 1.20 final does not update video duration automatically 1.20 10
    greybox 1.20 final does not update video duration automatically 1.20 Pre Release 1
    regeszter [Action Required] MP 1.20 Final Release thread MediaPortal 1 43
    coolblue [solved] How to delete Recording? General 16
    T Moving Pictures error after update to 1.19 Final...logs included! Watch / Listen Media 6
    L Service keeps crashing General 3
    U [solved] MediaPortal crashing on startup General Support 10
    RoChess Weird GPU crash -- possible cause: resizing media MediaPortal 1 Talk 8
    torone Dritter versuch mit Mediaportal 2 Allgemeines Support- und Diskussionsforum 1
    W [solved] MP suddenly Crashes when starting live TV on most channels and on recordings from the same channels General Support 20
    W [solved] MP suddenly Crashes when starting live TV on some channels and on some recordings Television (MyTV frontend and TV-Server) 1
    Similar threads

























    Top Bottom