"Invalid API response from Nvidia" when opening EnvyUpdate #31
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
help wanted
invalid
low priority
question
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference: fyr77/EnvyUpdate#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
EnvyUpdate version: 2.17 (latest)
Windows 11 22H2 (22621.1413)
GPU: RTX 4080 Founders Edition
Unfortunately, there doesn't seem to be any logging, so I can't really provide any more information.
Ah, I think I know what the problem is. Creating some kind of logging here would be smart for future problems, I will include that in the next patch.
I believe your GPU's name actually includes the "Founders Edition" string, so my code fails to detect it properly. Up until now, I just filtered out these suffixes manually, but I think I should rethink my method here.
Patch is incoming the next few days.
Awesome, thanks for the update! if you need any additional information from me to debug just tell me.
Alright, I think I fixed it in
7173f2ec5e
and version 2.18. Please test it and see if it works for you. @sfariaI get the same response popup using 2.18. I took a look at your code and did a little digging:
Since I don't really do C# or have an environment, I'm going to hobble around with PowerShell and try to use the same detection method you're using:
This gives me the value
NVIDIA GeForce RTX 4080
. There doesn't seem to be any reference to "Founder's Edition" in there, unfortunately.Gives me
31.0.15.3141
Returns
531.41
, which seems sensible so that's working.GPU Detection seems to work now:
Outputs
nvidia geforce rtx 4080
Returns True.
Maybe you can use some of this output to figure out what's going on?
Hmm, very odd. I'll look into it, thanks for the info.
No problem, if you need any info dumps please let me know.
@sfaria I made a new build from commit
6a10abc334
, please try this one. It should still throw an error, but a more useful one this time.https://github.com/fyr77/EnvyUpdate/releases/tag/2.19-pre1
Here's what it output:
Very strange, it seems that EnvyUpdate cannot properly find your GPU in the Nvidia master list. Could you try opening this URL in a browser? It should give you a massive XML list of graphics cards: https://www.nvidia.com/Download/API/lookupValueSearch.aspx?TypeID=3
It resolves, and here is the chunk with both 4080 and 4080 mobile:
Alright, thank you for checking. Please use this build, it should create a log file
envyupdate.log
. Please share the log file here. @sfariaRan the app once - I've attached the log.
envyupdate.log
Did you ever figure out what was wrong?
@sfaria Sorry for not keeping you updated, university had me occupied - I was not able to figure out the problem so far. Somewhere the data from your GPU gets lost - or never even read out properly. Could you perhaps contact me via email? Perhaps we could debug the code directly on your machine to figure out where the data gets lost...
Hey, no worries! You should concentrate on your exams - I'll pull down the project and do some debugging myself. I'll make a PR once I figure it out.
Alright, thank you! That codebase is a bit old and not always completely logical... (I should rewrite a few things probably) - please ask if anything seems off.
I have gotten my hands on a GTX 1080 Ti, which seems to have triggered the same issue you were having. I will release 2.19 now, please test that when you have the time. @sfaria
Hey! Thanks for looking into this. Sorry I didn't get time to look into the issue myself - I started a new job search shortly after our last update and didn't get the time.
I'll install the latest version and let you know.
Same issue:
Hmm, very unfortunate. I did fix another issue at least.
I'll keep looking into it.
Hi again @sfaria.
I have released another new version with some internal improvements to logic, but I don't expect this to fix the problem. Still, I added a button in the settings to enable logging and improved the log messages, so I would appreciate it if you could share another log file from 2.20.
If it helps in any way, here is one from my current system:
envyupdate.log
Hey @fyr77!
Great work on getting logging in - I enabled it and restarted the program. I've attached the log output. Thanks!
envyupdate.log
Got the same error.
RTX 4080 Laptop, version 2.20.
Latest current driver is here: https://www.nvidia.com/download/driverResults.aspx/209268/en-us/
Log contents:
I may have found the issue. Nvidia switched their titling in the 40 series, from "GeForce RTX 3080" to "NVIDIA GeForce RTX 4080". I believe my code does not account for this. I am currently not home, I will attempt to fix this for the next release and also release a fixed 2.X version by the end of the coming week.
@fyr77 sounds great, feel free to ping me to test it!
I have just released 2.21, please test this version. It should fix your issue.
@fyr77 indeed, it works now. Thanks!
@nezorflame Wonderful!
@sfaria If possible, please confirm it works for you as well. If yes, I will close the issue.
@fyr77 - Working now for me as well. Great work, and thanks for looking into this!
Just an FYI - for some reason WIndows Defender now considers your new version a trojan: https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AWin32%2FBearfoos.A!ml&threatid=2147731250
@nezorflame Annoying... Thank you for the heads-up. It is amusing, since I merely changed two lines of code which should have no impact on virus detection.
Weirdly enough, my own installation of Windows 11 does not recognize it as a virus. As always, Windows Defender is a mystery ;)