Bug 6306

Summary: Option to turn off "Default mode" lines
Product: xorg Reporter: Rob Janssen <rob>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: high    
Version: 6.8.1   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Rob Janssen 2006-03-18 06:40:27 UTC
Even when a monitor is configured using EDID or manually entered Modelines, a
long list of Default modes is passed through modeline validation and those that
happen to pass are added to the list of available modes.
While you normally don't see extra modes that are not listed in the Modes option
of the Screen section, those extra modelines do show up in xrandr and derived
GUI tools.
I would find it preferable if there was some option to ignore those "Default
mode" lines.  This option can be set by those who have crafted their own
Modelines or use EDID provided modelines, and don't want the default modes added
to their list.
Comment 1 Luc Verhaegen 2006-03-18 11:15:42 UTC

*** This bug has been marked as a duplicate of 5386 ***
Comment 2 Rob Janssen 2006-03-18 22:50:15 UTC
Some clarification:
The X server already understands EDID in my case, which seems to be what bug
5386 is about.  I am using the closed NVIDIA driver, maybe it is a feature added
by that driver.  The log reports:

(--) NVIDIA(0): DFP-0: maximum pixel clock: 155 MHz
(--) NVIDIA(0): DFP-0: Internal Single Link TMDS
(II) NVIDIA(0): Frequency information for DFP-0:
(II) NVIDIA(0):   HorizSync   : 30.000-81.000 kHz
(II) NVIDIA(0):   VertRefresh : 56.000-76.000 Hz
(II) NVIDIA(0):      (HorizSync from EDID)
(II) NVIDIA(0):      (VertRefresh from EDID)
(II) NVIDIA(0): Adding EDID-provided mode "1920x1200" for DFP-0.
(II) NVIDIA(0): Monitor[0]: Using hsync range of 30.00-81.00 kHz
(II) NVIDIA(0): Monitor[0]: Using vrefresh range of 56.00-76.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 155.00 MHz

After this, it proceeds to validate the default modes and logs:

(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
.... many more like this ....

and finally:

(**) NVIDIA(0): Validated modes for display device DFP-0:
(**) NVIDIA(0):      Mode "1920x1200": 154.0 MHz, 74.0 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1400x1050": 122.0 MHz, 64.9 kHz, 60.0 Hz
(**) NVIDIA(0):      Default mode "1280x1024": 135.0 MHz, 80.0 kHz, 75.0 Hz
(**) NVIDIA(0):      Default mode "1280x1024": 108.0 MHz, 64.0 kHz, 60.0 Hz
.... many more Default mode lines.

When modelines are manually specified for a monitor, which I have to do for my
second monitor, a similar situation occurs.  The user specified modelines are
listed as "Mode" and then a long list of "Default mode" lines follows, which are
not in the configuration file.

What I would like to request is an option to only have the "Mode" lines and omit
the "Default mode" lines.  I think this is independent from the EDID issue that
bug 5386 discusses, as it also occurs when the user specifies one or more modelines.

Should this be an NVIDIA driver issue and not something under Xorg control,
please add a comment and I will report to NVIDIA instead.
(however, I have seen the same long list of default modes on a system with no
NVIDIA card, so I presumed it is handled by Xorg)

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.