Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Startup failure on Windows 10 LTSB 1607 #4

Closed
GralfR opened this issue Sep 20, 2022 · 13 comments
Closed

Startup failure on Windows 10 LTSB 1607 #4

GralfR opened this issue Sep 20, 2022 · 13 comments
Assignees
Labels
bug Something isn't working crash Software stops working completely

Comments

@GralfR
Copy link

GralfR commented Sep 20, 2022

Describe the bug
Running 0.7.1-beta on Win10 just crashes.
debug

To Reproduce
Steps to reproduce the behavior:

  1. Download 0.7.1-beta
  2. unzip all files to c:/ndiscopes
  3. start ndiscopes.exe
  4. just a messagebox, that says, the program does not work. The offered debug options shows the attached screenshot.

Expected behavior
Program starts fine

Hardware/Software

  • Version of Windows: 10 LTSB 1607
  • GPU Type/Manufacturer: NVIDIA GTX 1080 Ti
  • NVIDIA-Driver 472.84
  • NDI Tools 5.5
  • NDI SDK installed

Additional context
Please no comments about "old Windows", "update drivers" etc. In general any program has to give proper error messages, if system requirements do not match and what is the problem. I think ll the systemrequirements are fullfilled. So what's the problem?

@GralfR GralfR added the bug Something isn't working label Sep 20, 2022
@MindStudioOfficial
Copy link
Owner

Hi,
Thanks for reporting this crash.
I believe your NVIDIA drivers are very outdated. The oldest supported driver version might be 511.xx.

If the error persists after updating your drivers feel free to post another comment in this thread.

Please let me know if this fix works so I can mark this Issue as closed.

Thanks for using NDIScopes :D

@MindStudioOfficial
Copy link
Owner

Since I am a single person (student) developing this software I sadly do not have the resources to test a lot of driver/os/hardware configuarations. I will add the minimum required driver version to the README. I've checked again in the code and the minimum driver version is 511.23 to be exact. This is a limitation imposed by the CUDA library that Is only backwards compatible to a certain point.

The error you describe never occuree in my testing, so I cold not yet implement a custom error message stating that your driver version is outdated.

@GralfR
Copy link
Author

GralfR commented Sep 20, 2022

Hi!
Thanks for the quick response! Great support.
I tried to update my NVIDIA-driver to 516 but I can't find one that supports my system (desktop).
So I tried my laptop with Win10 pro 1909 and NVIDIA GTX1070 with mobile-driver 452.06.
On this system your app starts and works. It shows a NDI stream and all the scopes.

So, the old NVIDIA-driver was not the problem. Very strange, because as You said the CUDA requires this.
Maybe it's the old Win10 or because it's Win10 Enterprise or the system has NDI SDK installed (which the laptop has not)...?

What other information do You need to define a more detailed minimum requirements?

@MindStudioOfficial
Copy link
Owner

I didn't quite realise that you are using such an old version of Windows. The NDI SDK is not needed to run NDIScopes.
I researched further into your provided error message which might not actually have anything to do with CUDA or the GPU afterall. It generally seems to be an access violation mainly caused by a corrupted exe or an incompatible OS.
So I am guessing you are right regarding the old Windows version.

I did the CUDA part a long time ago and the minimum driver version I mentioned might have applied before I compiled the CUDA part for older GPUs aswell. So that might be the reason why It works on older drivers and probably why I didn't mention a driver version in the README.

I will try to find out what exactly causes the crash. Then I can maybe find incompatibilities and define better minimun requirements.

Is the original system 64Bit or 32Bit?

@MindStudioOfficial MindStudioOfficial self-assigned this Sep 20, 2022
@MindStudioOfficial MindStudioOfficial added the crash Software stops working completely label Sep 20, 2022
@GralfR
Copy link
Author

GralfR commented Sep 20, 2022

All my systems are 64bit on Intel CPU. The desktop has a i7-8700K, the laptop a i7-6820HK.

@MindStudioOfficial
Copy link
Owner

Thanks for the detailed information. I will investigate that issue further.

@GralfR
Copy link
Author

GralfR commented Sep 20, 2022

I tried another system with i3-3110M CPU and only internal Intel HD4000 graphics, no NVIDIA. This system runs Win10 pro 2004.
NDIscopes starts on this system and finds NDI-sources, but does not show any scopes, only meta-data, which is right, because of missing CUDA.
Maybe, the app should recognize this (no NVIDIA-card) and show this (and maybe other system requirements not met) to the user so one does not struggle using this software and some parts do not work.

@MindStudioOfficial
Copy link
Owner

I already have implemented a check for the GPU... but apparently that doesn't work. Thanks for letting me know.

@MindStudioOfficial
Copy link
Owner

Fixed the GPU check and tested it on my laptop (No GPU).

grafik

@MindStudioOfficial MindStudioOfficial changed the title crashed Startup failure on Windows 10 LTSB 1607 Sep 20, 2022
@GralfR
Copy link
Author

GralfR commented Sep 20, 2022

Okay.
But with #5 in mind, it might be worth to have at least the working source-selector and meta-data available and just this error-message on all scopes and/or all scopes disabled and off with a messagebox-popup of this error if the user tries to open a not supported feature.

@MindStudioOfficial
Copy link
Owner

To be honest... in this case I would make a seperate software like "NDIExplorer" that does just that and runs on even more hardware.

@GralfR
Copy link
Author

GralfR commented Oct 20, 2022

release 0.7.2 beta is running on the Windows 10 LTSB 1607 now. Thanks for the fix.
The CUDA-detection seams to work. Program displays the error on a system with NVIDIA GTX460 HAWK.

@GralfR GralfR closed this as completed Oct 20, 2022
@MindStudioOfficial
Copy link
Owner

Thanks for testing 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working crash Software stops working completely
Projects
None yet
Development

No branches or pull requests

2 participants