Upgrading to a GTX 1080 Ti - any tips?

General discussion about Blue Iris

Moderators: HeneryH, TimG

User avatar
Thixotropic
Posts: 892
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Upgrading to a GTX 1080 Ti - any tips?

Post by Thixotropic » Fri Jan 27, 2023 3:39 am

I'll be installing an NVIDIA GTX 1080 Ti in my BI box shortly and I'm wondering if anyone has any tips or "do this, don't so that" suggestions.

For example, these are the available drivers; which is the correct one to use? (Studio or Gaming? WHQL or not?)
  • GeForce Game Ready Driver
  • GeForce Game Ready Driver - WHQL
  • NVIDIA Studio Driver
  • NVIDIA Studio Driver - WHQL

Do I also need to install the NVIDIA CUDA toolkit? I'm assuming so, because I see the checkbox in the AI tab for it. What does that checkbox do. exactly? (The term "CUDA" isn't in the manual.)
Blue Iris 5.x | Win 10 Pro Slim | i5-12400 | 16GB RAM | GTX 1080Ti FE | 8TB RAID1 NAS | 10 Cams | 2KVA UPS
MikeLud
Posts: 153
Joined: Sun Mar 21, 2021 3:29 am

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by MikeLud » Fri Jan 27, 2023 4:16 am

Thixotropic wrote: Fri Jan 27, 2023 3:39 am I'll be installing an NVIDIA GTX 1080 Ti in my BI box shortly and I'm wondering if anyone has any tips or "do this, don't so that" suggestions.

For example, these are the available drivers; which is the correct one to use? (Studio or Gaming? WHQL or not?)
  • GeForce Game Ready Driver
  • GeForce Game Ready Driver - WHQL
  • NVIDIA Studio Driver
  • NVIDIA Studio Driver - WHQL

Do I also need to install the NVIDIA CUDA toolkit? I'm assuming so, because I see the checkbox in the AI tab for it. What does that checkbox do. exactly? (The term "CUDA" isn't in the manual.)
It looks like you are getting ready to use your NVIDIA GTX 1080 Ti for CodeProject.AI. You need to install CUDA first (see the below link) and then CodeProject.AI (see the below link). Note CUDA will install the correct video driver.

https://www.codeproject.com/Articles/53 ... DA-support
https://www.codeproject.com/Articles/53 ... e-easy-way
User avatar
Thixotropic
Posts: 892
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by Thixotropic » Fri Jan 27, 2023 4:56 am

MikeLud wrote: Fri Jan 27, 2023 4:16 amIt looks like you are getting ready to use your NVIDIA GTX 1080 Ti for CodeProject.AI.
Exactly. :)

-
MikeLud wrote: Fri Jan 27, 2023 4:16 amYou need to install CUDA first (see the below link) and then CodeProject.AI (see the below link). Note CUDA will install the correct video driver.
I have CPAI installed now; should I uninstall it first?
Do I need the driver pack downloaded ahead of time, before installing CUDA, or does CUDA fetch it during the install?

If I understand you correctly, it would go something like this:

Uninstall CPAI,
Install the card,
Install CUDA (which will load the correct driver),
Install CPAI (which should detect the card and use it)

Does that sound right?

I've downloaded cuda_11.7.0_516.01_windows.exe and 431.36-desktop-win10-64bit-international-whql.exe, but I don't see "CUDA 11.7 drivers" listed as mentioned in the install script (install_CUDnn.bat).

Or is it the one at this URL:
https://www.nvidia.com/content/DriverDo ... type=TITAN
Blue Iris 5.x | Win 10 Pro Slim | i5-12400 | 16GB RAM | GTX 1080Ti FE | 8TB RAID1 NAS | 10 Cams | 2KVA UPS
MikeLud
Posts: 153
Joined: Sun Mar 21, 2021 3:29 am

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by MikeLud » Fri Jan 27, 2023 5:35 am

Thixotropic wrote: Fri Jan 27, 2023 4:56 am
MikeLud wrote: Fri Jan 27, 2023 4:16 amIt looks like you are getting ready to use your NVIDIA GTX 1080 Ti for CodeProject.AI.
Exactly. :)

-
MikeLud wrote: Fri Jan 27, 2023 4:16 amYou need to install CUDA first (see the below link) and then CodeProject.AI (see the below link). Note CUDA will install the correct video driver.
I have CPAI installed now; should I uninstall it first?
Do I need the driver pack downloaded ahead of time, before installing CUDA, or does CUDA fetch it during the install?

If I understand you correctly, it would go something like this:

Uninstall CPAI,
Install the card,
Install CUDA (which will load the correct driver),
Install CPAI (which should detect the card and use it)

Does that sound right?

I've downloaded cuda_11.7.0_516.01_windows.exe and 431.36-desktop-win10-64bit-international-whql.exe, but I don't see "CUDA 11.7 drivers" listed as mentioned in the install script (install_CUDnn.bat).

Or is it the one at this URL:
https://www.nvidia.com/content/DriverDo ... type=TITAN
The steps look correct, cuda_11.7.0_516.01_windows.exe has 516.01 video driver, you do not need 431.36-desktop-win10-64bit-international-whql.exe. The install script (install_CUDnn.bat) has some extra parts the CUDA needs.
PaulDaisy
Posts: 85
Joined: Mon Jan 16, 2023 5:06 pm

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by PaulDaisy » Fri Jan 27, 2023 11:42 pm

The install_cuDNN script gave me an error message, so I had to manually install cuDNN, following steps in the Nvidia documentation. Don't forget zlib dll as well, it is listed and the URL is available in the install_cuDNN script.
I installed the latest Nvidia drivers from their web site and they worked fine with the CUDA toolkit 11.7 that CPAI is using.
User avatar
Thixotropic
Posts: 892
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by Thixotropic » Sat Jan 28, 2023 4:07 am

PaulDaisy wrote: Fri Jan 27, 2023 11:42 pm The install_cuDNN script gave me an error message, so I had to manually install cuDNN, following steps in the Nvidia documentation.
Could you please post a link to that documentation?
Blue Iris 5.x | Win 10 Pro Slim | i5-12400 | 16GB RAM | GTX 1080Ti FE | 8TB RAID1 NAS | 10 Cams | 2KVA UPS
PaulDaisy
Posts: 85
Joined: Mon Jan 16, 2023 5:06 pm

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by PaulDaisy » Sat Jan 28, 2023 5:55 pm

Thixotropic wrote: Sat Jan 28, 2023 4:07 am
PaulDaisy wrote: Fri Jan 27, 2023 11:42 pm The install_cuDNN script gave me an error message, so I had to manually install cuDNN, following steps in the Nvidia documentation.
Could you please post a link to that documentation?
Of course, here it is.
User avatar
Thixotropic
Posts: 892
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by Thixotropic » Sat Jan 28, 2023 8:47 pm

Perfect, thank you!
Blue Iris 5.x | Win 10 Pro Slim | i5-12400 | 16GB RAM | GTX 1080Ti FE | 8TB RAID1 NAS | 10 Cams | 2KVA UPS
User avatar
Thixotropic
Posts: 892
Joined: Wed Sep 04, 2019 7:20 pm
Location: Low-Earth Orbit

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by Thixotropic » Thu Feb 02, 2023 1:14 am

Okay, I got the card and PSU installed, I had to disable the onboard graphics in Device Manager because the cheapo ASUS motherboard doesn't include an option to disable it. (It claims to do it automatically, but...)

I installed the CUDA toolkit using the batch file and that seemed to work fine, it ran and downloaded some stuff it needed along the way.

Before reinstalling CPAI, we were curious what kind of frame rates we would get on it. Even though it looks like it's in mint condition for all we know this thing has beat to death mining crypto or whatever, right?

We loaded the UserBenchmark app and ran it, but it couldn't even find the GPU and it basically said everything is running terrible and bad and slow and awful blah de blah de blah. It's supposed to be a great benchmarking app but what it was telling us made no sense.

So we loaded the Unigine Heaven benchmark app and ran it using the DirectX 11 setting. At first we were getting like 7 and 8 FPS. Not 70 or 80, but 7. Sometimes it would spike all the way up to 8. Wooo, we're cookin' now!

We checked a lot of stuff, but didn't see anything wrong. Just for fun I switched it to DirectX 9, reran the benchmark, and *boom*. It took off like a rocket.

It runs the Unigine Heaven benchmark consistently at 165 to 171 FPS, rock solid. When I turn on "anti-aliasing x2" it went over 200 FPS on and off. (Shouldn't that impose more of a load??)

I know that's hard to believe so here are some (actual) screenshots. I couldn't use my screenshot program while it was running apparently.

The blurry one is hard to make out (an actual screenshot, lol) but in the upper right corner you can just make out the number "202" for the frame rate.

Next, time to load CPAI and see what happens...
uningine-heaven-1.jpg
-
uningine-heaven-2.jpg
-
202FPS.jpg
Blue Iris 5.x | Win 10 Pro Slim | i5-12400 | 16GB RAM | GTX 1080Ti FE | 8TB RAID1 NAS | 10 Cams | 2KVA UPS
PaulDaisy
Posts: 85
Joined: Mon Jan 16, 2023 5:06 pm

Re: Upgrading to a GTX 1080 Ti - any tips?

Post by PaulDaisy » Thu Feb 02, 2023 2:11 am

"Detecting using ipcam-combined, processing time -20 ms" :D
Post Reply