| 125 | | CONFIGURING X |
|---|
| 126 | | ------------- |
|---|
| 127 | | |
|---|
| 128 | | The LiveCD attempts to configure X for your video card automatically. The |
|---|
| 129 | | process may fail if you have more than one video card, if your video card |
|---|
| 130 | | does not support 24-bit color depth, or if your monitor is not Plug-n-Play |
|---|
| 131 | | compatible (in other words, does not tell its characteristics to Xorg via DDC). |
|---|
| 132 | | In such cases, you have to edit the '/etc/X11/xorg.conf' file manually, using |
|---|
| 133 | | vim, joe or nano, as described below. |
|---|
| 134 | | |
|---|
| 135 | | In 'Section "Device"', specify the driver for your video card, e.g.: |
|---|
| 136 | | |
|---|
| 137 | | Section "Device" |
|---|
| 138 | | Identifier "Generic Video Card" |
|---|
| 139 | | Driver "vesa" |
|---|
| 140 | | EndSection |
|---|
| 141 | | |
|---|
| 142 | | In 'Section "Monitor"', specify the allowed frequency ranges for your |
|---|
| 143 | | monitor. If unsure, consult the manual that came with your monitor. If |
|---|
| 144 | | such information is not there, but you know a working resolution and refresh |
|---|
| 145 | | rate, run the 'gtf' command. E.g., if your monitor can handle 1280x1024@85Hz: |
|---|
| 146 | | |
|---|
| 147 | | $ gtf 1280 1024 85 |
|---|
| 148 | | |
|---|
| 149 | | NOTE: You must specify the refresh rate of 60 Hz for VGA-connected LCD monitors. |
|---|
| 150 | | |
|---|
| 151 | | Then look at the output: |
|---|
| 152 | | |
|---|
| 153 | | # 1280x1024 @ 85.00 Hz (GTF) hsync: 91.38 kHz; pclk: 159.36 MHz |
|---|
| 154 | | Modeline "1280x1024_85.00" 159.36 1280 1376 1512 1744 1024 1025 1028 1075 -HSync +Vsync |
|---|
| 155 | | |
|---|
| 156 | | Put the synchronization ranges that contain the printed values. For the above |
|---|
| 157 | | example, this means that the following information should be added in the |
|---|
| 158 | | "Monitor" section: |
|---|
| 159 | | |
|---|
| 160 | | Section "Monitor" |
|---|
| 161 | | Identifier "Generic Monitor" |
|---|
| 162 | | Option "DPMS" |
|---|
| 163 | | # Option "NoDDC" # for broken monitors that |
|---|
| 164 | | # report max dot clock = 0 MHz |
|---|
| 165 | | HorizSync 30-92 # because gtf said "hsync: 91.38 kHz" |
|---|
| 166 | | VertRefresh 56-86 # because an 85 Hz mode has been requested |
|---|
| 167 | | # the Modeline may also be pasted here |
|---|
| 168 | | Option "PreferredMode" "1280x1024_85.00" # only for the "intel" driver |
|---|
| 169 | | EndSection |
|---|
| 170 | | |
|---|
| 171 | | In the 'Section "Screen"', change the 'DefaultDepth' and add the '"Modes"' |
|---|
| 172 | | line to 'SubSection "Display"' with the proper color depth. If you added custom |
|---|
| 173 | | Modelines, you have to specify them exactly as defined, i.e. '"1280x1024_85.00"' |
|---|
| 174 | | in the example above. The built-in Modelines have names similar to '"1024x768"', |
|---|
| 175 | | without explicit specification of the refresh rate. |
|---|
| 176 | | |
|---|
| 177 | | When you are finished editing '/etc/X11/xorg.conf', run 'startx'. |
|---|
| 178 | | |
|---|
| 179 | | PROPRIETARY VIDEO DRIVERS |
|---|
| 180 | | ------------------------- |
|---|
| 181 | | |
|---|
| 182 | | The CD contains pre-built proprietary video drivers in the '/drivers' directory |
|---|
| 183 | | (if you loaded the CD contents to RAM, you have to mount the CD and look into |
|---|
| 184 | | '/media/cdrom/drivers' instead). They are never selected by default by the |
|---|
| 185 | | autoconfiguration process. Here is how to enable them. |
|---|
| 186 | | |
|---|
| 187 | | NVIDIA |
|---|
| 188 | | ~~~~~~ |
|---|
| 189 | | |
|---|
| 190 | | cd /drivers |
|---|
| 191 | | tar -C / -xf NVIDIA-Linux-[userspace_arch]-x86-6.3-r2052-glx.tgz |
|---|
| 192 | | tar -C / -xf NVIDIA-Linux-[kernel_arch]-x86-6.3-r2052-kernel-[kernel_version].tgz |
|---|
| 193 | | depmod -ae |
|---|
| 194 | | ldconfig |
|---|
| 195 | | vim /etc/X11/xorg.conf # use the "nvidia" driver instead of "vesa" or "nv" |
|---|
| 196 | | |
|---|
| 197 | | FGLRX |
|---|
| 198 | | ~~~~~ |
|---|
| 199 | | |
|---|
| 200 | | cd /drivers |
|---|
| 201 | | tar -C / -xf fglrx-x710-x86-6.3-r2052-[userspace_arch]-1.tgz |
|---|
| 202 | | tar -C / -xf fglrx-module-x86-6.3-r2052-[kernel_arch]-1_kernel_[kernel_version].tgz |
|---|
| 203 | | depmod -ae |
|---|
| 204 | | ldconfig |
|---|
| 205 | | vim /etc/X11/xorg.conf # use the "fglrx" driver instead of "vesa" or "ati" |
|---|
| 206 | | |
|---|
| 282 | | |
|---|
| 283 | | The CD contains TrueType fonts that cover the orthography of most of European |
|---|
| 284 | | and some Asian languages. No additional configuration is required in order to |
|---|
| 285 | | use these fonts. |
|---|
| 286 | | |
|---|
| 287 | | Use of this LiveCD with Chinese, Japanese or Korean language requires that |
|---|
| 288 | | your monitor has at least 80 pixels per inch in order for hieroglyphs to |
|---|
| 289 | | be recognizable (i.e., at least 12 pixels high). This means the following |
|---|
| 290 | | minimum resolution: |
|---|
| 291 | | |
|---|
| 292 | | .-------.--------- |
|---|
| 293 | | Size Resolution |
|---|
| 294 | | ------------------ |
|---|
| 295 | | 15" 1024x768 |
|---|
| 296 | | 17" 1024x768 |
|---|
| 297 | | 19" 1280x1024 |
|---|
| 298 | | 20" 1280x1024 |
|---|
| 299 | | ------------------ |
|---|
| 300 | | |
|---|
| 301 | | If your monitor cannot handle such resolution, edit the |
|---|
| 302 | | '/etc/X11/xinit/xserverrc' file with vim, nano or joe, and add the '-dpi 94' |
|---|
| 303 | | parameter to the X server command line there. |
|---|