Giter VIP home page Giter VIP logo

Comments (5)

falahati avatar falahati commented on June 19, 2024

EDID is old and limited. Common timing only contains a list of possible refresh rates and sizes, the standard timing table includes more detailed information, but still, the refresh rate is always an integer which means no 59.95 or 59.885. These numbers are then deduced by the driver when generating the expected signal. That's why NVidia and windows know about the real number but here we don't.

However, there is also a new table for detailed timings. This table does not in fact contain the refresh rate, but it has all the info required to calculate the actual refresh rate. All you have to do is to apply this formula:

RefreshRate = PixelClock / ((HorizontalActivePixels + HorizontalBlankingPixels + HorizontalBorderPixels) * (VerticalActivePixels + VerticalBlankingPixels + VerticalBorderPixels))

from edidparser.

falahati avatar falahati commented on June 19, 2024

for 1920x1200 in your example it is:

(154,000,000 / ((1,920 + 160 + 0) * (1,200 + 35 + 0))) = 59.95017128620367

from edidparser.

falahati avatar falahati commented on June 19, 2024

read this for more info:
https://glenwing.github.io/docs/VESA-DMT-1.13.pdf

from edidparser.

falahati avatar falahati commented on June 19, 2024

and here contains a more detailed formula:
https://electronics.stackexchange.com/questions/14828/how-do-i-calculate-needed-pixel-clock-frequency

should give you a better value.

from edidparser.

yoyos avatar yoyos commented on June 19, 2024

Thanks for the details :)

Yes I already processed the refreshrate with information coming from DetailedTimingDescriptor

It's works pretty well and I could build the same list of available resolutions as I can find in windows

Have a nice day !

from edidparser.

Related Issues (2)

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.