1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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 5. Using Linux Compatibility
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 I. Installation and Configuration Instructions">
15 <link rel="prev" href="chapter-04.html" title=
16 "Chapter 4. Installed Components">
17 <link rel="next" href="chapter-06.html" title=
18 "Chapter 6. Configuring X for the NVIDIA Driver">
21 <div class="navheader">
22 <table width="100%" summary="Navigation header">
24 <th colspan="3" align="center">Chapter 5. Using Linux
25 Compatibility Support</th>
28 <td width="20%" align="left"><a accesskey="p" href=
29 "chapter-04.html">Prev</a> </td>
30 <th width="60%" align="center">Part I. Installation and
31 Configuration Instructions</th>
32 <td width="20%" align="right"> <a accesskey="n" href=
33 "chapter-06.html">Next</a></td>
37 <div class="chapter" lang="en">
38 <div class="titlepage">
41 <h2 class="title"><a name="linuxcompat" id=
42 "linuxcompat"></a>Chapter 5. Using Linux Compatibility
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
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>
69 <div class="navfooter">
71 <table width="100%" summary="Navigation footer">
73 <td width="40%" align="left"><a accesskey="p" href=
74 "chapter-04.html">Prev</a> </td>
75 <td width="20%" align="center"><a accesskey="u" href=
76 "part-01.html">Up</a></td>
77 <td width="40%" align="right"> <a accesskey="n" href=
78 "chapter-06.html">Next</a></td>
81 <td width="40%" align="left" valign="top">
82 Chapter 4. Installed Components </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 Chapter 6. Configuring X for the NVIDIA Driver</td>