2013/8/21 Felix Miata
On 2013-08-21 11:57 (GMT+0800) Michael Chang composed:
Too bad the linux kernel doesn't offer better ways to override the edid information :-(
Video= does the job well enough for the ttys. Why doesn't it work for Xorg?
Good question. I'd expect X to keep whatever mode setting was in effect unless explicitly told otherwise.
The Xorg's kms modesettings driver will pick preferred mode (usually the native resolution) and set to it unless you explicitly override with monitor or screen sections in /etc/X11/xorg.conf.d/.
So how does one accomplish that in an installation setting, which is what $SUBJECT is really about? The subject URL does not present any information on how one might get the installer to use a mode other than that specified as EDID preferred.
We used to have SaX for configuring X config stuff during installation, but sice it had gone away as the X could auto configure itself to work without needs to any pre-configured config the default policy from X is applied anyway.
I didn't know there's any other measures offered by X for setting other modes.
For most quirks that need to be dealt with at installation time there are cmdline parameters that can be used as workarounds. The question isn't so much whether X could be told to apply a cmdline option for X to use as it is why it doesn't seem to have such already. If framebuffer can obey video=, why can't X?
If video= is efffective for instructing the mode kms driver starting with, I have no idea why X wouldn't continue with the mode already set by kms, maybe anyone familar with X knows why ?
Until and unless it happens that X normally accepts a cmdline gfx mode option that applies to X, there needs to be a cmdline workaround to get whatever configuration mechanism the installer uses for X to translate the video= option to whatever X requires to get it to use that mode for installation. Nomodeset is a lousy alternative, as it gets applied to the installed system's cmdline configuration by default, and uses the vga= options, which are anything but intuitive to select appropriately, and only offer 4:3 modes regardless of actual screen aspect ratio.
I think if X per default to start and continue with kms mode set but not probint monitor and get it's preferred mode set, the problem could be solved. (But this seems to be the X driver's policy .. a feature not bug ?)
All the above is moot of course if there is a solution and it's just hiding from those who would use it.
-- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation)
Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!
Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org