the demo could not run!

Oct 17, 2011 at 4:10 AM

hi, i download the latest source code using svn, the compiling is ok, bug the demo could not run, it will crash at line 1397 of file RendererDX11.cpp : m_pDevice->CreateInputLayout() . 

Coordinator
Oct 17, 2011 at 5:05 AM

Hello,

Which demo did you try to run?  There have been reported problems with the AMD 6900HD series card drivers and the ParticleStorm demo, but that issue should be resolved soon with a driver update.

- Jason

Oct 17, 2011 at 5:34 AM

the demo is WaterSimulationI and ParticleStorm, maybe also some others. my graphics card is nvidia Gtx 550Ti,  i will take a try to update my driver. Thanks.  

Coordinator
Oct 17, 2011 at 5:36 PM

Is there any information pushed out in the debug window?

Oct 17, 2011 at 6:16 PM
70780533 wrote:

the demo is WaterSimulationI and ParticleStorm, maybe also some others. my graphics card is nvidia Gtx 550Ti,  i will take a try to update my driver. Thanks.  


WaterSimulation works fine here but ParticleStorm triggers an access violation in PiplineManagerDX11.cpp at line 1047 which is a call to ExecuteCommandList(). 

Here is the debugger output:

D3D11: WARNING: ID3D11Device::CreateInputLayout: An Input Layout is being created with 0 elements.  This is valid to do, perhaps as a degenerate case. This warning is for the author to verify whether intent was to have more than 0 elements. [ STATE_CREATION WARNING #420: CREATEINPUTLAYOUT_EMPTY_LAYOUT ]
Exception de première chance à 0x6187d004 dans ParticleStorm.exe : 0xC0000005: Violation d'accès lors de la lecture de l'emplacement 0xbaadf219.
Exception non gérée à 0x6187d004 dans ParticleStorm.exe : 0xC0000005: Violation d'accès lors de la lecture de l'emplacement 0xbaadf219.
Le programme '[5824] ParticleStorm.exe: Natif' s'est arrêté avec le code -1073741819 (0xc0000005).

Francois Piette

 

 

Coordinator
Oct 17, 2011 at 7:46 PM

Can you please try to run with the reference device (there is a brief description of how to do this in the Documentation tab of this site)?  The input layout warning is normal, and is caused by the fact that the vertices used to render the particles in the ParticleStorm demo don't have any data passed into them by the vertex buffers.  Instead, it only uses the vertex ID system value, then reads the data out of the particle buffer directly in the vertex shader.

The exception may be linked to the driver issues that we have seen with the AMD cards, so if we try to run it on the reference device then it should prove whether the driver is the issue or not.

Oct 18, 2011 at 4:46 PM
Edited Oct 18, 2011 at 6:35 PM

It works using the reference device.

btw: I'm using a NVidia Quadro 4000. Driver is nvlddmkm 8.17.12.7105 (ForceWare 271.05) / Win 7 64. Bios version is 70.00.56.00.07. I checked right now: This is the latest driver certified by HP for his HP 600 Workstation which is the computer I own. This driver is dated aug 01, 2011.

-- Francois Piette

 

Oct 26, 2011 at 6:32 PM
Edited Oct 26, 2011 at 6:32 PM

Hello,

I'm still interested to make the ParticleStorm demo work with NVidia driver.

-- Francois Piette

Coordinator
Oct 26, 2011 at 9:12 PM

Hello,

I have tried to contact some of the Nvidia guys to see if there is some new drivers coming, but haven't been able to get through to anyone.  Unfortunately, if it runs on the reference device but not on the hardware driver, then there isn't really anything that we can do on the application side to fix it until the driver gets updated.

I will continue to try to get in contact with those guys - I have a couple of other possible contacts that I will give a shot.  As soon as I hear anything I will post the results back here.

- Jason

Oct 27, 2011 at 4:47 AM

Since I own a Quadro 4000 card, which is a professional one costing a lot more than a gamer one, maybe I have more chances to get an answer. Also, my card is from HP and is an HP branded card. So maybe the best is I contact HP support. Unfortunately, I'm just a beginner in DirectX and I'm sure I'm not able to send a message which looks professionnal. Maybe you could send me the technical message I would then send to HP support ? You can publish it here or send it to my email address which is firstname d ot last name a t over byte do t be (You remove the extra spaces and see signature for name).

Thanks

-- Francois Piette

 

Coordinator
Oct 30, 2011 at 6:19 PM

I submitted a bug report to nvidia today, and they promise a 24 hour response - I'll let you know what they respond with!

Oct 30, 2011 at 7:25 PM

Thanks.