View Full Version : 3D Accelleration problems
Snipersnest
November 25th, 2005, 11:58 AM
ok so I get 14,000 fps on a glxgears output. However that is with something called "Mesa" 3D libs. I can't seem to find the post I got this info on but I was wondering if anybody knew about it.
I would love to change the Mesa part over to the nvidia libs.. normally nvidia-glx fixes this but it didn't for me on the 64bit os.
If I can change to the nvidia libs I should get about 15,000 fps from glxgears and a lot smoother 3D in my games. Any ideas?
Snipersnest
November 26th, 2005, 11:56 AM
bump....no one knows how to change the Mesa libs to the nvidia libs?
metoo
November 26th, 2005, 02:23 PM
14000 sounds good to me?
Use synaptic -> search and search for 'nvidia'. I assume, that you have the driver from the linux-modules-restricted-yourkernel package. Actually it should have installed the nvidia-glx package (not?). May be re-install will help?
There was an update of mesa after the first release. I still haven't applied it. May be this overrun the nvidia-glx stuff. In that case just re-install the glx part.
RAOF
November 26th, 2005, 11:55 PM
Rather than glxgears (which has the wonderful command-line switch "-iacknowlegethistoolisnotabenchmark" for printing out the fps :)), a better tool for 3D acceleration testing is "glxinfo". For example, running that command on my system gives:
chris@RAOF:~/Devel/banshee$ glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.3
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_ARB_multisample, GLX_NV_float_buffer, GLX_ARB_fbconfig_float
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
...
(and much more). The important parts being:
"direct rendering: Yes"
and
"... glx vendor string: NVIDIA Corporation".
Those two things indicate that 3D acceleration is working. If it says "MESA" instead, that indicates that the mesa software OpenGL libraries are being used - no hardware acceleration. In that case, (if you've got an nvidia card, more recent than a TNT2) you want to install the "nvidia-glx" package, and then run "sudo nvidia-glx-config enable" to switch to the nvidia drivers.
Snipersnest
November 28th, 2005, 09:53 AM
I've done this.... nvidia-glx-config DOES NOT fix the problem...thats exactly how I installed the drivers...
Zimmer
November 28th, 2005, 10:05 AM
Hi,
did you follow the Binary Driver instructions here?
https://wiki.ubuntu.com/BinaryDriverHowto/Nvidia
I have found that these instructions on the wiki (for ATI and NVidia )
have always worked for me (but then I don't have an AMD64)
Regards
Zimmer
RAOF
November 28th, 2005, 07:39 PM
I've done this.... nvidia-glx-config DOES NOT fix the problem...thats exactly how I installed the drivers...
Just to confirm, running "glxinfo" does not report nvidia stuff, yes? If you've run "sudo nvidia-glx-config enable", and it still doesn't report using the nvidia gl stuff, could you post the contents of your xorg.conf and xorg.log, and maybe we can spot something obvious in there.
Snipersnest
November 29th, 2005, 09:58 AM
Ya I'll get on that when I get off work.. I've been through my xorg.conf a ton of times now and everythings just like I had it on Hoary...But ya I'll post it.. Thanks for the help on the sound config.
Snipersnest
November 29th, 2005, 10:54 PM
Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "opengl"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "NVIDIA Corporation NV40 [GeForce 6800 Ultra/GeForce 6800 GT]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NvAGP" "2"
Option "RenderAccel" "On"
Option "Accel" "On"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
HorizSync 28-64
VertRefresh 43-60
EndSection
Section "Screen"
Identifier "Default Screen"
Device "NVIDIA Corporation NV40 [GeForce 6800 Ultra/GeForce 6800 GT]"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection
RAOF
November 29th, 2005, 10:59 PM
What is that "opengl" module doing in the modules section? I've never seen that module before :confused: Maybe that's overriding your nvidia-glx module and forcing software rendering?
Here's my modules section for comparison:
Section "Module"
# Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
# Load "dri"
Load "v4l"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Note no "opengl" module, and that GLCore is commented out. This setup (a 6600GT with the nvidia drivers) glx's normally :)
akiro.yamamoto
November 29th, 2005, 11:06 PM
I don't know if this will help but here's mine for comparision:
CODE
Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
#Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
.......................................
Section "Device"
Identifier "NVIDIA Corporation NV15DDR [GeForce2 Ti]"
Driver "nvidia"
BusID "PCI:1:0:0"
Option "NoLogo"
EndSection
In my xorg.conf file the opengl line was remived by the nvidia driver...
I commented out the DRI section due to load error with it.
Hope this helps you....
Snipersnest
November 30th, 2005, 08:13 AM
What is that "opengl" module doing in the modules section? I've never seen that module before :confused: Maybe that's overriding your nvidia-glx module and forcing software rendering?
That opengl thing was something I found from another post I was told to try it.. I knew it wasn't going to work but it didn't work before either..
Basicly my config is the same way yours is with the exception of the opengl thing....I delete the dri and glcore lines because they aren't getting used either way.
Any other ideas??
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.