home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
General
Concept: Switch MP2 to D3D11/D2D rendering
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1134882" data-attributes="member: 48495"><p>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.</p><p></p><p>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).</p><p></p><p>I really need as much testing feedback as possible: </p><ul> <li data-xf-list-type="ul">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!)<br /> </li> <li data-xf-list-type="ul">Please test <u>all</u> contained skins for such issues and post screenshots here</li> <li data-xf-list-type="ul">(BlueVision cannot be tested yet, I need to create a matching build before)</li> </ul><p>[USERGROUP=40]@Testers[/USERGROUP] [USERGROUP=38]@Designers[/USERGROUP]</p><p></p><p>[USERGROUP=39]@Developers[/USERGROUP] , mainly [USER=140174]@Stéphane Lenclud[/USER] 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". </p><p></p><p>The render starts here, coming with 2 inputs: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/ContentManagement/AssetCore/EffectAssetCore.cs#L195-L197" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/ContentManagement/AssetCore/EffectAssetCore.cs#L195-L197</a>.</p><p></p><p>The calling code is the ImageContext, StartRenderTransition:</p><p><a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Rendering/ImageContext.cs#L218-L243" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Rendering/ImageContext.cs#L218-L243</a></p><p></p><p>The ImageTransitionEffect is defined here: <a href="https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Controls/Visuals/Effects2D/ImageTransitionEffect.cs#L67" target="_blank">https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Controls/Visuals/Effects2D/ImageTransitionEffect.cs#L67</a>. The attributes on member properties are used for SharpDX parameter mappings to the data structure (is set as "Constant Buffer" to the shader(s)).</p><p></p><p>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 <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> It also could be a problem with the later combined shader sub functions for transitions (they are selected randomly).</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1134882, member: 48495"] 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: [LIST] [*]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 [U]all[/U] contained skins for such issues and post screenshots here [*](BlueVision cannot be tested yet, I need to create a matching build before) [/LIST] [USERGROUP=40]@Testers[/USERGROUP] [USERGROUP=38]@Designers[/USERGROUP] [USERGROUP=39]@Developers[/USERGROUP] , mainly [USER=140174]@Stéphane Lenclud[/USER] 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: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/ContentManagement/AssetCore/EffectAssetCore.cs#L195-L197[/URL]. The calling code is the ImageContext, StartRenderTransition: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Rendering/ImageContext.cs#L218-L243[/URL] The ImageTransitionEffect is defined here: [URL]https://github.com/MediaPortal/MediaPortal-2/blob/FEAT_DX11_D2D_v4/MediaPortal/Source/UI/SkinEngine/Controls/Visuals/Effects2D/ImageTransitionEffect.cs#L67[/URL]. 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). [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
General
Concept: Switch MP2 to D3D11/D2D rendering
Contact us
RSS
Top
Bottom