[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#448983: xserver-xorg-video-intel: ignores Modes and minimum VertRefresh to always choose 1280x1024@60Hz for Intel g33 chipset



Alan W. Irwin wrote:
> You should adapt the xorg.conf man page to point to that to save this issue
> coming up again and again for users like me who are familiar with X from
> their last hardware buy (which was three years ago for me) and for X
> newbies as well who know enough to check the xorg.conf man page.

The xorg.conf manpage is being updated, but it is pretty hard to cover
all cases since some driver are not RandR 1.2 aware yet while a couple
ones like the Intel one are already. So we basically need 2 different
manpages. Things be better when most drivers will have been ported to
RandR 1.2.

> Here is what I tried.  For that monitor there is a modeline that I have
> used
> for years that gives much better results than 800x600@85Hz.  I have
> recalculated that modeline with gtf to make sure all is well.  Here are the
> results as put in the "Monitor" section:
> 
> # Calculated from gtf 920 687 87
> # 920x687 @ 87.00 Hz (GTF) hsync: 62.90 kHz; pclk: 76.99 MHz
> Modeline "920x687_87.00"  76.99  920 976 1072 1224  687 688 691 723 
> -HSync +Vsync
> Option "PreferredMode" "920x687_87.00"
> 
> But the "920x687_87.00" mode is not used on startx (back to the 60Hz
> headache until I run xrandr), and the log only mentions 920x687 once (and
> not as a possible mode) when it simply repeats the Option "PreferredMode"
> "920x687_87.00".

You should add a Monitor section for both VGA and VGA-1 connectors to
make sure the modeline is applied to the right monitor. The HowTo
explains this too (you need a new monitor section and the corresponding
Option Monitor-VGA-1).

> I then tried to add a modeline with xrandr, but that doesn't work either.
> xrandr --help makes no mention of the --addmode option mentioned in the
> HowTo, and indeed use of that option just results in a "usage" message.

At least the following works here (with x11-xserver-utils 7.3+1):
$ xrandr --newmode foo 100.19 1024 1088 1200 1376  768 769 772 809
-HSync +Vsync
$ xrandr --addmode VGA foo

> In particular is there some confusion between VGA and VGA-1 that could be
> causing the problem with adding modelines?

Possibly, yes.

> Option          "Monitor-VGA" "Sony CPD-15SF2"

Monitor-VGA-1 might be better since the output of xrandr seems to say
that output VGA-1 is used here.

> line in the device section of xorg.conf as recommended by the man page for
> xorg.conf.  I haven't tried VGA-1, in that line (since the intel man page
> says to use VGA), but I wonder if the confusion between VGA and VGA-1 is
> causing a problem here?

VGA-1 is the name of the second VGA output when using the Intel driver.
VGA is the first one. These names are not well standardized across
drivers yet, I hope it will be better in the future.

Brice





Reply to: