PDA

Visualizza la versione completa : Accelerazione 3d e nvidia TNT2


hope for us
14-05-2005, 21:20
Ciao ragazzi, vi chiedo 1 mano x attivare l'accelerazione 3d con scheda nvidia Tnt2. Vi riporto il mio xorg.conf:

Section "Module"


Load "dbe" # Double buffer extension

SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
# Load "speedo"
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"


RgbPath "/usr/lib/X11/rgb"

FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/Type1/"
# FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/local/"
# FontPath "/usr/share/fonts/Speedo/"
# FontPath "/usr/share/fonts/TrueType/"
# FontPath "/usr/share/fonts/freefont/"


# ModulePath "/usr/X11R6/lib/modules"

EndSection

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

Section "ServerFlags"


# Option "NoTrapSignals"

# Option "DontVTSwitch"

# Option "DontZap"


# Option "Dont Zoom"


# Option "DisableVidModeExtension"

# Option "AllowNonLocalXvidtune"

# Option "DisableModInDev"


# Option "AllowNonLocalModInDev"

EndSection

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

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

Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

# 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"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"

# Option "LeftAlt" "Meta"
# Option "RightAlt" "ModeShift"


Option "XkbModel" "pc105"
Option "XkbLayout" "it"

EndSection


Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2" # "PS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5" # "6 7"


# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

Option "Emulate3Buttons"
# Option "Emulate3Timeout" "50"


EndSection


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

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

HorizSync 30-70

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies


VertRefresh 50-150

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"

# The chipset line is optional in most cases. It can be used to override
# the driver's chipset detection, and should not normally be specified.

# Chipset "generic"

# The Driver line must be present. When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module. Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

Driver "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for. When this line isn't present, a device
# section can only match up with the primary video device. For PCI
# devices a line like the following could be used. This line should not
# normally be included unless there is more than one video device
# intalled.

# BusID "PCI:0:10:0"

# VideoRam 256

# Clocks 25.2 28.3

EndSection

# Device configured by xorgconfig:

Section "Device"
Identifier "nVidia Inc. GeForce2"
Driver "nvidia"
VideoRam 32768
# 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 Inc. GeForce2"
Monitor "My Monitor"
DefaultDepth 16

Subsection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
# Virtual 1600 1280
EndSubsection
Subsection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
ViewPort 0 0
# Virtual 1280 1024
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
ViewPort 0 0
# Virtual 1152 900
EndSubsection
EndSection

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

Section "ServerLayout"

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


Screen "Screen 1"


InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection


e l'output x 1 paio di comandi:

glxinfo | grep direct
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".

e


lsmod
Module Size Used by
drm 56340 0
snd_seq_midi 6432 0
snd_pcm_oss 46496 0
snd_mixer_oss 16128 2 snd_pcm_oss
snd_seq_oss 29056 0
snd_seq_midi_event 6016 2 snd_seq_midi,snd_seq_oss
snd_seq 45072 5 snd_seq_midi,snd_seq_oss,snd_seq_midi_event
ohci_hcd 18440 0
ehci_hcd 27656 0
nvidia 3462204 0
snd_ens1371 18912 1
snd_rawmidi 18848 2 snd_seq_midi,snd_ens1371
snd_seq_device 6796 4 snd_seq_midi,snd_seq_oss,snd_seq,snd_rawmidi
snd_ac97_codec 68216 1 snd_ens1371
snd_pcm 76040 3 snd_pcm_oss,snd_ens1371,snd_ac97_codec
snd_timer 19588 2 snd_seq,snd_pcm
snd 44388 10 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_ ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec, snd_pcm,snd_timer
snd_page_alloc 7428 1 snd_pcm
gameport 3712 1 snd_ens1371
parport_pc 29508 0
parport 30664 1 parport_pc
via_agp 7424 1
agpgart 27688 3 drm,nvidia,via_agp
vfat 10752 0
fat 34588 1 vfat
usb_storage 39936 0
uhci_hcd 28304 0
usbcore 99064 5 ohci_hcd,ehci_hcd,usb_storage,uhci_hcd
via_rhine 18820 0
mii 3968 1 via_rhine

Come posso fare x abilitare sta cavolo di accelerazione 3d?


:dh:

hope for us
14-05-2005, 21:37
Come non detto, dovevo riavviare il computer. Ma he figata 3ddesktop? :unz:

Loading