Submitted By: Alexander E. Patrakov
Date: 2006-02-28
Initial Package Version: 7.0.0
Origin: Alexander E. Patrakov
Upstream status: LiveCD specific
Description: Makes it an error to exceed the DDC probed maximum dot clock.
Deletes default modes with refresh rate less than 60 Hz
Should fix "I get 2048x1536@60Hz instead of nice 1600x1200@75Hz" and
"my LCD monitor gets confused" problems with unconfigured (i.e.,
no "Modes" line) Xorg.
diff -ur xorg-server-X11R7.0-1.0.1.orig/hw/xfree86/common/xf86Mode.c xorg-server-X11R7.0-1.0.1/hw/xfree86/common/xf86Mode.c
old
|
new
|
|
771 | 771 | "(%s,%s) mode clock %gMHz exceeds DDC maximum %dMHz\n", |
772 | 772 | mode->name, monitor->id, |
773 | 773 | mode->Clock/1000.0, mon_range->max_clock); |
| 774 | return MODE_CLOCK_HIGH; |
774 | 775 | } |
775 | 776 | } |
776 | 777 | } |
diff -ur xorg-server-X11R7.0-1.0.1.orig/hw/xfree86/common/extramodes xorg-server-X11R7.0-1.0.1/hw/xfree86/common/extramodes
old
|
new
|
|
7 | 7 | # 832x624 @ 75Hz (74.55Hz) (fix if the official/Apple spec is different) hsync: 49.725kHz |
8 | 8 | ModeLine "832x624" 57.284 832 864 928 1152 624 625 628 667 -Hsync -Vsync |
9 | 9 | |
10 | | # 1152x768 @ 54.8Hz (Titanium PowerBook) hsync: 44.2kHz |
11 | | ModeLine "1152x768" 64.995 1152 1178 1314 1472 768 771 777 806 +hsync +vsync |
12 | | |
13 | 10 | # 1400x1050 @ 60Hz (VESA GTF) hsync: 65.5kHz |
14 | 11 | ModeLine "1400x1050" 122.0 1400 1488 1640 1880 1050 1052 1064 1082 +hsync +vsync |
15 | 12 | |
diff -ur xorg-server-X11R7.0-1.0.1.orig/hw/xfree86/common/vesamodes xorg-server-X11R7.0-1.0.1/hw/xfree86/common/vesamodes
old
|
new
|
|
27 | 27 | # 640x480 @ 85Hz (VESA) hsync: 43.3kHz |
28 | 28 | ModeLine "640x480" 36.0 640 696 752 832 480 481 484 509 -hsync -vsync |
29 | 29 | |
30 | | # 800x600 @ 56Hz (VESA) hsync: 35.2kHz |
31 | | ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 625 +hsync +vsync |
32 | | |
33 | 30 | # 800x600 @ 60Hz (VESA) hsync: 37.9kHz |
34 | 31 | ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync |
35 | 32 | |
… |
… |
|
42 | 39 | # 800x600 @ 85Hz (VESA) hsync: 53.7kHz |
43 | 40 | ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 631 +hsync +vsync |
44 | 41 | |
45 | | # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz |
46 | | ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 817 +hsync +vsync Interlace |
47 | | |
48 | 42 | # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz |
49 | 43 | ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync |
50 | 44 | |