[opensuse-xorg] Video mode choice
Currently the algorithm for video mode selection prefers the highest resolution. Would it be possible to change it to prefer the highest refresh rate? Also, I know that I can use systemsettings to change the resolution in KDE, but what do I do in a twm session? Chris -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
hi Křištof, you can use xrandr -q to see what is supported and the use xrandr --mode to select what you like. but beware that this will not change the automatic detection code. (I found that this is a good way because when you change your setup the automatic will (normaly) choose a working setup that you can easly fix afterward using xrandr.) re, wh Am 06.05.2011 21:15, schrieb Křištof Želechovski:
Currently the algorithm for video mode selection prefers the highest resolution. Would it be possible to change it to prefer the highest refresh rate? Also, I know that I can use systemsettings to change the resolution in KDE, but what do I do in a twm session? Chris -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On 06.05.11 Křištof Želechovski wrote:
Currently the algorithm for video mode selection prefers the highest resolution. Would it be possible to change it to prefer the highest refresh rate? Also, I know that I can use systemsettings to change the resolution in KDE, but what do I do in a twm session? Chris
The most basic way to do this is the file /etc/X11/xorg.conf If you don't have such, create it by calling from the console X -configure ... when Xorg is _not_ running. You may do a »init 3« to deactivate a running Xorg (and activate it later again by »init 5«). Move the newly created file /root/xorg.conf to /etc/X11/ Edit the file and change the »Section Screen«, which looks like this in my case: Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 Modes "1600x1200" "1400x1050" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection You see, the first resolution to select is 1600x1200. If I wanted 1024x768 to be the first, I just would change the order here. You can search in the file /var/log/Xorg.0.log for lines containing the word »Modeline« to see which resolutions are supported by your monitor. Usually for every supported resolution Xorg takes the highest possible frequency. Okay, this was very short now; don't hesitate to ask again. ;-) Werner
Dnia wtorek, 10 maja 2011 o 10:05:39 Werner Scheinast napisał(a):
On 06.05.11 Křištof Želechovski wrote:
Currently the algorithm for video mode selection prefers the highest resolution. Would it be possible to change it to prefer the highest refresh rate? Also, I know that I can use systemsettings to change the resolution in KDE, but what do I do in a twm session? Chris
The most basic way to do this is the file /etc/X11/xorg.conf If you don't have such, create it by calling from the console X -configure ... when Xorg is _not_ running. You may do a »init 3« to deactivate a running Xorg (and activate it later again by »init 5«). Move the newly created file /root/xorg.conf to /etc/X11/
Edit the file and change the »Section Screen«, which looks like this in my case:
Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 24 Modes "1600x1200" "1400x1050" "1280x960" "1152x864" "1024x768" "800x600" "640x480" EndSubSection EndSection
You see, the first resolution to select is 1600x1200. If I wanted 1024x768 to be the first, I just would change the order here. You can search in the file /var/log/Xorg.0.log for lines containing the word »Modeline« to see which resolutions are supported by your monitor. Usually for every supported resolution Xorg takes the highest possible frequency.
Okay, this was very short now; don't hesitate to ask again. ;-) Werner
This is all good and well, except that it takes us several years back. If I change the monitor attached to the graphics card, I have to repeat the process. I think it would be reasonable to expect the X server to pick the highest resolution for the highest frequency, not the other way round. Or at least to be configurable to do so. Chris -- To unsubscribe, e-mail: opensuse-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
On 2011/05/11 09:40 (GMT+0200) Křištof Želechovski composed:
This is all good and well, except that it takes us several years back. If I change the monitor attached to the graphics card, I have to repeat the process. I think it would be reasonable to expect the X server to pick the highest resolution for the highest frequency, not the other way round. Or at least to be configurable to do so.
Modern displays are LCDs mostly, some LEDs. Either usually have at most two refresh choices, generally 60 & 75, with the existence of the latter mainly for compatibility with gfxcards that prefer the higher or can't even do 60 at certain resolutions. I've never been able to detect visible difference between operation at 60 and at 75 on any LCD. They're all designed to function perfectly at 60. Besides that, they all have a preferred mode, which is invariably a 60 mode. All of this means any fussing over refresh would be for the virtually exclusive benefit of users of old and dying hardware. It's not unlikely to think devs responsible for code that would need to be altered to accommodate your desire might not have CRTs to test on any more, making it hard to provide even if they wanted to. -- "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-xorg+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-xorg+help@opensuse.org
participants (4)
-
Felix Miata
-
Křištof Želechovski
-
walter harms
-
Werner Scheinast