Changeset 41605391 for x/installing
- Timestamp:
- 10/12/2004 05:13:42 PM (20 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c2c2d76
- Parents:
- e3ef32f
- Location:
- x/installing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
x/installing/xfree86.xml
re3ef32f r41605391 75 75 </itemizedlist> 76 76 77 <!--78 <para>You should also download the patch files:</para>79 <itemizedlist spacing='compact'>80 <listitem><para>81 <ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/4.3.0-4.3.0.1.diff.gz" />82 </para></listitem>83 <listitem><para>84 <ulink url="ftp://ftp.xfree86.org/pub/XFree86/4.3.0/fixes/fontfile.diff" />85 </para></listitem>86 </itemizedlist>87 -->88 89 77 <para>The first three packages are the <application>XFree86</application> 90 78 programs, the fourth and fifth are fonts, the sixth is normal documentation, … … 154 142 supported cards include those from 3dfx (Voodoo, Banshee), 3Dlabs, 155 143 ATI (Rage Pro, Rage 128, Radeon 7X00, Radeon 2), Intel (i810, i815), and 156 Matrox (G200, G400, G450). If you do enable <acronym>DRI</acronym> here, make 157 sure you select the video card(s) you want to support as a 158 <emphasis>module</emphasis>.</para> 144 Matrox (G200, G400, G450).</para> 159 145 160 146 <para>Additionally NVidia provides their own closed source binary drivers, … … 162 148 drivers, do not enable <acronym>DRI</acronym>.</para> 163 149 164 <para>If you made any changes to the kernel configuration, recompile the 165 kernel.</para> 166 167 <para>Copy <filename>/usr/src/linux/arch/i386/boot/bzImage</filename> and 168 <filename>/usr/src/linux/System.map</filename> to 169 <filename>/boot</filename>, edit <filename>/etc/lilo.conf</filename> 170 appropriately and run <filename>lilo</filename>. If you use 171 <filename>grub</filename>, edit <filename>/boot/grub/menu.lst</filename> 172 and add the new kernel to the boot menu. 173 </para> 150 <para>If you made any changes to the kernel configuration, recompile and 151 install the new kernel.</para> 174 152 175 153 <note><para>If you build <application>XFree86</application> in a 176 154 <command>chroot</command> environment, make sure the kernel version of the base 177 system and the target system are the same. This is especially important if you 178 enabled <acronym>DRI</acronym> support as a module as instructed above.</para> 155 system and the target system are the same.</para> 179 156 </note> 180 157 … … 334 311 make install.man && 335 312 ln -sf ../X11R6/bin /usr/bin/X11 && 336 ln -sf ../X11R6/lib/{X11,libGL.so{,.1}} /usr/lib && 337 ln -sf ../X11R6/include/{X11,GL} /usr/include</command></userinput></screen> 338 339 </sect3> 340 341 <sect3> 342 <title>Updating Direct Rendering Infrastructure (<acronym>DRI</acronym>)</title> 343 <para>If you have one of the supported <acronym>DRI</acronym> cards and 344 have enabled <acronym>DRI</acronym> kernel modules as explained 345 above, you now need to update the kernel modules to ensure they are compatible 346 with the current version of <application>XFree86</application>. To do this, 347 perform the following:</para> 348 349 <screen><userinput><command>cd programs/Xserver/hw/xfree86/os-support/linux/drm/kernel && 350 make -f Makefile.linux && 351 mkdir -p /lib/modules/`uname -r`/kernel/drivers/char/drm/ && 352 cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o \ 353 /lib/modules/`uname -r`/kernel/drivers/char/drm/ && 354 depmod -a</command></userinput></screen> 355 356 <warning><para>If you recompile or upgrade your kernel, you will need to 357 re-copy the appropriate driver module(s) to the kernel module library and rerun 358 <command>depmod -a</command>.</para></warning> 359 360 <note><para>If you created <acronym>AGP</acronym> support as a module when 361 compiling the kernel, you may have to add a line to 362 <filename>/etc/modules.conf</filename> to ensure the agpgart module is loaded. 363 For instance, the <acronym>AGP</acronym> version of the Radeon video card will 364 use the <filename>radeon.o</filename> driver. It will need to have the line 365 <screen>below radeon agpgart</screen> in <filename>/etc/modules.conf</filename> 366 to enable <acronym>DRI</acronym> support.</para></note> 367 368 </sect3> 313 ln -sf ../X11R6/lib/X11 /usr/lib/X11 && 314 ln -sf ../X11R6/include/X11 /usr/include/X11</command></userinput></screen> 315 316 </sect3> 317 369 318 </sect2> 370 319 … … 404 353 405 354 <para><screen><command>ln -sf ../X11R6/bin /usr/bin/X11 406 ln -sf ../X11R6/lib/ {X11,libGL.so{,.1}} /usr/lib407 ln -sf ../X11R6/include/ {X11,GL} /usr/include</command></screen>355 ln -sf ../X11R6/lib/X11 /usr/lib/X11 356 ln -sf ../X11R6/include/X11 /usr/include/X11</command></screen> 408 357 These commands are present to enable other (broken) packages to build 409 358 against <application>XFree86</application>, even though the Filesystem … … 412 361 users only."</para> 413 362 414 <!-- <para><command>make -f Makefile.linux</command>: This builds the415 <application>XFree86</application> compatible kernel modules using the same416 compiler used to compile the kernel.</para> -->417 418 <para><command>cp gamma.o radeon.o sis.o r128.o i810.o i830.o mga.o tdfx.o419 /lib/modules/`uname -r`/kernel/drivers/char/drm/</command>: Put the kernel420 module(s) where the kernel can find them. You only need to copy the driver you421 need to support your video card.</para>422 423 <para><command>depmod -a</command>: Update the modules.dep file for module424 management.</para>425 426 363 </sect2> 427 364 … … 434 371 <screen><userinput><command>ldconfig</command></userinput></screen> 435 372 436 <para>Ensure <filename class='directory'>/usr/X11R6/bin</filename> is added to 437 your <envar>PATH</envar> environment variable. Instructions for doing this are 373 <para>Ensure <filename class="directory">/usr/X11R6/bin</filename> 374 and <filename class="directory">/usr/X11R6/lib/pkgconfig</filename> 375 are added to your <envar>PATH</envar> and <envar>PKG_CONFIG_PATH</envar> 376 environment variables, respectively. Instructions for doing this are 438 377 described in the section "<xref linkend='postlfs-config-profile'/>."</para> 439 440 <para>Expand the <envar>PKG_CONFIG_PATH</envar> so that other packages441 can find <application>X</application> libraries. Procedures for this are also442 described in the section "<xref linkend='postlfs-config-profile'/>."</para>443 444 <para>Run:</para>445 <screen><userinput><command>source ~/.bash_profile</command></userinput></screen>446 447 <para>Set up your mouse:448 <screen><userinput><command>ln -s psaux /dev/mouse</command></userinput></screen>449 450 Adjust the symbolic link as necessary for other types of mice. For instance,451 a serial mouse on the first serial port would be linked to ttyS0.</para>452 378 453 379 <para>Create the <filename>XF86Config</filename> file with: … … 469 395 directories completely.</para></listitem> 470 396 397 <listitem><para>Section "Module". If you are going to install NVidia 398 drivers remove the "dri" line.</para></listitem> 399 400 <listitem><para>Sections "InputDevice". Specify the 401 <parameter>Device</parameter> parameter to "/dev/input/mice" and 402 <parameter>Protocol</parameter> to "auto" to set up your mouse. You may 403 also want to change the keyboard autorepeat rate by adding 404 <parameter>Option "Autorepeat" "250 30"</parameter>.</para></listitem> 405 471 406 <listitem><para>Section "Monitor". Specify the 472 407 <parameter>VertRefresh</parameter> and <parameter>HorizSync</parameter> values 473 408 if the system does not automatically detect the monitor and its values.</para> 474 409 </listitem> 475 476 <listitem><para>Section "InputDevice". You may want to change the keyboard477 autorepeat rate by adding <parameter>Option "Autorepeat" "250 30"</parameter>.478 </para></listitem>479 410 480 411 <listitem><para>Section "Device". You may want to set some of the options -
x/installing/xorg.xml
re3ef32f r41605391 148 148 <note><para>If you build <application>Xorg</application> in a 149 149 <command>chroot</command> environment, make sure the kernel version of the base 150 system and the target system are the same. This is especially important if you 151 enabled <acronym>DRI</acronym> support as a module as instructed above.</para> 150 system and the target system are the same.</para> 152 151 </note> 153 152 </sect3>
Note:
See TracChangeset
for help on using the changeset viewer.