View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]
ryrynz
8th April 2015, 22:50
I notice when theres some subtitle selection in the LAV Spliter tray icon menu then the subtitle will not display in the player.
Can you upload a sample?
By the way where are the settings of MPDN saved?
%localappdata%\MediaPlayerDotNet
Zachs
8th April 2015, 23:58
Yup. I'll need a sample to work out if it's anything wrong with MPDN's subtitle loading.
Zachs
9th April 2015, 04:44
Hi guys,
I need some testers as I'd like to find out how well DirectX-OpenCL memory sharing works across the different cards out there.
You'll need a GPU that supports OpenCL obviously.
If you have multiple GPUs on your system, you can pass the exe file an integer command line argument to specify which adapter (in the same order as older versions of MPDN). E.g. DxClTest.exe 2.
If the GPU selected doesn't support OpenCL, the app will terminate immediately. If it runs, let it run for around 2 minutes (treat it like a benchmark and make sure no other apps are running and don't touch your mouse / keyboard when it's running) and let me know the min/max FPS over that duration.
I'd appreciate it if you could provide me with the following info,
1) Min/max FPS over 2 minutes.
2) Which GPU did you test it on (e.g. Intel HD 4000, Nvidia GTX 560).
Finally, here's the tester in a zip archive (http://www.zachsaw.com/downloads/mpdn_test/DxClTest5.zip).
If it terminates immediately but you know your GPU supports OpenCL 1.2 with DX memory sharing extension, then you could run DebugView and report the error message.
Cheers!
ryrynz
9th April 2015, 04:57
If the GPU selected doesn't support OpenCL, the app will terminate immediately.
I guess my 750Ti doesn't support OpenCL..:D
Zachs
9th April 2015, 04:59
I guess my 750Ti doesn't support OpenCL..:D
Hmm, strange. My HD4000 worked fine though. Can you run DebugView and see if you get any debug messages from that test app? Also give it a different adapter ID (try your Intel adapter) and see if it works?
ryrynz
9th April 2015, 05:09
OpenCL 1.2 available
Failed to init OpenCl for Dx9 memory sharing
HD4600 is disabled currently.
Scyna
9th April 2015, 05:18
Amd 290 261/455
Zachs
9th April 2015, 05:38
OpenCL 1.2 available
Failed to init OpenCl for Dx9 memory sharing
HD4600 is disabled currently.
Could you run this new version (http://www.zachsaw.com/downloads/mpdn_test/DxClTest2.zip) with DebugView and let me know what the error code is?
ryrynz
9th April 2015, 05:58
Could you run this new version (http://www.zachsaw.com/downloads/mpdn_test/DxClTest2.zip) with DebugView and let me know what the error code is?
Error 0.
Zachs
9th April 2015, 06:02
Error 0.
Looks like your OpenCL driver is reporting that it hasn't got the extensions for DX9/OpenCL memory sharing. Weird.
Anyone else with Nvidia GPU facing the same problem?
patul
9th April 2015, 06:34
HD4000
[3152] OpenCL 1.2 is available
[3152] Failed to init OpenCL for Dx9 memory sharing, error 0
Zachs
9th April 2015, 06:37
HD4000
[3152] OpenCL 1.2 is available
[3152] Failed to init OpenCL for Dx9 memory sharing, error 0
Can you make sure your drivers are up to date? I had the same problem with my Intel HD P4600 before I updated to the latest driver.
ryrynz
9th April 2015, 07:14
Can you make sure your drivers are up to date? I had the same problem with my Intel HD P4600 before I updated to the latest driver.
Heh. That's what I've been doing.. they're always up to date, was running 350.05 at first then I reverted to 347.88 to test again. I've even done a clean install.. no dice.
patul
9th April 2015, 07:21
Can you make sure your drivers are up to date? I had the same problem with my Intel HD P4600 before I updated to the latest driver.
Updated to non manufacturer driver (latest).
Intel HD4000 306/316
Zachs
9th April 2015, 07:26
Updated to non manufacturer driver (latest).
Intel HD4000 306/316
Cool! Exactly the same as what I get then.
Zachs
9th April 2015, 07:28
Heh. That's what I've been doing.. they're always up to date, was running 350.05 at first then I reverted to 347.88 to test again. I've even done a clean install.. no dice.
OK here's another build (http://www.zachsaw.com/downloads/mpdn_test/DxClTest3.zip) with even more debug messages.
ryrynz
9th April 2015, 07:53
[3508] OpenCL 1.2 is available
[3508] Platform count: 2
[3508] *** Platform #0
[3508] Not the GPU that was used to create the DX9 device
[3508] *** Platform #1
[3508] OpenCL driver missing memory sharing capabilities
[3508] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
[3508] Failed to init OpenCL for Dx9 memory sharing, error 0
Deleted the ghost device of the HD4600 but it didn't change anything.
[3172] OpenCL 1.2 is available
[3172] Platform count: 1
[3172] *** Platform #0
[3172] OpenCL driver missing memory sharing capabilities
[3172] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
[3172] Failed to init OpenCL for Dx9 memory sharing, error 0
Zachs
9th April 2015, 08:18
Hmm. I'll give this a go on my Nvidia gtx 560 when I get home tonight. I'd be surprised if they really don't have that extension when the other two have it.
huhn
9th April 2015, 08:37
doesn't work with an r9 270 no error at all. just a black box that opens and closes immediately.
and openCL works 100% on this machine.
here an example that openCL clearly works and an example for the serious directx <-> openCL interop problem on all AMD cards.
http://abload.de/img/opencltestxaket.png
ryrynz
9th April 2015, 08:45
doesn't work with an r9 270 no error at all. just a black box that opens and closes immediately.
and openCL works 100% on this machine.
Run DebugView from MS and run the latest tester build (version 3) that Zach posted, be interesting to see if it's the the same issue as I have.
huhn
9th April 2015, 08:47
Run DebugView from MS and run the latest tester build (version 3) that Zach posted, be interesting to see if it's the the same issue as I have.
how does this work ?
edit: ok wasn't that hard:
00000001 0.00000000 [2796] OpenCL 1.2 is available
00000002 0.20579149 [2796] Platform count: 2
00000003 0.20582041 [2796] *** Platform #0
00000004 0.20598039 [2796] Not the GPU that was used to create the DX9 device
00000005 0.20601714 [2796] *** Platform #1
00000006 0.20605360 [2796] Not the GPU that was used to create the DX9 device
00000007 0.20608492 [2796] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000008 0.20611626 [2796] Failed to init OpenCL for Dx9 memory sharing, error 0
Mat Rempit
9th April 2015, 09:07
GTX 860m/HD 4600 here. Got this from DebugView when attempting to run DxClTest3 on my Nvidia GPU:
[10408] OpenCL 1.2 is available
[10408] Platform count: 2
[10408] *** Platform #0
[10408] Not the GPU that was used to create the DX9 device
[10408] *** Platform #1
[10408] OpenCL driver missing memory sharing capabilities
[10408] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
[10408] Failed to init OpenCL for Dx9 memory sharing, error 0
HD4600 works fine though, fps(196.81,188.036).
ryrynz
9th April 2015, 09:16
Wonder why Scyna's AMD 290 works with the test tool but Huhn's 270 doesn't =/
Anyway, glad I'm not alone.. :D
Zachs
9th April 2015, 09:21
How many GPUs do you guys have on your system? Might've made a mistake in my code when there's more than one GPU that supports openCL.
ryrynz
9th April 2015, 09:34
My second test removed the second GPU, so that might rule that out..
Zachs
9th April 2015, 10:13
Any chance you'll be kind enough to give me an error log of that one with just the one GPU?
ryrynz
9th April 2015, 10:31
It was exactly the same. It just had GPU 0 rather than 0 & 1.
Zachs
9th April 2015, 11:28
Looks like Nvidia doesn't have that OpenCL extension (cl_khr_dx9_media_sharing) at all! The latest AMD and Intel drivers both have them.
ryrynz
9th April 2015, 11:31
Looks like Nvidia doesn't have that OpenCL extension (cl_khr_dx9_media_sharing) at all! The latest AMD and Intel drivers both have them.
Nice easy explanation for everyone other than huhn :)
nevcairiel
9th April 2015, 11:38
NVIDIA's 1.2 support is rather new, there isn't even a proper release driver with OpenCL 1.2 support yet, so I wouldn't expect too much from it, not to mention extensions.
huhn
9th April 2015, 11:39
the iGPU driver are installed but shouldn't be active.
maybe the issue with with windows 10?
i check my nvidia PC now.
Zachs
9th April 2015, 11:42
the iGPU driver are installed but shouldn't be active.
maybe the issue with with windows 10?
i check my nvidia PC now.
You can check if your driver has that extension using this software - http://www.geeks3d.com/20150127/gpu-caps-viewer-1-23-0-released/
I can confirm that Nvidia drivers don't have it...
nevcairiel
9th April 2015, 11:46
I don't suppose you can just use cl_nv_d3d9_sharing instead? :d
huhn
9th April 2015, 11:49
00000001 0.00000000 [2952] OpenCL 1.2 is available
00000002 0.02042571 [2952] Platform count: 2
00000003 0.02048539 [2952] *** Platform #0
00000004 0.02055941 [2952] Not the GPU that was used to create the DX9 device
00000005 0.02059452 [2952] *** Platform #1
00000006 0.02062904 [2952] OpenCL driver missing memory sharing capabilities
00000007 0.02066035 [2952] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000008 0.02072910 [2952] Failed to init OpenCL for Dx9 memory sharing, error 0
it's the same with my nvidia pc this is driver 349.90.but if this extension is needed nothing new i guess. i can check my AMD system later when my calibration is finished there.
Zachs
9th April 2015, 11:49
I could, but it's a bit of a hassle since I only have an Nvidia card capable of that extension when I am home...
Do you know if v350.05 which adds support for OpenCL 1.2 has that extension?
EDIT: Nope. Just downloaded it myself and it doesn't even have support for OpenCL 1.2.
huhn
9th April 2015, 11:54
yes it does and cl_nv_d3d10_sharing, cl_nv_d3d11_sharing and cl_khr_d3d10_sharing
edit: screen added my knowledge is pretty bad in this type of PC stuff.
http://abload.de/img/nvextensionsqxu36.png
huhn
9th April 2015, 11:56
I could, but it's a bit of a hassle since I only have an Nvidia card capable of that extension when I am home...
Do you know if v350.05 which adds support for OpenCL 1.2 has that extension?
EDIT: Nope. Just downloaded it myself and it doesn't even have support for OpenCL 1.2.
350.05 is the first none windows 10 version with openCL 1.2
nevcairiel
9th April 2015, 12:00
350.05 does not have cl_khr_dx9_media_sharing, but it does have a long list of other sharing extensions, like cl_nv_d3d9_sharing, cl_nv_d3d10_sharing, cl_nv_d3d11_sharing and cl_khr_d3d10_sharing
It does claim OpenCL 1.2, too.
Zachs
9th April 2015, 12:09
Not according to GPU caps viewer - it is only OpenCL 1.1.
cl_khr_d3d9_sharing is what I need - not d3d10. It's a shame that Nvidia is the only one that left it out.
nevcairiel
9th April 2015, 12:10
http://i.imgur.com/bR0qTlP.png
Looks like 1.2 to me.
PS:
I couldn't find any mention of cl_khr_d3d9_sharing in any official documentation, only 10.
And nothing stopping you from implementing the nv extensions. Welcome to the world of Open(G|C)L. So open that everyone has their own extension instead of standards. :D
At least they register their extensions with khronos, so that the specs for those are available on the official website. ;)
Zachs
9th April 2015, 12:35
It may only be for Titan X then. My GTX 560 is still showing OpenCL 1.1.
Sorry, I meant cl_khr_dx9_media_sharing :P
PS. Does anyone have an unwanted Fermi or newer card lying around they wanna contribute to the development of MPDN? :)
nevcairiel
9th April 2015, 12:37
560/Fermi is relatively old, maybe Maxwell only, or Kepler and up. Definitely not Titan X only. ;)
Zachs
9th April 2015, 12:39
Just out of curiosity, does it have cl_khr_dx9_media_sharing in the extensions?
huhn
9th April 2015, 12:57
You can check if your driver has that extension using this software - http://www.geeks3d.com/20150127/gpu-caps-viewer-1-23-0-released/
I can confirm that Nvidia drivers don't have it...
cl_khl_dx9_media_sharing is listed for my r9 270
Zachs
9th April 2015, 13:01
cl_khl_dx9_media_sharing is listed for my r9 270
And that test app still failed? Did you give it the right adapter ID?
huhn
9th April 2015, 13:13
And that test app still failed? Did you give it the right adapter ID?
i tried 0-4. it crashes with 2-4 and it simply closes with 0-1.
is there a way to find out what the right id is?
my amd is PCI bus 1, device 0, function 0
my intel 4400 is PCI bus 0, device 2, function 0
Zachs
9th April 2015, 13:28
i tried 0-4. it crashes with 2-4 and it simply closes with 0-1.
is there a way to find out what the right id is?
my amd is PCI bus 1, device 0, function 0
my intel 4400 is PCI bus 0, device 2, function 0
0 is your primary, 1 is your secondary.
huhn
9th April 2015, 13:42
0 is your primary, 1 is your secondary.
i disconnected my AMD and connected my intel HD 4400 and 0 works as intended:
at default window size it is 282.
changing back to my AMD r9 270 and using 1 still doesn't work.
it try to disable the intel in the bios later.
edit: still doesn't work with my AMD.
Zachs
9th April 2015, 15:20
Well I managed to hack together something for Nvidia using their own extension (it comes with a lot of limitations vs the official extension) but it's appallingly slow! It's around 56fps vs AMD/Intel's 300-400 range.
Is there a driver version that works better for Nvidia?
Scyna
9th April 2015, 15:45
I have amd 290 and intel hd running on my desktop at the same time.
I had to do "DxClTest.exe 2" to work. 1 didn't work for me.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.