GANTheftAuto icon indicating copy to clipboard operation
GANTheftAuto copied to clipboard

Not using GPU properly?

Open giodude12 opened this issue 4 years ago • 2 comments

Hi, i got Gan Theft Auto to launch just fine, but it runs at 1 Frame a second. I figured it was because it wasn't properly detecting my GPU, and I found this:

2021-06-19 20:31:56.833152: W tensorflow/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'cudnn64_8.dll'; dlerror: cudnn64_8.dll not found
2021-06-19 20:31:56.833248: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1766] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.

I tried everything and I'm not sure what could still be causing this? I have CUDA toolkit installed.

giodude12 avatar Jun 20 '21 00:06 giodude12

oh hey i fixed it, it was cudnn that was required to make it work. However, now it stutters constantly and crashes when not in focus. This is on a 2080ti

giodude12 avatar Jun 20 '21 00:06 giodude12

If you're on Windows (not sure about MacOS and Linux), focus cmd window and not OpenCV window (the one showing the output). If OpenCV window is focused, it stops updating if you press a key for longer. I'm not sure about "crashed when not in focus". What does this mean? I can run it in the background and it works just ok. Or if you are pressing the e key - it tries to exit which may take a while or crash.

daniel-kukiela avatar Jun 20 '21 19:06 daniel-kukiela