LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   maximum decimals in a custom xorg.conf modeline (https://www.linuxquestions.org/questions/linux-software-2/maximum-decimals-in-a-custom-xorg-conf-modeline-4175610442/)

steo86 07-23-2017 07:49 AM

maximum decimals in a custom xorg.conf modeline
 
Hello,

what are the maximal decimals behind the "." which are recognize/used in a custom modeline in a xorg.conf file?

This is for example my custom modline for 23.976 playback:
ModeLine "1920x1080_23.976" 74.1099 1920 2557 2602 2750 1080 1084 1089 1124 +hsync +vsync

So its working but for me the question is what xorg will do with 74.1099?
Will it use 74.1099 or will it be rounded to 74.11? How many numbers behind the point are getting used?

business_kid 07-25-2017 10:45 AM

You can check what it does in /var/log/Xorg.0.log - it rewrites that every time you boot X.

I wasn't aware it handled decimals at all. It's a GUI, not a scientific calculator. It may calculate things and use decimals then. Would you notice the difference between 74.1099 & 74.11 or 74 hz for that matter?

EDIT: It may use decimals and even truncate them in the log; you'd have to grok the code to see what it's up to. I don't think anyone here will do that for you.


All times are GMT -5. The time now is 11:15 PM.