annotate TVout/fbset/fb.modes.5 @ 7773:e7dd97c4c840

rgb1/rgb4 support
author arpi
date Thu, 17 Oct 2002 00:27:27 +0000
parents 3b5f5d1c5041
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
1 .TH fb.modes 8 "Aug 1996" local "Linux frame buffer utils"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
2 .SH NAME
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
3 fb.modes \- frame buffer modes file
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
4 .SH DESCRIPTION
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
5 .I /etc/fb.modes
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
6 contains an unlimited number of video mode descriptions. The general format
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
7 of a video mode is:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
8 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
9 mode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
10 .RI \" name \"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
11 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
12 geometry
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
13 .RI < xres >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
14 .RI < yres >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
15 .RI < vxres >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
16 .RI < vyres >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
17 .RI < depth >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
18 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
19 timings
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
20 .RI < pixclock >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
21 .RI < left >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
22 .RI < right >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
23 .RI < upper >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
24 .RI < lower >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
25 .RI < hslen >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
26 .RI < vslen >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
27 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
28 .B options
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
29 .RI < value >
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
30 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
31 endmode
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
32 .SH OPTIONS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
33 geometry options:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
34 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
35 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
36 .I xres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
37 visible horizontal resolution (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
38 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
39 .I yres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
40 visible vertical resolution (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
41 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
42 .I vxres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
43 virtual horizontal resolution (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
44 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
45 .I vyres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
46 virtual vertical resolution (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
47 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
48 .I depth
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
49 display depth (in bits per pixel)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
50 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
51 .PP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
52 timing options:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
53 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
54 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
55 .I pixclock
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
56 length of one pixel (in picoseconds)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
57 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
58 .I left
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
59 left margin (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
60 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
61 .I right
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
62 right margin (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
63 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
64 .I upper
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
65 upper margin (in pixel lines)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
66 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
67 .I lower
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
68 lower margin (in pixel lines)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
69 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
70 .I hslen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
71 horizontal sync length (in pixels)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
72 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
73 .I vslen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
74 vertical sync length (in pixel lines)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
75 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
76 .PP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
77 other options:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
78 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
79 the first value of this options is the default
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
80 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
81 .IR \fBhsync "\ {" low | high }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
82 the horizontal sync polarity
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
83 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
84 .IR \fBvsync "\ {" low | high }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
85 the vertical sync polarity
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
86 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
87 .IR \fBcsync "\ {" low | high }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
88 the composite sync polarity
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
89 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
90 .IR \fBextsync "\ {" false | true }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
91 enable or disable external resync. If enabled the sync timings are not
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
92 generated by the frame buffer device and must be provided externally
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
93 instead. Note that this option may not be supported by every frame buffer
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
94 device
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
95 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
96 .IR \fBlaced "\ {" false | true }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
97 enable or disable interlace. If enabled the display will be split in two
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
98 frames, each frame contains only even and odd lines respectively. These two
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
99 frames will be displayed alternating, this way twice the lines can be
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
100 displayed and the vertical frequency for monitor stays the same, but the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
101 visible vertical frequency gets halved
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
102 .TP
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
103 .IR \fBdouble "\ {" false | true }
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
104 enable or disable doublescan. If enabled every line will be displayed twice
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
105 and this way the horizontal frequency can easily be doubled, so that the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
106 same resolution can be displayed on different monitors, even if the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
107 horizontal frequency specification differs. Note that this option may not be
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
108 supported by every frame buffer device
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
109 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
110 .SH INTERNALS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
111 Generally a frame buffer display is organized as follows:
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
112 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
113 .ad c
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
114 +\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-+\-\-\-+
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
115 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
116 .RB "|\ \ \ |\ \ \ \ \ \ \ " ^ "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
117 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
118 .RB "|\ \ \ |\ \ \ \ \ \ \ " | "\ " \fI5 "\ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
119 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
120 .RB "|\ \ \ |\ \ \ \ \ \ \ " v "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
121 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
122 +\-\-\-#################\-\-\-+\-\-\-+
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
123 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
124 .RB "|\ \ \ #\ \ \ \ \ \ \ " ^ "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
125 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
126 .RB "|\ \ \ #\ \ \ \ \ \ \ " | "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
127 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
128 .RB "|\ \ \ #\ \ \ \ \ \ \ " | "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
129 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
130 .RI "| " 1 " # " \fB| " " 2 " # " 3 " | " 4 " |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
131 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
132 .RB "|" "<\->" "#" "<\-\-\-\-\-\-+\-\-\-\-\-\->" "#" "<\->" "|" "<\->" "|"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
133 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
134 .RB "|\ \ \ #\ \ \ \ \ \ \ " | "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
135 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
136 .RB "|\ \ \ #\ \ \ \ \ \ \ " | "\ " \fI6 "\ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
137 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
138 .RB "|\ \ \ #\ \ \ \ \ \ \ " | "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
139 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
140 .RB "|\ \ \ #\ \ \ \ \ \ \ " v "\ \ \ \ \ \ \ #\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
141 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
142 +\-\-\-#################\-\-\-+\-\-\-+
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
143 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
144 .RB "|\ \ \ |\ \ \ \ \ \ \ " ^ "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
145 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
146 .RB "|\ \ \ |\ \ \ \ \ \ \ " | "\ " \fI7 "\ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
147 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
148 .RB "|\ \ \ |\ \ \ \ \ \ \ " v "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
149 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
150 +\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-+\-\-\-+
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
151 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
152 .RB "|\ \ \ |\ \ \ \ \ \ \ " ^ "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
153 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
154 .RB "|\ \ \ |\ \ \ \ \ \ \ " | "\ " \fI8 "\ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
155 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
156 .RB "|\ \ \ |\ \ \ \ \ \ \ " v "\ \ \ \ \ \ \ |\ \ \ |\ \ \ |"
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
157 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
158 +\-\-\-+\-\-\-\-\-\-\-\-\-\-\-\-\-\-\-+\-\-\-+\-\-\-+
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
159 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
160 .ad n
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
161 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
162 .I 1
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
163 \t left margin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
164 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
165 .I 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
166 \t xres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
167 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
168 .I 3
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
169 \t right margin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
170 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
171 .I 4
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
172 \t horizontal sync len
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
173 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
174 .I 5
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
175 \t upper margin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
176 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
177 .I 6
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
178 \t yres
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
179 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
180 .I 7
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
181 \t lower margin
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
182 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
183 .I 8
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
184 \t vertical sync len
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
185 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
186 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
187 The area bordered with `#' is the visible display area. Horizontal and
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
188 vertical frequencies can now easily be calculated, for this the sum of
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
189 horizontal or vertical values are important
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
190 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
191 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
192 htotal\ =\ left\ +\ xres\ +\ right\ +\ hslen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
193 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
194 vtotal\ =\ upper\ +\ yres\ +\ lower\ +\ vslen
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
195 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
196 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
197 The length of one line can now be calculated with pixclock
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
198 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
199 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
200 line\ =\ pixclock\ *\ htotal
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
201 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
202 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
203 and we have the horizontal frequency
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
204 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
205 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
206 hfreq\ =\ 1E12\ /\ line\ =\ 1E12\ /\ (pixclock\ *\ htotal)
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
207 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
208 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
209 To get the vertical frequency vtotal must eventually adjusted. If the
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
210 display is laced, vtotal must be halved or if the display is a doublescan
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
211 one, vtotal must be doubled. Now we can calculate the length of one frame
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
212 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
213 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
214 if\ (lace)\ \ \ vtotal\ /=\ 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
215 .br
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
216 if\ (double)\ vtotal\ *=\ 2
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
217 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
218 frame\ =\ vtotal\ *\ line
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
219 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
220 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
221 and we get also the vertical frequency
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
222 .RS
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
223 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
224 vfreq\ =\ 1E12\ /\ frame\ =\ hfreq\ /\ vtotal
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
225 .sp
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
226 .RE
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
227 .SH SEE ALSO
3b5f5d1c5041 Initial revision
arpi_esp
parents:
diff changeset
228 .BR fbset "(8), " fbdev (4)