View Single Post
Old 01-19-04, 05:28 PM   #1
Everach
Registered User
 
Join Date: Jan 2004
Posts: 2
Default NVIDIA driver issue on SuSe

I'm having trouble getting OpenGL applications to work with my NVidia card.

Situation: PC freezes whenever I run an OpenGL application. glxgears, for example, executes and runs sporadically (twirls for a second and stops, waits a second and twirls, and so on). While its doing this, the keyboard is locked up and nonresponsive. I have to hard boot the PC to get out of this.

Here's the steps I've taken to verify my configuration. Anyone have any ideas what I need to fix this? I'm running Suse 9, 2.6 kernel with NVIDIA 4496 drivers.

1. Check for AGP support
cat /proc/driver/nvidia/agp/status

Status: Enabled
Driver: AGPGART
AGP Rate: 4x
Fast Writes: Disabled
SBA: Disabled

2. Check is Opengl is working correctly
glxinfo

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: GeForce2 MX/AGP/SSE/3DNOW!
OpenGL version string: 1.4.0 NVIDIA 44.96
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_point_parameters,
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_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_add,
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_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
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 16 tc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x22 16 dc 0 16 0 r y . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x23 16 tc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x24 16 tc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x25 16 tc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x26 16 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None
0x27 16 dc 0 16 0 r y . 5 6 5 0 0 0 0 16 16 16 16 0 0 None
0x28 16 dc 0 16 0 r . . 5 6 5 0 0 0 0 16 16 16 16 0 0 None

3. Check for competing libraries.
ldd /usr/X11/bin/glxgears

libGL.so.1 => /usr/lib/libGL.so.1 (0x40028000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40091000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4009f000)
libpthread.so.0 => /lib/i686/libpthread.so.0 (0x4019b000)
libm.so.6 => /lib/i686/libm.so.6 (0x401ec000)
libc.so.6 => /lib/i686/libc.so.6 (0x40210000)
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x40343000)
libdl.so.2 => /lib/libdl.so.2 (0x4081b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

4. Check for XF86 error messages
less /var/log/XFree86.0.log
# nvidia module seems to load fine

(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.4496
Module class: XFree86 Video Driver

# My monitor driver diskette grew legs and walked off. If you think this is my number 1 issue, say so.

(WW) NVIDIA(0): The user specified HorizSync "28.000-60.000" has been adjusted
(WW) NVIDIA(0): to "30.000-60.000" (the intersection with EDID-specified
(WW) NVIDIA(0): HorizSync "30.000-80.000")
(WW) NVIDIA(0): The user specified VertRefresh "40.000-60.000" has been
(WW) NVIDIA(0): adjusted to "55.000-60.000" (the intersection with
(WW) NVIDIA(0): EDID-specified VertRefresh "55.000-75.000"
(II) NVIDIA(0): Monitor[0]: Using hsync range of 30.00-60.00 kHz
(II) NVIDIA(0): Monitor[0]: Using vrefresh range of 55.00-60.00 Hz
(II) NVIDIA(0): Clock range: 12.00 to 350.00 MHz
(II) NVIDIA(0): Not using mode "640x480" (hsync out of range)
(II) NVIDIA(0): Not using default mode "640x350" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x175" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "640x400" (vrefresh out of range)
(II) NVIDIA(0): Not using default mode "320x200" (vrefresh out of range)
<snip>
(**) NVIDIA(0): Validated modes for display device CRT-0:
(**) NVIDIA(0): Mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
(**) NVIDIA(0): Mode "800x600": 36.9 MHz, 36.0 kHz, 58.0 Hz
(**) NVIDIA(0): Default mode "512x384": 32.5 MHz, 48.4 kHz, 60.0 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 20.0 MHz, 37.9 kHz, 60.3 Hz (D)
(**) NVIDIA(0): Default mode "400x300": 18.0 MHz, 35.2 kHz, 56.3 Hz (D)
(**) NVIDIA(0): Default mode "320x240": 12.6 MHz, 31.5 kHz, 60.1 Hz (D)
(II) NVIDIA(0): Virtual screen size determined to be 1024 x 768
(--) NVIDIA(0): Display dimensions: (340, 270) mm
(--) NVIDIA(0): DPI set to (76, 72)

# AGP support appears to be working. Not sure why it says 2D acceleration when I have 3D selected in SaX2

(II) NVIDIA(0): AGP 4X successfully initialized
(II) NVIDIA(0): Setting mode "1024x768"
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture


5. Check for kernel errors
dmesg

# Normal taint message
Jan 18 13:29:01 linux insmod: Warning: loading /lib/modules/2.4.21-166-athlon/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
Everach is offline   Reply With Quote