Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libnvidia-tls.so error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
GreenMages
n00b
n00b


Joined: 04 Sep 2004
Posts: 12

PostPosted: Tue Nov 23, 2004 11:10 pm    Post subject: libnvidia-tls.so error Reply with quote

just as an example since it's the easiest to work with when debugging, I'll be using quake2 as my program of choice :). Anyway when loading some programs I get the error of

libnvidia-tls.so.1: cannot handle TLS data

the full output from quak2 after setting it to run in glx mode is


LoadLibrary("/usr/games/lib/quake2-icculus/ref_glx.so")
ref_gl version: GL 0.01
libnvidia-tls.so.1: cannot handle TLS data
ref_gl::R_Init() - could not load "libGL.so"


I have chacked the files themselves and they are both the same files

root@nekochan# ls -l /usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so
lrwxrwxrwx 1 root root 25 Nov 23 15:18 /usr/lib/opengl/nvidia/lib/tls/libnvidia-tls.so -> libnvidia-tls.so.1.0.6111
root@nekochan # ls -l /usr/lib/opengl/nvidia/lib/libnvidia-tls.so
lrwxrwxrwx 1 root root 25 Nov 23 15:18 /usr/lib/opengl/nvidia/lib/libnvidia-tls.so -> libnvidia-tls.so.1.0.6111


currently using the nvidia kernel and glx emerges of 6111 with the gentoo kernel of 2.6.9-r4, I've also upgraded to 2003.4, I never seemed to have these errors before the new kernel and/or nvidia drivers and/or new portage

as for the rest of the info more is better but it might be useless :)



0000:01:00.0 VGA compatible controller: nVidia Corporation NV20 [GeForce3 Ti 200] (rev a3) (prog-if 00 [VGA])
Subsystem: Micro-Star International Co., Ltd.: Unknown device 8851
Flags: bus master, 66Mhz, medium devsel, latency 248, IRQ 3
Memory at fc000000 (32-bit, non-prefetchable) [size=80000000]
Memory at f4000000 (32-bit, prefetchable) [size=64M]
Memory at f3f80000 (32-bit, prefetchable) [size=512K]
Expansion ROM at 00010000 [disabled]
Capabilities: [60] Power Management version 2
Capabilities: [44] AGP version 2.0








stephen@nekochan stephen $ 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, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample
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_NV_swap_group, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGI_swap_control, GLX_NV_float_buffer
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGIX_fbconfig,
GLX_SGIX_pbuffer, GLX_SGI_video_sync, GLX_SGI_swap_control,
GLX_ARB_multisample, GLX_ARB_get_proc_address
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce3/AGP/SSE2
OpenGL version string: 1.5.1 NVIDIA 61.11
OpenGL extensions:
GL_ARB_depth_texture, 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_shader_objects,
GL_ARB_shading_language_100, 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_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, 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_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_pixel_buffer_object,
GL_EXT_point_parameters, 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_wrap, GL_EXT_texture3D,
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_HP_occlusion_test, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_KTX_buffer_region, GL_NV_blend_square,
GL_NV_copy_depth_to_color, GL_NV_depth_clamp, GL_NV_fence,
GL_NV_fog_distance, GL_NV_light_max_exponent,
GL_NV_multisample_filter_hint, GL_NV_occlusion_query,
GL_NV_packed_depth_stencil, GL_NV_pixel_data_range, GL_NV_point_sprite,
GL_NV_register_combiners, GL_NV_register_combiners2,
GL_NV_texgen_reflection, GL_NV_texture_compression_vtc,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_texture_shader,
GL_NV_texture_shader2, GL_NV_vertex_array_range,
GL_NV_vertex_array_range2, GL_NV_vertex_program, GL_NV_vertex_program1_1,
GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SGIS_texture_lod,
GL_SGIX_depth_texture, GL_SGIX_shadow, GL_SUN_slice_accum
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess


just need some major help with this, it's driving me crazy as to why it's not working correctly, and if any more info is needed just ask and ye shall recieve ;)
Back to top
View user's profile Send private message
perseguidor
Apprentice
Apprentice


Joined: 01 Aug 2004
Posts: 278
Location: West Kingdom of Buenos Aires

PostPosted: Wed Nov 24, 2004 5:15 am    Post subject: Reply with quote

Hello.

1) Workaround: prepend
Code:
LD_ASSUME_KERNEL=2.2.5

to the command launching the game. This reverts to non-tls mode or something similar. This should work, and I'm not aware of any missing functionality being apparent.


2) Recompile your nvidia drivers, preferably using the .sh file. Like this:

Code:
sh NVIDIA-Linux-x86-1.0-6106-pkg1.run --force-tls=classic


Good luck!
_________________
O make me a mask!
Back to top
View user's profile Send private message
hjnenc
Veteran
Veteran


Joined: 15 Aug 2004
Posts: 1599
Location: Vienna, Austria

PostPosted: Wed Nov 24, 2004 5:22 pm    Post subject: Reply with quote

See this bug report https://bugs.gentoo.org/show_bug.cgi?id=70545 for some background information.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum