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
Quality Assurance
Bugreports
Archive
MediaPortal Invisible on Resume from Hibernate
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: 1197577" data-attributes="member: 60104"><p>It seems that we can't have 'IDirect3DDevice9::CreateAdditionalSwapChain' method on C#.</p><p></p><p>Still my simulation doesn't exactly what [USER=49299]@rmeredit[/USER] get in log but like MPC-HC / DVBViewer handle that correctly, we should be able to do it with MP but in my case after disable/enable the card, MP can't get the list of GPU card who was disabled.</p><p></p><p>I have added logs : </p><p></p><p>[code][2016-10-06 20:22:12,451] [Log ] [MPMain ] [DEBUG] - D3D: Init()</p><p>[2016-10-06 20:22:13,616] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:22:14,368] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:15,054] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:15,058] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10</p><p>[2016-10-06 20:22:15,059] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #1: - Driver: (0.0.0.0) - DeviceName:</p><p>[2016-10-06 20:22:15,059] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #2: - Driver: (0.0.0.0) - DeviceName:</p><p>[2016-10-06 20:22:24,929] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:22:25,622] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:26,224] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:26,245] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Enumeration Settings - retry 0</p><p>[2016-10-06 20:22:26,808] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:22:27,405] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:28,008] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:28,011] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter info - retry #0</p><p>[2016-10-06 20:22:28,659] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:22:29,263] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:29,901] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information :</p><p>[2016-10-06 20:22:30,525] [Log ] [MPMain ] [DEBUG] - D3D: FindAdapterForScreen Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10</p><p>[2016-10-06 20:22:31,253] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter #0: NVIDIA GeForce GTX 460 - retry #1[/code]</p><p></p><p>Against when on MP start : </p><p>[code][2016-10-06 20:19:17,341] [Log ] [MPMain ] [DEBUG] - D3D: Init()</p><p>[2016-10-06 20:19:18,058] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:19:18,718] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:19,526] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:19,535] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10</p><p>[2016-10-06 20:19:19,536] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #1: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY85</p><p>[2016-10-06 20:19:19,536] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #2: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY86</p><p>[2016-10-06 20:19:19,941] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:19:20,303] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:20,612] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:20,613] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Enumeration Settings - retry 0</p><p>[2016-10-06 20:19:29,481] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:19:30,238] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:30,982] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:30,984] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter info - retry #0</p><p>[2016-10-06 20:19:35,303] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460</p><p>[2016-10-06 20:19:35,885] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:36,173] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000</p><p>[2016-10-06 20:19:36,427] [Log ] [MPMain ] [DEBUG] - D3D: FindAdapterForScreen Adapter #2: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY86</p><p>[2016-10-06 20:19:36,800] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter #2: Intel(R) HD Graphics 4000 - retry #1[/code]</p><p></p><p>We can see clearly that Intel(R) HD Graphics 4000 is no more detected until MP restart.</p><p></p><p>So we have both thing to fix :</p><p>- When GPU hung -> add a restart of MP because for now it's not possible to retrieve GPU card list and other information from 'Microsoft.DirectX.Direct3D.Manager.Adapters'</p><p>- Trying to fix render target etc. (or have a wait loop with a timeout and trying to properly release it until all was ok and let MP rendering)</p></blockquote><p></p>
[QUOTE="Sebastiii, post: 1197577, member: 60104"] It seems that we can't have 'IDirect3DDevice9::CreateAdditionalSwapChain' method on C#. Still my simulation doesn't exactly what [USER=49299]@rmeredit[/USER] get in log but like MPC-HC / DVBViewer handle that correctly, we should be able to do it with MP but in my case after disable/enable the card, MP can't get the list of GPU card who was disabled. I have added logs : [code][2016-10-06 20:22:12,451] [Log ] [MPMain ] [DEBUG] - D3D: Init() [2016-10-06 20:22:13,616] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:22:14,368] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:15,054] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:15,058] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10 [2016-10-06 20:22:15,059] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #1: - Driver: (0.0.0.0) - DeviceName: [2016-10-06 20:22:15,059] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #2: - Driver: (0.0.0.0) - DeviceName: [2016-10-06 20:22:24,929] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:22:25,622] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:26,224] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:26,245] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Enumeration Settings - retry 0 [2016-10-06 20:22:26,808] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:22:27,405] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:28,008] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:28,011] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter info - retry #0 [2016-10-06 20:22:28,659] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:22:29,263] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:29,901] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : [2016-10-06 20:22:30,525] [Log ] [MPMain ] [DEBUG] - D3D: FindAdapterForScreen Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10 [2016-10-06 20:22:31,253] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter #0: NVIDIA GeForce GTX 460 - retry #1[/code] Against when on MP start : [code][2016-10-06 20:19:17,341] [Log ] [MPMain ] [DEBUG] - D3D: Init() [2016-10-06 20:19:18,058] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:19:18,718] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:19,526] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:19,535] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #0: NVIDIA GeForce GTX 460 - Driver: nvd3dum.dll (10.18.13.6839) - DeviceName: \\.\DISPLAY10 [2016-10-06 20:19:19,536] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #1: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY85 [2016-10-06 20:19:19,536] [Log ] [MPMain ] [DEBUG] - D3D: Init Adapter #2: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY86 [2016-10-06 20:19:19,941] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:19:20,303] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:20,612] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:20,613] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Enumeration Settings - retry 0 [2016-10-06 20:19:29,481] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:19:30,238] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:30,982] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:30,984] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter info - retry #0 [2016-10-06 20:19:35,303] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : NVIDIA GeForce GTX 460 [2016-10-06 20:19:35,885] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:36,173] [Log ] [MPMain ] [DEBUG] - D3DEnumeration ai.Information : Intel(R) HD Graphics 4000 [2016-10-06 20:19:36,427] [Log ] [MPMain ] [DEBUG] - D3D: FindAdapterForScreen Adapter #2: Intel(R) HD Graphics 4000 - Driver: igdumdim32.dll (10.18.10.4425) - DeviceName: \\.\DISPLAY86 [2016-10-06 20:19:36,800] [Log ] [MPMain ] [DEBUG] - D3D: Starting and find Adapter #2: Intel(R) HD Graphics 4000 - retry #1[/code] We can see clearly that Intel(R) HD Graphics 4000 is no more detected until MP restart. So we have both thing to fix : - When GPU hung -> add a restart of MP because for now it's not possible to retrieve GPU card list and other information from 'Microsoft.DirectX.Direct3D.Manager.Adapters' - Trying to fix render target etc. (or have a wait loop with a timeout and trying to properly release it until all was ok and let MP rendering) [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Quality Assurance
Bugreports
Archive
MediaPortal Invisible on Resume from Hibernate
Contact us
RSS
Top
Bottom