PDA

View Full Version : riva tnt2 glxgears


Pages : [1] 2

nileshbansal
04-02-03, 03:50 PM
I have a riva tnt2 card with 32 MB memory. I have installed latest nvidia drivers. when i use glxgears i get FPS around 230 per sec. I think i shud get more FPS and have missed something in config as when i try to play simple games like racer or tuxkart(SUSE 8.1)it says ur card does not support 3D acceleration and if i ignore that warning i dont get smooth moton while playing.
(these results for default window size of glxgears at 1280x1024 resolution, 24 colur depth).
in fullscreen mode for glx gears i get FPS of 0.5 - 0.6

In my XF86Config i am using
Load "glx"

Andy Mecham
04-02-03, 03:58 PM
What does 'glxinfo' say? Can you post an /var/log/XFree86.0.log file?

--andy

nileshbansal
04-02-03, 04:05 PM
glxinfo says ::

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
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_SGIX_swap_group, GLX_SGIX_swap_barrier, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_NV_float_buffer
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: RIVA TNT2/PCI/SSE2
OpenGL version string: 1.4.0 NVIDIA 41.91
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
GL_ARB_texture_env_add, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
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_point_parameters, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_stencil_wrap,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_vertex_array,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_fog_distance, GL_NV_packed_depth_stencil, GL_NV_texgen_reflection,
GL_NV_texture_env_combine4, GL_SGIS_multitexture
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 0 0 16 16 16 16 0 0 None
0x27 24 tc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x28 24 tc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x29 24 tc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2a 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x2b 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x2c 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x2d 24 dc 0 32 0 r y . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x2e 24 dc 0 32 0 r y . 8 8 8 8 0 0 0 16 16 16 16 0 0 None
0x2f 24 dc 0 32 0 r . . 8 8 8 0 0 0 0 16 16 16 16 0 0 None
0x30 24 dc 0 32 0 r . . 8 8 8 8 0 0 0 16 16 16 16 0 0 None

Andy Mecham
04-02-03, 04:10 PM
You're using 1.0-4191. Can you try 1.0-4349?

--andy

nileshbansal
04-02-03, 04:13 PM
i am using kernel 2.4.21pre6 and i need source for custom kernel. I cannot use script run released by nvidia as i am using suse 8.1

bwkaz
04-02-03, 04:20 PM
... only if you insist on using SaX2... ;)

If you don't mind configuring X manually, you can just build it from source. At least, that's true AFAIK.

nileshbansal
04-02-03, 04:42 PM
OK i am now using 4349, but still everything is same.

Kiamu
04-02-03, 05:09 PM
Checked the XFree86 log as Andy suggested?

I had the same prob once and i simply forgot to enable the right AGP driver for my mobo (afair).

nileshbansal
04-03-03, 08:10 AM
my /var/log/XFree86.0.log is IN 2 PARTS

FIRST PART


XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
If the server is older than 6-12 months, or if your card is
newer than the above date, look for a newer version before
reporting problems. (See http://www.XFree86.Org/)
Build Operating System: SuSE Linux [ELF] SuSE
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Thu Apr 3 19:29:25 2003
(==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "Layout[all]"
(**) |-->Screen "Screen[0]" (0)
(**) | |-->Monitor "Monitor[0]"
(**) | |-->Device "Device[0]"
(**) |-->Input Device "Keyboard[0]"
(**) Option "Protocol" "Standard"
(**) Option "XkbRules" "xfree86"
(**) XKB: rules: "xfree86"
(**) Option "XkbModel" "pc101"
(**) XKB: model: "pc101"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(==) Keyboard: CustomKeycode disabled
(**) |-->Input Device "Mouse[1]"
(WW) The directory "/usr/X11R6/lib/X11/fonts/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/PEX" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/cyrillic" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin2/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/latin7/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/baekmuk" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/japanese" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/ucs/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/misc" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/75dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/100dpi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/hellas/Type1" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/misc/sgi" does not exist.
Entry deleted from font path.
(WW) The directory "/usr/X11R6/lib/X11/fonts/xtest" does not exist.
Entry deleted from font path.
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc:unscaled,/usr/X11R6/lib/X11/fonts/local,/usr/X11R6/lib/X11/fonts/75dpi:unscaled,/usr/X11R6/lib/X11/fonts/Type1,/usr/X11R6/lib/X11/fonts/URW,/usr/X11R6/lib/X11/fonts/Speedo,/usr/X11R6/lib/X11/fonts/kwintv,/usr/X11R6/lib/X11/fonts/truetype,/usr/X11R6/lib/X11/fonts/uni,/usr/X11R6/lib/X11/fonts/CID"
(==) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(**) Input device list set to "/dev/ttyS0,/dev/ttyS1,/dev/ttyS2,/dev/ttyS3,/dev/ttyS4,/dev/ttyS5,/dev/ttyS6,/dev/ttyS7,/dev/ttyS8,/dev/psaux,/dev/logibm,/dev/sunmouse,/dev/atibm,/dev/amigamouse,/dev/atarimouse,/dev/inportbm,/dev/gpmdata,/dev/mouse,/dev/usbmouse,/dev/adbmouse,/dev/input/mice,/dev/input/event0,/dev/pointer0,/dev/pointer1,/dev/pointer2,/dev/pointer3"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(**) Option "AllowMouseOpenFail"
(**) Option "Xinerama" "off"
(++) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
XFree86 ANSI C Emulation: 0.1
XFree86 Video Driver: 0.5
XFree86 XInput driver : 0.3
XFree86 Server Extension : 0.1
XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) PCI: Probing config type using method 1
(II) PCI: Config type is 1
(II) PCI: stages = 0x03, oldVal1 = 0x00000000, mode1Res1 = 0x80000000
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 8086,2530 card 0000,0000 rev 04 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 8086,2532 card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 04 class 06,04,00 hdr 01
(II) PCI: 00:1f:0: chip 8086,2440 card 0000,0000 rev 04 class 06,01,00 hdr 80
(II) PCI: 00:1f:1: chip 8086,244b card 8086,4d44 rev 04 class 01,01,80 hdr 00
(II) PCI: 00:1f:2: chip 8086,2442 card 8086,4d44 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1f:3: chip 8086,2443 card 8086,4d44 rev 04 class 0c,05,00 hdr 00
(II) PCI: 00:1f:4: chip 8086,2444 card 8086,4d44 rev 04 class 0c,03,00 hdr 00
(II) PCI: 00:1f:5: chip 8086,2445 card 8086,4d44 rev 04 class 04,01,00 hdr 00
(II) PCI: 01:00:0: chip 10de,002d card 0000,0000 rev 15 class 03,00,00 hdr 00
(II) PCI: 02:0d:0: chip 10ec,8139 card 10ec,8139 rev 10 class 02,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:0:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
[0] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0a (VGA_EN is set)
(II) Bus 1 I/O range:
(II) Bus 1 non-prefetchable memory range:
[0] -1 0xfc900000 - 0xfe9fffff (0x2100000) MX[B]
(II) Bus 1 prefetchable memory range:
[0] -1 0xf0600000 - 0xf46fffff (0x4100000) MX[B]
(II) PCI-to-PCI bridge:
(II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x06 (VGA_EN is cleared)
(II) Bus 2 I/O range:
[0] -1 0x0000d000 - 0x0000d0ff (0x100) IX[B]
[1] -1 0x0000d400 - 0x0000d4ff (0x100) IX[B]
[2] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[3] -1 0x0000dc00 - 0x0000dcff (0x100) IX[B]
(II) Bus 2 non-prefetchable memory range:
[0] -1 0xfea00000 - 0xfeafffff (0x100000) MX[B]
(II) Bus 2 prefetchable memory range:
[0] -1 0xf4700000 - 0xf47fffff (0x100000) MX[B]
(II) PCI-to-ISA bridge:
(II) Bus -1: bridge is at (0:31:0), (0,-1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus -1 I/O range:
(II) Bus -1 non-prefetchable memory range:
(II) Bus -1 prefetchable memory range:
(--) PCI:*(1:0:0) NVidia Riva TNT2 M64 rev 21, Mem @ 0xfd000000/24, 0xf2000000/25, BIOS @ 0xfe9f0000/16
(II) Addressable bus resource ranges are
[0] -1 0x00000000 - 0xffffffff (0x0) MX[B]
[1] -1 0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) OS-reported resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) Active PCI resource ranges:
[0] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[1] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[2] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[3] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[4] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[5] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[6] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[7] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[8] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[9] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[10] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[11] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) Active PCI resource ranges after removing overlaps:
[0] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[1] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[2] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[3] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[4] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[5] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[6] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[7] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[8] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[9] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[10] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[11] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) OS-reported resource ranges after removing overlaps with PCI:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[6] -1 0x00000000 - 0x000000ff (0x100) IX[B]
(II) All system resource ranges:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[6] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[7] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[8] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[9] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[10] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[11] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[12] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[13] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[14] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[15] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[16] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[17] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[18] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]

nileshbansal
04-03-03, 08:11 AM
SECOND PART OF SAME FILE

(II) LoadModule: "type1"
(II) Loading /usr/X11R6/lib/modules/fonts/libtype1.a
(II) Module type1: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Type1
(II) Loading font CID
(II) LoadModule: "dbe"
(II) Loading /usr/X11R6/lib/modules/extensions/libdbe.a
(II) Module dbe: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "freetype"
(II) Loading /usr/X11R6/lib/modules/fonts/libfreetype.a
(II) Module freetype: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.1.10
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font FreeType
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4349
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension GLX
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.0.1
ABI class: XFree86 Video Driver, version 0.5
(II) LoadModule: "speedo"
(II) Loading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Module speedo: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.1
Module class: XFree86 Font Renderer
ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Speedo
(II) LoadModule: "extmod"
(II) Loading /usr/X11R6/lib/modules/extensions/libextmod.a
(II) Module extmod: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 Server Extension
ABI class: XFree86 Server Extension, version 0.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension FontCache
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) LoadModule: "speedo"
(II) Reloading /usr/X11R6/lib/modules/fonts/libspeedo.a
(II) Loading font Speedo
(II) LoadModule: "nvidia"
(II) Loading /usr/X11R6/lib/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
compiled for 4.0.2, module version = 1.0.4349
Module class: XFree86 Video Driver
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.3
(II) v4l driver for Video4Linux
(II) NVIDIA XFree86 Driver 1.0-4349 Thu Mar 27 19:02:58 PST 2003
(II) NVIDIA Unified Driver for all NVIDIA GPUs
(II) Primary Device is: PCI 01:00:0
(--) Chipset NVIDIA GPU found
(II) resource ranges after xf86ClaimFixedResources() call:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[6] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[7] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[8] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[9] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[10] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[11] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[12] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[13] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[14] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[15] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[16] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[17] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[18] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
(II) resource ranges after probing:
[0] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[1] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[2] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[3] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[4] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[5] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[6] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[7] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[8] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[9] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[10] 0 0x000a0000 - 0x000affff (0x10000) MS[B]
[11] 0 0x000b0000 - 0x000b7fff (0x8000) MS[B]
[12] 0 0x000b8000 - 0x000bffff (0x8000) MS[B]
[13] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[14] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[15] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[16] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[17] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[18] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[19] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[20] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[21] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
[22] 0 0x000003b0 - 0x000003bb (0xc) IS[B]
[23] 0 0x000003c0 - 0x000003df (0x20) IS[B]
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) NVIDIA(0): Linear framebuffer at 0xF2000000
(--) NVIDIA(0): MMIO registers at 0xFD000000
(WW) System lacks support for changing MTRRs
(II) NVIDIA(0): NVIDIA GPU detected as: RIVA TNT2 Model 64/Model 64 Pro
(--) NVIDIA(0): VideoRAM: 16384 kBytes
(II) NVIDIA(0): Connected display device(s): CRT-0
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 8 bpp: 250 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 16 bpp: 250 MHz
(--) NVIDIA(0): Display device CRT-0: maximum pixel clock at 32 bpp: 215 MHz
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.5
(WW) NVIDIA(0): The user specified HorizSync "27.000-65.000" has been adjusted
(WW) NVIDIA(0): to "30.000-65.000" (the intersection with EDID-specified
(WW) NVIDIA(0): HorizSync "30.000-70.000")
(II) NVIDIA(0): Monitor[0]: Using hsync range of 30.00-65.00 kHz
(II) NVIDIA(0): Monitor[0]: Using vrefresh range of 50.00-110.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 215.00 MHz
(II) NVIDIA(0): Not using mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "512x384" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "512x384" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1152x864" (hsync out of range)
(II) NVIDIA(0): Not using default mode "576x432" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1280x960" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x512" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1600x1200" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "1792x1344" (hsync out of range)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1792x1344" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "896x672" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1856x1392" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "928x696" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(II) NVIDIA(0): Not using default mode "1920x1440" (bad mode clock/interlace/doublescan)
(II) NVIDIA(0): Not using default mode "960x720" (hsync out of range)
(WW) (1400x1050,Monitor[0]) mode clock 122MHz exceeds DDC maximum 110MHz
(II) NVIDIA(0): Not using default mode "1400x1050" (hsync out of range)
(II) NVIDIA(0): Not using default mode "700x525" (hsync out of range)
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Mode "1280x1024": 108.2 MHz, 62.3 kHz, 58.2 Hz
(**) NVIDIA(0): Mode "1024x768": 86.3 MHz, 61.7 kHz, 76.9 Hz
(**) NVIDIA(0): Mode "800x600": 67.6 MHz, 60.8 kHz, 97.1 Hz
(**) NVIDIA(0): Mode "640x480": 43.9 MHz, 50.8 kHz, 101.5 Hz
(II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
(--) NVIDIA(0): Display dimensions: (330, 250) mm
(--) NVIDIA(0): DPI set to (98, 104)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.1
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.2.0, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.5
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
(II) resource ranges after preInit:
[0] 0 0xf2000000 - 0xf3ffffff (0x2000000) MX[B]
[1] 0 0xfd000000 - 0xfdffffff (0x1000000) MX[B]
[2] -1 0xffe00000 - 0xffffffff (0x200000) MX[B](B)
[3] -1 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
[4] -1 0x000f0000 - 0x000fffff (0x10000) MX[B]
[5] -1 0x000c0000 - 0x000effff (0x30000) MX[B]
[6] -1 0x00000000 - 0x0009ffff (0xa0000) MX[B]
[7] -1 0xfeaffc00 - 0xfeaffcff (0x100) MX[B]
[8] -1 0xf8000000 - 0xfbffffff (0x4000000) MX[B]
[9] -1 0xfe9f0000 - 0xfe9fffff (0x10000) MX[B](B)
[10] -1 0xf2000000 - 0xf3ffffff (0x2000000) MX[B](B)
[11] -1 0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
[12] 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD)
[13] 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD)
[14] 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD)
[15] -1 0x0000ffff - 0x0000ffff (0x1) IX[B]
[16] -1 0x00000000 - 0x000000ff (0x100) IX[B]
[17] -1 0x0000d800 - 0x0000d8ff (0x100) IX[B]
[18] -1 0x0000ef00 - 0x0000ef3f (0x40) IX[B]
[19] -1 0x0000e800 - 0x0000e8ff (0x100) IX[B]
[20] -1 0x0000ef80 - 0x0000ef9f (0x20) IX[B]
[21] -1 0x0000efa0 - 0x0000efaf (0x10) IX[B]
[22] -1 0x0000ef40 - 0x0000ef5f (0x20) IX[B]
[23] -1 0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
[24] 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
[25] 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU)
(WW) NVIDIA(0): Failed to initialize AGP
(II) NVIDIA(0): Setting mode "1280x1024"
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) Loading extension NV-GLX
(II) Loading extension NV-CONTROL
(WW) NVIDIA(0): Option "CalcAlgorithm" is not used
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) [GLX]: Initializing GLX extension
(II) Keyboard "Keyboard[0]" handled by legacy driver
(**) Option "Protocol" "imps/2"
(**) Mouse[1]: Protocol: "imps/2"
(**) Option "CorePointer"
(**) Mouse[1]: Core Pointer
(**) Option "Device" "/dev/psaux"
(**) Mouse[1]: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse[1]: ZAxisMapping: buttons 4 and 5
(**) Mouse[1]: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse[1]" (type: MOUSE)
GetModeLine - scrn: 0 clock: 108160
GetModeLine - hdsp: 1280 hbeg: 1296 hend: 1552 httl: 1736
vdsp: 1024 vbeg: 1024 vend: 1034 vttl: 1070 flags: 0
(II) NVIDIA(0): Setting mode "1024x768"
(II) NVIDIA(0): Setting mode "1280x1024"
(II) 3rd Button detected: disabling emulate3Button

Kiamu
04-03-03, 08:26 AM
i noticed 3 things on a quick glance:

1.) (WW) System lacks support for changing MTRRs

2.) (WW) NVIDIA(0): Failed to initialize AGP

3.) and a warning about a missing APM device...

to 1: i don't know if it causes major trouble, but i would suggest you turn on the MTRR support under Prozessor type and features in the kernel. it does not hurt.

to 2: _THIS_ is your problem. try to enable the AGP settings in the "character device settings" section of the kernel and recompile.
if your using a nforce board you have to adjust the XF86config in /etc/X11 to load the native NVagp.

to 3: well. afaik you have to set up a device. i do not know what is affected by this, because i rarely use apm features. (just console blanking on my old machines) A link to /dev/misc/apm_bios should do.

nileshbansal
04-03-03, 11:06 AM
a few days back i compiled 2.4.21pre6 and while compiling /dev/agpgart(AGP support) was turned on. I am unable to find anything else in section Character Devices related to AGP. Am i missing anything ?? Do i need to do something else . plz tell in detail what exactly i need to do.
thank you for your guidence

bwkaz
04-03-03, 11:28 AM
Setting agpgart to yes should have enabled it, yes. What does /proc/driver/nvidia/agp/host-bridge say? What about the card file in the same directory? (though I don't think that one matters as much)

Is there anything AGP-related in dmesg's output?

What chipset is your motherboard?

nileshbansal
04-03-03, 01:15 PM
I have intel 850MV2

dmesg says

Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected Intel i850 chipset
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 on Intel i850 @ 0xf8000000 64MB
[drm] Initialized radeon 1.1.1 20010405 on minor 1
[drm] AGP 0.99 on Intel i850 @ 0xf8000000 64MB
[drm] Initialized i810 1.2.0 20010920 on minor 2
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
and so on..

/proc/driver/nvidia/agp/host-bridge says

Host Bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH)
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000104

bwkaz
04-03-03, 03:23 PM
How many video cards do you have? It looks like it's initializing 3 of them, plus the nVidia one!

Try removing the "tdfx", "radeon", and "i810" kernel modules, at least. It could be that one of them, or DRM itself, is interfering. But to get rid of DRM will require a kernel recompile...

nileshbansal
04-04-03, 01:16 AM
I have only one nvidia card and support for radeon and i810 is built in kernel and its not by loading some module

nileshbansal
04-04-03, 01:35 AM
I dont know how but AGP is noe initialized . I am attaching XFree86.log.0 . But still when i start games like racer or tuxkart it warns me ur card does not have 3d support .Output of glxgears for default window size is unchnanged but for full screen has improved to 15 FPS, but this is very less for playing games and for racer i am hardly able to make sense what is going on.
XFree86log says of Using the NVIDIA 2D acceleration architecture does that mean i need to load some other modulw also.
I dont know what exactly this means but wanted to tell that while using glxgears CPU usages reaches 100%, does that mean its all software zoom and no hardware zoom.

nileshbansal
04-04-03, 01:36 AM
log file is here

bwkaz
04-04-03, 08:31 AM
Hmmm... what happens when you ldd $(which glxgears)? And then ls -l any libGL.so or libGLcore.so files that come back from that?

Your X log seems to be fine, but if your programs are linking against the wrong OpenGL library, that could cause a problem like that.

nileshbansal
04-04-03, 11:31 AM
ldd $(which glxgears) shows libGL.so.1 and liGLcore.so.1 whci are actullay links to libGl.so.1.4349 and liGLcore.so.1.4349
has this anything to do with "Using the NVIDIA 2D acceleration architecture" as in XFreelog??

Kiamu
04-04-03, 12:50 PM
hmm,

do you have any DRI things enabled in the kernel? and do you load the module in XF86Config?

if yes: disable all that...

nileshbansal
04-04-03, 03:06 PM
I have DRI support built in kernel and to remove that i will have to recompile my kernel..right or is their anyother way??
I am not loading DRI in XF86Config

Kiamu
04-04-03, 03:13 PM
yes, you would have to recompile the kernel to remove it. though i am not sure it is the reason for your trouble... at least it could be.
btw while you are at it. have a look at the help file for MTRR and compile it in. it should improve your performance in X a bit ;)

bwkaz
04-04-03, 03:18 PM
Originally posted by nileshbansal
has this anything to do with "Using the NVIDIA 2D acceleration architecture" as in XFreelog?? No.

Regarding your other question, yes, the only way to get rid of DRM support if it's compiled into your kernel is to recompile the kernel. This is why I personally like modules. ;)

nileshbansal
04-05-03, 03:39 AM
OK i have recompiled my kernel but that doesn't seem to help.