Git Product home page Git Product logo

Comments (3)

CarterLi avatar CarterLi commented on August 24, 2024

Doesn't seem to be possible because no public APIs of Nvidia / AMD / Intel drivers report this info AFAIK.

Do you know any open-source program can report it?

from fastfetch.

Get-Newsletters-Int avatar Get-Newsletters-Int commented on August 24, 2024

Nope, I think only GPU-Z detects it, but no idea how, maybe they don't and they do a database lookup instead.

from fastfetch.

Calinou avatar Calinou commented on August 24, 2024

There is no API for this, so you need a database that can infer the VRAM type from the GPU model name. Luckily, pretty much all GPUs of a same model use a single VRAM type (e.g. all GTX 1080s use GDDR5X).

A few GPUs have different VRAM types depending on VRAM size (such as the Radeon HD 7750 or GeForce GT 1030), but this practice hasn't been seen in GPUs released since 2016 or so. In this case, I'd return the most commonly found VRAM type (GDDR5 and DDR3 respectively). If you really want to, you could get fancy by picking the correct VRAM type depending on VRAM size:

  • HD 7750 1 GB: GDDR5
  • HD 7750 2 GB: DDR3
  • GT 1030 1 GB: GDDR5
  • GT 1030 2 GB: DDR3

from fastfetch.

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.