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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-29-02, 11:23 AM   #1
mode101
Guest
 
Posts: n/a
Unhappy 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
  Reply With Quote
Old 09-29-02, 02:12 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 09-29-02, 02:49 PM   #3
mode101
Guest
 
Posts: n/a
Default

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
  Reply With Quote
Old 09-29-02, 05:33 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 09-29-02, 05:58 PM   #5
mode101
Guest
 
Posts: n/a
Default

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
  Reply With Quote
Old 09-29-02, 08:05 PM   #6
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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

I'm not finding anything out of the ordinary so far...
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 09-29-02, 08:23 PM   #7
SubTexel
Registered User
 
Join Date: Sep 2002
Posts: 13
Send a message via AIM to SubTexel
Default Libgl.so1?

Should be libglx.so .... Sounds like you have the original Mesa files installed..<?> If thats the case re-install the drivers.
SubTexel is offline   Reply With Quote
Old 09-30-02, 06:33 AM   #8
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

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?
__________________
Registered Linux User #219692

Last edited by bwkaz; 09-30-02 at 06:40 AM.
bwkaz 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
295.40 295 cannot be compiled on 3.2 kernel delta32 NVIDIA Linux 4 05-27-12 09:47 PM
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 AM
Mandrake 9 and nVidia drivers HunterA3 NVIDIA Linux 9 10-09-02 02:54 AM
Mandrake 8.2 Nvidia src.rpm problems Mr_Malcontent NVIDIA Linux 8 09-11-02 09:53 PM

All times are GMT -5. The time now is 07:27 AM.


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