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

[NVIDIA API intermittent issue] No NVIDIA driver was found for your system configuration / API returning Studio drivers when GRD is chosen #172

Open
ksbrar opened this issue Mar 8, 2023 · 29 comments
Assignees
Labels
bug Something isn't working (as intended) nvidia-api API issue

Comments

@ksbrar
Copy link

ksbrar commented Mar 8, 2023

Moving discussion from the other issue here.

--
Hey Guys, is this the same issue? I recently updated my game ready drivers through nvidia (through the standard installer), but now Tiny thinks I don't have an nvidia driver after restart? I also tried reinstalling the same driver as a 'Clean Install' option in the nvidia installer...still no luck unfortunately.

Tiny Update

Originally posted by @LukeDuring in #163 (comment)

@ksbrar
Copy link
Author

ksbrar commented Mar 8, 2023

CC @LukeDuring @olivergrosche

@ksbrar ksbrar changed the title TNUC Unable to find NVIDIA driver for system right after upgrading to recent driver TNUC Unable to find NVIDIA driver for system right after upgrading to new driver Mar 8, 2023
@ksbrar ksbrar changed the title TNUC Unable to find NVIDIA driver for system right after upgrading to new driver TNUC unable to find NVIDIA driver for system right after upgrading to new driver Mar 8, 2023
@ElPumpo
Copy link
Owner

ElPumpo commented Mar 8, 2023

Super weird as the NVIDIA API returns found driver. This is not the first time this is happening I am starting to suspect my code possibly breaking..?

https://gfwsl.geforce.com/services_toolkit/services/com/nvidia/services/AjaxDriverService.php?func=DriverManualLookup&pfid=995&osID=57&dch=1

@LukeDuring
Copy link

Here is something strange....When i got back from work today and turned my pc on... it started working perfectly again. I have done nothing to the pc since my last post, it just randomly started working again haha

When it originally wasn't working, I restarted several times after the nvidia update to try and get it to work....no luck..... i always fully shut down my pc as it is my gaming rig, so it never stays on for no reason.

But today its working....so thats a win haha

@ksbrar
Copy link
Author

ksbrar commented Mar 8, 2023

@LukeDuring I just tried again and its working for me as well 😅 . So @ElPumpo perhaps it was just an intermittent failure for a few days?

@systemallica
Copy link

FWIW this is still not working for me. I'm running the latest release on Windows 11.

@ElPumpo
Copy link
Owner

ElPumpo commented Mar 8, 2023

So to recap quick as I previously said this is not a new issue in any way. I have seen reports from 2023-02-11 #169, #167

The bug report at #169 shows this issue and how it lies in NVIDIAs end. The author of the bug report had opened the NVIDIA AJAX API on their web browser and got success 0 response. But hours later when I opened the link he shared I got success 1.

This proves that this is on NVIDIAs API intermediately not working

I cannot do much about it. Unless I move away from it but I just started using it lol.. I will keep this bug report open for people who get this error.

The solution for now is to just wait some time til NVIDIA API gives the correct response.

@ElPumpo ElPumpo changed the title TNUC unable to find NVIDIA driver for system right after upgrading to new driver No NVIDIA driver was found for your system configuration Mar 8, 2023
@ElPumpo ElPumpo pinned this issue Mar 8, 2023
@ElPumpo ElPumpo added the bug Something isn't working (as intended) label Mar 8, 2023
@ksbrar ksbrar changed the title No NVIDIA driver was found for your system configuration [intermittent issue] No NVIDIA driver was found for your system configuration Mar 8, 2023
@olivergrosche
Copy link

1.16.4 worked for me on latest win10 today

@ElPumpo
Copy link
Owner

ElPumpo commented Apr 17, 2023

Still happening? Have not heared anything in a while..

@LukeDuring
Copy link

Still happening? Have not heared anything in a while..

Hey Mate, Its working perfectly again for me 👍🏻 Thank you for any fix you applied !

@geomih
Copy link

geomih commented Apr 17, 2023

@ElPumpo It happened to me last week for 1 day. After that it started working again without issues.

@ElPumpo
Copy link
Owner

ElPumpo commented Apr 19, 2023

Okay good then i will keep the bug report open for now

@ElPumpo
Copy link
Owner

ElPumpo commented May 13, 2023

Any news on this intermittent issue? Perhaps it's time for a close?

@ksbrar
Copy link
Author

ksbrar commented May 14, 2023

I haven't seen it since my original report.

@Kruschak
Copy link

Kruschak commented Jun 4, 2023

I can confirm that there are sometimes outages until today. I reported this in february. I can remember around 4 -5 days where i got this error again. The next pc boot on the next day and the tool worked again.

@jesseclvrt
Copy link
Contributor

jesseclvrt commented Jun 25, 2023

I have tracked the bug to Windows 11. The issue is can be tracked to os-data.json which has the following:
{ "id": "56", "code": "10.0", "name": "Windows 10 32-bit" }, { "id": "57", "code": "10.0", "name": "Windows 10 64-bit" }, { "id": "135", "code": "10.0", "name": "Windows 11" },
This has interaction with this line of code in OS identifying loop (match code and name contains architecture) that causes it to be misidentified as Windows 10 64-bit. Windows 11 does not have an x86 version.
I believe the common practice fix is to also check build number, >=22000 should be Windows 11

#184 edit: made a pull request

@ElPumpo
Copy link
Owner

ElPumpo commented Jun 25, 2023

Hi Jessie.

How can you confirm that you have tracked this bug to Windows 11? For me it makes no sense. As we already discussed the NVIDIA API gives out faulty responses, at random.

What osID you have should not make a difference. And even if it does then how would your solution magically fix it for Windows 10 users?

Furthermore there is currently no difference between parsing osID for Windows 10 or 11, as they are the same drivers. At least for RTX&GTX cards.

@jesseclvrt
Copy link
Contributor

jesseclvrt commented Jun 25, 2023

For the record I am Windows 11 with a GTX 970.

gpuId:       756
osId:        57
isDchDriver: 1

I got this issue after I upgraded to Windows 11. I investigated that the ajax call being made is:

https://gfwsl.geforce.com/services_toolkit/services/com/nvidia/services/AjaxDriverService.php?func=DriverManualLookup&pfid=756&osID=57&dch=1

Notice that osID=57 is corresponding to Windows 10 64-bit. As of now, this fails. Replacing with osID=135 for Windows 11 will give a successful ajax call for "v536.23"

Now, another modification you can make to get a successful ajax call is to remove dch=1 and you will get a "success" but it will give you a completely different driver, "v472.12". My suspicion is that Nvidia is focusing more on DCH drivers due to Microsoft's requirements, and is dropping off support for legacy/standard drivers, especially for older graphics cards like mine.

Now for what is causing this issue for Windows 10 users, I have no idea, I agree with you it is probably Nvidia's API being a few days behind. However the OP's screenshot appears to be a Windows 11 terminal. Their debug output shows osId 57.

@ElPumpo
Copy link
Owner

ElPumpo commented Jun 27, 2023

That is super strange I will continue to investigate this further.

Perhaps they changed the Windows 10 OS ID? Perhaps it's not 57 anymore..

@ZenitH-AT

Yes DCH drivers are discontinued since long time ago now. It will give you a very old driver. My code attempts to lookup DCH driver if your system currently is not on one. So it searches for true and false and compares which one is the latest.

@ElPumpo
Copy link
Owner

ElPumpo commented Jun 27, 2023

Two hours later the same URL you sent works again. Super strange but it's NVIDIA

@ZenitH-AT
Copy link
Contributor

Perhaps they changed the Windows 10 OS ID? Perhaps it's not 57 anymore

Windows 10's ID is still 57. I have a script that periodically updates the nvidia-data repo if there are any. Though I noticed there's no 4060 yet which is maybe weird.

The URL jesseclvrt provided seems to show the correct driver at the time I'm writing this (as ElPumpo stated above). Windows 10 and 11 shouldn't have different driver versions available (at least not yet).

Will have more time to investigate this over the weekend; life and work is quite busy for me right now. Improving the OS identification code is a good thing to do for the time being but as you said it won't fix the issue for Windows 10 users if it comes up again.

@chal8
Copy link

chal8 commented Jul 11, 2023

i updated my drivers approx 2 weeks ago, no problems (running windows 11). used the update checker again today and i can confirm that the error ("No NVIDIA driver...") is still there.

@keton
Copy link

keton commented Aug 21, 2023

I have exact same behavior and pinned it down to 1.17.0 update. Running both side by side gives me success on 1.16 and following on latest version:

TinyNvidiaUpdateChecker v1.17.0

Verifying internet connection . . . OK!

Searching for Updates . . . OK!

Retrieving GPU information . . . ERROR!
No NVIDIA driver was found for your system configuration.

Debugging information:
gpuId:       995
osId:        135
isDchDriver: 1
driverType:  grd

@ElPumpo
Copy link
Owner

ElPumpo commented Aug 27, 2023

It seems that it has gotten worse since v1.17.0 when using as it now uses the &upCRD= parameter to choose GRD/SD driver.. but reverting this change is not a good idea people will get studio drivers if they are more up to date.

I would have to get latest 10 drivers and filter grd/sd...

@ElPumpo ElPumpo self-assigned this Aug 27, 2023
@ElPumpo ElPumpo changed the title [intermittent issue] No NVIDIA driver was found for your system configuration [NVIDIA API intermittent issue] No NVIDIA driver was found for your system configuration Nov 28, 2023
@ElPumpo ElPumpo added the nvidia-api API issue label Nov 28, 2023
@Dramion82
Copy link

Hello @ElPumpo

I'm also having the same issue. It was working when I first set it up which I hadn't changed my drivers, today 1/17/24 I noticed that there are new drivers. I have the checker run on startup with command line but it doesn't error on "no Nvidia Driver was found" and completes the check. I just installed the newest drivers from today and still the checker things I don't have any installed.

Debugging information:
gpuId: 995 (4090)
osId: 135 (Windows 11 22H2 build 22621.3007)
isDchDriver: 1
driverType: grd

@EtraIV

This comment was marked as off-topic.

@ZenitH-AT

This comment was marked as off-topic.

@ElPumpo
Copy link
Owner

ElPumpo commented Jan 28, 2024

@Dramion82 this issue report is for the intermittent issue we're facing with the NVIDIA API. Do you still have a problem with this? If so open a seperate bug report, thanks.

@Dramion82
Copy link

Dramion82 commented Feb 2, 2024

@Dramion82 this issue report is for the intermittent issue we're facing with the NVIDIA API. Do you still have a problem with this? If so open a seperate bug report, thanks.

Hi @ElPumpo , It started working a few weeks ago. I didn't do anything to resolve it, it automagically fixed itself.

@ElPumpo
Copy link
Owner

ElPumpo commented Mar 29, 2024

Update 2024: I think the solution is to query the API multiple times if success 0 is returned with some time waits inbetween. As for issue #202 the API also returned a SD driver when the query was asking for GRD driver, so it should also be something to check on the API response and validate.

  1. API response arrive
  2. verify response success
  3. if response success is 0 then retry API query 1-3 times more
  4. validate response driver type (SD, GRD). if not correct then retry API query 1-3 times more ([NVIDIA API intermittent issue] API returning Studio drivers when GRD is chosen #202)
  5. if API query fails then fail and explain in console log that it might be API intermittent issue

@ElPumpo ElPumpo changed the title [NVIDIA API intermittent issue] No NVIDIA driver was found for your system configuration [NVIDIA API intermittent issue] No NVIDIA driver was found for your system configuration / API returning Studio drivers when GRD is chosen Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working (as intended) nvidia-api API issue
Projects
None yet
Development

No branches or pull requests