Giter Site home page Giter Site logo

Comments (5)

rdb avatar rdb commented on May 27, 2024 1

For completeness' sake I'll mention that the full formula that seems to work for NVIDIA driver versions is:

major = (driverVersion >> 22) & 0x3ff
minor = (driverVersion >> 14) & 0x0ff
patch = (driverVersion >>  6) & 0x0ff

from vulkancapsviewer.

rdb avatar rdb commented on May 27, 2024

For the NVIDIA driver, it seems that the minor driver version starts at bit 14, not bit 12. This means that your software formats 1493811200 as 356.156.0 instead of the correct version number for this driver, 356.39. The patch version starts at bit 6.

Could you please also display the original number that it was formatted from on the gpuinfo site (and the vendor ID as well)? This would help me to figure out how the versions are formatted and make the database more useful to me.

Alternatively, is there a way to download the raw dataset?

from vulkancapsviewer.

SaschaWillems avatar SaschaWillems commented on May 27, 2024

For the NVIDIA driver, it seems that the minor driver version starts at bit 14, not bit 12. This means that your software formats 1493811200 as 356.156.0 instead of the correct version number for this driver, 356.39. The patch version starts at bit 6.

I've been in touch with NVIDIA on this. They already sent me a detailed explanation of their versioning scheme. I guess I'll have to convert differently depending on vendor ID in the future.

Could you please also display the original number that it was formatted from on the gpuinfo site (and the vendor ID as well)? This would help me to figure out how the versions are formatted and make the database more useful to me.

The original version number is not yet stored in the db, only the converted string. But I'll change that. Vendor ID is there, so displaying is an option.

Alternatively, is there a way to download the raw dataset?
Yes, but not public. There will be an URL in the near future that allows you to get a complete report as JSON. I'll make this public once the biggest problems and bugs (like this one) have been ironed out.

from vulkancapsviewer.

rdb avatar rdb commented on May 27, 2024

Many thanks!

Would you be willing to share the NVIDIA version information or is it not different from what I've already discovered?

from vulkancapsviewer.

SaschaWillems avatar SaschaWillems commented on May 27, 2024

Almost.

This is the information I got from NVIDIA :

Starting with MSB :
10 bits = major version (up to r1023)
8 bits = minor version (up to 255)
8 bits = secondary branch version/build version (up to 255)
6 bits = tertiary branch/build version (up to 63)

from vulkancapsviewer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.