speedup nvidia?
OK,
I've been putting quite some time into installing and optimising my Diamond
Viper 770 on my Debian system. I completely agree that Debian is a very handy
distribution to maintain, it has lots of packages (more than any other
distribution), and is recent in it's packages. The only thing is that the
configuration scripts can use some work (i.e. fine-tuning). But hey! You
don't hear my complaining, at least I start to know the nitty gritty details
of the hardware and the configuration files :)))
I am not going to go into my previous work to find out what was wrong and how
I tried to solve it (cf. X memory problem thread). Short: I had a green
rectangle on my X when restarting it (or after a shutdown at night) when
using the nvidia module, which was an 'echo' of my last avi file played.
I especially want to thank Andrej Marjan, John Foster, Ashridah (on #nvidia
on irc.openprojects.net) Tom Vander Aa and Karsten Self (for giving my
pointers on spacing my e-mails ;) )
The suggestions lead to some solution that solves the problem half-way.
First, I was suggested to exclude rivafb from my kernel (which was
experimental) and use the vesafb. If this didn't work, don't use it
alltogether. After a couple of compilations and reboots, there was no effect,
I still had the green rectangle.
Yesterday evening I noticed the new topic on #nvidia, which had to do with
the kernel agp support and the nvidia agp support provided with the drivers.
Argh. Slowly, I started to realise something: the default configuration tool
of debian doesn't (detect/include???) agp support.
I added the option Option "NvAgp" "1" to the screen section of my
XF86Config-4 and rebooted (somehow, once I get in X, my keyboard hangs when I
try to leave it and since I don't have a second pc close at home, the reset
button is the only feasable solution). Yeah. the green rectangle was gone. I
started an avi file and rebooted again (just to make sure, it was past 00h in
the evening). OK that problem was solved.
This morning before going to work, I restore Q3 on my linux box. Since I had
a lot of testing during the last weeks, I found that this game is ideal to
measure the performance of the configuration. As a reference I took a couple
of screenshots with Windoos and took them as reference for the FPS
(cg_drawFPS 1). The results are that my fps in Linux are only half of those
in Windhoos.
Since I've had very good results before, I KNOW that this is a situation I
cannot let be. When using SuSE 7.0, I had very good results (higher fps than
in Windhoos). I guess the SaX2 must do a very good job in setting the
options, while dexconf is perhaps more conservative.
So, if you followed my ranting up until here, I would like to ask you if any
of you have any pointer as how I could improve my configuration that I have a
decent fps in Q3 and that I can play avi files (avifile-player) without
frameloss (like I used to do).
I promise to make a report how I found/got the solution for this problem...
Marc.
current XF86Config-4:
# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)
Section "Files"
FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection
Section "ServerFlags"
EndSection
Section "Module"
Load "ddc"
Load "GLcore"
Load "dbe"
Load "dri"
Load "extmod"
Load "glx"
Load "pex5"
Load "record"
Load "xie"
Load "bitmap"
Load "freetype"
Load "speedo"
Load "type1"
Load "vbe"
Load "int10"
EndSection
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection
Section "InputDevice" Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
Identifier "Generic Mouse"
Driver "mouse" Option "SendCoreEvents"
"true" Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2" Option
"ZAxisMapping" "4 5"
EndSection
Section "Device"
Identifier "Diamond Viper 770"
Driver "nvidia"
VideoRam 32768
EndSection
Section "Monitor"
Identifier "Flattron 795FT Plus"
HorizSync 30-96
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Screen"
Identifier "Default Screen"
Device "Diamond Viper 770"
Monitor "Flattron 795FT Plus"
DefaultDepth 16
Option "NvAgp" "1"
SubSection "Display"
Depth 1
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1280x960" "1152x864" "1024x768"
"800x600" "640x480"
EndSubSection
EndSection
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Generic Mouse"
EndSection
Section "DRI"
Mode 0666
EndSection
# end of XF86Config
--
--
greetz, marc
It is necessary to have purpose.
-- Alice #1, "I, Mudd", stardate 4513.3
Reply to: