ZLUDA icon indicating copy to clipboard operation
ZLUDA copied to clipboard

Nvidia FleX demo returns Cuda error: 2

Open PvtNewb opened this issue 1 year ago • 3 comments

Hardware: RX Vega 7 (Cezanne) with driver 31.0.23013.5003, 4GB UMA allocated out of 32GB of memory. OS: Windows 11 build 22631 Software tested: Nvidia FleX PhysX demo

After launching with zluda.exe -- NvFlexDemoReleaseCUDA_x64.exe, the program would promptly launch for a bit, then crashes with Flex: Cuda error: 2 in cudaMallocHost(&ptr, elementCount*elementByteStride) - ..\..\cuda\util.cpp:477. image

PvtNewb avatar Feb 13 '24 20:02 PvtNewb

Hmmm, do you have integrated gpu installed? If so see the section about it in the README

vosen avatar Feb 13 '24 20:02 vosen

Yes, I only have the Vega iGPU on my system, well I guess this is one of those GPU ops limitations.

PvtNewb avatar Feb 14 '24 01:02 PvtNewb

I can confirm it starts on a 7900xt on Windows. but then it gests some errors and the animation does not start. it's also pretty slow. But anyway, it's most likely because of your gpu.

Anyway, if someone wants to debug the error, it' this one. it appears 6 times. Flex: Cuda error: 71 in cudaGraphicsResourceSetMapFlags(res, cudaGraphicsMapFlagsWriteDiscard) - ../../cuda/flex.cu:4580

DGdev91 avatar Feb 14 '24 21:02 DGdev91