Cube 3D sous ubuntu 7.10

oussamadj -  
Franzux Messages postés 9705 Statut Contributeur -
Bonjour,
Je suis sous ubuntu 7.10 et je veux savoir comment faire pour activer le bureau 3D
Voici ma config :
Ram 512Mo et carte graphique Nvidia Mx400 64 Mo
Merci de m'aider
--
Mon site, il n'est pas en carton :zonentic.fr.nf ... pas comme certains forums!
Configuration: Linux
Firefox 2.0.0.12

13 réponses

  1. ben13010 Messages postés 3369 Statut Contributeur 387
     
    bonjour je suis nouveau sur linux et la j ai installé ubuntu 7.10 et j aimerais installer compiz-fusion...


    tu n'as rien a installer; sous la 7.10 compiz fusion est installé par defaut.
    il faut l'activer par contre.

    il y a une ligne qui me demande mon pass et bizarremet a ce moment la je peux plus rien taper... :S



    si tu peux taper mais il n'y a rien qui apparait
    c'est normal


    orsque je vais sur le cd j ai un fichier text qui me dit d ouvrir un shell et de lancer le fichier install.sh en root


    j'ai pas compris ou tu trouve un fichier text .. bref ...

    sous ubuntu7.10 il faut


    -verifier que tous tes depots sont activés ( dans systeme/amd/sources de logiciels tu dois avoir les 4 1eres cases de cocher
    ensuite une fenetre te dis qu'il faut recharger les depots car ils ont été modifiés
    tu acceptes

    -ensuite tu installe les drivers proprietaires ( dans le gestionnaire du même non ( dans syst/administration aussi )

    ca va t'installer les drivers de ta carte

    -une fois fini, une fenetre te dira qu'il faut rebooter le pc

    tu le fais et normalement, tu aura les effets 3D
    2
  2. samdevlop Messages postés 150 Statut Membre 5
     
    bien, voila je te guider, tu dois dabord installer compiz-fusion( c lui qui integre la foctionnalité Cube 3d), pr cela:
    va à : systeme........administration........gestionnaire des paquets synaptique
    saisie ton mot de passe root
    clic sur tout mettre a jour
    apré tu fais rechercher, ecri alors: compiz
    selectinne tt les paquets possible ou le mot compiz apparait( en double cliquant)
    puis clic sur "appliquer"
    aprés la fin du telechargement vas sur applications.......ajouter/suuprimer
    cherche compiz fusion, selectionne et valide pr installer
    la derniere etape : clic droit sur le bureau, changer l'arriere plan, effet visuel, personnaliser et active cube de bureau. ça doit marcher si ta carte graphique suuporte biensur. bonne chance
    1
    1. Franzux Messages postés 9705 Statut Contributeur 1 146
       
      Sauf que Compiz est installé par défaut sous Gutsy...

      En fait, il suffit d'aller dans Système > Préférences > Apparence > Effets visuels et de cocher la case extra. L'idéal étant en revanche d'installer fusion-icon pour avoir une icône qui permette de paramétrer/arrêter l'utilisation de Compiz.

      Enfin, en effet, il y a peu de chance que Compiz fonctionne chez toi (et encore moins le cube 3D) à la vue de ta carte graphique.



      Cordialement.
      0
  3. HeeroYuy Messages postés 1337 Statut Membre 126
     
    Bonjour,

    Selon moi, avec une configuration pareil, je ne pense pas que tu puisse avoir le cube 3D. Mais je vais quand même vérfier.
    0
  4. oussamadj
     
    Bonjour
    Ca m'affiche :
    Desktop effects could not be enabled
    A ce que c'est grave
    Merci
    0
  5. Vous n’avez pas trouvé la réponse que vous recherchez ?

    Posez votre question
  6. samdevlop Messages postés 150 Statut Membre 5
     
    je crois k'il te faut les pilotes de ta carte graphique.
    tu fais : system...administration...gestionnaire des paquets synaptique
    puis tu fais la recherche nvidia
    tu coche les bonnes cases en double clicant puis tu valide.
    je crois k'il faudrait redemarrer

    puis ressaye d'activer les cubes une autre fois..
    0
  7. oussamadj
     
    Bonjour,
    J'ai vérifier et j'ai trouver que le pilote proietaire est installer .
    Mais y a t'il pas un comme pour windows vista il y a une façon de l'obliger à utiliser aero en modifiant la base de registre
    Coordiallement
    0
    1. Franzux Messages postés 9705 Statut Contributeur 1 146
       
      Il y a fusion-icon, qui permet d'avoir une icône dans le tray, cette dernière donnant accès à l'activation/désactivation de compiz, ainsi qu'à l'ouverture de ses paramètres. Pour accéder à ces derniers, il faut préalablement avoir installé compizconfig-settings-manager.

      Mais une fois de plus, tu n'as pratiquement aucune chance que cela fonctionne avec ta carte... quel est le reste de ta config (proc, ram, etc.) ?
      0
  8. oussamadj
     
    Bonjour,
    Pour etre plus claire , je vais tout récapitulé

    -J'ai le thème human

    -Quand je met la commande glxinfo, ça m'affiche ça :
    CODE
    name of display: :0.0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: NVIDIA Corporation
    server glx version string: 1.4
    server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_texture_from_pixmap
    client glx vendor string: NVIDIA Corporation
    client glx version string: 1.4
    client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync,
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGI_swap_control, GLX_NV_float_buffer, GLX_ARB_fbconfig_float,
    GLX_EXT_fbconfig_packed_float, GLX_EXT_texture_from_pixmap
    GLX version: 1.3
    GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
    GLX_EXT_texture_from_pixmap, GLX_ARB_get_proc_address
    OpenGL vendor string: NVIDIA Corporation
    OpenGL renderer string: GeForce2 MX/AGP/SSE2
    OpenGL version string: 1.5.8 NVIDIA 96.39
    OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_pixel_buffer_object,
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
    GL_ARB_shading_language_100, GL_ARB_texture_compression,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
    GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
    GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
    GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
    GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_Cg_shader,
    GL_EXT_draw_range_elements, GL_EXT_fog_coord,
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
    GL_EXT_separate_specular_color, GL_EXT_shared_texture_palette,
    GL_EXT_stencil_wrap, GL_EXT_texture_compression_s3tc,
    GL_EXT_texture_cube_map, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod,
    GL_EXT_texture_lod_bias, GL_EXT_texture_object, GL_EXT_vertex_array,
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_fence,
    GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil,
    GL_NV_pixel_data_range, GL_NV_point_sprite, GL_NV_register_combiners,
    GL_NV_texgen_reflection, GL_NV_texture_env_combine4,
    GL_NV_texture_rectangle, GL_NV_vertex_array_range,
    GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
    GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
    GL_SUN_slice_accum

    visual x bf lv rg d st colorbuffer ax dp st accumbuffer ms cav
    id dep cl sp sz l ci b ro r g b a bf th cl r g b a ns b eat
    ----------------------------------------------------------------------
    0x21 24 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x22 24 dc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x24 24 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x25 24 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x26 24 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x27 24 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x28 24 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x29 24 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x2a 24 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x2b 24 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x2c 24 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x2d 24 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x2e 24 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x2f 24 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x30 24 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
    0x31 24 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x32 24 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
    0x33 24 dc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x34 24 dc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x35 24 dc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x36 24 dc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x37 24 dc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x38 24 dc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x39 24 dc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x3a 24 dc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x3b 24 dc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x3c 24 dc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x3d 24 dc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x3e 24 dc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x3f 24 dc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
    0x40 24 dc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x41 24 dc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
    0x23 32 tc 0 32 0 r y . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x42 32 tc 0 32 0 r y . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x43 32 tc 0 32 0 r . . 8 8 8 0 4 24 8 16 16 16 16 0 0 None
    0x44 32 tc 0 32 0 r . . 8 8 8 8 4 24 8 16 16 16 16 0 0 None
    0x45 32 tc 0 32 0 r y . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x46 32 tc 0 32 0 r y . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x47 32 tc 0 32 0 r . . 8 8 8 0 4 24 0 16 16 16 16 0 0 None
    0x48 32 tc 0 32 0 r . . 8 8 8 8 4 24 0 16 16 16 16 0 0 None
    0x49 32 tc 0 32 0 r y . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x4a 32 tc 0 32 0 r y . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x4b 32 tc 0 32 0 r . . 8 8 8 0 4 16 0 16 16 16 16 0 0 None
    0x4c 32 tc 0 32 0 r . . 8 8 8 8 4 16 0 16 16 16 16 0 0 None
    0x4d 32 tc 0 32 0 r y . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x4e 32 tc 0 32 0 r y . 8 8 8 8 4 0 0 16 16 16 16 0 0 None
    0x4f 32 tc 0 32 0 r . . 8 8 8 0 4 0 0 16 16 16 16 0 0 None
    0x50 32 tc 0 32 0 r . . 8 8 8 8 4 0 0 16 16 16 16 0 0 None

    - Voici le fichier xorg.conf :
    CODE
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon Apr 16 20:37:13 PDT 2007

    # xorg.conf (xorg X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    # sudo dpkg-reconfigure -phigh xserver-xorg

    Section "ServerLayout"

    # Uncomment if you have a wacom tablet
    # InputDevice "stylus" "SendCoreEvents"
    # InputDevice "cursor" "SendCoreEvents"
    # InputDevice "eraser" "SendCoreEvents"
    Identifier "Default Layout"
    Screen "Default Screen" 0 0
    InputDevice "Generic Keyboard"
    InputDevice "Configured Mouse"
    EndSection

    Section "Files"
    EndSection

    Section "Module"
    Load "glx"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    EndSection

    Section "InputDevice"
    Identifier "Generic Keyboard"
    Driver "kbd"
    Option "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "fr"
    Option "XkbVariant" "oss"
    EndSection

    Section "InputDevice"
    Identifier "Configured Mouse"
    Driver "mouse"
    Option "CorePointer"
    Option "Device" "/dev/input/mice"
    Option "Protocol" "ImPS/2"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons" "true"
    EndSection

    Section "InputDevice"
    Identifier "stylus"
    Driver "wacom"
    Option "Device" "/dev/input/wacom"
    Option "Type" "stylus"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Identifier "eraser"
    Driver "wacom"
    Option "Device" "/dev/input/wacom"
    Option "Type" "eraser"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "InputDevice"
    Identifier "cursor"
    Driver "wacom"
    Option "Device" "/dev/input/wacom"
    Option "Type" "cursor"
    Option "ForceDevice" "ISDV4"# Tablet PC ONLY
    EndSection

    Section "Monitor"
    Identifier "HP L1706"
    Option "DPMS"
    EndSection

    Section "Device"
    Identifier "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
    Driver "nvidia"
    Option "AddARGBGLXVisuals" "True"
    Option "AddARGBVisuals" "True"
    Option "TripleBuffer" "true"
    VideoRam 65536
    EndSection

    Section "Screen"
    Identifier "Default Screen"
    Device "nVidia Corporation NV11 [GeForce2 MX/MX 400]"
    Monitor "HP L1706"
    DefaultDepth 24
    Option "AddARGBVisuals" "True"
    Option "NoLogo" "True"
    Option "AddARGBGLXVisuals" "True"
    SubSection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
    EndSection

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

    - Voici le fichier .gtkrc-2.0 :
    CODE
    style "clearlooks-treeview-header" = "clearlooks-default"

    {

    xthickness = 2

    ythickness = 1bg[NORMAL] = shade (1.07,@bg_color)

    bg[PRELIGHT] = shade (1.09,@bg_color)

    bg[ACTIVE] = mix(0.85, shade (1.05,@bg_color), @selected_bg_color)

    }

    - Voici le fichier compiz
    CODE
    #!/bin/sh
    # Compiz Manager wrapper script
    #
    # Copyright © 2007 Kristian Lyngstøl <kristian@bohemians.org>
    #
    # This program is free software; you can redistribute it and/or modify
    # it under the terms of the GNU General Public License as published by
    # the Free Software Foundation; either version 2 of the License, or
    # (at your option) any later version.
    #
    # This program is distributed in the hope that it will be useful,
    # but WITHOUT ANY WARRANTY; without even the implied warranty of
    # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    # GNU General Public License for more details.
    #
    #
    # You should have received a copy of the GNU General Public License
    # along with this program; if not, write to the Free Software
    # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
    #
    #
    # Contributions by: Treviño (3v1n0) <trevi55@gmail.com>, Ubuntu Packages
    #
    # Much of this code is based on Beryl code, also licensed under the GPL.
    # This script will detect what options we need to pass to compiz to get it
    # started, and start a default plugin and possibly window decorator.
    #

    COMPIZ_BIN_PATH="/usr/local/bin/" # For window decorators and compiz
    PLUGIN_PATH="/usr/local/lib/compiz/"
    GLXINFO="/usr/bin/glxinfo"
    KWIN="/usr/bin/kwin"
    METACITY="/usr/bin/metacity"
    COMPIZ_NAME="compiz" # Final name for compiz (compiz.real)

    # For Xgl LD_PRELOAD
    LIBGL_NVIDIA="/usr/lib/nvidia/libGL.so.1.2.xlibmesa"
    LIBGL_FGLRX="/usr/lib/fglrx/libGL.so.1.2.xlibmesa"

    # Minimum amount of memory (in kilo bytes) that nVidia cards need
    # to be allowed to start
    # Set to 262144 to require 256MB
    NVIDIA_MEMORY="32768" # 32MB.
    NVIDIA_SETTINGS="nvidia-settings" # Assume it's in the path by default

    # For detecting what driver is in use, the + is for one or more /'s
    XORG_DRIVER_PATH="/usr/lib/xorg/modules/drivers/+"

    FALLBACKWM="${METACITY}"
    FALLBACKWM_OPTIONS="--replace $@"

    # Driver whitelist
    WHITELIST="nvidia intel ati radeon i810"

    # blacklist based on the pci ids
    # See http://wiki.compiz-fusion.org/Hardware/Blacklist for details
    T=" 1002:5954 1002:5854 1002:5955" # ati rs480
    T="$T 1002:4153" # ATI Rv350
    T="$T 8086:2982 8086:2992 8086:29a2 8086:2a02 8086:2a12" # intel 965
    T="$T 8086:2972" # i965 (x3000)
    T="$T 1002:3152 1002:3150 1002:5462 1002:5653 " # ati X300 X600,X600 X700
    BLACKLIST_PCIIDS="$T"
    unset T

    COMPIZ_OPTIONS="--ignore-desktop-hints --replace"
    COMPIZ_PLUGINS=""
    ENV=""

    # Use emerald by default if it exist
    USE_EMERALD="yes"

    # No indirect by default
    INDIRECT="no"

    # Set to yes to enable verbose
    VERBOSE="yes"

    # Echos the arguments if verbose
    verbose()
    {
    if [ "x$VERBOSE" = "xyes" ]; then
    printf "$*"
    fi
    }

    # abort script and run fallback windowmanager
    abort_with_fallback_wm()
    {
    if [ "x$SKIP_CHECKS" = "xyes" ]; then
    verbose "SKIP_CHECKS is yes, so continuing despite problems.\n"
    return 0;
    fi

    verbose "aborting and using fallback: $FALLBACKWM \n"

    if [ -x $FALLBACKWM ]; then
    exec $FALLBACKWM $FALLBACKWM_OPTIONS
    else
    printf "no $FALLBACKWM found, exiting\n"
    exit 1
    fi
    }

    # Check for non power of two texture support
    check_npot_texture()
    {
    verbose "Checking for non power of two support: "
    if glxinfo 2> /dev/null | egrep -q '(GL_ARB_texture_non_power_of_two|GL_NV_texture_rectangle|GL_EXT_texture_rect
    angle|GL_ARB_texture_rectangle)' ; then
    verbose "present. \n";
    return 0;
    else
    verbose "Not present. \n"
    return 1;
    fi

    }

    # Check for presence of FBConfig
    check_fbconfig()
    {
    verbose "Checking for FBConfig: "
    if [ "$INDIRECT" = "yes" ]; then
    $GLXINFO -i | grep -q GLX.*fbconfig
    FB=$?
    else
    $GLXINFO | grep -q GLX.*fbconfig
    FB=$?
    fi

    if [ $FB = "0" ]; then
    unset FB
    verbose "present. \n"
    return 0;
    else
    unset FB
    verbose "not present. \n"
    return 1;
    fi
    }

    # Check for TFP
    check_tfp()
    {
    verbose "Checking for texture_from_pixmap: "
    if [ $($GLXINFO 2>/dev/null | grep GLX_EXT_texture_from_pixmap -c) -gt 2 ] ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    if [ "$INDIRECT" = "yes" ]; then
    unset LIBGL_ALWAYS_INDIRECT
    INDIRECT="no"
    return 1;
    else
    verbose "Trying again with indirect rendering:\n";
    INDIRECT="yes"
    export LIBGL_ALWAYS_INDIRECT=1
    check_tfp;
    return $?
    fi
    fi
    }

    # Check wether the composite extension is present
    check_composite()
    {
    verbose "Checking for Composite extension: "
    if xdpyinfo -queryExtensions | grep -q Composite ; then
    verbose "present. \n";
    return 0;
    else
    verbose "not present. \n";
    return 1;
    fi
    }

    # Detects if Xgl is running
    check_xgl()
    {
    verbose "Checking for Xgl: "
    if xvinfo | grep -q Xgl ; then
    verbose "present. \n"
    return 0;
    else
    verbose "not present. \n"
    return 1;
    fi
    }

    # Check if the nVidia card has enough video ram to make sense
    check_nvidia_memory()
    {
    MEM=$(${NVIDIA_SETTINGS} -q VideoRam | egrep Attribute\ \'VideoRam\'\ .*: | cut -d: -f3 | sed 's/[^0-9]//g')
    if [ $MEM -lt $NVIDIA_MEMORY ]; then
    verbose "Less than ${NVIDIA_MEMORY}kb of memory and nVidia";
    return 1;
    fi
    return 0;
    }

    # Check for existence if NV-GLX
    check_nvidia()
    {
    if [ ! -z $NVIDIA_INTERNAL_TEST ]; then
    return $NVIDIA_INTERNAL_TEST;
    fi
    verbose "Checking for nVidia: "
    if xdpyinfo | grep -q NV-GLX ; then
    verbose "present. \n"
    NVIDIA_INTERNAL_TEST=0
    return 0;
    else
    verbose "not present. \n"
    NVIDIA_INTERNAL_TEST=1
    return 1;
    fi
    }

    # Check if the max texture size is large enough compared to the resolution
    check_texture_size()
    {
    TEXTURE_LIMIT=$(glxinfo -l | grep GL_MAX_TEXTURE_SIZE | sed 's/.*=[^0-9]//g')
    RESOLUTION=$(xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//')
    VRES=$(echo $RESOLUTION | sed 's/.*x//')
    HRES=$(echo $RESOLUTION | sed 's/x.*//')
    verbose "Comparing resolution ($RESOLUTION) to maximum 3D texture size ($TEXTURE_LIMIT): ";
    if [ $VRES -gt $TEXTURE_LIMIT ] || [ $HRES -gt $TEXTURE_LIMIT ]; then
    verbose "Failed.\n"
    return 1;
    fi
    verbose "Passed.\n"
    return 0
    }

    # check driver whitelist
    running_under_whitelisted_driver()
    {
    LOG=$(xset q|grep "Log file"|awk '{print $3}')
    if [ -z "$LOG" ];then
    verbose "AIEEEEH, no Log file found \n"
    verbose "$(xset q) \n"
    return 0
    fi
    for DRV in ${WHITELIST}; do
    if egrep -q "Loading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG &&
    ! egrep -q "Unloading ${XORG_DRIVER_PATH}${DRV}_drv\.so" $LOG;
    then
    return 0
    fi
    done
    verbose "No whitelisted driver found\n"
    return 1
    }

    # check pciid blacklist
    have_blacklisted_pciid()
    {
    OUTPUT=$(lspci -n)
    for ID in ${BLACKLIST_PCIIDS}; do
    if echo "$OUTPUT" | egrep -q "$ID"; then
    verbose "Blacklisted PCIID '$ID' found \n"
    return 0
    fi
    done
    OUTPUT=$(lspci -vn | grep -i VGA)
    verbose "Detected PCI ID for VGA: $OUTPUT\n"
    return 1
    }

    build_env()
    {
    if check_nvidia; then
    ENV="__GL_YIELD=NOTHING "
    fi
    if [ "$INDIRECT" = "yes" ]; then
    ENV="$ENV LIBGL_ALWAYS_INDIRECT=1 "
    fi
    if check_xgl; then
    if [ -f ${LIBGL_NVIDIA} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_NVIDIA}"
    verbose "Enabling Xgl with nVidia drivers...\n"
    fi
    if [ -f ${LIBGL_FGLRX} ]; then
    ENV="$ENV LD_PRELOAD=${LIBGL_FGLRX}"
    verbose "Enabling Xgl with fglrx ATi drivers...\n"
    fi
    fi

    ENV="$ENV FROM_WRAPPER=yes"

    if [ -n "$ENV" ]; then
    export $ENV
    fi
    }

    build_args()
    {
    if [ $INDIRECT = "yes" ]; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --indirect-rendering "
    fi
    if check_nvidia; then
    COMPIZ_OPTIONS="$COMPIZ_OPTIONS --loose-binding"
    fi
    }

    ####################
    # Execution begins here.

    # Read configuration from XDG paths
    if [ -z "$XDG_CONFIG_DIRS" ]; then
    test -f /etc/xdg/compiz/compiz-manager && . /etc/xdg/compiz/compiz-manager
    else
    test -f $XDG_CONFIG_DIRS/compiz/compiz-manager && . $XDG_CONFIG_DIRS/compiz/compiz-manager
    fi

    if [ -z "$XDG_CONFIG_HOME" ]; then
    test -f $HOME/.config/compiz/compiz-manager && . $HOME/.config/compiz/compiz-manager
    else
    test -f $XDG_CONFIG_HOME/compiz/compiz-manager && . $XDG_CONFIG_HOME/compiz/compiz-manager
    fi

    # Don't use compiz when running the failsafe session
    if [ "x$GNOME_DESKTOP_SESSION_ID" = "xFailsafe" ]; then
    abort_with_fallback_wm
    fi

    if [ "x$LIBGL_ALWAYS_INDIRECT" = "x1" ]; then
    INDIRECT="yes";
    fi

    # if we run under Xgl, we can skip some tests here
    if ! check_xgl; then
    # if vesa or vga are in use, do not even try glxinfo (LP#119341)
    if ! running_under_whitelisted_driver || have_blacklisted_pciid; then
    abort_with_fallback_wm
    fi
    # check if we have the required bits to run compiz and if not,
    # fallback
    if ! check_tfp || ! check_npot_texture || ! check_composite || ! check_texture_size; then
    abort_with_fallback_wm
    fi

    if check_nvidia && ! check_nvidia_memory; then
    abort_with_fallback_wm
    fi

    if ! check_fbconfig; then
    abort_with_fallback_wm
    fi
    fi

    # load the ccp plugin if present and fallback to plain gconf if not
    if [ -f ${PLUGIN_PATH}libccp.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS ccp"
    elif [ -f ${PLUGIN_PATH}libgconf.so ]; then
    COMPIZ_PLUGINS="$COMPIZ_PLUGINS glib gconf"
    fi

    # get environment
    build_env
    build_args

    # start the gtk-window-decorator if present
    if [ -x ${COMPIZ_BIN_PATH}emerald ] && [ "$USE_EMERALD" = "yes" ]; then
    verbose "Starting emerald\n"
    ${COMPIZ_BIN_PATH}emerald --replace &
    elif [ -x ${COMPIZ_BIN_PATH}gtk-window-decorator ] && [ -n "$GNOME_DESKTOP_SESSION_ID" ]; then
    verbose "Starting gtk-window-decorator\n"
    ${COMPIZ_BIN_PATH}gtk-window-decorator --replace &
    elif [ -x ${COMPIZ_BIN_PATH}kde-window-decorator ] && [ -n "$KDE_FULL_SESSION" ]; then
    verbose "Starting kde-window-decorator\n"
    ${COMPIZ_BIN_PATH}kde-window-decorator --replace &
    FALLBACKWM="${KWIN}"
    fi

    ${COMPIZ_BIN_PATH}${COMPIZ_NAME} $COMPIZ_OPTIONS "$@" $COMPIZ_PLUGINS || exec $FALLBACKWM $FALLBACKWM_OPTIONS

    -Quand je met extra dans apparance Sa m'affiche : Desktop effects could not be enabled mais je peux lancer compiz depuis l'icone "Compiz Fusion Icon" qui se trouve dans le home

    -La commande compiz --replace m'affiche
    CODE
    Checking for Xgl: not present.
    Detected PCI ID for VGA: 01:00.0 0300: 10de:0110 (rev b2) (prog-if 00 [VGA])
    Checking for texture_from_pixmap: present.
    Checking for non power of two support: present.
    Checking for Composite extension: present.
    Comparing resolution (1280x1024) to maximum 3D texture size (2048): Passed.
    Checking for nVidia: present.
    Less than 32768kb of memory and nVidiaaborting and using fallback: /usr/bin/metacity
    /home/oussama/.gtkrc-2.0:7: error: scanner: unknown error

    J'esspaire que vous pouvez m'aider
    Marci
    0
  9. ben13010 Messages postés 3369 Statut Contributeur 387
     
    on va te le redire une derniere fois

    tu ne peux pas avoir d'effet 3D avec ta carte !

    mais on s'en passe tres bien

    si tu les veux absolupment , prend toi meme une nvidia toute pourri ( genre nvidia 4xxxx ) d'occase ( on ne te la fera meme pas payer ...

    mais sur une nvidia generation 2xxx , c'est pas possible
    0
  10. djofreedom
     
    voila j'ai fais tous se qui et indiquer et sa ne marche pas.voila ma config nvidia8500 gt 512 mo inteldual cors 2.2ghz 2ghz de ram si qq peut m'aider?
    0
  11. Bast
     
    bonjour je suis nouveau sur linux et la j ai installé ubuntu 7.10 et j aimerais installer compiz-fusion...

    Je l ai téléchargé et graver sur un cd, lorsque je vais sur le cd j ai un fichier text qui me dit d ouvrir un shell et de lancer le fichier install.sh en root. Je me suis un peu documenté sur google et j ai vu qu il fallait entrer su - nomdutilisateur et le mot de pass avant d ouvrir le fichier (j ai pas compris comment...) mais lorsque je rentre mon nom il y a une ligne qui me demande mon pass et bizarremet a ce moment la je peux plus rien taper... :S

    Que dois-je faire ? sincèrement j ai cherché partout sur internet mais je comprends pas comment je peux installer compiz... j ai chercher par paquets a activer aussi mais ca marche pas... enfin je suis vmt perdu...

    Si qqn pouvait m aider... :)
    0
  12. mekahmou
     
    j'ai un pc avec ram 1024mo et carte graphique nvidia 7200 a 256mo et je veux installr le bureau 3d, que dois je faire
    0
    1. Franzux Messages postés 9705 Statut Contributeur 1 146
       
      L'idéal pour ce type de carte reste de faire gérer ses pilotes par Envy. Ensuite, tu actives les effets via le compiz-configuration settings manager.
      0