compiz-fusion: multiple
- simplify installation of ports by pointing at packages instead - don't duplicate information in the FAQ, just point people at it
This commit is contained in:
parent
714b2658fb
commit
4ec51016d4
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46432
1 changed files with 13 additions and 65 deletions
|
@ -86,70 +86,32 @@
|
||||||
desktop effects, you may skip this section and continue with the
|
desktop effects, you may skip this section and continue with the
|
||||||
<filename>xorg.conf</filename> configuration.</para>
|
<filename>xorg.conf</filename> configuration.</para>
|
||||||
|
|
||||||
<sect2 xml:id="determine-driver">
|
<para>
|
||||||
<title>Determining the correct driver to use</title>
|
To determine which nVidia driveris needed see the <link xlink:href="&url.books.faq;/x.html#idp59950544">FAQ question
|
||||||
|
on the subject</link>.
|
||||||
<para>There are various versions of the nVidia drivers in the
|
</para>
|
||||||
Ports Collection. The correct one to use depends on the actual
|
|
||||||
model (and age) of your graphics card:</para>
|
|
||||||
|
|
||||||
<itemizedlist>
|
|
||||||
<listitem>
|
|
||||||
<para>The latest versions of nVidia cards are supported by the
|
|
||||||
<package>x11/nvidia-driver</package> port.</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>nVidia cards like the GeForce 2MX/3/4 series are supported by
|
|
||||||
the 96<replaceable>XX</replaceable> series of drivers, available
|
|
||||||
in the <package>x11/nvidia-driver-96xx</package>
|
|
||||||
port.</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>Even older cards, like GeForce and RIVA TNT are supported
|
|
||||||
by the 71<replaceable>XX</replaceable> series of drivers,
|
|
||||||
available in the
|
|
||||||
<package>x11/nvidia-driver-71xx</package>
|
|
||||||
port.</para>
|
|
||||||
</listitem>
|
|
||||||
</itemizedlist>
|
|
||||||
|
|
||||||
<para>In fact, nVidia provides detailed information on which card is
|
|
||||||
supported by which driver. This information is available directly
|
|
||||||
on their web site: <uri xlink:href="http://www.nvidia.com/object/IO_32667.html">http://www.nvidia.com/object/IO_32667.html</uri>.</para>
|
|
||||||
</sect2>
|
|
||||||
|
|
||||||
<sect2 xml:id="install-driver">
|
<sect2 xml:id="install-driver">
|
||||||
<title>Installing the nVidia driver</title>
|
<title>Installing the nVidia driver</title>
|
||||||
|
|
||||||
<para>Having determined the correct driver to use for your card,
|
<para>Having determined the correct driver to use for your card,
|
||||||
installation is as simple as installing any other port.</para>
|
installation is as simple as installing any other package.</para>
|
||||||
|
|
||||||
<note>
|
|
||||||
<para>Make sure to update your ports tree using your favorite method
|
|
||||||
(e.g., <application>portsnap</application>) before you install any
|
|
||||||
application from the ports system. Graphics drivers and the
|
|
||||||
desktop effects programs are under heavy development, and are
|
|
||||||
updated regularly.</para>
|
|
||||||
</note>
|
|
||||||
|
|
||||||
<para>For example, to install the latest driver:</para>
|
<para>For example, to install the latest driver:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /usr/ports/x11/nvidia-driver</userinput>
|
<screen>&prompt.root; <userinput>pkg install x11/nvidia-driver</userinput></screen>
|
||||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
|
||||||
|
|
||||||
<para>The driver will create a kernel module, which should be loaded
|
<para>The driver will create a kernel module, which needs to be loaded
|
||||||
at system startup. You will need to add the following line to the
|
at system startup. Add the following line to
|
||||||
<filename>/boot/loader.conf</filename> file:</para>
|
<filename>/boot/loader.conf</filename>:</para>
|
||||||
|
|
||||||
<programlisting>nvidia_load="YES"</programlisting>
|
<programlisting>nvidia_load="YES"</programlisting>
|
||||||
|
|
||||||
<note>
|
<note>
|
||||||
<para>You may attempt to immediately load the kernel module into the
|
<para>To immediately load the kernel module into the
|
||||||
running kernel by issuing a command like
|
running kernel by issuing a command like
|
||||||
<command>kldload nvidia</command>, however it has been noted that
|
<command>kldload nvidia</command>, however it has been noted that
|
||||||
the latest versions of <application>&xorg;</application> will not
|
the some versions of <application>&xorg;</application> will not
|
||||||
function properly if the driver is not loaded at boot time. After
|
function properly if the driver is not loaded at boot time. After
|
||||||
editing <filename>/boot/loader.conf</filename>, a reboot is
|
editing <filename>/boot/loader.conf</filename>, a reboot is
|
||||||
recommended.</para>
|
recommended.</para>
|
||||||
|
@ -263,23 +225,9 @@ Load "glx"
|
||||||
<title>Installing and configuring Compiz Fusion</title>
|
<title>Installing and configuring Compiz Fusion</title>
|
||||||
|
|
||||||
<para>Installing <application>Compiz Fusion</application>
|
<para>Installing <application>Compiz Fusion</application>
|
||||||
is as simple as any other port:</para>
|
is as simple as any other package:</para>
|
||||||
|
|
||||||
<screen>&prompt.root; <userinput>cd /usr/ports/x11-wm/compiz-fusion</userinput>
|
<screen>&prompt.root; <userinput>pkg install x11-wm/compiz-fusion</userinput></screen>
|
||||||
&prompt.root; <userinput>make install clean</userinput></screen>
|
|
||||||
|
|
||||||
<para>Make sure to select the <quote>EXTRA</quote> plugins and the
|
|
||||||
<quote>EMERALD</quote> window decorator from the options dialog that
|
|
||||||
appears. If you are using <application>GNOME</application>, or
|
|
||||||
already have support for <command>gconf</command> in your system, you
|
|
||||||
may also wish to select <quote>gconf support</quote>. In this way,
|
|
||||||
your effect settings will be integrated with the other desktop settings,
|
|
||||||
and will be viewable via <command>gconf-editor</command>.
|
|
||||||
<application>Compiz Fusion</application>
|
|
||||||
<emphasis>can</emphasis> however save its settings to flat files, if
|
|
||||||
such an integration is not wanted. In this case, a
|
|
||||||
<filename>.compizconfig</filename> directory will be created inside
|
|
||||||
your home directory.</para>
|
|
||||||
|
|
||||||
<para>When the installation is finished, start your graphic desktop and
|
<para>When the installation is finished, start your graphic desktop and
|
||||||
at a terminal, enter the following commands (as a normal user):</para>
|
at a terminal, enter the following commands (as a normal user):</para>
|
||||||
|
|
Loading…
Reference in a new issue