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 1
Area 51 - Testing Area
madVR support in MP1
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="Sebastiii" data-source="post: 1190586" data-attributes="member: 60104"><p>Hi <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>From DXVA Native : </p><p>[code][2016-07-12 01:38:57,271] [ 0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:1072b160</p><p>[2016-07-12 01:38:57,784] [ 0] [1318] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:1072b160</p><p>[2016-07-12 01:38:59,255] [ 0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:00,139] [ 0] [ 58] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:05,181] [ 0] [ 300] - MPMadPresenter::OsdSetRenderCallback</p><p>[2016-07-12 01:39:05,181] [ 0] [ 300] - MPMadPresenter::SetDevice() pD3DDev : 0x:1072b160</p><p>[2016-07-12 01:39:05,360] [ 0] [13e0] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:05,502] [ 0] [ d40] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:05,642] [ 0] [ ecc] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:05,772] [ 0] [1198] - MadSubtitleProxy::SetDevice() device : 0x:0</p><p>[2016-07-12 01:39:05,897] [ 0] [ 888] - MadSubtitleProxy::SetDevice() device : 0x:0[/code]</p><p></p><p>We can see here that madVR reset the D3D device (SetDevice() device : 0x:0) but i didn't succeed to react on this (it reset it because it's needed and because something is not ready etc.)</p><p></p><p>From DXVA Copy Back :</p><p>[code][2016-07-12 01:40:10,600] [ 0] [ 9fc] - MadSubtitleProxy::SetDevice() device : 0x:10a97880</p><p>[2016-07-12 01:40:10,698] [ 0] [ 9fc] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:10a97880</p><p>[2016-07-12 01:40:10,704] [ 0] [ 150] - MPMadPresenter::OsdSetRenderCallback</p><p>[2016-07-12 01:40:10,704] [ 0] [ 150] - MPMadPresenter::SetDevice() pD3DDev : 0x:10a97880[/code]</p><p>This is correct because madVR didn't need to reset something.</p><p></p><p>The reset happen for sure when it's 3D movie or when going from 3D to 2D for ex.</p><p></p><p>If we can react to that it's would be great.</p><p></p><p>From what i'm thinking, when madVR reset the device, we need to render something (black or whatever) to let madVR recreate the device. But we already set the OSD callback and then a second callback in the same instance lead to crash. So don't know how to do <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1190586, member: 60104"] Hi :) From DXVA Native : [code][2016-07-12 01:38:57,271] [ 0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:1072b160 [2016-07-12 01:38:57,784] [ 0] [1318] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:1072b160 [2016-07-12 01:38:59,255] [ 0] [1318] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:00,139] [ 0] [ 58] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:05,181] [ 0] [ 300] - MPMadPresenter::OsdSetRenderCallback [2016-07-12 01:39:05,181] [ 0] [ 300] - MPMadPresenter::SetDevice() pD3DDev : 0x:1072b160 [2016-07-12 01:39:05,360] [ 0] [13e0] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:05,502] [ 0] [ d40] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:05,642] [ 0] [ ecc] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:05,772] [ 0] [1198] - MadSubtitleProxy::SetDevice() device : 0x:0 [2016-07-12 01:39:05,897] [ 0] [ 888] - MadSubtitleProxy::SetDevice() device : 0x:0[/code] We can see here that madVR reset the D3D device (SetDevice() device : 0x:0) but i didn't succeed to react on this (it reset it because it's needed and because something is not ready etc.) From DXVA Copy Back : [code][2016-07-12 01:40:10,600] [ 0] [ 9fc] - MadSubtitleProxy::SetDevice() device : 0x:10a97880 [2016-07-12 01:40:10,698] [ 0] [ 9fc] - MadSubtitleProxy::Render() SetNewDevice for D3D and subtitle : 0x:10a97880 [2016-07-12 01:40:10,704] [ 0] [ 150] - MPMadPresenter::OsdSetRenderCallback [2016-07-12 01:40:10,704] [ 0] [ 150] - MPMadPresenter::SetDevice() pD3DDev : 0x:10a97880[/code] This is correct because madVR didn't need to reset something. The reset happen for sure when it's 3D movie or when going from 3D to 2D for ex. If we can react to that it's would be great. From what i'm thinking, when madVR reset the device, we need to render something (black or whatever) to let madVR recreate the device. But we already set the OSD callback and then a second callback in the same instance lead to crash. So don't know how to do :( [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Area 51 - Testing Area
madVR support in MP1
Contact us
RSS
Top
Bottom