import NVIDIA-FreeBSD-x86-185.18.36
[nvidia.git] / doc / html / chapter-05.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta name="generator" content=
5 "HTML Tidy for FreeBSD (vers 1 September 2005), see www.w3.org">
6 <meta http-equiv="Content-Type" content=
7 "text/html; charset=us-ascii">
8 <title>Chapter&nbsp;5.&nbsp;Using Linux Compatibility
9 Support</title>
10 <meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
11 <link rel="start" href="index.html" title=
12 "NVIDIA Accelerated FreeBSD Graphics Driver README and Installation Guide">
13 <link rel="up" href="part-01.html" title=
14 "Part&nbsp;I.&nbsp;Installation and Configuration Instructions">
15 <link rel="prev" href="chapter-04.html" title=
16 "Chapter&nbsp;4.&nbsp;Installed Components">
17 <link rel="next" href="chapter-06.html" title=
18 "Chapter&nbsp;6.&nbsp;Configuring X for the NVIDIA Driver">
19 </head>
20 <body>
21 <div class="navheader">
22 <table width="100%" summary="Navigation header">
23 <tr>
24 <th colspan="3" align="center">Chapter&nbsp;5.&nbsp;Using Linux
25 Compatibility Support</th>
26 </tr>
27 <tr>
28 <td width="20%" align="left"><a accesskey="p" href=
29 "chapter-04.html">Prev</a>&nbsp;</td>
30 <th width="60%" align="center">Part&nbsp;I.&nbsp;Installation and
31 Configuration Instructions</th>
32 <td width="20%" align="right">&nbsp;<a accesskey="n" href=
33 "chapter-06.html">Next</a></td>
34 </tr>
35 </table>
36 <hr></div>
37 <div class="chapter" lang="en">
38 <div class="titlepage">
39 <div>
40 <div>
41 <h2 class="title"><a name="linuxcompat" id=
42 "linuxcompat"></a>Chapter&nbsp;5.&nbsp;Using Linux Compatibility
43 Support</h2>
44 </div>
45 </div>
46 </div>
47 <p>If you wish to run Linux OpenGL applications on your FreeBSD
48 computer, you will need to make sure that several prerequisites are
49 met.</p>
50 <p>First, you should follow the basic Linux compatibility
51 installation guide in the FreeBSD Handbook (install the linux_base
52 package, etc). Once the basic components are in place, you will
53 need to install the NVIDIA Linux OpenGL libraries in <code class=
54 "filename">/compat/linux/usr/lib</code> (do not brandelf them!); if
55 the <code class="filename">/compat/linux/usr/lib/</code> directory
56 exists when you install the FreeBSD driver, the Linux compatibility
57 OpenGL libraries will automatically be installed.</p>
58 <p>Additionally, the <code class="filename">nvidia.ko</code> kernel
59 module needs to be built with support for the Linux ABI
60 compatibility layer. This is the case by default; as a consequence,
61 the <code class="filename">nvidia.ko</code> kernel module requires
62 the <code class="filename">linux.ko</code> module to be loaded.</p>
63 <p>Note: If you have no need for Linux ABI compatibility and do not
64 wish to load <code class="filename">linux.ko</code>, you can build
65 the <code class="filename">nvidia.ko</code> kernel module without
66 support for the Linux ABI compatibility layer (see <code class=
67 "filename">nv-freebsd.h</code> for details).</p>
68 </div>
69 <div class="navfooter">
70 <hr>
71 <table width="100%" summary="Navigation footer">
72 <tr>
73 <td width="40%" align="left"><a accesskey="p" href=
74 "chapter-04.html">Prev</a>&nbsp;</td>
75 <td width="20%" align="center"><a accesskey="u" href=
76 "part-01.html">Up</a></td>
77 <td width="40%" align="right">&nbsp;<a accesskey="n" href=
78 "chapter-06.html">Next</a></td>
79 </tr>
80 <tr>
81 <td width="40%" align="left" valign="top">
82 Chapter&nbsp;4.&nbsp;Installed Components&nbsp;</td>
83 <td width="20%" align="center"><a accesskey="h" href=
84 "index.html">Home</a></td>
85 <td width="40%" align="right" valign="top">
86 &nbsp;Chapter&nbsp;6.&nbsp;Configuring X for the NVIDIA Driver</td>
87 </tr>
88 </table>
89 </div>
90 </body>
91 </html>