nvidia xorg (xorg.conf)

nvidia

Categoria: Hardware

Software: nvidia xorg

[ Hits: 10.480 ]

Por: Fernando


Este arquivo mostra comom cinfigurei minha placa de video Geforce 4 mx440 no slackware 10.1 kernel 2.4.29 com 3D habilitado.
Também foi incluido as linhas para o mouse PS2 com rodinha...


Section "ServerLayout"
 Identifier     "Layout0"
 Screen      0  "Screen0" 0 0
 InputDevice    "Keyboard0" "CoreKeyboard"
 InputDevice    "Mouse0" "CorePointer"
EndSection

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)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
# 
# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.
#    ModulePath "/usr/X11R6/lib/modules"
 RgbPath      "/usr/X11R6/lib/X11/rgb"
 FontPath     "/usr/X11R6/lib/X11/fonts/local/"
 FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
 FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
 FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
 FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
 FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
 FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
 FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
 FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
 FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
# This loads the GLX module
 #load modules
#        Load  "type1"
# Load  "freetype"
      #Load        "speedo"
# Load  "glx"
 Load  "dbe"   # Double buffer extension
 SubSection "extmod"
  Option     "omit xfree86-dga"   # don't initialise the DGA extension
 EndSubSection
 Load  "extmod"
 Load  "type1"
 Load  "freetype"
 Load  "speedo"
 Load  "xtt"
 Load  "glx"
EndSection

Section "InputDevice"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
#    Option     "Protocol"      "Xqueue"
# Set the keyboard auto repeat parameters.  Not all platforms implement
# this.
#    Option     "AutoRepeat"    "500 5"
# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
#    Option     "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    Option     "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a European
# keyboard, you will probably want to use one of:
#
#    Option     "XkbModel"      "pc102"
#    Option     "XkbModel"      "pc105"
#
# If you have a Microsoft Natural keyboard, you can use:
#
#    Option     "XkbModel"      "microsoft"
#
# If you have a US "windows" keyboard you will want:
#
#    Option     "XkbModel"      "pc104"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#
#    Option     "XkbLayout"     "de"
#
# or:
#
#    Option     "XkbLayout"     "de"
#    Option     "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#
#    Option     "XkbOptions"    "ctrl:swapcaps"
# These are the default XKB settings for X.Org
#
#    Option     "XkbRules"      "xorg"
#    Option     "XkbModel"      "pc101"
#    Option     "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
#    Option     "XkbOptions"    ""
 Identifier  "Keyboard1"
 Driver      "kbd"
EndSection

Section "InputDevice"
 Identifier  "Mouse0"
 Driver      "mouse"
 Option     "Protocol" "ImPS/2"
 Option     "Emulate3Buttons"
 Option     "Device" "/dev/mouse"
 Option      "Buttons" "5"
 Option      "ZaxisMapping" "4 5"
EndSection

Section "InputDevice"
 Identifier  "Keyboard0"
 Driver      "keyboard"
 Option     "XkbModel" "abnt2"
 Option     "XkbLayout" "br"
EndSection

Section "Monitor"
 Identifier   "Monitor0"
 HorizSync    31.5 - 48.5
 VertRefresh  50.0 - 70.0
EndSection

Section "Device"

# Identifier  "Card0"
# Driver      "nv"
# ChipSet     "GeForce4 MX 440"
# Card        "nv GeForce4 MX 440"
 Identifier  "NV"
 Driver      "nvidia"
 VendorName  "nvidia"
 VideoRam    64000
 BusID       "PCI:01:00:0" # aqui eh ond sua placa d video estah localizada, basta digitar lspci e verificar
EndSection

Section "Screen"
 Identifier "Screen0"
 Device     "NV"
 Monitor    "Monitor0"
 DefaultDepth     24
 SubSection "Display"
  Viewport   0 0
  Depth     24
  Modes    "1024x768"
 EndSubSection
EndSection

  


Comentários
[1] Comentário enviado por fernandofei em 04/03/2006 - 11:26h

esta configuração pode ser usada também no slackware 10.2... o que estou atualmente

[2] Comentário enviado por coffnix em 10/03/2006 - 16:05h

perfeito!

[3] Comentário enviado por EnzoFerber em 09/06/2006 - 14:20h

Minha fx5200 está instalado no agp, qual o BUSid?
Obrigado,

[4] Comentário enviado por fernandofei em 09/06/2006 - 15:23h

digita lspci como root q aparece lah

[5] Comentário enviado por guioximitsu em 24/12/2009 - 12:01h

Era isso que estava procurando,obrigado.
É só configurar esse script de acordo com a minha placa(NVidia geforce 9400 GT),que fica tudo certo...XD


Contribuir com comentário