LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-30-2005, 09:15 PM   #1
MalachiX
LQ Newbie
 
Registered: Feb 2005
Location: Miramar
Distribution: Fedora Core 3
Posts: 13

Rep: Reputation: 0
Glxgears ( gives me low fps )


I am on Gentoo Linux 2005.0, the latest version. My CPU is an 2.2 Ghz Athlon XP. I just bought a brand new Nvidia Geforce FX 5500 because my integrated card just wasn't cutting it (you know what I mean, hehe).

I have put the new card into the tower. I also installed the latest nvidia driver(7167). When I use the command, "glxinfo | grep rendering", it says, "direct rendering: yes". So then I run glxgears and it gives me between 1000-1300 fps. I looked around online and it seems to me that people on older hardware are getting better rates than me. From what I've read it seems like I should be getting 2000-3000 fps at least.

My video card is not AGP, it is PCI, could that be why I am receiving such a low output of fps?

If anyone know how to increase my fps please let me know. Glxgears moves very slow for me. Here is my xorg.conf file, maybe it will help.

*****************************************************************
Code:
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************

Section "Module"
    Load        "dbe"  	# Double buffer extension
    Load	"extmod"
#    SubSection  "extmod"
#      Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection
#    Load        "speedo"
#    Load        "xtt"
    Load	"fbdevhw"
    Load        "type1"    # Loads a font module
    Load        "freetype"    # Loads a font module
    Load        "glx"    # Needed for acceleration
#    Load       "dri"
EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

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.

    RgbPath	"/usr/X11R6/lib/X11/rgb"

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

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

# The module search path.  The default path is shown here.

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

EndSection

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

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "XkbRules" "xorg"
    Option "XkbModel"	"pc105"
    Option "XkbLayout"	"en_US"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
# Identifier and driver
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "ExplorerPS/2"
    Option "Device"      "/dev/mouse"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons"
# mouse speed setting and emulate timeout:
#    Option "Resolution"	"256"
#    Option "Emulate3Timeout"    "50"
EndSection

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

Section "Monitor"
    Identifier  "Compaq7550"
    VendorName "Plug'n Play"
    ModelName "Compaq 7550 Color Monitor"
    HorizSync   30-86    # horizontal sync
    VertRefresh 50-140   # verical refresh
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present
# Standard VGA Device:

Section "Device"
    Identifier  "Integrated"
    Driver      "vesa"
EndSection

Section "Device"
    Identifier  "Geforce"
    VendorName  "Nvidia"
    BoardName   "Geforce FX 5500"
    Driver      "nvidia"

    Option "NvAGP" "1" # use nvagp(faster than agpgart in linux kernel)
    Option "HWCursor" "true" # let nvidia take care of the cursor
    Option "NoLogo" "false" # keep my nvidia logo
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  "Screen1"
    Device      "Geforce"
    Monitor     "Compaq7550"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
	Modes       "1280x1024" "1024x768" "800x600"
    EndSubsection
    #Subsection "Display"
        #Depth       15
	#Modes       "1280x1024" "1024x768" "800x600"
    #EndSubsection
    Subsection "Display"
        Depth       16
	Virtual     1024 768
	Modes       "1280x1024" "1024x768" "800x600"
    EndSubsection
    Subsection "Display"
        Depth       24
	Modes       "1280x1024" "1024x768" "800x600"
    EndSubsection
EndSection

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

# Any number of ServerLayout sections may be present.  Each describes
# the way multiple screens are organised.  A specific ServerLayout
# section may be specified from the X server command line with the
# "-layout" option.  In the absence of this, the first section is used.
# When now ServerLayout section is present, the first Screen section
# is used alone.

Section "ServerLayout"
    Identifier  "Layout1"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

    Screen "Screen1"

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

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

#Section "DRI"
    #Mode 0666
#EndSection
 
Old 03-30-2005, 09:57 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
I too have a pci nvidia card(cheap one)and my fps is less than yours,I think it has something to do with the pci/agp difference.But on the bright side seem to be able to play games O.K.Some people say not to worry about glxgears as long as dri is enabled.I have tried to play with the settings and doesn't seem to help speed it up.At this point I'm glad to have it working at all.
 
Old 03-30-2005, 11:45 PM   #3
MalachiX
LQ Newbie
 
Registered: Feb 2005
Location: Miramar
Distribution: Fedora Core 3
Posts: 13

Original Poster
Rep: Reputation: 0
yeah but...

The nvidia readme says to make sure that the dri module is not in the xorg.conf. Your right though, when I play opengl games everything works with no problems at all. However I'm a performance freak, so if the card is suppore to perform better than it is now then I would really like someone to shine some light on the situation.
 
Old 03-31-2005, 02:42 AM   #4
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 73
Either it is the PCI card is just slow or you have other configuration problems. My config file for the most part is the same as yours(with the exception of "Option "NvAGP" "1" # use nvagp(faster than agpgart in linux kernel)"). I have a GF4 Ti4200 8x AGP card and I get around 3500 on glxgears.
 
Old 03-31-2005, 07:24 AM   #5
Stealth870
Member
 
Registered: Dec 2004
Posts: 57

Rep: Reputation: 15
PCI Graphics card = not good stuff

You definitely will not get same performance as the AGP counterpart...
 
Old 03-31-2005, 09:02 AM   #6
vasudevadas
Member
 
Registered: Jul 2003
Location: Bedford, UK
Distribution: Slackware 11.0, LFS 6.1
Posts: 519

Rep: Reputation: 30
Forget about the glxgears fps, it's meaningless. So long as your games work ok, that's the real performance test. You don't seem to have any actual problems, so be happy. Some people don't have 3d acceleration at all!
 
Old 03-31-2005, 04:01 PM   #7
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Re: yeah but...

Quote:
Originally posted by MalachiX
The nvidia readme says to make sure that the dri module is not in the xorg.conf. Your right though, when I play opengl games everything works with no problems at all. However I'm a performance freak, so if the card is suppore to perform better than it is now then I would really like someone to shine some light on the situation.
dri is direct rendering,I didnt mean is xorg.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
low fps in glxgears tehnick Debian 12 02-23-2005 03:40 PM
glxgears FPS is 390, this normal? Grim Reaper Linux - Software 6 09-30-2004 04:48 AM
8500LE getting 75 FPS on glxgears McKnight Linux - Software 0 07-02-2004 12:16 AM
GLXGears :: 128 FPS?!?! nealkochhar Linux - Newbie 4 05-31-2004 12:20 PM
low fps in glxgears? kleptophobiac Linux - Hardware 17 02-08-2004 09:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration