LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-23-2017, 07:49 AM   #1
steo86
LQ Newbie
 
Registered: Jul 2017
Posts: 1

Rep: Reputation: Disabled
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?
 
Old 07-25-2017, 10:45 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, RPi OS, Mint & Android
Posts: 13,002

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
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.

Last edited by business_kid; 07-25-2017 at 10:49 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
DP42848 1080p Modeline for xorg.conf Shadow_7 Linux - Software 14 05-21-2010 10:14 PM
get current pixel clock size for Modeline (xorg.conf) snitko Linux - Hardware 3 11-07-2008 07:15 PM
Modeline Voodoo xorg.conf - Intel driver i810 to blame? rewtedesco Linux - Hardware 43 01-27-2007 07:28 PM
Can't use custom xorg.conf Col._Panic Ubuntu 1 01-15-2007 04:24 AM
Xorg.conf, custom screen resolution tntcoder Linux - Newbie 3 05-12-2006 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration