Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
14th March 2009, 04:17 | #301 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
gpD3D->GetAdapterCount() returns the number of video adapters in the machine.
gpD3D->GetAdapterIdentifier() fills out a D3DADAPTER_IDENTIFIER9 struct for a specific adapter. cuD3D9GetDevice checks if a given device supports CUDA. Basically the code iterates through each video adapter in the system until it finds one that supports CUDA. Then uses the given adapter number as the first parameter when calling gpD3D->CreateDevice instead of D3DADAPTER_DEFAULT. |
14th March 2009, 22:39 | #305 | Link |
Registered User
Join Date: Dec 2004
Location: Melbourne, AU
Posts: 1,963
|
I can't confirm that exact code will work as designed, since I can't test the "find first CUDA capable card" loop properly - my last ATI card fried 18 months ago and all my Nvidia cards are CUDA capable, so it always exits with adapter=0. But I have tested passing the adapter no. of a secondary Nvidia card to CreateDevice and it works.
|
20th March 2009, 10:37 | #314 | Link |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
If it's anything like ATI's Crossfire you'll have two separate adapters and an option somewhere in the driver to link them, at which point the second adapter disappears from a program's point of view.
__________________
now playing: [artist] - [track] ([album]) |
31st March 2009, 08:00 | #317 | Link |
Registered User
Join Date: Mar 2008
Posts: 60
|
neuron2, just a small question. I have the nvcuvid.dll that came with the latest nVidia drivers & CoreAVC Pro in system32 and your version in the program directory.
Considering that MPC-HC is set up to use the CoreAVC Pro CUDA function, can I run a x264 encode with DGVC1DecNV's avs function while watching a movie in MPC-HC? Last edited by crasus; 31st March 2009 at 08:10. |
31st March 2009, 16:09 | #320 | Link |
Aging Video Hobbyist
Join Date: Dec 2004
Location: Off the Map
Posts: 2,461
|
Lessee, your movie playback fails 90% in, and you have a crowd of people in your HT. At the same time the encoding that's been cranking-away for 16 hours and counting craps-out and you have to start over. Why risk it?
|
Thread Tools | Search this Thread |
Display Modes | |
|
|