Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg?
Date: Tue, 24 Aug 2010 23:12:21
Message-Id: 4C745157.40108@optonline.net
In Reply to: Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg? by Paul Hartman
1 On 08/24/2010 06:59 PM, Paul Hartman wrote:
2 > On Tue, Aug 24, 2010 at 5:37 PM, Dale <rdalek1967@×××××.com> wrote:
3 >> Paul Hartman wrote:
4 >>>
5 >>> On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gorman<kogorman@×××××.com>
6 >>> wrote:
7 >>>
8 >>>>
9 >>>> Yah, I might have some luck with that. Since I'm years out of practice
10 >>>> fooling with this stuff (last seen in 2002) can someone point me at the
11 >>>> tools for
12 >>>> 1) Computing a modeline (I understand the quality varies a lot)
13 >>>> 2) Configuring an xorg.conf
14 >>>>
15 >>>
16 >>> Check out x11-apps/amlc -- it has an interactive modeline generator
17 >>> where you tell it the aspect ratio& size of your screen and it spits
18 >>> out modelines for you. You'll still need to fill in the
19 >>> HSync/VSync/Clock speed stuff.
20 >>>
21 >>>
22 >>>
23 >>
24 >> Does this help any?
25 >>
26 >> Section "Screen"
27 >> Identifier "Screen0"
28 >> Device "Card0"
29 >> Monitor "Monitor0"
30 >> Option "DPMS" "TRUE"
31 >> SubSection "Display"
32 >> Viewport 0 0
33 >> Depth 24
34 >> Modes "1280x1024" "1024x768" "800x600"
35 >> EndSubSection
36 >> SubSection "Display"
37 >> Viewport 0 0
38 >> Modes "1280x1024" "1024x768" "800x600"
39 >> EndSubSection
40 >> SubSection "Display"
41 >> Viewport 0 0
42 >> Depth 4
43 >> Modes "1280x1024" "1024x768" "800x600"
44 >> EndSubSection
45 >> SubSection "Display"
46 >> Viewport 0 0
47 >> Depth 8
48 >> Modes "1280x1024" "1024x768" "800x600"
49 >> EndSubSection
50 >>
51 >> That's just a part of my xorg.conf. I don't use hal and don't like udev
52 >> doing mine so I still got my full xorg.conf file. If you need more, just
53 >> let me know. Heck, I'll post the whole thing if it will help you any.
54 >>
55 >> Also, have you tried running "X -configure" yet? I used it on another
56 >> machine and it worked pretty well.
57 >>
58 >> Dale
59 >
60 > After creating a basic xorg.conf the modeline should go in the
61 > "Monitor" section. I don't use a modeline now but the only example I
62 > have from my xorg.conf archives are these:
63 >
64 > Section "Monitor"
65 > # 2048x1152 @ 50.00 Hz (GTF) hsync: 59.30 kHz; pclk: 162.24 MHz
66 > Modeline "2048x1152_50.00" 162.24 2048 2176 2392 2736 1152 1153
67 > 1156 1186 -HSync +Vsync
68 > # 2048x1152 @ 60.00 Hz (GTF) hsync: 71.52 kHz; pclk: 197.97 MHz
69 > Modeline "2048x1152_60.00" 197.97 2048 2184 2408 2768 1152 1153
70 > 1156 1192 -HSync +Vsync
71 > EndSection
72 >
73 > And then in the Screen section like Dale posted you'd use for example
74 > "2048x1152_60.00" as your modeline (or whatever you decided to entitle
75 > your modes).
76 >
77 > At least that's how it used to work. With modern video cards & modern
78 > Xorg/Gnome/KDE it does a pretty good job of autodetecting that kind of
79 > thing so I haven't had to worry about it in a long time. :)
80 >
81 >
82
83 My monitor resolution is a little off after the last Xorg upgrade today.
84 Everything looks larger than usual. As far as this email thread goes,
85 I thought xorg.conf was obsolete.

Replies