mirror of https://github.com/tLDP/LDP
updated
This commit is contained in:
parent
f23c56ec53
commit
2f7c21a337
File diff suppressed because it is too large
Load Diff
|
@ -19,8 +19,8 @@
|
|||
|
||||
<revhistory>
|
||||
<revision>
|
||||
<revnumber>v1.6</revnumber>
|
||||
<date>2001-01-17</date>
|
||||
<revnumber>v1.7</revnumber>
|
||||
<date>2001-01-21</date>
|
||||
<authorinitials>rbe</authorinitials>
|
||||
</revision>
|
||||
</revhistory>
|
||||
|
@ -198,13 +198,13 @@
|
|||
OpenGL man pages, you have to get them yourself.
|
||||
<itemizedlist>
|
||||
<listitem><para>mangl.tar.Z</para></listitem>
|
||||
<listitem><para>manglx.tar.Z</para></listitem>
|
||||
<listitem><para>manglu.tar.Z</para></listitem>
|
||||
<listitem><para>manglx.tar.Z (don't need this one)</para></listitem>
|
||||
</itemizedlist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<ulink url="ftp://ftp.sgi.com/sgi/opengl-from-sgigate/doc/">ftp://ftp.sgi.com/sgi/opengl-from-sgigate/doc/</ulink>
|
||||
<ulink url="ftp://ftp.sgi.com/sgi/opengl/doc/">ftp://ftp.sgi.com/sgi/opengl/doc/</ulink>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -315,12 +315,12 @@
|
|||
<title>NVIDIA drivers (Mesa libGL replacement)</title>
|
||||
|
||||
<itemizedlist>
|
||||
<listitem><para>NVIDIA_kernel-0.9-5.tar.gz</para></listitem>
|
||||
<listitem><para>NVIDIA_GLX-0.9-5.tar.gz</para></listitem>
|
||||
<listitem><para>NVIDIA_kernel-0.9-6.tar.gz</para></listitem>
|
||||
<listitem><para>NVIDIA_GLX-0.9-6.tar.gz</para></listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<para>
|
||||
Note that XFree86 4.0.1, and later, is required with 0.9-5.
|
||||
Note that XFree86 4.0.1, and later, is required with 0.9-6.
|
||||
If you have XFree86 4.0.0, then you'll have to download the older 0.9-4 version.
|
||||
</para>
|
||||
|
||||
|
@ -328,6 +328,13 @@
|
|||
<ulink url="http://www.nvidia.com/">http://www.nvidia.com/</ulink>
|
||||
</para>
|
||||
|
||||
<tip>
|
||||
<para>
|
||||
See the updated faq at Nvidia.com while you are downloading.
|
||||
It may have some important information not in this HOWTO.
|
||||
</para>
|
||||
</tip>
|
||||
|
||||
<para>
|
||||
These make a kernel driver: /lib/modules/2.2.16/video/NVdriver
|
||||
and libGL.so and libGLcore.so files that go into /usr/lib/ to replace
|
||||
|
@ -358,6 +365,13 @@
|
|||
</screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Java2 1.3.0 FCS can also be used and it includes the JavaPlugin. If you use it, you
|
||||
don't have to get JavaPlugin-1.2.2-FCS. Installation of this Plugin is different
|
||||
and you'll have to see it's docs. Installation of Java2 1.3.0 itself, and Java3D, is
|
||||
the same as with Java2 1.2.2.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The Java 3D media extension contains many 3D demo programs/applets and takes advantage of the
|
||||
OpenGL hardware acceleration on the system. The Java 3D API uses the OpenGL API or, on Windows,
|
||||
|
@ -380,13 +394,19 @@
|
|||
|
||||
<para>
|
||||
If you have a version of XFree86 installed already, you may want to move it
|
||||
or delete it:
|
||||
or delete it. However, installing over an existing X is generally OK and
|
||||
preserves any programs or libraries you might have installed into the X
|
||||
directories (not that you should really do that):
|
||||
<screen>
|
||||
|
||||
cd /usr
|
||||
mv X11R6 X11R6-old
|
||||
cd /etc
|
||||
mv X11 X11-old
|
||||
cd /usr
|
||||
mv X11R6 X11R6-old
|
||||
cd /etc
|
||||
mv X11 X11-old
|
||||
|
||||
-- you may have an X directory in /var also
|
||||
cd /var
|
||||
mv X11R6 X11R6-old
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
|
@ -434,6 +454,11 @@
|
|||
|
||||
cd /usr/src/release
|
||||
cd doctools
|
||||
|
||||
-- Having this variable set confuses the sgml docs build.
|
||||
-- With it unset, the build uses the proper defaults.
|
||||
unset $SGML_CATALOG_FILES
|
||||
|
||||
make
|
||||
make install
|
||||
cd ..
|
||||
|
@ -442,6 +467,16 @@
|
|||
-- add the following two lines to host.def:
|
||||
-- #define HasSgmlFmt YES
|
||||
-- #define BuildAllDocs YES
|
||||
-- See the README file in doctools.
|
||||
|
||||
-- Note: doctools installs the perl program sgmlfmt to
|
||||
-- /usr/local/bin. It looks for the perl executable
|
||||
-- at /usr/local/bin/perl. If perl is installed
|
||||
-- on your system at /usr/bin/perl, then it will not
|
||||
-- find perl and the sgml docs build will fail!
|
||||
-- Make a symlink if needed (or edit the script):
|
||||
cd /usr/local/bin
|
||||
ln -s /usr/bin/perl perl
|
||||
|
||||
cd /usr/src/release/xc
|
||||
make World
|
||||
|
@ -458,7 +493,7 @@
|
|||
ln -s ../X11R6/include/X11 X11
|
||||
ln -s ../X11R6/include/bitmaps bitmaps
|
||||
cd ..
|
||||
ls -s X11R6 X11
|
||||
ln -s X11R6 X11
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
|
@ -475,19 +510,13 @@
|
|||
cd /usr/src/release/xc/doc/hardcopy
|
||||
cp -r GL /usr/X11R6/lib/X11/doc/html
|
||||
</screen>
|
||||
You might notice broken symlinks in /usr/X11R6/lib/X11/doc/html. This seems to be a bug in
|
||||
the XFree86 build/install. The manindex3.html file is also corrupted. The broken symlinks
|
||||
can simply be deleted.
|
||||
The index.html file in the docs points to manindex5x.html, but the filename may
|
||||
actually be manindex5.html. Just make a symlink to fix it:
|
||||
<screen>
|
||||
|
||||
cd /usr/X11R6/lib/X11/doc/html
|
||||
rm *3x.html
|
||||
|
||||
-- if you want to play with mass renaming files, you can
|
||||
-- use a command like the following:
|
||||
for afile in *3.html; do export afile; mv "$afile" "`awk 'BEGIN {print gensub("3.html","3x.html","G",ENVIRON["afile"]) }'`"; done;
|
||||
ln -s manindex5.html manindex5x.html
|
||||
</screen>
|
||||
Hopefully this HTML doc problem will be fixed soon!
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
@ -575,9 +604,9 @@
|
|||
rm libGL.*
|
||||
|
||||
cd /usr/src
|
||||
tar -xvzf NVIDIA_kernel-0.9-5.tar.gz
|
||||
tar -xvzf NVIDIA_GLX-0.9-5.tar.gz
|
||||
cd NVIDIA_kernel-0.9-5
|
||||
tar -xvzf NVIDIA_kernel-0.9-6.tar.gz
|
||||
tar -xvzf NVIDIA_GLX-0.9-6.tar.gz
|
||||
cd NVIDIA_kernel-0.9-6
|
||||
</screen>
|
||||
<tip>
|
||||
<para>
|
||||
|
@ -593,28 +622,32 @@
|
|||
<screen>
|
||||
make
|
||||
cd ..
|
||||
cd NVIDIA_GLX-0.9-5
|
||||
cd NVIDIA_GLX-0.9-6
|
||||
make
|
||||
ldconfig
|
||||
cd
|
||||
-- make a basic X config file
|
||||
xf86config
|
||||
follow the prompts and fill in the information it asks for
|
||||
|
||||
-- Make a basic XF86Config file using the "nv" driver:
|
||||
cd /etc/X11
|
||||
You must edit XF86Config and set the following:
|
||||
xf86config
|
||||
-- Follow the prompts and fill in the information xf86config asks for.
|
||||
-- Select the Nvidia GeForce or appropriate name.
|
||||
-- You can test X with this XF86Config file, or continue for OpenGL:
|
||||
|
||||
-- You must edit XF86Config and set the following:
|
||||
vi XF86Config
|
||||
Load "glx"
|
||||
Replace 'driver "nv"' with 'driver "nvidia"'
|
||||
Put "1600x1200" first (or your preferred screen resolution)
|
||||
Copy ttf fonts from Windows into a font directory and add a font path.
|
||||
Use ttmkfdir (check freshmeat.net) to a fonts.dir file.
|
||||
A good place to keep your own fonts is /usr/local/share/fonts ...
|
||||
|
||||
-- Nvidia drivers do NOT use the dri module - don't load it.
|
||||
|
||||
-- you may like to edit /etc/X11/xinit/xinitrc to have it "startkde"
|
||||
-- You may like to edit /etc/X11/xinit/xinitrc to have run "startkde"
|
||||
-- or "gnome-session" instead of twm.
|
||||
|
||||
-- note, /usr/include/GL should be a symlink to /usr/X11R6/include/GL
|
||||
-- Note: /usr/include/GL should be a symlink to /usr/X11R6/include/GL
|
||||
</screen>
|
||||
</para>
|
||||
|
||||
|
@ -649,7 +682,7 @@
|
|||
-- where you want it to live:
|
||||
cd /usr/local
|
||||
tar -xvzf qt-x11-2.2.3.tar.gz
|
||||
ls -s qt-2.2.3 qt
|
||||
ln -s qt-2.2.3 qt
|
||||
cd qt
|
||||
</screen>
|
||||
</para>
|
||||
|
@ -894,6 +927,12 @@
|
|||
</screen>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If you experience trouble with Java, you can try deleting ~/.java and related files in
|
||||
your home directory, then try again. These files left over from a prior Java installation
|
||||
can cause problems.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
If all works well, you should have a complete Java Developement and Runtime Environment for
|
||||
both normal apps and high-performance 3D apps.
|
||||
|
|
Loading…
Reference in New Issue