Jump to content

FPS


moskal
 Share

Recommended Posts

Hey guys I have GeForce 4 ti and it works perfectly in windows.... I installed the NVIDIA drivers on my box and it seems to do good in the glxgears, but when I turn on my game, Quake 3, I cant change to the higher resolution than 1024... when I put it on 1280x720 nothing changes, or my screen gets very big... I put max fps 125, and it still sometimes looks choppy or rusty... I dont know what to do... please help...

 

[moved from Software by spinynorman]

Link to comment
Share on other sites

ok here you go:

[tom@localhost tom]$ glxinfo
name of display: :0.0
Loading required GL library /usr/lib/libGL.so.1
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
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_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_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 Ti 4800 SE/AGP/SSE/3DNOW!
OpenGL version string: 1.5.1 NVIDIA 61.06
OpenGL extensions:
   GL_ARB_depth_texture, 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_transpose_matrix, GL_ARB_vertex_buffer_object,
   GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_ARB_window_pos,
   GL_S3_s3tc, GL_EXT_texture_env_add, GL_EXT_abgr, GL_EXT_bgra,
   GL_EXT_blend_color, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
   GL_EXT_compiled_vertex_array, GL_EXT_draw_range_elements,
   GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, GL_EXT_packed_pixels,
   GL_EXT_paletted_texture, 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_shared_texture_palette, 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_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_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence,
   GL_NV_fog_distance, 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_register_combiners, GL_NV_register_combiners2,
   GL_NV_texgen_reflection, GL_NV_texture_compression_vtc,
   GL_NV_texture_env_combine4, 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_SGIS_generate_mipmap, GL_SGIS_multitexture, 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  0 24  8 16 16 16 16  0 0 None
0x22 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x26 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x28 24 tc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x2a 24 tc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2b 24 tc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2c 24 tc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x2d 24 tc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x2e 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  2 1 Ncon
0x2f 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  2 1 Ncon
0x30 24 tc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  4 1 Ncon
0x31 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  4 1 Ncon
0x32 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  2 1 Ncon
0x33 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  2 1 Ncon
0x34 24 tc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  4 1 Ncon
0x35 24 tc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  4 1 Ncon
0x36 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x37 24 dc  0 32  0 r  .  .  8  8  8  0  0 24  8 16 16 16 16  0 0 None
0x38 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 None
0x39 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x3a 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x3b 24 dc  0 32  0 r  .  .  8  8  8  0  0 16  0 16 16 16 16  0 0 None
0x3c 24 dc  0 32  0 r  .  .  8  8  8  8  0 16  0 16 16 16 16  0 0 None
0x3d 24 dc  0 32  0 r  y  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x3e 24 dc  0 32  0 r  y  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x3f 24 dc  0 32  0 r  .  .  8  8  8  0  0  0  0 16 16 16 16  0 0 None
0x40 24 dc  0 32  0 r  .  .  8  8  8  8  0  0  0 16 16 16 16  0 0 None
0x41 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  2 1 Ncon
0x42 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  2 1 Ncon
0x43 24 dc  0 32  0 r  y  .  8  8  8  0  0 24  8 16 16 16 16  4 1 Ncon
0x44 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  4 1 Ncon
0x45 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  2 1 Ncon
0x46 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  2 1 Ncon
0x47 24 dc  0 32  0 r  y  .  8  8  8  0  0 16  0 16 16 16 16  4 1 Ncon
0x48 24 dc  0 32  0 r  y  .  8  8  8  8  0 16  0 16 16 16 16  4 1 Ncon

tom@localhost tom]$ glxgears
Loading required GL library /usr/lib/libGL.so.1
18192 frames in 5.0 seconds = 3638.400 FPS
18897 frames in 5.0 seconds = 3779.400 FPS
18934 frames in 5.0 seconds = 3786.800 FPS
18879 frames in 5.0 seconds = 3775.800 FPS
19015 frames in 5.0 seconds = 3803.000 FPS
X connection to :0.0 broken (explicit kill or server shutdown).

XF86Config-4

File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
   # Multiple FontPath entries are allowed (they are concatenated together)
   # By default, Mandrake 6.0 and later now use a font server independent of
   # the X server to render fonts.
   FontPath "unix/:-1"
EndSection

Section "ServerFlags"
   #DontZap # disable <Crtl><Alt><BS> (server abort)
   AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
   #DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
   Load "dbe" # Double-Buffering Extension
   Load "v4l" # Video for Linux
   Load "extmod"
   Load "type1"
   Load "freetype"
   Load "glx" # 3D layer
EndSection

Section "InputDevice"
   Identifier "Keyboard1"
   Driver "Keyboard"
   Option "XkbModel" "pc105"
   Option "XkbLayout" "en_US"
   Option "XkbOptions" ""
EndSection

Section "InputDevice"
   Identifier "Mouse1"
   Driver "mouse"
   Option "Protocol" "ExplorerPS/2"
   Option "Device" "/dev/mouse"
   Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
   Identifier "monitor1"
   VendorName "Optiquest"
   ModelName "Optiquest Q95"
   HorizSync 30-86
   VertRefresh 50-160
# Sony Vaio C1(X,XS,VE,VN)?
   # 1024x480 @ 85.6 Hz, 48 kHz hsync
   ModeLine "1024x480"    65.00 1024 1032 1176 1344   480  488  494  563 -hsync -vsync

   # TV fullscreen mode or DVD fullscreen output.
   # 768x576 @ 79 Hz, 50 kHz hsync
   ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

   # 768x576 @ 100 Hz, 61.6 kHz hsync
   ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
   Identifier "device1"
   VendorName "NVidia"
   BoardName "NVIDIA GeForce4 (generic)"
   Driver "nvidia"
   Option "DPMS"
EndSection

Section "Screen"
   Identifier "screen1"
   Device "device1"
   Monitor "monitor1"
   DefaultColorDepth 24

   Subsection "Display"
       Depth 8
       Virtual 1280 1024
   EndSubsection

   Subsection "Display"
       Depth 15
       Virtual 1280 1024
   EndSubsection

   Subsection "Display"
       Depth 16
       Virtual 1280 1024
   EndSubsection

   Subsection "Display"
       Depth 24
       Virtual 1280 1024
   EndSubsection
EndSection

Section "ServerLayout"
   Identifier "layout1"
   InputDevice "Keyboard1" "CoreKeyboard"
nputDevice "Mouse1" "CorePointer"
   Screen "screen1"
EndSection

hope thi8s helps, and thanks for your time

Link to comment
Share on other sites

try adding the NvAGP option under the device section of your XF86Config-4 file. see my example below........

 

Section "Device"
   Identifier "device1"
   VendorName "NVidia"
   BoardName "NVIDIA GeForce4 (generic)"
   Driver "nvidia"
   Option "DPMS"
   Option "NvAGP" "3"
   Option "NoLogo" "1"
EndSection

 

the "3" option will try to use the kernel agp drivers first, then nvidia agp if the kernel drivers don't work. other numerical options you can use with that are........

 

"0" (uses no agp support)

"1" (uses nvidia agpart only)

"2" (tries kernel agpart only)

 

note: you don't have to exit X to add this option to the config file. just edit it with a text editor of your choice. you must restart X for the settings to take effect. after doing so, run glxgears again & see if you get an improved speed. if so, try Quake 3 again & see how it does.

 

Chris

Edited by chris z
Link to comment
Share on other sites

hey man, t hanks I did what you told me to, and it worked, but  my resolution still doesnt work... when I put it on 1280 it is still the same as before... and everytyhing is large....

 

thanks for your time, tom

 

 

in device section indentifier should be "NV AGP" i just had the same problem and if u have 24 as ur color depth try doing it 16... it worx more properly

Edited by DruManiac
Link to comment
Share on other sites

I have another thing to try. Now Im not positive this is the case but. I don't do the "Display" section like Mandrake does. My reason/findings:

 

This is your XF86Config-4:

 

 
   Subsection "Display" 
      Depth 24 
      Virtual 1280 1024 
  EndSubsection

 

This is mine:

 

 
   Subsection "Display" 
      Depth 24 
      Modes "1280x1024" "1024x768" "800x600" "640x480" 
  EndSubsection

 

This is what I have found through trail and error (with NWN). From what I found if you have "Virtual 1280 1024" is basically locks that screen resolution. If you have "Modes "1280x1024" "1024x768" "800x600" "640x480"" it will allow programs to resize X for its needs.

 

Now for the record I didn't read this no where I just saw it on another XF86Config and tried it - and it worked. Thru trial and error I came up with the conclusion. Give that a try.

Edited by ac_dispatcher
Link to comment
Share on other sites

in device section indentifier should be "NV AGP" i just had the same problem and if u have 24 as ur color depth try doing it 16... it worx more properly

 

not to be petty, but just to clarify, there is no space between Nv & AGP. per the Nvidia Documentation, (app-d) APPENDIX D: X CONFIG OPTIONS..............

 

Option "NvAGP" "integer"

                Configure AGP support. Integer argument can be one of:

                0 : disable agp

                1 : use NVIDIA's internal AGP support, if possible

                2 : use AGPGART, if possible

                3 : use any agp support (try AGPGART, then NVIDIA's AGP)

                Please note that NVIDIA's internal AGP support cannot

                work if AGPGART is either statically compiled into your

                kernel or is built as a module, but loaded into your

                kernel (some distributions load AGPGART into the kernel

                at boot up).  Default: 3 (the default was 1 until after

                1.0-1251).

 

B)

 

Chris

Link to comment
Share on other sites

  • 4 weeks later...

ok guys, I changed it, and my FPS's work, but my resolution still doesnt.. here is my XFree86-4

 

# File generated by XFdrake.

 

# **********************************************************************

# Refer to the XF86Config man page for details about the format of

# this file.

# **********************************************************************

 

Section "Files"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Mandrake 6.0 and later now use a font server independent of

# the X server to render fonts.

FontPath "unix/:-1"

EndSection

 

Section "ServerFlags"

#DontZap # disable <Crtl><Alt><BS> (server abort)

#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)

AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work

EndSection

 

Section "Module"

Load "dbe" # Double-Buffering Extension

Load "v4l" # Video for Linux

Load "extmod"

Load "type1"

Load "freetype"

Load "glx" # 3D layer

EndSection

 

Section "InputDevice"

Identifier "Keyboard1"

Driver "Keyboard"

Option "XkbModel" "pc105"

Option "XkbLayout" "en_US"

Option "XkbOptions" ""

EndSection

 

Section "InputDevice"

Identifier "Mouse1"

Driver "mouse"

Option "Protocol" "ExplorerPS/2"

Option "Device" "/dev/mouse"

Option "ZAxisMapping" "6 7"

EndSection

 

Section "Monitor"

Identifier "monitor1"

VendorName "Optiquest"

ModelName "Optiquest Q95"

HorizSync 30-86

VertRefresh 50-160

 

# Sony Vaio C1(X,XS,VE,VN)?

# 1024x480 @ 85.6 Hz, 48 kHz hsync

ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

 

# TV fullscreen mode or DVD fullscreen output.

# 768x576 @ 79 Hz, 50 kHz hsync

ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

 

# 768x576 @ 100 Hz, 61.6 kHz hsync

ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616

EndSection

 

Section "Device"

Identifier "device1"

VendorName "NVidia"

BoardName "NVIDIA GeForce4 (generic)"

Driver "nvidia"

Option "DPMS"

Option "NvAGP" "3"

EndSection

 

Section "Screen"

Identifier "screen1"

Device "device1"

Monitor "monitor1"

DefaultColorDepth 24

 

Subsection "Display"

Depth 8

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 15

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 16

Virtual 1280 1024

EndSubsection

 

Subsection "Display"

Depth 24

Modes "1280x1024" "1024x768" "800x600" "640x480"

EndSubsection

EndSection

 

Section "ServerLayout"

Identifier "layout1"

InputDevice "Keyboard1" "CoreKeyboard"

InputDevice "Mouse1" "CorePointer"

Screen "screen1"

EndSection

Link to comment
Share on other sites

i dunno, moskal. i don't (never have) played Quake, so i don't know how Quake display settings relate to normal display settings. something you may want to check into, though. in your original post you say you're trying to set the display to 1280x720. i don't see those monitor display settings anywhere in your XF86 file. and, if i'm not mistaken, based on the display modes given under the "monitor" "subsection display" settings, your monitor doesn't support 1280x720 mode. so, is there a way you can try setting it to 1280x1024 or something that's supported for your monitor?

 

please keep in mind, i'm just guessing here. i don't know if this is a definite solution or not. just thought i'd throw that out since nobody else has come up with anything yet.

 

Chris

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...