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