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: Wed, 25 Aug 2010 10:41:17
Message-Id: 4C74F2B5.2040804@optonline.net
In Reply to: Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg? by Dale
1 On 08/24/2010 08:07 PM, Dale wrote:
2 > dhk wrote:
3 >> On 08/24/2010 06:59 PM, Paul Hartman wrote:
4 >>
5 >>> On Tue, Aug 24, 2010 at 5:37 PM, Dale<rdalek1967@×××××.com> wrote:
6 >>>
7 >>>> Paul Hartman wrote:
8 >>>>
9 >>>>> On Tue, Aug 24, 2010 at 5:07 PM, Kevin O'Gorman<kogorman@×××××.com>
10 >>>>> wrote:
11 >>>>>
12 >>>>>
13 >>>>>> Yah, I might have some luck with that. Since I'm years out of
14 >>>>>> practice
15 >>>>>> fooling with this stuff (last seen in 2002) can someone point me
16 >>>>>> at the
17 >>>>>> tools for
18 >>>>>> 1) Computing a modeline (I understand the quality varies a lot)
19 >>>>>> 2) Configuring an xorg.conf
20 >>>>>>
21 >>>>>>
22 >>>>> Check out x11-apps/amlc -- it has an interactive modeline generator
23 >>>>> where you tell it the aspect ratio& size of your screen and it spits
24 >>>>> out modelines for you. You'll still need to fill in the
25 >>>>> HSync/VSync/Clock speed stuff.
26 >>>>>
27 >>>>>
28 >>>>>
29 >>>>>
30 >>>> Does this help any?
31 >>>>
32 >>>> Section "Screen"
33 >>>> Identifier "Screen0"
34 >>>> Device "Card0"
35 >>>> Monitor "Monitor0"
36 >>>> Option "DPMS" "TRUE"
37 >>>> SubSection "Display"
38 >>>> Viewport 0 0
39 >>>> Depth 24
40 >>>> Modes "1280x1024" "1024x768" "800x600"
41 >>>> EndSubSection
42 >>>> SubSection "Display"
43 >>>> Viewport 0 0
44 >>>> Modes "1280x1024" "1024x768" "800x600"
45 >>>> EndSubSection
46 >>>> SubSection "Display"
47 >>>> Viewport 0 0
48 >>>> Depth 4
49 >>>> Modes "1280x1024" "1024x768" "800x600"
50 >>>> EndSubSection
51 >>>> SubSection "Display"
52 >>>> Viewport 0 0
53 >>>> Depth 8
54 >>>> Modes "1280x1024" "1024x768" "800x600"
55 >>>> EndSubSection
56 >>>>
57 >>>> That's just a part of my xorg.conf. I don't use hal and don't like
58 >>>> udev
59 >>>> doing mine so I still got my full xorg.conf file. If you need more,
60 >>>> just
61 >>>> let me know. Heck, I'll post the whole thing if it will help you any.
62 >>>>
63 >>>> Also, have you tried running "X -configure" yet? I used it on another
64 >>>> machine and it worked pretty well.
65 >>>>
66 >>>> Dale
67 >>>>
68 >>> After creating a basic xorg.conf the modeline should go in the
69 >>> "Monitor" section. I don't use a modeline now but the only example I
70 >>> have from my xorg.conf archives are these:
71 >>>
72 >>> Section "Monitor"
73 >>> # 2048x1152 @ 50.00 Hz (GTF) hsync: 59.30 kHz; pclk: 162.24 MHz
74 >>> Modeline "2048x1152_50.00" 162.24 2048 2176 2392 2736 1152 1153
75 >>> 1156 1186 -HSync +Vsync
76 >>> # 2048x1152 @ 60.00 Hz (GTF) hsync: 71.52 kHz; pclk: 197.97 MHz
77 >>> Modeline "2048x1152_60.00" 197.97 2048 2184 2408 2768 1152 1153
78 >>> 1156 1192 -HSync +Vsync
79 >>> EndSection
80 >>>
81 >>> And then in the Screen section like Dale posted you'd use for example
82 >>> "2048x1152_60.00" as your modeline (or whatever you decided to entitle
83 >>> your modes).
84 >>>
85 >>> At least that's how it used to work. With modern video cards& modern
86 >>> Xorg/Gnome/KDE it does a pretty good job of autodetecting that kind of
87 >>> thing so I haven't had to worry about it in a long time. :)
88 >>>
89 >>>
90 >>>
91 >> My monitor resolution is a little off after the last Xorg upgrade today.
92 >> Everything looks larger than usual. As far as this email thread goes,
93 >> I thought xorg.conf was obsolete.
94 >>
95 >>
96 >
97 > It is if you can use udev and hal to sort out things. Only thing is, if
98 > hal or udev doesn't work, you are stuck with using xorg.conf. As some
99 > may know here, hal didn't work for me. It was good at locking up my
100 > keyboard and mouse tho. At one point, even the SysRq key wouldn't work.
101 >
102 > I don't know where but I also read where someone had trouble with a LCD
103 > screen one time. It would work on a console but no GUI. They had to
104 > use a xorg.conf file to set the display up properly so that it would
105 > work. Hal works for most people but doesn't for others. Then some
106 > others can do some minor tweaking and get it to work.
107 >
108 > I wouldn't even think of trying to tell someone how to tweak hal's
109 > config file. It's in xml and I can't read that.
110 >
111 > I did find this link which may help. The part at the bottom is what I
112 > think you need.
113 >
114 > http://howto-pages.org/ModeLines/
115 >
116 > Hope that helps.
117 >
118 > Dale
119 >
120 > :-) :-)
121 >
122 >
123
124 We'll I have an LCD screen that stopped displaying correctly yesterday
125 after the Xorg update. It's not terrible, but not like it was. I may
126 have to use xorg.conf now.