Concept: Switch MP2 to D3D11/D2D rendering (5 Viewers)

ge2301

Lead Design MP2
  • Team MediaPortal
  • January 11, 2014
    8,741
    3,501
    Stuttgart
    Home Country
    Germany Germany
    After I read the post a second time and put the necessary dll for win7 in the client folder it also works for me ;)
    Just when I add BlueVision skin to the plugin folder MP2 crashes when selecting it. Do existing and not in the build included skins need to be adjusted to work? I guess some effects used with DX9 version were removed or modified.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #83
    Yes, old effects are no longer working and present and needs to be changed.
     

    FreakyJ

    Retired Team Member
  • Premium Supporter
  • July 25, 2010
    4,024
    1,420
    Home Country
    Germany Germany
    Nice that we don't need a custom version :)
    And good work!!
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #87
    Not needed, I will merge/rebase branches soon. It's time to get the last pending issues solved so we can include the rework in a public build.
     

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    • Thread starter
    • Moderator
    • #88
    I've updated the first post with a brand new test build. It's based on latest public Weekly, so it should be compatible with MP2-Server of this version.

    There are not much changes regarding D2D. Image transitions are still broken (you get lot exceptions logged and images are switching simply, not using transition animation).

    I really need as much testing feedback as possible:
    • There are probably image rendering related issues hiding in different screen and skins. One example: inside Titanium the power button on homescreen was out of size, resulting only in a blurry white "box". After adding fixed sizes, issue was visibily gone. (Still a bug though!)
    • Please test all contained skins for such issues and post screenshots here
    • (BlueVision cannot be tested yet, I need to create a matching build before)
    @Testers @Designers

    @Developers , mainly @Stéphane Lenclud could you help in D2D debugging? Issue seems to be a D2D effect with two input sources (image 1 + 2 for transition) and a set of parameters. When calling the effect rendering, I get an "INVALID_ARG" then all further calls an "INVALID_STATE".

    The render starts here, coming with 2 inputs: https://github.com/MediaPortal/Medi...gement/AssetCore/EffectAssetCore.cs#L195-L197.

    The calling code is the ImageContext, StartRenderTransition:
    https://github.com/MediaPortal/Medi...kinEngine/Rendering/ImageContext.cs#L218-L243

    The ImageTransitionEffect is defined here: https://github.com/MediaPortal/Medi...isuals/Effects2D/ImageTransitionEffect.cs#L67. The attributes on member properties are used for SharpDX parameter mappings to the data structure (is set as "Constant Buffer" to the shader(s)).

    I think I already have double checked all types and indexes of variables and also order of constant buffer, but somewhere an issue is hiding :( It also could be a problem with the later combined shader sub functions for transitions (they are selected randomly).
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    Just did a fresh install and installed the updated client code.
    Do not know if this is related to your new D311 code


    [2015-05-02 06:44:59,211] [2816 ] [AMQ 'ScreenManager'] [WARN ] - Cannot open bitmapSource: 782140e7-4850-4c4d-9a88-7f670b4f37e2.jpg
    [2015-05-02 06:44:59,212] [2817 ] [AMQ 'ScreenManager'] [WARN ] - Cannot open bitmapSource: ea48bd6e-60d3-45b2-9c35-1ab437cc72fb.jpg
    [2015-05-02 06:44:59,212] [2817 ] [AMQ 'ScreenManager'] [WARN ] - Cannot open bitmapSource: 2c0d5028-e9fe-4eb3-b7fd-b8492b1009d2.jpg
    [2015-05-02 06:44:59,213] [2818 ] [AMQ 'ScreenManager'] [WARN ] - Cannot open bitmapSource: 76d0d121-0b4b-400d-9104-09c7f20ee3a7.jpg
     

    breese

    Retired Team Member
  • Premium Supporter
  • July 11, 2011
    3,902
    770
    66
    Arlington Heights, Illinois
    Home Country
    United States of America United States of America
    ALT-Enter causes screen to go Black. Had to use ALT-Tab to bring MP2 Client Screen back.
    Once back - Windowed or Full Screen did work.

    Also found this.
    Screens_01.jpg
     

    Users who are viewing this thread

    Top Bottom