Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] New HD monitor stretches everything. How to teach Xorg? dhk <dhkuhl@×××××××××.net>