View previous topic :: View next topic |
Author |
Message |
Karsten n00b
Joined: 02 Feb 2003 Posts: 33
|
Posted: Sun Feb 02, 2003 10:40 am Post subject: no 3d acceleration with nvidia drivers |
|
|
Hi,
I have a RivaTNT videocard and installed the nvidia driver 3123, but I get no 3d acceleration.
I called already 'opengl-update nvidia' and changed the driver in XF86Config from 'nv' to 'nvidia'. Can anyone help me with that? |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Feb 02, 2003 11:01 am Post subject: |
|
|
hi,
did you add "glx" option to your XF86Config file ?
and check that the nvidia module is loaded by typing
_________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
Karsten n00b
Joined: 02 Feb 2003 Posts: 33
|
Posted: Sun Feb 02, 2003 11:19 am Post subject: |
|
|
My Module Section looks like that:
Code: | Section "Module"
Load "bitmap"
Load "extmod"
Load "dbe"
Load "glx"
Load "type1"
Load "freetype"
Load "v4l"
EndSection
|
and if I type lsmod I get:
Code: | Module Size Used by Tainted: P
ppp_synctty 6272 0 (unused)
ppp_async 7392 1
ppp_generic 17600 3 (autoclean) [ppp_synctty ppp_async]
slhc 4640 0 (autoclean) [ppp_generic]
NVdriver 1067296 7
|
So i added 'glx' to the config, but it is not listed by 'lsmod', what could be the problem? |
|
Back to top |
|
|
taskara Advocate
Joined: 10 Apr 2002 Posts: 3763 Location: Australia
|
Posted: Sun Feb 02, 2003 11:26 am Post subject: |
|
|
well glx won't be listed by lsmod, cause it's not a module.
looks like you have the nvidia module loaded proerly...
and if your xf86config file was wrong it would spit out an error.
how do you know 3d isn't working ? what did you try.
can you try running "glxgears" from a console ?
and maybe post your XF86Config file anyway just incase _________________ Kororaa install method - have Gentoo up and running quickly and easily, fully automated with an installer! |
|
Back to top |
|
|
Karsten n00b
Joined: 02 Feb 2003 Posts: 33
|
Posted: Sun Feb 02, 2003 1:07 pm Post subject: |
|
|
I tried tuxracer and it very slow (unplayable).
glxgears works fine, it says 320 frames in 5.0 seconds = 64.000 FPS
I don't if this is software rendering or hardware rendering, but I thought if tuxracer is that slow it can't be hardware rendering.
Here my XF86Config file:
Code: | Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
# Load "pex5"
# Load "record"
Load "bitmap"
Load "extmod"
Load "dbe"
# Load "dri"
Load "glx"
# Load "GLcore"
# Load "xie"
# Load "xtrap"
Load "type1"
Load "freetype"
# Load "speedo"
Load "v4l"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
Option "XkbOptions" ""
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "MAX"
ModelName "1b7b"
Option "DPMS"
HorizSync 30.0-95.0
VertRefresh 50.0-180.0
Gamma 1.4
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "UseFBDev" # [<bool>]
#Option "Rotate" # [<str>]
#Option "VideoKey" # <i>
#Option "FlatPanel" # [<bool>]
#Option "CrtcNumber" # <i>
Identifier "Card0"
# Driver "nv"
Driver "nvidia"
VendorName "NVidia"
BoardName "RIVA TNT"
BusID "PCI:1:0:0"
Option "DPMS"
Option "NvAGP" "1"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 24
SubSection "Display"
Depth 8
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
|
|
|
Back to top |
|
|
IWBCMAN Guru
Joined: 25 Jun 2002 Posts: 474
|
Posted: Sun Feb 02, 2003 1:32 pm Post subject: |
|
|
sounds like your system is still using the xfree GL driver(which is not affected by your settings in XF86config -rather through symlinks in /usr/lib)
try
opengl-update nvidia |
|
Back to top |
|
|
Karsten n00b
Joined: 02 Feb 2003 Posts: 33
|
Posted: Sun Feb 02, 2003 2:35 pm Post subject: |
|
|
Thanks for you answers.
I switched to the version 2960 from the nvidia drivers and now it works.
glxgears says now 1921 frames in 5.0 seconds = 385.400 FPS and tuxracer is really good playable. |
|
Back to top |
|
|
|