Gentoo Archives: gentoo-user

From: Vlad Dogaru <ddvlad@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switched monitors, having resolution problems
Date: Wed, 28 Feb 2007 05:02:52
Message-Id: bf0e048a0702272055t43115742g18d557afbc90d3a3@mail.gmail.com
In Reply to: Re: [gentoo-user] Switched monitors, having resolution problems by Dan Farrell
1 On 2/28/07, Dan Farrell <dan@×××××××××.cx> wrote:
2 > On Wed, 28 Feb 2007 01:54:29 +0100
3 > "Hemmann, Volker Armin" <volker.armin.hemmann@××××××××××××.de> wrote:
4 >
5 > > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
6 > > > On 2/28/07, Hemmann, Volker Armin
7 > > > <volker.armin.hemmann@××××××××××××.de>
8 > > wrote:
9 > > > > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
10 > > > > > Hello all,
11 > > > > >
12 > > > > > I have just switched monitors and X now starts in 640x480. I
13 > > > > > intend to make it work at 1280x1024, and have changed
14 > > > > > DefaultDepth and Modes lines in xorg.conf accordingly. The
15 > > > > > console works at 1024x768 as usual, but I have compiled that
16 > > > > > into the framebuffer. Any suggestions?
17 > > > >
18 > > > > how about not using modelines at all?
19 > > >
20 > > > I've tried commenting out the modeline, to no avail, and the
21 > > > DefaultDepth, also with no result. I've checked the logs and found
22 > > > nothing out of place. Attatched is my xorg.conf, should anyone find
23 > > > it meaningful.
24 > > >
25 > > > Vlad
26 > > >
27 > > > > --
28 > > > > gentoo-user@g.o mailing list
29 > >
30 > > well, you set no mode at all - modelines are something different ;)
31 > >
32 > > Section "Screen"
33 > > Identifier "Screen0"
34 > > Device "Card0"
35 > > Monitor "Monitor0"
36 > > #DefaultDepth 24
37 > > SubSection "Display"
38 > > Viewport 0 0
39 > > Depth 1
40 > > EndSubSection
41 > > SubSection "Display"
42 > > Viewport 0 0
43 > > Depth 4
44 > > EndSubSection
45 > > SubSection "Display"
46 > > Viewport 0 0
47 > > Depth 8
48 > > EndSubSection
49 > > SubSection "Display"
50 > > Viewport 0 0
51 > > Depth 15
52 > > EndSubSection
53 > > SubSection "Display"
54 > > Viewport 0 0
55 > > Depth 16
56 > > EndSubSection
57 > > SubSection "Display"
58 > > Viewport 0 0
59 > > Depth 24
60 > > #Modes "1280x1024"
61 > > EndSubSection
62 > > EndSection
63 > >
64 > > change that too something like:
65 > >
66 > >
67 > > Section "Screen"
68 > > Identifier "Screen0"
69 > > Device "Card0"
70 > > Monitor "Monitor0"
71 > > #DefaultDepth 24
72 > > SubSection "Display"
73 > > Viewport 0 0
74 > > Depth 1
75 > > EndSubSection
76 > > SubSection "Display"
77 > > Viewport 0 0
78 > > Depth 4
79 > > Modes "1280x1024" "1024x768" "800x600" "640x480"
80 > > EndSubSection
81 > > SubSection "Display"
82 > > Viewport 0 0
83 > > Depth 8
84 > > Modes "1280x1024" "1024x768" "800x600" "640x480"
85 > > EndSubSection
86 > > SubSection "Display"
87 > > Viewport 0 0
88 > > Depth 15
89 > > Modes "1280x1024" "1024x768" "800x600" "640x480"
90 > > EndSubSection
91 > > SubSection "Display"
92 > > Viewport 0 0
93 > > Depth 16
94 > > Modes "1280x1024" "1024x768" "800x600" "640x480"
95 > > EndSubSection
96 > > SubSection "Display"
97 > > Viewport 0 0
98 > > Depth 24
99 > > Modes "1280x1024" "1024x768" "800x600"
100 > > "640x480" EndSubSection
101 > > EndSection
102 > >
103 > > And add this to your modules section:
104 > > Load "ddc"
105 > I find myself in this situation often, and usually, looking up
106 > Horizontal Sync and Vertical Refresh frequencies for the make and model
107 > of the monitor (rarely tricky) and then setting them in xorg.conf
108 > solves the problem. For example:
109 >
110 > Section "Monitor"
111 > Identifier "Monitor0"
112 > VendorName "Monitor Vendor"
113 > ModelName "Monitor Model"
114 > HorizSync 31.5-64.3
115 > VertRefresh 50-90
116 > Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823
117 > EndSection
118 >
119 > In this case I also used a modeline because the HorizSync and
120 > VertRefresh settings didn't work at 1024x768 without it.
121
122 I emerged ddcxinfo-knoppix and when I run it with -monitor, I get a
123 lot of modelines, along with some HorizSync and VertRefresh values.
124 These are what concern me:
125
126 Section "Monitor"
127 Identifier "Monitor0"
128 # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors
129 HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors
130 VertRefresh 50.0 - 75.0 # Very conservative. May flicker.
131 # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker.
132 TFT default.
133 # Default modes distilled from
134 # "VESA and Industry Standards and Guide for Computer
135 Display Monitor
136 # Timing", version 1.0, revision 0.8, adopted September 17, 1998.
137 # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v
138 1.4 1999/11/18 16:52:17 tsi Exp $
139 # 640x350 @ 85Hz (VESA) hsync: 37.9kHz
140 ModeLine "640x350" 31.5 640 672 736 832 350 382
141 385 445 +hsync -vsync
142 <snip modelines here>
143
144 Does this program guarantee that the settings really do work for my
145 monitor or are they just generic? I need to know, especially
146 considering the remarks about frying. Also, just checking to see I got
147 it correctly: I would comment out all but one modeline and use that
148 one, right? Again, are all modelines listed supported? (This lists
149 1920x1440@75 for a 17" monitor -- not by far a wiz with this, but...
150 is this right??)
151
152 Vlad
153
154 --
155 How's my English? How about my Netiquette?
156 Do mail me if something is wrong with my behaviour. Thank you.
157 --
158 gentoo-user@g.o mailing list

Replies