nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   libGL.so.1 error (http://www.nvnews.net/vbulletin/showthread.php?t=2354)

mode101 09-29-02 11:23 AM

libGL.so.1 error
 
Hey All!

I am new to linux, but I think I have my new RH 7.3 box up and running how I like it.

I was trying to get into something more important now.. GAMES, I am trying to play some games and demos I have found, and when I do I am getting this error message:

FATAL: could not initialize OpenGL Library 'libGL.so.1'

What can I do to fix this? The nvidia docs I have read have not been able to help me.

If anyone knows how to fix this, or what commands I can execute to troubleshoot, I would be very thankful

Thanks

bwkaz 09-29-02 02:12 PM

Is that the only error message you're getting? If there are more, post them.

If not, try doing an ldd /usr/lib/libGL.so.1, and seeing if there are any dependencies that it can't find.

What does glxinfo say about "Direct Rendering"?

<obvious question>You did install the GLX half of the driver, correct? </obvious>

The version of NVIDIA_GLX that you used matches your NVIDIA_kernel as well, right?

mode101 09-29-02 02:49 PM

That is the only error message I get.

ldd /usr/lib/libGL.so.1
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005f000)
libm.so.6 => /lib/i686/libm.so.6 (0x403fa000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4041c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40429000)
libdl.so.2 => /lib/libdl.so.2 (0x404fe000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)


glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.2
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.2
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 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/AGP/SSE
OpenGL version string: 1.3.1 NVIDIA 31.23
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_env_add,
GL_ARB_transpose_matrix, 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_EXT_vertex_weighting,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_evaluators, 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 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 dc 0 16 0 r . . 5 6 5 0 0 16 0 16 16 16 16 0 0 None

bwkaz 09-29-02 05:33 PM

What about ldd /usr/lib/libGLcore.so.1? And while you're at it, try file /usr/lib/libGL.so.1 and file /usr/lib/libGLcore.so.1

mode101 09-29-02 05:58 PM

ldd /usr/lib/libGLcore.so.1
statically linked


ldd /usr/lib/libGL.so.1
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x4005f000)
libm.so.6 => /lib/i686/libm.so.6 (0x403fa000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4041c000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40429000)
libdl.so.2 => /lib/libdl.so.2 (0x404fe000)
libc.so.6 => /lib/i686/libc.so.6 (0x42000000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)

file /usr/lib/libGLcore.so.1
/usr/lib/libGLcore.so.1: symbolic link to libGLcore.so.1.0.3123

file /usr/lib/libGL.so.1
/usr/lib/libGL.so.1: symbolic link to libGL.so.1.0.3123

bwkaz 09-29-02 08:05 PM

How about cat /etc/ld.so.conf and echo $LD_LIBRARY_PATH?

I'm not finding anything out of the ordinary so far... :(

SubTexel 09-29-02 08:23 PM

Libgl.so1?
 
Should be libglx.so .... Sounds like you have the original Mesa files installed..<?> If thats the case re-install the drivers.

bwkaz 09-30-02 06:33 AM

libglx.so is the X interface to OpenGL.

libGL.so is the actual implementation of OpenGL function calls.

You need both. libglx.so should be in /usr/X11R6/lib/modules/extensions, and libGL.so should be in /usr/lib.

Actually, if there's a libGL.so in /usr/X11R6/lib, then change its name or get rid of it completely, that one is part of Mesa.

Edit: what does xdpyinfo list for running extensions?


All times are GMT -5. The time now is 08:56 PM.

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