Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-08-04, 01:21 PM   #1
lquijano
Registered User
 
Join Date: Feb 2004
Posts: 3
Question GeForce MX400 and Fedora 1 - VERY slow 3d Graphics, some lockups

I used to have a Redhat 8 installation some time ago (2 months). I could use my 3d graphics for the GeForce MX400 fine (playing Quake 3, OpenGL screensavers, etc).

Now, when I installed Fedora (though it could've happened some time *before* installing Fedora, I don't really remember that well), the 3D Accel stopped working (or so I guess). When I launch Quake 3 (for instance), the main screen gets VERY slow (like 1 frame every 5 seconds). The non-accelerated screens run fine (even the intro). Other programs (like Celestia or the OpenGL screensavers) just freeze the entire computer, hard boot included and all.

So, I've tried doing several things. I first used the nVidia driver from the download page 5336, to no success. Now I'm using the Fedora RPMs produced by livna.org, and it still doesn't work (but they shouldn't be any problem, since the original nvidia drivers didn't work either). I tried using "_GL_SINGLE_THREADED quake3" (as they recommend in the Unofficial Fedora FAQ - http://fedora.artoo.net/faq/#nVidia). Nothing either.

I changed the AGP settings for the driver. Nothing there also. I've checked the LDD for the apps and it appears fine. For example, this is the ldd for celestia:

$ ldd /usr/bin/celestia
libpng12.so.0 => /usr/lib/libpng12.so.0 (0x41e39000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x418e0000)
libglut.so.3 => /usr/lib/libglut.so.3 (0x417ab000)
libGLU.so.1 => /usr/X11R6/lib/libGLU.so.1 (0x41906000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x4185f000)
libz.so.1 => /usr/lib/libz.so.1 (0x41753000)
libGL.so.1 => /usr/lib/nvidia/tls/libGL.so.1 (0x4764b000)
libgnomeui.so.32 => /usr/lib/libgnomeui.so.32 (0x4816e000)
libart_lgpl.so.2 => /usr/lib/libart_lgpl.so.2 (0x419ce000)
libgdk_imlib.so.1 => /usr/lib/libgdk_imlib.so.1 (0x419a6000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x41791000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x41778000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x4d13a000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x418a3000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4189e000)
libdl.so.2 => /lib/libdl.so.2 (0x4165e000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x41855000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x41743000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x41663000)
libgnome.so.32 => /usr/lib/libgnome.so.32 (0x41984000)
libgnomesupport.so.0 => /usr/lib/libgnomesupport.so.0 (0x4199f000)
libesd.so.0 => /usr/lib/libesd.so.0 (0x41dca000)
libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0x41c7a000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x41877000)
libgtkgl.so.5 => /usr/lib/libgtkgl.so.5 (0x41766000)
libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0x41a03000)
libm.so.6 => /lib/tls/libm.so.6 (0x4163a000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x419f9000)
libc.so.6 => /lib/tls/libc.so.6 (0x414ff000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x41801000)
libGLcore.so.1 => /usr/lib/nvidia/tls/libGLcore.so.1 (0x47164000)
libdb.so.2 => /usr/lib/libdb.so.2 (0x4179b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x41000000)

This is my XF86Config Nvidia related config (tell me if you need more):

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
# Load "dri"
EndSection
...
Section "Device"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 2 MX"
Option "NoLogo" "On"
EndSection
...
Section "DRI"
Group 0
Mode 0666
EndSection
--
$cat /proc/driver/nvidia/agp/card
Fast Writes: Supported
SBA: Not Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000017:0x1f000104

$ cat /proc/driver/nvidia/agp/host-bridge
Host Bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH)
Fast Writes: Supported
SBA: Supported
AGP Rates: 4x 2x 1x
Registers: 0x1f000217:0x00000104

$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled

$ cat /proc/driver/nvidia/cards/0
Model: GeForce2 MX/MX 400
IRQ: 11
Video BIOS: 03.11.01.30.00
Card Type: AGP

$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA Linux x86 nvidia.o Kernel Module 1.0-5328 Wed Dec 17 13:54:51 PST 2003
GCC version: gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)

$ cat /proc/pci
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Intel Corp. 82850 850 (Tehama) Chipset Host Bridge (MCH) (rev 2 ).
Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
Bus 0, device 1, function 0:
PCI bridge: Intel Corp. 82850 850 (Tehama) Chipset AGP Bridge (rev 2).
Master Capable. Latency=32. Min Gnt=10.
Bus 0, device 30, function 0:
PCI bridge: Intel Corp. 82801BA/CA/DB/EB PCI Bridge (rev 4).
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 31, function 0:
ISA bridge: Intel Corp. 82801BA ISA Bridge (LPC) (rev 4).
Bus 0, device 31, function 1:
IDE interface: Intel Corp. 82801BA IDE U100 (rev 4).
I/O at 0xffa0 [0xffaf].
Bus 0, device 31, function 2:
USB Controller: Intel Corp. 82801BA/BAM USB (Hub #1) (rev 4).
IRQ 5.
I/O at 0xef40 [0xef5f].
Bus 0, device 31, function 3:
SMBus: Intel Corp. 82801BA/BAM SMBus (rev 4).
IRQ 10.
I/O at 0xefa0 [0xefaf].
Bus 0, device 31, function 4:
USB Controller: Intel Corp. 82801BA/BAM USB (Hub #2) (rev 4).
IRQ 9.
I/O at 0xef80 [0xef9f].
Bus 1, device 0, function 0:
VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX/MX 400] (rev 178).
IRQ 11.
Master Capable. Latency=248. Min Gnt=5.Max Lat=1.
Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
Prefetchable 32 bit memory at 0xe8000000 [0xefffffff].

etc...

I've included the XFree86 log for the following command (btw I use several X servers):
$ xinit /usr/local/games/quake/quake3 -- /usr/bin/X :5 -logverbose 5

XFree86 Version 4.3.0 (Fedora Core 1: 4.3.0-42)
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.21-2.ELsmp i686 [ELF]
Build Date: 24 October 2003
Build Host: porky.devel.redhat.com

Before reporting any problems, please make sure you are using the most
recent XFree86 packages available from Red Hat by checking for updates
at http://rhn.redhat.com/errata or by using the Red Hat Network up2date
tool. If you still encounter problems, please file bug reports in the
XFree86.org bugzilla at http://bugs.xfree86.org and/or Red Hat
bugzilla at http://bugzilla.redhat.com

Module Loader present
OS Kernel: Linux version 2.4.22-1.2149.nptl (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.3 20030422 (Red Hat Linux 3.2.3-6)) #1 Wed Jan 7 13:08:26 EST 2004 P
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.5.log", Time: Sun Feb 8 12:08:34 2004
(==) Using config file: "/etc/X11/XF86Config"

(II) Initializing extension GLX
Q3 1.32b linux-i386 Nov 14 2002
----- FS_Startup -----
Current search path:
/home/leonardo/.q3a/baseq3
/usr/local/games/quake3/baseq3/pak8.pk3 (9 files)
/usr/local/games/quake3/baseq3/pak7.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak6.pk3 (64 files)
/usr/local/games/quake3/baseq3/pak5.pk3 (7 files)
/usr/local/games/quake3/baseq3/pak4.pk3 (272 files)
/usr/local/games/quake3/baseq3/pak3.pk3 (4 files)
/usr/local/games/quake3/baseq3/pak2.pk3 (148 files)
/usr/local/games/quake3/baseq3/pak1.pk3 (26 files)
/usr/local/games/quake3/baseq3/pak0.pk3 (3539 files)
/usr/local/games/quake3/baseq3
./quake3.x86/baseq3

----------------------
4073 files in pk3 files
execing default.cfg
execing q3config.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 2: 512 384
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 512x384
SwitchToMode - scrn: 0 clock: 47250
hdsp: 512 hbeg: 536 hend: 584 httl: 688
vdsp: 384 vbeg: 384 vend: 386 vttl: 404 flags: 37
Checking against clock: 94500 (94500)
hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
...
Checking against clock: 47250 (47250)
hdsp: 512 hbeg: 536 hend: 584 httl: 688
vdsp: 384 vbeg: 384 vend: 386 vttl: 404 flags: 37
SwitchToMode - Succeeded
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: GeForce2 MX/AGP/SSE2
*** IGNORING OPENGL EXTENSIONS ***
XF86 Gamma extension initialized

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce2 MX/AGP/SSE2
GL_VERSION: 1.4.1 NVIDIA 53.28
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite 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_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_clip_volume_hint 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_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap 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_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NVX_ycrcb GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum
GL_MAX_TEXTURE_SIZE: 2048
GL_MAX_ACTIVE_TEXTURES_ARB: 0

PIXELFORMAT: color(16-bits) Z(16-bit) stencil(0-bits)
MODE: 2, 512 x 384 fullscreen hz:N/A
GAMMA: hardware w/ 0 overbright bits
CPU:
rendering primitives: multiple glArrayElement
texturemode: GL_LINEAR_MIPMAP_NEAREST
picmip: 2
texture bits: 16
multitexture: disabled
compiled vertex arrays: disabled
texenv add: disabled
compressed textures: disabled
HACK: using vertex lightmap approximation
Initializing Shaders
...loading 'scripts/lightningnew.shader'
...loading 'scripts/explode1.shader'
...loading 'scripts/gfx.shader'
...loading 'scripts/tim.shader'
...loading 'scripts/base.shader'
...loading 'scripts/base_button.shader'
...loading 'scripts/base_floor.shader'
...loading 'scripts/base_light.shader'
...loading 'scripts/base_object.shader'
...loading 'scripts/base_support.shader'
...loading 'scripts/base_trim.shader'
...loading 'scripts/base_wall.shader'
...loading 'scripts/common.shader'
...loading 'scripts/ctf.shader'
...loading 'scripts/eerie.shader'
...loading 'scripts/gothic_block.shader'
...loading 'scripts/gothic_floor.shader'
...loading 'scripts/gothic_light.shader'
...loading 'scripts/gothic_trim.shader'
...loading 'scripts/gothic_wall.shader'
...loading 'scripts/hell.shader'
...loading 'scripts/liquid.shader'
...loading 'scripts/menu.shader'
...loading 'scripts/models.shader'
...loading 'scripts/organics.shader'
...loading 'scripts/sfx.shader'
...loading 'scripts/shrine.shader'
...loading 'scripts/skin.shader'
...loading 'scripts/sky.shader'
...loading 'scripts/test.shader'
----- finished R_Init -----

------- sound initialization -------
------------------------------------
----- Sound Info -----
sound system is muted
1 stereo
32768 samples
16 samplebits
1 submission_chunk
22050 speed
0x40c1a000 dma buffer
No background file.
----------------------
Sound memory manager started
Loading vm file vm/ui.qvm.
VM file ui compiled to 594408 bytes of code
ui loaded in 1963008 bytes on the hunk
35 arenas parsed
32 bots parsed
--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: lquijano.familia.local
Alias: lquijano
IP: 192.168.0.1
Started tty console (use +set ttycon 0 to disable)
^5PunkBuster Client: PunkBuster Client (v0.993 | A0) **DISABLED**
^3PunkBuster Server: PunkBuster Server (v0.993 | A0 C0.0) **DISABLED**
----- CL_Shutdown -----
RE_Shutdown( 1 )
SwitchToMode - scrn: 0 clock: 94500
hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
Checking against clock: 94500 (94500)
hdsp: 1024 hbeg: 1072 hend: 1168 httl: 1376
vdsp: 768 vbeg: 769 vend: 772 vttl: 808 flags: 5
SwitchToMode - Succeeded
-----------------------
----- CL_Shutdown -----
-----------------------
Shutdown tty console


waiting for X server to shut down


So, could anyone help me with this, or at least point me in the right direction?

Thanks in advance.
lquijano is offline   Reply With Quote
Old 02-11-04, 04:18 PM   #2
lquijano
Registered User
 
Join Date: Feb 2004
Posts: 3
Default

I'm posting a reply since it seems almost nobody read this post. Hope it works this time.
lquijano is offline   Reply With Quote
Old 02-12-04, 01:12 AM   #3
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

The system appears to be installed and configured correctly to work, but perhaps its not happy running on agpGART. Try this option:
Driver "nvidia"
Option "NvAGP" "1"


Your motherboard chipset seems very similar to mine, and mine is much more stable on NvAGP rather than agpGART. But of course, that's kinda the 'default' suggestion for crashes. If that fails, I suggest trying the RPMs available in my sig, then perhaps install from the nvidia installer itself (I use the official installer rather than rpms for this).

*edit* just noticed you did get it compiled with 3.2.x, so below isn't any help *

I saw that you did use the installer, but perhaps you didn't know that it is important to specify which compiler to use before running it (since your kernel is not compiled with the newest version available on the Fedora install).
make sure you've installed the gcc32 package, then run this before the install
export CC=gcc32
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.

Last edited by LordMorgul; 02-12-04 at 01:24 AM.
LordMorgul is offline   Reply With Quote
Old 02-12-04, 01:30 AM   #4
LordMorgul
Electrical Engineer
 
LordMorgul's Avatar
 
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872
Default

Quake3 will react as you describe if you have set the cvars that force screen refresh rates, you should leave them unset (so they default).

seta r_swapInterval "0"
seta r_displayrefresh "0"

I've had minimal success locking r_displayrefresh to 85, but occasionally do see the excessively slow main menu operation you described. You might try deleting all the q3config.cfg files in the directories (including mods) to fully rebuild configs (save copies if you wish).

You haven't mentioned any output from glxgears, does this function (and how fast does it render)? I have a feeling you might have Mesa conflicts, which are resolved by removing the rpm 'XFree86-Mesa-libGL" before installing the nVidia driver (either by rpm or installer script).
__________________
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at livna.org.
LordMorgul is offline   Reply With Quote
Old 02-12-04, 01:28 PM   #5
lquijano
Registered User
 
Join Date: Feb 2004
Posts: 3
Default

Well, this was the output from glxgears:

4259 frames in 5.0 seconds = 851.800 FPS

Well, I've uninstalled de Mesa GL packages (and then I've just upgraded my nvidia rpm) , and I changed the AGP option to NVIDIA. It seemed to work for a while (like, only in the main screen on quake - but now it's broken again). Now:

$ cat /proc/driver/nvidia/agp/status
Status: Enabled
Driver: NVIDIA
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled

I checked again in case this was a Quake problem, but then celestia crashed (http://www.shatters.net/celestia/). Maybe I'll check compiling it from source, but I don't give it much hope.

Now glxgears gets a bit choppy (!?), but it outputs:
3625 frames in 5.0 seconds = 725.000 FPS
3968 frames in 5.0 seconds = 793.600 FPS
3615 frames in 5.0 seconds = 723.000 FPS
lquijano is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:32 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.