Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

nvidia opengl framerate way too low. [solved]

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
40 posts
  • 1
  • 2
  • Next
Author
Message
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

nvidia opengl framerate way too low. [solved]

  • Quote

Post by hogosha » Wed May 11, 2005 8:04 pm

Seti was killing the fps. stupid program!

hello people. now i thought i was doing things correctly when i installed my graphics card drivers and everything but evidently not.
currently my machine is a

Code: Select all

AMD 64 3200
Geforce 6600 PCI-Express 128 meg
1 gig of ram
Stage 1 build
Gigabyte k8 triton (nforce 4)
now, here is my xorg.conf

Code: Select all

Section "Module"
    SubSection  "extmod"
    EndSubSection
    Load        "type1"
    Load        "freetype"
    Load       "glx"
EndSection

Section "Files"
    RgbPath	"/usr/X11R6/lib/X11/rgb"
    FontPath   "/usr/share/fonts/misc/"
    FontPath   "/usr/share/fonts/TTF/"
    FontPath   "/usr/share/fonts/Type1/"
    FontPath   "/usr/share/fonts/75dpi/"
    FontPath   "/usr/share/fonts/100dpi/"
EndSection

Section "ServerFlags"

EndSection

Section "InputDevice"
    Identifier	"Keyboard1"
    Driver	"kbd"
    Option "AutoRepeat" "500 30"
    Option "XkbRules"	"xorg"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"
EndSection

Section "InputDevice"
    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "Auto"
    Option "Device"      "/dev/input/mouse0"
    Option "ZAxisMapping" "4 5"
    Option "Emulate3Buttons"
EndSection

Section "Monitor"
    Identifier  "My Monitor"
    HorizSync   31.5 - 64.3
    VertRefresh 50-70
EndSection

Section "Device"
    Identifier	"Standard VGA"
    VendorName	"Unknown"
    BoardName	"Unknown"
    Driver     "vga"
EndSection


Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
    Driver      "nvidia"
    Option      "NoLogo"      "1"
    Option      "NvAGP"       "1"
    Option      "RenderAccel" "true"
EndSection

Section "Screen"
    Identifier  "Screen 1"
    Device      "** NVIDIA (generic)                   [nv]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection
Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Code: Select all

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
client glx vendor string: NVIDIA Corporation
client glx version string: 1.3
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_SGI_video_sync, 
    GLX_NV_swap_group, GLX_NV_video_out, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, 
    GLX_SGI_swap_control, GLX_NV_float_buffer
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_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 6600/PCI/SSE2
OpenGL version string: 1.5.2 NVIDIA 66.29
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, 
    GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader, GL_ARB_imaging, 
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shadow, 
    GL_ARB_shader_objects, GL_ARB_shading_language_100, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_rectangle, GL_ARB_transpose_matrix, 
    GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_texture_float, 
    GL_ATI_texture_mirror_once, GL_S3_s3tc, GL_EXT_texture_env_add, 
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, 
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate, 
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_compiled_vertex_array, 
    GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements, 
    GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels, 
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, 
    GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, GL_EXT_texture3D, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_combine, 
    GL_EXT_texture_env_dot3, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, 
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_HP_occlusion_test, 
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, 
    GL_KTX_buffer_region, GL_NV_blend_square, GL_NV_centroid_sample, 
    GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence, 
    GL_NV_float_buffer, GL_NV_fog_distance, GL_NV_fragment_program, 
    GL_NV_fragment_program_option, GL_NV_fragment_program2, GL_NV_half_float, 
    GL_NV_light_max_exponent, GL_NV_multisample_filter_hint, 
    GL_NV_occlusion_query, GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, 
    GL_NV_point_sprite, GL_NV_primitive_restart, GL_NV_register_combiners, 
    GL_NV_register_combiners2, GL_NV_texgen_reflection, 
    GL_NV_texture_compression_vtc, GL_NV_texture_env_combine4, 
    GL_NV_texture_expand_normal, GL_NV_texture_rectangle, 
    GL_NV_texture_shader, GL_NV_texture_shader2, GL_NV_texture_shader3, 
    GL_NV_vertex_array_range, GL_NV_vertex_array_range2, GL_NV_vertex_program, 
    GL_NV_vertex_program1_1, GL_NV_vertex_program2, 
    GL_NV_vertex_program2_option, GL_NV_vertex_program3, 
    GL_NVX_conditional_render, GL_SGIS_generate_mipmap, GL_SGIS_texture_lod, 
    GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x21 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  2 1 Ncon
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  2 1 Ncon
0x30 24 tc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  4 1 Ncon
0x31 24 tc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  4 1 Ncon
0x32 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  2 1 Ncon
0x33 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  2 1 Ncon
0x34 24 tc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  4 1 Ncon
0x35 24 tc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  4 1 Ncon
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  4 24  8 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  4 24  8 16 16 16 16  0 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3a 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3b 24 dc  0 32  0 r  .  .  8  8  8  0  4 16  0 16 16 16 16  0 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  4 16  0 16 16 16 16  0 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x3e 24 dc  0 32  0 r  y  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x3f 24 dc  0 32  0 r  .  .  8  8  8  0  4  0  0 16 16 16 16  0 0 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  4  0  0 16 16 16 16  0 0 None
0x41 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  2 1 Ncon
0x42 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  2 1 Ncon
0x43 24 dc  0 32  0 r  y  .  8  8  8  0  4 24  8 16 16 16 16  4 1 Ncon
0x44 24 dc  0 32  0 r  y  .  8  8  8  8  4 24  8 16 16 16 16  4 1 Ncon
0x45 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  2 1 Ncon
0x46 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  2 1 Ncon
0x47 24 dc  0 32  0 r  y  .  8  8  8  0  4 16  0 16 16 16 16  4 1 Ncon
0x48 24 dc  0 32  0 r  y  .  8  8  8  8  4 16  0 16 16 16 16  4 1 Ncon
glxgears:

Code: Select all

942 frames in 5.0 seconds = 188.400 FPS
1025 frames in 5.0 seconds = 205.000 FPS
1018 frames in 5.0 seconds = 203.600 FPS
when playing games, they run alright, but the framerates I know are not correct. this is what i have emerged for nvidia

Code: Select all

Searching...   ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ..... ...  
[ Results for search key : nvidia ]
[ Applications found : 5 ]
 
*  app-emulation/emul-linux-x86-nvidia [ Masked ]
      Latest version available: 1.0.6629
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 7,595 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA GLX 32-bit compatibility libraries
      License:     NVIDIA

*  media-gfx/nvidia-cg-toolkit
      Latest version available: 1.2.0402.1900
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 3,675 kB
      Homepage:    http://developer.nvidia.com/view.asp?IO=cg_toolkit
      Description: nvidia's c graphics compiler toolkit
      License:     NVIDIA

*  media-video/nvidia-glx
      Latest version available: 1.0.6629-r5
      Latest version installed: 1.0.6629-r5
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA X11 driver and GLX libraries
      License:     NVIDIA

*  media-video/nvidia-kernel
      Latest version available: 1.0.6629-r4
      Latest version installed: 1.0.6629-r4
      Size of downloaded files: 16,116 kB
      Homepage:    http://www.nvidia.com/
      Description: Linux kernel module for the NVIDIA X11 driver
      License:     NVIDIA

*  media-video/nvidia-settings
      Latest version available: 1.0.6629
      Latest version installed: 1.0.6629
      Size of downloaded files: 798 kB
      Homepage:    http://www.nvidia.com/
      Description: NVIDIA Linux X11 Settings Utility
      License:     GPL-2


so since i know my machine should be pumping around the 4k range for fps, my question is what did i do wrong. is it my kernel or what?
Last edited by hogosha on Sat May 21, 2005 4:58 pm, edited 1 time in total.
- Hogosha -
http://www.three-geeks.org
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Wed May 11, 2005 8:32 pm

use the latest nvidia drivers (arch-masked)

This is my xorg.conf

Code: Select all

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

    # For XFS, uncomment this and comment the others
    # FontPath	"unix/:-1"
    FontPath	"/usr/share/fonts/local/"
    FontPath	"/usr/share/fonts/corefonts"
    FontPath	"/usr/share/fonts/misc/"
    FontPath	"/usr/share/fonts/75dpi/:unscaled"
    FontPath	"/usr/share/fonts/100dpi/:unscaled"
    FontPath	"/usr/share/fonts/Type1/"
    FontPath    "/usr/share/fonts/TTF/"
    FontPath	"/usr/share/fonts/75dpi/"
    FontPath	"/usr/share/fonts/100dpi/"
    FontPath	"/usr/share/fonts/freefont"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

    ModulePath	"/usr/lib/modules"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"
    Load	"dbe"
    Load	"glx"
    Load        "extmod"

    Load	"type1"
    Load	"freetype"

EndSection


# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"
    # Uncomment this to cause a core dump at the spot where a signal is
    # received.  This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    #NoTrapSignals

    # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    #DontZap

    # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
    # sequences.  This allows clients to receive these key events.
    #DontZoom

    # This  allows  the  server  to start up even if the
    # mouse device can't be opened/initialised.
    #AllowMouseOpenFail

EndSection


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

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

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"kbd"
    Option	"AutoRepeat"	"250 30"
    Option	"XkbModel"	"pc105"
    Option	"XkbLayout"	"gb"
    #Option	"XkbVariant"	"nodeadkeys"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
    Identifier   "Mouse1" 
    Driver   "mouse" 
    Option "Buttons"     "5"
    Option "Protocol"    "IMPS/2" 
    Option "Device"      "/dev/usbmouse" 
    Option "ZAxisMapping" "4 5" 
EndSection




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

Section "Monitor"
    Identifier	"StudioWorks E700B"

    HorizSync	31, 82	# multiple fixed sync frequencies
    VertRefresh	55-120	  # multisync
    Option      "DPMS"
    Modeline "1152x864@88"    135.02   1152 1184 1696 1700    864  868  880  900

EndSection

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

Section "Device"
   Identifier	"nVidia 5700FX"
      VendorName  "nvidia"
   Driver	"nvidia"
   VideoRam	128
      BusID       "PCI:1:0:0"

#nvidia options 
    Option      "NvAGP"                "1" 
    Option      "NoLogo"               "true" 
    Option      "RenderAccel"          "true" 
    Option      "NoRenderExtension"    "off" 
    #Option      "NoFlip"               "off" 
    Option      "DigitalVibrance"      "60" 
    #Option      "CIOverlay"            "off" 
    #Option      "TransparentIndex"     "0" 
    #Option      "OverlayDefaultVisual" "off" 
    #Option      "SWCursor"             "off" 
    #Option      "HWCursor"             "on" 
    #Option      "CursorShadow"         "on" 
    #Option      "CursorShadowAlpha"    "64" 
    #Option      "CursorShadowXOffset"  "4" 
    #Option      "CursorShadowYOffset"  "2"
    Option      "UseEDIDFreqs"         "on" 
    #Option      "IgnoreEDID"           "off" 
    #Option      "UseInt10Module"       "off"
    Option 	"AllowGLXWithComposite" "true"
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 5700FX"
    Monitor	"StudioWorks E700B"
    DefaultDepth 24
    SubSection "Display"
        Depth		24
         Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort	0 0
    EndSubsection
EndSection


# **********************************************************************
# ServerLayout sections.
# **********************************************************************
Section "ServerLayout"
    Identifier  "AGP"
    Screen      "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

# **********************************************************************
# Extensions sections.
# **********************************************************************
#Section "Extensions"
#     Option "Composite" "Enable"
#     Option "RENDER" "Enable"
#EndSection


Also is the card running at maximum AGP? also are sidebands and fastwrite enabled?

cat /proc/drivers/nvidia/agp/status (I think)
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Wed May 11, 2005 9:22 pm

My machine is a Athlon XP 2000+ 512MB RAM, graphics card is Nvidia GF Ti4200 128MB RAM. Latest "stable" nvidia-glx and -kernel (non-~x86). NVIDIA agp driver in 4x mode. Both fast write and side block access are disabled.

glxgears: 3185fps (24bit), 5200fps (16bit)

In 16bit mode, the card produces a very annoying high frequency noise at >5000fps glxgears. I guess the framerate is not very healthy. :-) It does not happen in games, of course.

I had stability issues with arch-masked ~x86 drivers, so I don't recommend using them unless you really need them for your card. Be careful with fast writes and sba settings as well, these settings may cause stability issues. They don't improve speed that much, either.

Now on to your speed issue: I once had the same problem as you (<1k fps). The cause was bad settings in the kernel. Disable all framebuffer and X11/DRM related stuff and recompile. Maybe it helps. Otherwise I have no idea. Your xorg.conf does not look too different from mine.

Another thread mentions that nvidia-settings can cause bad performance as well. I have never installed that application (didn't even know it existed, don't need it either). So try uninstalling that, followed by a clean reinstall of the nvidia kernel/glx drivers.
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Thu May 12, 2005 12:00 am

i have a splash screen thing goin, could that affect it. the only things i can really disable for my kernel is the agpgart. im gonna try and recompile it without it, but we'll see what happens.
- Hogosha -
http://www.three-geeks.org
Top
whig
l33t
l33t
Posts: 973
Joined: Sat Nov 27, 2004 8:36 am
Location: New Zealand

  • Quote

Post by whig » Thu May 12, 2005 4:11 am

Have a look in your X log.... and I don't have a PCIE card but I remember someone saying to specify NvAGP = 0 because it ain't agp for you.
Top
zakk
l33t
l33t
Posts: 614
Joined: Mon Jun 16, 2003 12:17 pm
Location: Oakland, CA
Contact:
Contact zakk
Website

  • Quote

Post by zakk » Thu May 12, 2005 4:21 am

glxgears is not a benchmark.
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Thu May 12, 2005 4:21 am

well, fbsplash isnt doin it, i turn the agpgart to modules, tried removing the nvidia-settings. still no increase.
- Hogosha -
http://www.three-geeks.org
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Thu May 12, 2005 4:22 am

it's not a benchmark, but it should be given me a crap load of fps anyhow.
- Hogosha -
http://www.three-geeks.org
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Thu May 12, 2005 6:14 am

what are you doing at teh same time as using glxgears

also do you want to watch some numbers fly past teh screen or actually use yr card :D
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
teidon
Apprentice
Apprentice
User avatar
Posts: 195
Joined: Fri Apr 22, 2005 10:54 am
Location: Finland

  • Quote

Post by teidon » Thu May 12, 2005 7:26 am

Read this thread (scroll down a bit), it has pretty much all the possible ways how to get your Nvidia card working. And don't use 7xxx drivers, they have bad performance problems. 6629 is best driver version for Nvidia cards for now.
Top
zakk
l33t
l33t
Posts: 614
Joined: Mon Jun 16, 2003 12:17 pm
Location: Oakland, CA
Contact:
Contact zakk
Website

  • Quote

Post by zakk » Thu May 12, 2005 7:33 am

teidon wrote:Read this thread (scroll down a bit), it has pretty much all the possible ways how to get your Nvidia card working. And don't use 7xxx drivers, they have bad performance problems. 6629 is best driver version for Nvidia cards for now.
I've been using the 7xxx drivers for some time with no performance degredation.
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Thu May 12, 2005 10:18 am

Okay, about correct settings for PCI Express, I don't know. I have agpgart, DRI and framebuffer completely disabled in the kernel. When I enable them, even if it's just as a module, the performance drops. Although not down to 100-200fps as I thought, but only by 2-3k to 2-3k ;-)

Another possibility that came to my mind is that you might have another OpenGL library installed that is interfering. NVIDIA card won't do you no good if you are actually using software rendering or something.

Can you run these two commands to verify that you are indeed using NVIDIA?

Command 1:

Code: Select all

opengl-update --get-implementation
Should output:

Code: Select all

nvidia
Command 2:

Code: Select all

(emerge strace)
strace glxgears >& outfile
(close the glxgears window)
grep GL outfile
Should output something similar to this:

Code: Select all

open("/usr/lib/opengl/nvidia/lib/libGL.so.1", O_RDONLY) = 3
open("/usr/lib/opengl/nvidia/lib/libGLcore.so.1", O_RDONLY) = 3
writev(4, [{"b\0\4\0\6\0\0\0", 8}, {"NV-GLX", 6}, {"\0\0", 2}], 3) = 16
...
/usr/lib/opengl/nvidia/lib/libGL and NV-GLX being the most important indicators here that NVIDIA accelerated OpenGL is actually used. If that's NOT the case, we've got the problem located and you could try if

Code: Select all

opengl-update nvidia
and restarting X11 will fix the problem.

If you are already using NVIDIA, then you have some problem with the driver... you could try upgrading it to the ~x86 version or downgrading it to the stable version, depending on whatever you are using now. You could also try searching the NVIDIA Linux forum and see if someone else there had performance issues with your card.

Check out /proc/driver/nvidia/, see if you can find a status file in there somewhere. Maybe it has something interesting to say. Also check /var/log/Xorg.log if there's anything in it.
Top
Szplug
n00b
n00b
Posts: 33
Joined: Sun Nov 03, 2002 1:54 am
Location: Raleigh North Carolina

For me, it was lack of power

  • Quote

Post by Szplug » Thu May 12, 2005 3:35 pm

I saw this thread and had the same problem, but in my case it was lack of power. I had the card plugged in in the back correctly (which other threads point out), but my power supply was too weak. nVidia recommends 350W for a typical system with the card, but that's supposedly an overestimate to allow for cheap power supplies. Mine is a good (Antec) 330W so I thought I'd be ok. Well, it wasn't enough for my system; when I freed up more power by unplugging a fan and my 2 cdroms I got ~3500 fps in glxgears (up from ~400).


For the record, I estimate the power consumption of my system so:
3x 0.3A for fans
0.3 for motherboard
2x 1A for cdroms
2x 2A for hard drives
2A for video card (nVidia 6600, plain)
6.87A for Athlon XP 1800+
-------
16.2A, where my power supply's 12V is rated at 17A; too close for comfort I guess (or my numbers are off).

I got this info via links from the Ars Technica forums, http://episteme.arstechnica.com/eve/ubb ... f/77909585
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Sat May 14, 2005 3:14 am

well, i took out agp gart, fbsplash and some other things from my kernel, tryin to clean it up. however, no such improvement. it's almost like it's specifically is capping itself at 200 fps. i even maximized it, same results. so, seeing as how the kernel is probably the culprit, i was wondering if anyone would share their working kernel config with me. just e-mail it to me or somethin. hogosha@three-geeks.org . or go through what should not be checked and what should be with me, though i had my kernel set up properly, guess not.
- Hogosha -
http://www.three-geeks.org
Top
John5788
Advocate
Advocate
User avatar
Posts: 2140
Joined: Tue Apr 06, 2004 11:38 pm
Location: 127.0.0.1
Contact:
Contact John5788
Website

  • Quote

Post by John5788 » Sat May 14, 2005 5:56 am

zakk wrote:
teidon wrote:Read this thread (scroll down a bit), it has pretty much all the possible ways how to get your Nvidia card working. And don't use 7xxx drivers, they have bad performance problems. 6629 is best driver version for Nvidia cards for now.
I've been using the 7xxx drivers for some time with no performance degredation.
same here. im using the latest nvidia drivers with no problems no performance degredation.

as for the glxgears, you should be getting at least over 1000 fps. thats how i use glxgears to make sure 3d acceleration is working properly.
John5788
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Sat May 14, 2005 10:46 am

hogosha, have you verified that nvidia is used for opengl on your system? (see my earlier post in this thread on how to do it).
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Sat May 14, 2005 12:17 pm

it is. ran all your instructions, and everything looked like it should be.
- Hogosha -
http://www.three-geeks.org
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Sat May 14, 2005 12:45 pm

Then it's probably the hardware or power supply, like Szplug suggested. :?
Anyway, as for software issues, I'm out of ideas. Sorry I couldn't be of help. :cry:
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Sat May 14, 2005 1:07 pm

well i have a 430 watt power supply in the machine. i've checked the card for any external power connectors, non exist. I only have 1 dvd burner and 1 sata hdd in the machine, so it's boggling my mind.
- Hogosha -
http://www.three-geeks.org
Top
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Sat May 14, 2005 1:21 pm

Well I just got a 6600 through the post today (woohoo!!!!), I only have AGPx4 and via glxgears I am getting +5000fps
I would at a guess think something wrong with yr kernel setup, have you configured PCI-Express correctly?

Since bassically the only difference between yrs and mine is now just AGP -> PCI-E that has to be it
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Sat May 14, 2005 2:13 pm

hogosha wrote:well i have a 430 watt power supply in the machine. i've checked the card for any external power connectors, non exist. I only have 1 dvd burner and 1 sata hdd in the machine, so it's boggling my mind.
Check your motherboard manual if there is an extra power connector for PCI Express cards on it.
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Sat May 14, 2005 2:23 pm

i have had it goin to 4000 fps before, i just dont know what i did to it, i know it something software. so i know hardware is fine. i guess i'm just going to rebuild my entire kernel fresh.
- Hogosha -
http://www.three-geeks.org
Top
teidon
Apprentice
Apprentice
User avatar
Posts: 195
Joined: Fri Apr 22, 2005 10:54 am
Location: Finland

  • Quote

Post by teidon » Sat May 14, 2005 2:41 pm

hogosha wrote:i've checked the card for any external power connectors, non exist.
I think there should be one on 6600 (not 100% sure if all 6600s have one, but atleast XFX's 6600 has). It's not on the back of the card but inside your computer's case. It's same kind of connector that CD-ROM's and ATA harddrives have, so check it and make sure the cable is properly attached.

Also I think that 6600 should have close to 10 000fps in glxgears (i have ~12 000fps with my 6800gt (with Athlon XP 3200+)). My earlier graphics card were 5700ultra, and I think that I had over 4000fps in glxgears with it. And unless I'm completely wrong, 6600 should be quite alot better than 5700ultra.
Top
peka
l33t
l33t
User avatar
Posts: 773
Joined: Wed Mar 16, 2005 7:06 pm
Location: Płońsk, Poland

  • Quote

Post by peka » Thu May 19, 2005 4:48 pm

Hi,

I have nVidia 6600GT (on PCI-Express)....
... and 2 stupid questions :wink: Please be patient (n00b inside)
  • 1) Having a PCI-E card, do I need to compile AGPART in kernel? Weel.. I know I don't have to b/c it works without it, but do I need to? Will it improve anything?

    2) What does NvAGP option to do with it? How should it be set, if at all, for a PCI-E card?
p3k4

Seize the time, Meribor. Live now; make now always the most precious time. Now will never come again...
Jean-Luc Picard, Star Trek TNG - The Inner Light
Top
hogosha
n00b
n00b
User avatar
Posts: 56
Joined: Tue Jun 08, 2004 7:34 pm
Contact:
Contact hogosha
Website

  • Quote

Post by hogosha » Thu May 19, 2005 8:43 pm

NvAGP makes the kernel use the nvidia agp gart drivers which is suppose to be better. no you dont need agpgart in your kernel if your video card has it, however, if your emerge of nvidia-kernel was built while using agpgart in kernel you will have to re-emerge it.


still haven't up my fps yet, someone send me their kernel config.
- Hogosha -
http://www.three-geeks.org
Top
Post Reply
  • Print view

40 posts
  • 1
  • 2
  • Next

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic