Gentoo Archives: gentoo-user

From: Dan Farrell <dan@×××××××××.cx>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switched monitors, having resolution problems
Date: Wed, 28 Feb 2007 01:10:55
Message-Id: 20070227190505.75a13782@pascal.spore.ath.cx
In Reply to: Re: [gentoo-user] Switched monitors, having resolution problems by "Hemmann
1 On Wed, 28 Feb 2007 01:54:29 +0100
2 "Hemmann, Volker Armin" <volker.armin.hemmann@××××××××××××.de> wrote:
3
4 > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
5 > > On 2/28/07, Hemmann, Volker Armin
6 > > <volker.armin.hemmann@××××××××××××.de>
7 > wrote:
8 > > > On Mittwoch, 28. Februar 2007, Vlad Dogaru wrote:
9 > > > > Hello all,
10 > > > >
11 > > > > I have just switched monitors and X now starts in 640x480. I
12 > > > > intend to make it work at 1280x1024, and have changed
13 > > > > DefaultDepth and Modes lines in xorg.conf accordingly. The
14 > > > > console works at 1024x768 as usual, but I have compiled that
15 > > > > into the framebuffer. Any suggestions?
16 > > >
17 > > > how about not using modelines at all?
18 > >
19 > > I've tried commenting out the modeline, to no avail, and the
20 > > DefaultDepth, also with no result. I've checked the logs and found
21 > > nothing out of place. Attatched is my xorg.conf, should anyone find
22 > > it meaningful.
23 > >
24 > > Vlad
25 > >
26 > > > --
27 > > > gentoo-user@g.o mailing list
28 >
29 > well, you set no mode at all - modelines are something different ;)
30 >
31 > Section "Screen"
32 > Identifier "Screen0"
33 > Device "Card0"
34 > Monitor "Monitor0"
35 > #DefaultDepth 24
36 > SubSection "Display"
37 > Viewport 0 0
38 > Depth 1
39 > EndSubSection
40 > SubSection "Display"
41 > Viewport 0 0
42 > Depth 4
43 > EndSubSection
44 > SubSection "Display"
45 > Viewport 0 0
46 > Depth 8
47 > EndSubSection
48 > SubSection "Display"
49 > Viewport 0 0
50 > Depth 15
51 > EndSubSection
52 > SubSection "Display"
53 > Viewport 0 0
54 > Depth 16
55 > EndSubSection
56 > SubSection "Display"
57 > Viewport 0 0
58 > Depth 24
59 > #Modes "1280x1024"
60 > EndSubSection
61 > EndSection
62 >
63 > change that too something like:
64 >
65 >
66 > Section "Screen"
67 > Identifier "Screen0"
68 > Device "Card0"
69 > Monitor "Monitor0"
70 > #DefaultDepth 24
71 > SubSection "Display"
72 > Viewport 0 0
73 > Depth 1
74 > EndSubSection
75 > SubSection "Display"
76 > Viewport 0 0
77 > Depth 4
78 > Modes "1280x1024" "1024x768" "800x600" "640x480"
79 > EndSubSection
80 > SubSection "Display"
81 > Viewport 0 0
82 > Depth 8
83 > Modes "1280x1024" "1024x768" "800x600" "640x480"
84 > EndSubSection
85 > SubSection "Display"
86 > Viewport 0 0
87 > Depth 15
88 > Modes "1280x1024" "1024x768" "800x600" "640x480"
89 > EndSubSection
90 > SubSection "Display"
91 > Viewport 0 0
92 > Depth 16
93 > Modes "1280x1024" "1024x768" "800x600" "640x480"
94 > EndSubSection
95 > SubSection "Display"
96 > Viewport 0 0
97 > Depth 24
98 > Modes "1280x1024" "1024x768" "800x600"
99 > "640x480" EndSubSection
100 > EndSection
101 >
102 > And add this to your modules section:
103 > Load "ddc"
104 I find myself in this situation often, and usually, looking up
105 Horizontal Sync and Vertical Refresh frequencies for the make and model
106 of the monitor (rarely tricky) and then setting them in xorg.conf
107 solves the problem. For example:
108
109 Section "Monitor"
110 Identifier "Monitor0"
111 VendorName "Monitor Vendor"
112 ModelName "Monitor Model"
113 HorizSync 31.5-64.3
114 VertRefresh 50-90
115 Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823
116 EndSection
117
118 In this case I also used a modeline because the HorizSync and
119 VertRefresh settings didn't work at 1024x768 without it.
120 --
121 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Switched monitors, having resolution problems Vlad Dogaru <ddvlad@×××××.com>