

    Compiz Fusion


 

<manolis@FreeBSD.org>
$FreeBSD: doc/el_GR.ISO8859-7/articles/compiz-fusion/article.sgml,v 1.3 2008/
12/08 03:10:50 keramida Exp $
   2008  
 FreeBSD       FreeBSD Foundation.
          
           
 .           
      FreeBSD     
 ,      : [TM]  .
       Linux    
  desktop.       ,   
      .   
        Compiz, Beryl,  
  Compiz_Fusion.        
  FreeBSD.        
          
           Compiz Fusion
 ( )      
   nVidia.
-------------------------------------------------------------------------------

1 

H   Compiz Fusion     Ports,   
 . , ,    ,  
     port.       
  Xorg server   ,    nVidia
  ,         
compiz.
    ,  :

*          nVidia (
  )    .
*      xorg.conf      
   .
*        Compiz Fusion  
    Ports.
*          .

-------------------------------------------------------------------------------

2      nVidia   FreeBSD

          
.          
nVidia,           
      FreeBSD,     
    .     ,  
        ,  
           xorg.conf.
-------------------------------------------------------------------------------

2.1     

       nVidia   
ports.         ,   
 (  )    :

*      nVidia,    port x11/
  nvidia-driver.
*   nVidia     GeForce 2MX/3/4  
       96      port x11/
  nvidia-driver-96xx.
*    ,   GeForce  RIVA TNT   
   71   ,      port x11/
  nvidia-driver-71xx.

 ,  nVidia      
      .   
      : http://www.nvidia.com/object/
IO_32667.html.
-------------------------------------------------------------------------------

2.2      nVidia

         ,  
           ports.

     :       ports,
          (.. csup, CVSup  portsnap)
           ports.  
        ,     
     ,         .

 ,       :

  # cd /usr/ports/x11/nvidia-driver
  # make install clean

       (module)   , 
        .   
      /boot/loader.conf:

  nvidia_load="YES"


     :        
            
     kldload nvidia,        
     Xorg          
        .    ,   
              
      /boot/loader.conf.

     ,      
    xorg.conf      .
     /etc/X11/xorg.conf:

  Driver      "nv"

   :

  Driver      "nvidia"

        ,    
  nVidia.      . 
,          Xorg  
.     .

     :     ,   
       ports x11/nvidia-xconfig  x11/nvidia-settings. 
             /etc/X11/xorg.conf 
       ,        
              
      Xorg.

-------------------------------------------------------------------------------

3   xorg.conf   

     Compiz Fusion,    
   /etc/X11/xorg.conf:
          composite:

  Section "Extensions"
  Option         "Composite" "Enable"
  EndSection

   Screen       :

  Section "Screen"
  Identifier     "Screen0"
  Device         "Card0"
  Monitor        "Monitor0"
  ...

       (     
 Monitor):

  DefaultDepth    24
  Option         "AddARGBGLXVisuals" "True"

  Subsection       .
 ,      1280x1024,  
    .       
  ,     :

  SubSection     "Display"
  Viewport    0 0
  Modes      "1280x1024"
  EndSubSection

    ,    24bits.  
   :

  SubSection     "Display"
  Viewport    0 0
  Depth       24
  Modes      "1280x1024"
  EndSubSection

,      glx  extmod   
 Module:

  Section "Module"
  Load           "extmod"
  Load           "glx"
  ...


     :    port x11/nvidia-xconfig, 
              
       ( root):

       # nvidia-xconfig --add-argb-glx-visuals
       # nvidia-xconfig --composite
       # nvidia-xconfig --depth=24

              ,
        nvidia-xconfig -A | more.

-------------------------------------------------------------------------------

4    Compiz Fusion

   Compiz Fusion       
:

  # cd /usr/ports/x11-wm/compiz-fusion
  # make install clean

    EXTRA plugins   EMERALD window decorator
      .   GNOME,  
     gconf,    
gconf support.    ,        
        ,    
    gconf-editor. ,  Compiz Fusion  
        ,   
  .   ,    
.compizconfig     .
    ,       
,  (  )   :

  % compiz --replace --sm-disable --ignore-desktop-hints ccp &
  % emerald --replace &

       ,   
      (.. Metacity 
  GNOME)   Compiz Fusion.   Emerald
     (..    ,
, ,    ...).
        script   
       (..  
 Sessions    GNOME):

  #! /bin/sh
  compiz --replace --sm-disable --ignore-desktop-hints ccp &
  emerald --replace &

    ,      start-compiz 
   :

  % chmod +x ~/start-compiz

          
, Startup Programs (  System, Preferences, Sessions 
  GNOME).
      ,  (   ) 
 Compiz Config Settings Manager:

  % ccsm


     : GNOME,        
     System, Preferences.

  gconf support   ,     
     gconf-editor,   apps/compiz.
-------------------------------------------------------------------------------

5    Compiz Fusion

          
  Compiz Fusion.


  5.1. ___Compiz_Fusion,_______
  ,__________
  .____;

  5.2. ________Compiz_Fusion,__X_server
  _____.____;

5.1.   Compiz Fusion,       
,           .
   ;
         /etc/X11/xorg.conf.
   ,     DefaultDepth 
AddARGBGLXVisuals.
5.2.        Compiz Fusion,  X server
     .    ;
    /var/log/Xorg.0.log,     
    .     :

  (EE) NVIDIA(0):     Failed to initialize the GLX module; please check in your
  X
  (EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
  (EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
  (EE) NVIDIA(0):     you continue to encounter problems, Please try
  (EE) NVIDIA(0):     reinstalling the NVIDIA driver.

         Xorg.  
   port x11/nvidia-driver     
    glx.
-------------------------------------------------------------------------------
  ,   ,     ftp://ftp.FreeBSD.org/
                               pub/FreeBSD/doc/.
          FreeBSD,     
                   <questions@FreeBSD.org>.
             ,  e-mail 
                              <doc@FreeBSD.org>.
