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

Newegg Daily Deals

Reply
 
Thread Tools
Old 08-07-03, 03:12 PM   #1
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Lightbulb XFree86-DRI missing with XFree86-4.3.0.-17 and up solved

After upgrading to the new X on redhat,
i had the problem that glxinfo told me:
Xlib: extension "XFree86-DRI" missing on display ":0.0"
and there were no gl-extensions.

fixed it by relinking:
/usr/lib/libGL.so --> libGL.so.1
and
/usr/lib/tls/i686/libGL.so.1 --> ../libGL.so.1
then do a ldconfig

seems that upgrading with new x rpms
there was a mismatch (mesa) with linking to the gl libs.
for checking that all went good you can use the nvidia-installer with the "-sanity" option.

hope this helps someone who has the same prob!
and thanks for the initial tip by Guo Yang from the rhl-beta list!


best,
lars

update:
sorry for make it not that clear,
for an easier way see my post below

Last edited by _tf_; 10-16-03 at 11:59 PM.
_tf_ is offline   Reply With Quote
Old 10-16-03, 03:22 AM   #2
boeckelr
Registered User
 
Join Date: Sep 2003
Posts: 6
Default

i have a gf4 and nforce 2 mobo.

tonite i installed the new Fedora .95.

all of a sudden I am getting that DRI missing error like you had.

I am fairly new to Linux.

Is there an easy way to explain how to do that relinking that solved your problem?

thanks,
mike
boeckelr is offline   Reply With Quote
Old 10-16-03, 11:27 AM   #3
Azeus
Registered User
 
Join Date: Aug 2003
Location: New York / USA
Posts: 8
Send a message via AIM to Azeus
Default

Hallejuah! Thank you so much for finally posting a fix to this horrible error!

Works like a charm!

BTW: I am using RedHat Rawhide, up to date today.
Azeus is offline   Reply With Quote
Old 10-16-03, 11:55 AM   #4
boeckelr
Registered User
 
Join Date: Sep 2003
Posts: 6
Default

Azeus - could you please tell me how to do the relinking?

Thanks,
Mike
boeckelr is offline   Reply With Quote
Old 10-16-03, 01:13 PM   #5
Azeus
Registered User
 
Join Date: Aug 2003
Location: New York / USA
Posts: 8
Send a message via AIM to Azeus
Default

Sure, I almost didn't see what he was saying to do at first, but at closer inspection I got it.

I had the libGL.so already linked correctly in the /usr/lib directory. If yours isn't... remove the existing link (rm libGL.so) and link it (ln -s libGL.so.1 libGL.so)

The part that I took a chance on, is the tls/i686 deal. I didn't have an i686 directory in my tls directory, so I made on. Then, in the i686 directory, do (ln -s ../libGL.so.1 libGL.so.1). After that, run (/sbin/ldconfig) and presto! Run a GL screensaver to check it out!

BTW: Make sure you have the drivers installed before doing this.
Azeus is offline   Reply With Quote
Old 10-16-03, 11:24 PM   #6
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default

nice that it works out for you

an even easier way is to delete the /usr/X11R6/lib/tls dir and after that say "ldconfig" at the console.
check with "glxinfo", and the dri plus a lot of extensions should be enabled now correctly.
no relinking required with this way.

when updating the package XFree86-mesa-libgl
one have to do this again.

best
lars

Last edited by _tf_; 10-17-03 at 12:04 AM.
_tf_ is offline   Reply With Quote
Old 10-17-03, 12:46 AM   #7
boeckelr
Registered User
 
Join Date: Sep 2003
Posts: 6
Default

Thanks for both of your help.

So the culprit is XFree86-mesa-libgl?

Its not XFree86 or any of the other XFree86 packages?
boeckelr is offline   Reply With Quote
Old 10-17-03, 01:02 AM   #8
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default

yes its an XFree86-mesa-libgl problem.
with "rpm -ql XFree86-Mesa-libGL"
you can see the content installed of that package.

the nvidia installer removes almost all previous
(mesa) libgl.so's but leaves the ones in
/usr/X11R6/lib/tls
so the nvidia gl libs get mixed up with the (software accelerated) mesa libs.

hope nvidia will fix the installer in the next driver release!


best
lars

Last edited by _tf_; 10-17-03 at 01:07 AM.
_tf_ is offline   Reply With Quote

Old 10-17-03, 08:16 AM   #9
Azeus
Registered User
 
Join Date: Aug 2003
Location: New York / USA
Posts: 8
Send a message via AIM to Azeus
Default

Quote:
Originally posted by _tf_
nice that it works out for you

an even easier way is to delete the /usr/X11R6/lib/tls dir and after that say "ldconfig" at the console.
check with "glxinfo", and the dri plus a lot of extensions should be enabled now correctly.
no relinking required with this way.

when updating the package XFree86-mesa-libgl
one have to do this again.

best
lars
I delete the tls directory and ran glxinfo to see if it had any more funtions that creating the link, and it actually greatly lessens the amount of extentions. Direct Rendering is also not enabled. With the linking method, there are many more extentions and Direct Rendering is enabled. Just thought I'd share that.
Azeus is offline   Reply With Quote
Old 10-17-03, 08:29 AM   #10
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default

thats strange
did you do "ldconfig" before trying glxinfo?
without the libs will not be configured right.

its working fine here and for some others i know with the newest rh fedora/rawhide.

best
lars
_tf_ is offline   Reply With Quote
Old 10-17-03, 08:39 AM   #11
Azeus
Registered User
 
Join Date: Aug 2003
Location: New York / USA
Posts: 8
Send a message via AIM to Azeus
Default

Check it out for yourself:

[root@yggdrasil ian]# mv /usr/lib/tls/ /
[root@yggdrasil ian]# /sbin/ldconfig
[root@yggdrasil ian]# glxinfo
name of display: :0.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
display: :0 screen: 0
direct rendering: No
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: SGI
client glx version string: 1.2
client glx extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
GLX extensions:
GLX_EXT_visual_info, GLX_EXT_visual_rating
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce4 MX 440 with AGP8X/AGP/SSE2
OpenGL version string: 1.4.0 NVIDIA 44.96
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_cube_map,
GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
GL_ARB_texture_env_dot3, GL_EXT_abgr, GL_EXT_blend_color,
GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

[root@yggdrasil ian]# mv /tls/ /usr/lib
[root@yggdrasil ian]# /sbin/ldconfig
[root@yggdrasil ian]# 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: GeForce4 MX 440 with AGP8X/AGP/SSE2
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
Azeus is offline   Reply With Quote
Old 10-17-03, 08:52 AM   #12
_tf_
scriptfoo warrior
 
_tf_'s Avatar
 
Join Date: Apr 2003
Location: here
Posts: 117
Default

looks like you are removing the dir
/usr/lib/tls

try to keep this dir as it is and only
remove the /usr/X11R6/lib/tls dir.

then do "ldconfig"
should work


best
lars
_tf_ 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


All times are GMT -5. The time now is 09:37 AM.


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