You are not logged in.

#1 2005-02-05 17:27:40

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Nvidia problem

Hi

I followed the Wiki and installed the nvidia drivers and it worked. I think glxgears reported something like 600 fps.
But now it does not work anymore ... I only get 200 fps in glxgears.
The wiki says: If you experience slow 3D Performance have a look at:
/usr/lib/libGL.so.1 /usr/lib/libGL.so /usr/lib/GLcore.so.1
perhaps they are wrong linked to mesa or something else

But I do not know how to see if they are linked wrongly. Could something I installed after the drivers cause this?

Offline

#2 2005-02-05 17:50:11

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Nvidia problem

I would start with something like this:

 # ls -l /usr/lib/libGL*

This will display something like this:

-rw-r--r--  1 root root     653 2005-02-05 11:45 /usr/lib/libGL.la
lrwxrwxrwx  1 root root      10 2005-02-05 11:45 /usr/lib/libGL.so -> libGL.so.1lrwxrwxrwx  1 root root      17 2005-02-05 11:45 /usr/lib/libGL.so.1 -> libGL.so.1.0.6629
-rwxr-xr-x  1 root root  442592 2005-02-05 11:45 /usr/lib/libGL.so.1.0.6629
lrwxrwxrwx  1 root root      21 2005-02-05 11:45 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.6629
-rwxr-xr-x  1 root root 7230360 2005-02-05 11:45 /usr/lib/libGLcore.so.1.0.6629

If you see the libs from the nvidia package (the .6629 ones) and they are symlinked to the correct place then you don't have an issue with the libs. Did you upgrade Xorg or change kernels after installing the nvidia package.

Also, do a glxinfo to see if your direct rendering is configured correctly:

name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
...
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce FX 5700LE/AGP/SSE/3DNOW!
OpenGL version string: 1.5.2 NVIDIA 66.29

You're renderer string must be similar to the above or it won't work.

Offline

#3 2005-02-05 20:19:59

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

Thank you for the fast reply.
Something must be wrong because my output it different than yours:

glxinfo gives

name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: Brian Paul
server glx version string: 1.4 Mesa 6.2.1
server glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 6.2.1
client glx extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
GLX extensions:
    GLX_MESA_copy_sub_buffer, GLX_MESA_pixmap_colormap,
    GLX_MESA_release_buffers, GLX_ARB_get_proc_address, GLX_EXT_visual_info,
    GLX_EXT_visual_rating, GLX_SGI_video_sync, GLX_SGIX_fbconfig,
    GLX_SGIX_pbuffer
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.5 Mesa 6.2.1
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_fragment_program, 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_shadow_ambient, 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_crossbar, 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_window_pos,
    GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_equation_separate, GL_EXT_blend_func_separate,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
    GL_EXT_copy_texture, GL_EXT_depth_bounds_test, GL_EXT_draw_range_elements,
    GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
    GL_EXT_packed_pixels, GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
    GL_EXT_point_parameters, GL_EXT_polygon_offset, 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_two_side, GL_EXT_stencil_wrap, GL_EXT_subtexture,
    GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_edge_clamp,
    GL_EXT_texture_env_add, GL_EXT_texture_env_combine,
    GL_EXT_texture_env_dot3, GL_EXT_texture_lod_bias,
    GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
    GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
    GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
    GL_ATI_texture_mirror_once, GL_HP_occlusion_test,
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
    GL_MESA_pack_invert, GL_MESA_program_debug, GL_MESA_resize_buffers,
    GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square,
    GL_NV_fragment_program, GL_NV_light_max_exponent, GL_NV_point_sprite,
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
    GL_NV_vertex_program1_1, GL_SGI_color_matrix, GL_SGI_color_table,
    GL_SGI_texture_color_table, GL_SGIS_generate_mipmap,
    GL_SGIS_pixel_texture, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
    GL_SGIX_pixel_texture, GL_SGIX_shadow, GL_SGIX_shadow_ambient,
    GL_SUN_multi_draw_arrays
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 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16  0  0 0 None
0x22 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x23 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x24 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x25 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x26 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x27 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x28 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x29 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2a 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2b 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2c 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2d 24 tc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2e 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x2f 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x30 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x31 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x32 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x33 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x34 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x35 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x36 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x37 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None
0x38 24 dc  0 24  0 r  y  .  8  8  8  0  0 16  8 16 16 16 16  0 0 None

And

 ls -l /usr/lib/libGL*

gives:

-rw-r--r--  1 root root     653 2005-02-04 17:39 /usr/lib/libGL.la
lrwxrwxrwx  1 root root      10 2005-02-04 17:39 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx  1 root root      19 2005-02-05 15:46 /usr/lib/libGL.so.1 -> libGL.so.1.5.060201
-rwxr-xr-x  1 root root  442592 2005-02-04 17:39 /usr/lib/libGL.so.1.0.6629
-rwxr-xr-x  1 root root 2502060 2004-12-29 18:42 /usr/lib/libGL.so.1.5.060201
lrwxrwxrwx  1 root root      11 2005-02-05 15:46 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx  1 root root      20 2005-02-05 15:46 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060201
-rwxr-xr-x  1 root root  573739 2004-12-29 18:42 /usr/lib/libGLU.so.1.3.060201
lrwxrwxrwx  1 root root      21 2005-02-04 17:39 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.6629
-rwxr-xr-x  1 root root 7230360 2005-02-04 17:39 /usr/lib/libGLcore.so.1.0.6629
lrwxrwxrwx  1 root root      11 2005-02-05 15:46 /usr/lib/libGLw.so -> libGLw.so.1
lrwxrwxrwx  1 root root      15 2005-02-05 15:46 /usr/lib/libGLw.so.1 -> libGLw.so.1.0.0
-rwxr-xr-x  1 root root   13571 2004-12-29 18:42 /usr/lib/libGLw.so.1.0.0

I installed the nvidia drivers after I installed xorg. How come it worked in the first place? How do I fix it?

Offline

#4 2005-02-05 20:22:08

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

Should I post my xorg.conf?

Offline

#5 2005-02-05 20:55:13

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Nvidia problem

Yeh looks like the symlinks may be wrong there.

The libGL.so.1 link should be to libGL.so.1.0.6629 I would have thought.

I get around 3500 in glxgears, what hardware do you have?

Offline

#6 2005-02-05 21:01:14

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

I am really a newbie on this area - what should the links be besides libGL.so.1 to libGL.so.1.0.6629?

Oh I only have an GF4 MX440 PCI card - I am not much of a gamer.

Offline

#7 2005-02-05 21:07:39

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

But oh

  ln -s -b /usr/lib/libGL.so.1.0.6629 /usr/lib/libGL.so.1

seemed to fix it - got 800 fps in glxgears

And no mesa in glxinfo

Offline

#8 2005-02-05 21:09:59

tmadhavan
Member
From: Wales :D
Registered: 2004-03-26
Posts: 441

Re: Nvidia problem

The other links look OK.

Just do (as root):

[/usr/lib]# rm libGL.so.1
[/usr/lib]# ln -sf libGL.1.0.6629 libGL.so.1

Might have to swap those two libGLs round in that command. That'll create a new link pointing to the Nvidia (6629) files.

You may need to check that the nvidia driver is loaded by running 'lsmod' as root. Also, sometimes X doesn't use opengl extensions, but I can't remember how to enable them off the top of my head.

Actually, now I mention that, that's your prob: 'direct rendering: No'

You need to change the libGL links anyway.

Might be good if you just post your xorg.conf too big_smile

Offline

#9 2005-02-06 01:10:34

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Nvidia problem

Looks like you have (intentionally or not) installed mesa package or reinstalled xorg after nvidia installation.

Remove mesa package (if you have it installed - check it with pacman -Qi mesa to find out and to print packages that may depend on it) using pacman and reinstall nvidia (from the package or nvidia installer if you like).
This should fix your problems.

You can also find more info in the following thread:
http://bbs.archlinux.org/viewtopic.php?t=9259

Offline

#10 2005-02-06 07:30:50

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Nvidia problem

that iproblem is mentioned in the nvidia wiki on
http://wiki.archlinux.org reinstall nvidia package and everything should be fine

Offline

#11 2005-02-06 11:50:35

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

Everything works now (as I wrote earlier  big_smile ) - I just did an

ln -s -b /usr/lib/libGL.so.1.0.6629 /usr/lib/libGL.so.1

And now it works.

I know that the solution is partially in the wiki - but when you do not know what to do, when some files are linked wrongly - then it almost impossible to solve the problem yourself. Maybe I (or someone else) should add the solution to the wiki.

AND reinstalling the nvidia package did NOT help - trust me I did that 100 times before posting here.

I did not install xorg again after installing the nvidia package (what should be the purpose of that!) but I may have installed mesa as an dependency of another package - I do not know.
Thank you for your  help  big_smile

Offline

#12 2005-02-06 12:48:10

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,322

Re: Nvidia problem

please don't change the wiki without notifying me.
it works if you reinstall nvidia after mesa install.
i tried it now and this is still valid.
perhaps you were not in konsole mode when you have reinstalled it.

Offline

#13 2005-02-06 13:23:10

molinero
Member
From: Copenhagen/Denmark
Registered: 2004-09-19
Posts: 110

Re: Nvidia problem

It did not work - but if you think so - then okay. I do not care - it works for me now.

Offline

#14 2005-02-06 17:30:31

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Nvidia problem

The nvidia README file has an appendix with information on this problem. It's not Arch specific, of course, but it does list issues with the libs being replaced by a different version. Also, nvidia has it's own version of the glx extension so maybe you should check that as well.

Offline

#15 2005-02-08 05:40:50

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Re: Nvidia problem

molinero wrote:

[...]but I may have installed mesa as an dependency of another package - I do not know. [...]

That's exactly what happened.  The same thing happened to me.  The "mesa" package is currently installed on my system as part of some dependency from another, since I never explicity asked for it in the first place.  I don't have a clue where it came from, but it was part of some package after I installed Xorg and NVIDIA.

The simple rememdy of course, is to just reinstall the NVIDIA drivers, from our repo's or by their installer.  Don't do any symlinking to remedy the situation.  You'll probably miss one or two in the process, as the NVIDIA drivers create several.

Offline

Board footer

Powered by FluxBB