View Full Version : Media Player .NET (MPDN) - D3D HQ GPU Video Renderer [v2.49.0/v1.31.0 27 Dec 2018]
Zachs
10th April 2015, 00:55
Did 3 not work as well? It is exactly the same as 2 only with more debug messages.
Zachs
10th April 2015, 05:01
OK guys, here's another OpenCL test app (http://www.zachsaw.com/downloads/mpdn_test/DxClTest4.zip).
Debug log now prints the extensions supported as well as the GPU name of your chosen adapterID.
More importantly, I've added Nvidia GPU support. Could you guys with Nvidia GPU (as well as the Optimus guys) give it a go and report back?
As before, I'm interested in min/max frame rate and your GPU model.
Oh and if you don't see flickering / flashing square then it isn't actually working.
Cheers!
ryrynz
10th April 2015, 05:31
Geforce 820M 56 FPS
Geforce 840M 66 FPS
Geforce 850M 109 FPS (updated to 350.05 driver and gained 3FPS)
Not much fluctuation in frame rates.
Zachs
10th April 2015, 05:33
Wow that's quite slow compared to even Intel GPUs.
These are Optimus systems right? What does GPU-Z say about GPU load?
ryrynz
10th April 2015, 05:39
Yup. 83 to 85% for both.
Surprisingly the 820M and the 840M have the exact same performance in this test. *edit* Was testing another 840M..
Zachs
10th April 2015, 05:49
Not very surprising if they both have the same amount of memory bandwidth :)
ryrynz
10th April 2015, 06:13
Actually tested another 840M (should've double checked) Same memory bandwidth as the 840M yeah, the 820M gets 56 FPS.
A few FPS seed boost using 350.05 drivers.
Scyna
10th April 2015, 06:22
394/404 i did DxClTest.exe 2. only 2 would work out of 0-4. the others would crash it. I had amd 290 and intel hd on here. I'm not sure how to tell which gpu ran that or how to see debug. nm my msi afterburner shows activity with the intel hd so i don't know how to get it to work with my amd.
Anima123
10th April 2015, 06:25
HD 4600: 194.xx fps
My laptop has Optimus and it seems unable to use the nVidia 880M on the test program, as GPU-Z indicated.
Edit: In the FineSharp thread, you mentioned:
Yes this change would be necessary for MPDN's UNORM (which is the default now) texture too.
Is that modification necessary? I didn't see corresponding changes made with render script.
Zachs
10th April 2015, 06:28
Ah I don't think you had it running on AMD at all then.
Can you try running the latest test app and run DebugView in the background?
When you run DxClTest.exe 0 (try all 0-4), it'll spit out debug messages in your DebugView window. The first line should say which adapter it is running on. When you find out which is the right AMD adapter ID, could you paste the log here for me?
Zachs
10th April 2015, 06:29
HD 4600: 194.xx fps
My laptop has Optimus and it seems unable to use the nVidia 880M on the test program, as GPU-Z indicated.
I think you have to set the app to use Optimus specifically in your Optimus tray icon.
Anima123
10th April 2015, 06:30
I think you have to set the app to use Optimus specifically in your Optimus tray icon.
I did set 3D settings in the nVidia Control panel, which didn't work. What's the Optimus tray icon?
Edit: From what GPU-Z told me, the test app uses nVidia 880M for a few seconds before it fall back to the HD 4600.
Zachs
10th April 2015, 06:33
I did set 3D settings in the nVidia Control panel, which didn't work. What's the Optimus tray icon?
Edit: From what GPU-Z told me, the test app uses nVidia 880M for a few seconds before it fall back to the HD 4600.
There's a tray icon that allows you to select which app to run in high performance mode - do you not have that?
Scyna
10th April 2015, 06:34
How do i see the DebugView window?
Zachs
10th April 2015, 06:34
In the FineSharp thread, you mentioned:
Is that modification necessary? I didn't see corresponding changes made with render script.
Yes, otherwise it will not work with MPDN's render quality set to Quality mode (High quality and performance modes are fine).
Zachs
10th April 2015, 06:35
How do i see the DebugView window?
Download it :)
https://technet.microsoft.com/en-us/library/bb896647.aspx
ryrynz
10th April 2015, 06:35
Radeon M265X 320 - 330 FPS.
Scyna
10th April 2015, 06:43
ok heres the log
number 0
00000001 0.00000000 [54500] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000002 0.02059710 [54500] OpenCL is available
00000003 0.21124578 [54500] Platform count: 2
00000004 0.21126309 [54500] *** Platform #0
00000005 0.21129417 [54500] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000006 0.21130730 [54500] Found KHR mem sharing extension
00000007 0.21133956 [54500] Not the GPU that was used to create the DX9 device
00000008 0.21135221 [54500] *** Platform #1
00000009 0.21142387 [54500] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000010 0.21143784 [54500] Found KHR mem sharing extension
00000011 0.21149036 [54500] Not the GPU that was used to create the DX9 device
00000012 0.21150286 [54500] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000013 0.21152897 [54500] Failed to init OpenCL for Dx9 memory sharing, error 0
number 1
00000001 0.00000000 [57100] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000002 0.02235969 [57100] OpenCL is available
00000003 0.26790410 [57100] Platform count: 2
00000004 0.26792377 [57100] *** Platform #0
00000005 0.26795542 [57100] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000006 0.26796749 [57100] Found KHR mem sharing extension
00000007 0.26801911 [57100] Not the GPU that was used to create the DX9 device
00000008 0.26805118 [57100] *** Platform #1
00000009 0.26812592 [57100] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000010 0.26814377 [57100] Found KHR mem sharing extension
00000011 0.26819196 [57100] Not the GPU that was used to create the DX9 device
00000012 0.26821083 [57100] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000013 0.26823172 [57100] Failed to init OpenCL for Dx9 memory sharing, error 0
Anima123
10th April 2015, 06:47
There's a tray icon that allows you to select which app to run in high performance mode - do you not have that?
With my laptop, the only way to do that is through nVidia Settings.
Zachs
10th April 2015, 06:57
ok heres the log
What OS are you running?
Scyna
10th April 2015, 07:08
windows 8.1 64x
ryrynz
10th April 2015, 07:09
AMD M260 170 - 183 FPS
Nvidia 750 Ti 180 FPS, 70% GPU load, 47% Memory controller load.
Overclocking 200 MHz on the core and 250MHz on the memory only gained me 8 FPS.
Zachs
10th April 2015, 08:07
OK guys, here's a new tester (http://www.zachsaw.com/downloads/mpdn_test/DxClTest5.zip). It should improve Nvidia's framerate by quite a large margin (other GPUs should benefit as well) so please give it another try.
Zachs
10th April 2015, 08:09
ok heres the log
It appears that the AMD driver reported two platforms but neither will work with the Direct3D device. I'll try to figure out what is going on.
EDIT: Can you run the latest tester with DebugView again? I'd like to see what the new log says.
ryrynz
10th April 2015, 08:21
Nvidia 750 Ti 480 FPS default, 528 FPS overlocked. Quite the jump..
90% GPU load, 85% Memory controller load.
nevcairiel
10th April 2015, 08:27
1350 fps on my TITAN X, nice jump. ;)
huhn
10th April 2015, 09:20
nvidia GTX 760
880-886
i will try my AMD now.
huhn
10th April 2015, 09:31
00000002 11.41599751 [460] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000003 11.46118355 [460] OpenCL is available
00000004 11.65129471 [460] Platform count: 2
00000005 11.65131569 [460] *** Platform #0
00000006 11.65141201 [460] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000007 11.65143967 [460] Found KHR mem sharing extension
00000008 11.65151119 [460] Not the GPU that was used to create the DX9 device
00000009 11.65153790 [460] *** Platform #1
00000010 11.65156460 [460] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000011 11.65157604 [460] Found KHR mem sharing extension
00000012 11.65160370 [460] Not the GPU that was used to create the DX9 device
00000013 11.65162563 [460] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000014 11.65165138 [460] Failed to init OpenCL for Dx9 memory sharing, error 0
yeah...
Zachs
10th April 2015, 09:33
Did you test with test5? It doesn't have a debug message that I have added...
huhn
10th April 2015, 10:11
Did you test with test5? It doesn't have a debug message that I have added...
this is 5 even the folder is called DxClTest5.
here a new debug:
00000001 0.00000000 [5356] *** Using D3D9 adapter: ?øWuìû
00000002 9.16881275 [4592] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000003 9.20585537 [4592] OpenCL is available
00000004 9.39220238 [4592] Platform count: 2
00000005 9.39222336 [4592] *** Platform #0
00000006 9.39232159 [4592] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000007 9.39234924 [4592] Found KHR mem sharing extension
00000008 9.39242458 [4592] Not the GPU that was used to create the DX9 device
00000009 9.39245129 [4592] *** Platform #1
00000010 9.39247799 [4592] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000011 9.39250469 [4592] Found KHR mem sharing extension
00000012 9.39252949 [4592] Not the GPU that was used to create the DX9 device
00000013 9.39253807 [4592] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000014 9.39256191 [4592] Failed to init OpenCL for Dx9 memory sharing, error 0
i have to use 0 even through this should be wrong but 1-5 just crashes.
Zachs
10th April 2015, 10:16
That's really strange. The debug log doesn't even have the error messages I added for DxClTest5. I'll upload another one later to be sure.
Zachs
10th April 2015, 11:53
OK I've just uploaded DxClTest6.zip (http://zachsaw.com/downloads/mpdn_test/DxClTest6.zip). Can you give that a try on the AMD?
EDIT: Can you also give DxClTest7 (http://zachsaw.com/downloads/mpdn_test/DxClTest7.zip) a try? (I don't have an AMD card capable of OpenCL with that extension so it's a little hard for me to work out what is wrong)
nekromantik
10th April 2015, 12:05
On my GTX860m Im getting around 430fps
edit: Tried it on test5 and got higher result!
Zachs
10th April 2015, 12:07
630-640fps on my GTX560 :)
huhn
10th April 2015, 12:51
OK I've just uploaded DxClTest6.zip (http://zachsaw.com/downloads/mpdn_test/DxClTest6.zip). Can you give that a try on the AMD?
EDIT: Can you also give DxClTest7 (http://zachsaw.com/downloads/mpdn_test/DxClTest7.zip) a try? (I don't have an AMD card capable of OpenCL with that extension so it's a little hard for me to work out what is wrong)
6:
00000001 0.00000000 [2312] *** Using D3D9 adapter: ?øWuüAZu\Xu¦
00000002 12.07929420 [2552] *** Using D3D9 adapter: ?þ=
00000003 22.51970100 [5864] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000004 22.55743027 [5864] OpenCL is available
00000005 23.02622986 [5864] Platform count: 2
00000006 23.02625275 [5864] *** Platform #0
00000007 23.02634621 [5864] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000008 23.02637482 [5864] Found KHR mem sharing extension
00000009 23.02644730 [5864] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000010 23.02647400 [5864] Not the GPU that was used to create the DX9 device
00000011 23.02648926 [5864] *** Platform #1
00000012 23.02651978 [5864] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000013 23.02653122 [5864] Found KHR mem sharing extension
00000014 23.02656174 [5864] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000015 23.02658272 [5864] Not the GPU that was used to create the DX9 device
00000016 23.02660370 [5864] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000017 23.02662659 [5864] Failed to init OpenCL for Dx9 memory sharing, error 0
7:
00000001 0.00000000 [5616] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000002 0.04256799 [5616] OpenCL is available
00000003 0.23263597 [5616] Platform count: 2
00000004 0.23265587 [5616] *** Platform #0
00000005 0.23275588 [5616] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000006 0.23278330 [5616] Found KHR mem sharing extension
00000007 0.23286042 [5616] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000008 0.23288633 [5616] Not the GPU that was used to create the DX9 device
00000009 0.23291224 [5616] *** Platform #1
00000010 0.23293784 [5616] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000011 0.23294748 [5616] Found KHR mem sharing extension
00000012 0.23297732 [5616] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000013 0.23299961 [5616] Not the GPU that was used to create the DX9 device
00000014 0.23302069 [5616] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000015 0.23304479 [5616] Failed to init OpenCL for Dx9 memory sharing, error 0
Zachs
10th April 2015, 13:09
Hmm for some reason the AMD driver doesn't match the OpenCL platform with the Direct3D device even though it's been created on that GPU. I'll see if I can get my 4350 to work.
Zachs
10th April 2015, 13:18
Just to confirm, does it work when you choose the Intel adapter?
EDIT:
Looking back at your posts, I think you're using DxClTest.exe incorrectly.
If you have two GPUs on your system (AMD and Intel) where AMD is your primary, you should run
DxClTest.exe 0
You can then test it out on your Intel GPU by running
DxClTest.exe 1
Unless you have 6 GPUs on your system, you can't run DxClTest.exe 5.
When I said Test5, I meant DxClTest5.zip, not running it with an argument of 5.
huhn
10th April 2015, 13:30
Just to confirm, does it work when you choose the Intel adapter?
when i connect my intel yes.
http://forum.doom9.org/showpost.php?p=1716773&postcount=1650
the intel is just running in headless mode.
i just connected my intel and run version 7: it is slower with ~256-275 FPS.
madshi openCLspeedtest tool works totally fine on my AMD and Intel. so openCL should work in general and the same dx9 <-> openCL interop is mostly likely tested.
huhn
10th April 2015, 13:32
Just to confirm, does it work when you choose the Intel adapter?
EDIT:
Looking back at your posts, I think you're using DxClTest.exe incorrectly.
If you have two GPUs on your system (AMD and Intel) where AMD is your primary, you should run
You can then test it out on your Intel GPU by running
Unless you have 6 GPUs on your system, you can't run DxClTest.exe 5.
When I said Test5, I meant DxClTest5.zip, not running it with an argument of 5.
i tested all numbesr from 1-5 none worked they simply crashed and like i said 1 should be correct but simply no chance.
Zachs
10th April 2015, 13:33
When you said it crashed, did it spit out any error messages in DebugView at all?
EDIT: DxClTest8.zip (http://zachsaw.com/downloads/mpdn_test/DxClTest8.zip) will now spit out an error and terminate gracefully if you give it an out of range adapter ID.
huhn
10th April 2015, 13:37
When you said it crashed, did it spit out any error messages in DebugView at all?
00000001 0.00000000 [5608] *** Using D3D9 adapter: `ùWu¼ú(
00000002 0.00003675 [5608] OpenCL is available
00000003 0.22444552 [5608] Platform count: 2
00000004 0.22447082 [5608] *** Platform #0
00000005 0.22456332 [5608] Extensions: cl_intel_dx9_media_sharing cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_d3d11_sharing cl_khr_depth_images cl_khr_dx9_media_sharing cl_khr_gl_sharing cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_spir
00000006 0.22458711 [5608] Found KHR mem sharing extension
huhn
10th April 2015, 13:42
EDIT: DxClTest8.zip (http://zachsaw.com/downloads/mpdn_test/DxClTest8.zip) will now spit out an error and terminate gracefully if you give it an out of range adapter ID.
tested 0-5
all report invalid adapter except 0 which should be the intel.
Zachs
10th April 2015, 13:43
Direct3D is reporting gibberish as your Intel GPU adapter name (e.g. mine says Intel HD Graphics)...
Zachs
10th April 2015, 13:44
tested 0-5
all report invalid adapter except 0 which should be the intel.
Is this with your AMD card in the system or not?
There's something fundamentally wrong if Direct3D can only detect one adapter if you have both the AMD and Intel GPUs enabled.
EDIT: Anyone else with a discrete AMD card tried the app?
huhn
10th April 2015, 13:48
Direct3D is reporting gibberish as your Intel GPU adapter name (e.g. mine says Intel HD Graphics)...
http://forum.doom9.org/showpost.php?p=1716926&postcount=1693
this is with 1 which should be the AMD.
0 reports the AMD when the AMD is connected and 0 reports the intel when the intel is connected
00000036 614.51904297 [1236] *** Using D3D9 adapter: Intel(R) HD Graphics 4400
maybe they changed something in my windows 10 build. but the nvidia PC is running windows 10 to and it works with "1" perfectly. and other things like madVR nnedi3 and the test tool is working fine...
Zachs
10th April 2015, 13:54
I'm not sure I understand what you're saying - if you have just the Intel active, then yes 0 should be Intel. In that scenario, does the app work at all?
When the AMD is connected, but with Intel disabled, can you get the app to run (0 is the AMD in this case)?
ryrynz managed to run the test app with AMD mobile GPUs though, so I'm not sure what the problem is. Anyway, could you isolate the problem by running just the AMD card and see if it works at all?
huhn
10th April 2015, 14:09
I'm not sure I understand what you're saying - if you have just the Intel active, then yes 0 should be Intel. In that scenario, does the app work at all?
When the AMD is connected, but with Intel disabled, can you get the app to run (0 is the AMD in this case)?
ryrynz managed to run the test app with AMD mobile GPUs though, so I'm not sure what the problem is. Anyway, could you isolate the problem by running just the AMD card and see if it works at all?
ok let's get all informations together.
i have 1 screen A TV connected with HDMI.
my PC has 2 GPUs the intel HD4400 and the AMD r9 270.
when i simply connect the intel it works by using your tool with 0 the intel is reported and the test starts.
when i connect the AMD and run your tool using 0 it reports my AMD as the d3d device and your tool doesn't work with 0 and 1-5+ just crash.
even when the intel is disabled in the device manager it is reported as platform 0 and the AMD as platform 1
00000004 0.22374628 [1748] *** Platform #0
00000005 0.22381918 [1748] Extensions: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64 cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing
00000006 0.22384751 [1748] Found KHR mem sharing extension
00000007 0.22387823 [1748] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000008 0.22390415 [1748] Not the GPU that was used to create the DX9 device
00000009 0.22391771 [1748] *** Platform #1
00000010 0.22394782 [1748] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000011 0.22396199 [1748] Found KHR mem sharing extension
00000012 0.22399694 [1748] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
the last thing i can do is disabling the intel again (i'm not even sure if i can disable the GPU completly) in the bios and try it again but this didn't work in the past.
i never actively used both GPUs at the same time.
are you using windows 8 or newer they added GPU headless mode for these version maybe there is the problem.
huhn
10th April 2015, 14:17
i "disabled" the intel iGPU in the bios and i check the device manager. the intel wasn't listed.
but when i run your tool i get the same error:
1 0.00000000 [4132] *** Using D3D9 adapter: AMD Radeon R9 200 Series
00000002 0.04985124 [4132] OpenCL is available
00000003 0.22598872 [4132] Platform count: 2
00000004 0.22602366 [4132] *** Platform #0
00000005 0.22610079 [4132] Extensions: cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_spir cl_intel_exec_by_local_thread cl_khr_depth_images cl_khr_3d_image_writes cl_khr_fp64 cl_intel_dx9_media_sharing cl_khr_dx9_media_sharing cl_khr_d3d11_sharing cl_khr_gl_sharing
00000006 0.22612910 [4132] Found KHR mem sharing extension
00000007 0.22616556 [4132] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000008 0.22619207 [4132] Not the GPU that was used to create the DX9 device
00000009 0.22620443 [4132] *** Platform #1
00000010 0.22623274 [4132] Extensions: cl_khr_icd cl_khr_d3d10_sharing cl_khr_d3d11_sharing cl_khr_dx9_media_sharing cl_amd_event_callback cl_amd_offline_devices
00000011 0.22625533 [4132] Found KHR mem sharing extension
00000012 0.22628576 [4132] clGetDeviceIDsFromDX9MediaAdapterKHR error code: -1
00000013 0.22630836 [4132] Not the GPU that was used to create the DX9 device
00000014 0.22633457 [4132] The GPU that was used to create the DX9 device does not support OpenCL mem sharing
00000015 0.22635926 [4132] Failed to init OpenCL for Dx9 memory sharing, error 0
and the intel is still listed as platform 0...
here even a screen: http://abload.de/img/testsyj7m.png
Zachs
10th April 2015, 14:22
Thanks for testing huhn!
I think the Intel platform will always be there because your Intel CPU supports OpenCL as well.
I'll check my code to see if there's anything wrong with it. This is different from the Nvidia + Intel case as only one platform has cl_khr_dx9_media_sharing.
Zachs
10th April 2015, 14:29
OK last attempt to test my hypothesis before I call it a night - DxClTest9.zip (http://zachsaw.com/downloads/mpdn_test/DxClTest9.zip) initializes in the reverse order so it should pick up the AMD one first.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.