Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[risolto]Nvidia e compiz
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
lordkarolus
n00b
n00b


Joined: 13 Sep 2007
Posts: 30

PostPosted: Sun Sep 23, 2007 4:19 pm    Post subject: [risolto]Nvidia e compiz Reply with quote

Hardware:
nvidia 6200

Configurazione:
kernel 2.6.22-gentoo-r5
nvidia-drivers-100.14.09
compiz-0.5.2
compiz-settings-0.0.7
xorg-x11-7.2
xorg-server-1.3.0.0

Questo è il mio xorg.conf
Code:

Section "Module"

# This loads the DBE extension module.

    Load        "dbe"     # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
#    Load        "type1"
    Load        "freetype"
#    Load        "xtt"

# This loads the GLX module
    Load       "glx"
# This loads the DRI module
#    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.


# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
#

    FontPath   "/usr/share/fonts/misc/"
#    FontPath   "/usr/share/fonts/TTF/"
#    FontPath   "/usr/share/fonts/OTF"
#    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/100dpi/"
    FontPath   "/usr/share/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/local/"
#    FontPath   "/usr/lib/X11/fonts/misc/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/100dpi/:unscaled"
#    FontPath   "/usr/lib/X11/fonts/Speedo/"
#    FontPath   "/usr/lib/X11/fonts/Type1/"
#    FontPath   "/usr/lib/X11/fonts/TrueType/"
#    FontPath   "/usr/lib/X11/fonts/freefont/"
#    FontPath   "/usr/lib/X11/fonts/75dpi/"
#    FontPath   "/usr/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.


EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"


EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

    Identifier   "Keyboard1"
    Driver   "kbd"
    Option "XkbRules"   "xorg"
    Option "XkbModel"   "pc105"
    Option "XkbLayout"   "it"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

    Identifier   "Mouse1"
    Driver   "mouse"
    Option "Protocol"    "ExplorerPS/2"   # Auto detect
    Option "Device"      "/dev/input/mice"
    Option "Emulate3Buttons" "true"
    Option "Buttons" "7"
    Option "ButtonMapping" "1 2 3 6 7"
    Option "ZAxisMapping"   "4 5"
    Option "Emulate3Buttons"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "lcd"

    HorizSync   31.5 - 48.5

    VertRefresh 50-90

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

# Standard VGA Device:

#Section "Device"
 #   Identifier   "Standard VGA"
 #   VendorName   "Unknown"
 #   BoardName   "Unknown"

#EndSection

# Device configured by xorgconfig:

Section "Device"
    Identifier  "nvidia"
    Driver      "nvidia"
    VideoRam    262144
    Option   "NoLogo" "true"
    Option   "NvAGP" "1"
#    Option "AllowGLXWithComposite" "true"
    # Insert Clocks lines here if appropriate
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
    Identifier  "Screen 1"
    Device      "nvidia"
    Monitor     "lcd"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
Option "AddARGBGLXVisuals" "True"
EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"

# The Identifier line must be present
    Identifier  "Simple Layout"


    Screen "Screen 1"


    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
#    Option "AIGLX" "true"
EndSection

#Section "DRI"
#    Mode 0666
#EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection


Comandi per avviare compiz
Code:

compiz --replace gconf &
sleep 2
gtk-window-decorator --replace &


Ho seguito le varie guide consigliate ed ho compilato i driver nvidia, xorg-x11, xorg-server e compiz usando la flag use "aiglx" ma quando avvio compiz alcuna applicazioni hanno i bordi ed alcune ed inoltre non riesco a muovere nessuna finestra. Dove sbaglio?


Last edited by lordkarolus on Sun Sep 23, 2007 5:02 pm; edited 1 time in total
Back to top
View user's profile Send private message
noice
Guru
Guru


Joined: 05 Dec 2005
Posts: 473
Location: italia, Ischia

PostPosted: Sun Sep 23, 2007 4:23 pm    Post subject: Reply with quote

hai visto qui? https://forums.gentoo.org/viewtopic-t-566882.html
_________________
Noice

when you post remove comments
Code:
grep -vh '^[[:space:]]*\(#\|$\)' "$@"
Back to top
View user's profile Send private message
lordkarolus
n00b
n00b


Joined: 13 Sep 2007
Posts: 30

PostPosted: Sun Sep 23, 2007 4:59 pm    Post subject: Reply with quote

ok ho risolto...grazie mille
Back to top
View user's profile Send private message
mambro
l33t
l33t


Joined: 22 Mar 2004
Posts: 752
Location: Mira (VE) - Italy

PostPosted: Mon Sep 24, 2007 3:36 pm    Post subject: Reply with quote

lordkarolus wrote:
ok ho risolto...grazie mille

Spiega come
_________________
"The design of a worldwide, fully transparent distributed file system for simultaneous use by millions of mobile and frequently disconnected users is left as an excercise for the reader".
Andrew S. Tanenbaum, Distributed Operating Systems.
Back to top
View user's profile Send private message
micio
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2006
Posts: 98

PostPosted: Thu Sep 27, 2007 8:32 am    Post subject: Reply with quote

lordkarolus wrote:
ok ho risolto...grazie mille


Impara a filtrare i commenti con:

Code:
grep -vh '^[[:space:]]*\(#\|$\)' "$@"


Almeno il post non assume dimensioni eccessive di cose non rilevanti :)

ciau^^
_________________
with Linux plug and play
while with Winzozz plug and pray ^.^
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum