Are there any way to get direct rendering with nvidia drivers?

Hi srs,

Well, surfing in the board i found something like direct rendering option enabled.
I have a TNT2 card and i was just wondering if it is possible, if yes, can anybody help me?
Im on a Debian sid system, and now when i play tuxracer for example, it is too slow and am unable to figure out how to get maximum performance for my hardware.

Thanx in advance

Keyman

You can post installation question here but the best forum for questions about how to install nvidias drivers is the nvnews linux forum. Follow the link to the left on the driver download page. New drivers was recently released. If you run the glxinfo command will it tell you if direct rendering is supported. It should not be any problems with your card.

Nvidia drivers do better than Direct Rendering. Direct rendering is inferior to NVIDIA way of doing it. Do not worry… with a NVIDIA card youi get same performance as you would in Windows.

Originally posted by OldMan:
Nvidia drivers do better than Direct Rendering. Direct rendering is inferior to NVIDIA way of doing it. Do not worry… with a NVIDIA card youi get same performance as you would in Windows.

Thanx for answering.

But as i remenber, when i was playing with tuxracer, everything was fine, but now…it’s too slow.
I tryied ldd /usr/games/tuxracer and i got:
keyman@fastdebian:~> ldd /usr/games/tuxracer
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40029000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40031000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40047000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40121000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40129000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40136000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x4014a000)
libdl.so.2 => /lib/libdl.so.2 (0x40195000)
libtcl8.3.so.1 => /usr/lib/libtcl8.3.so.1 (0x40198000)
libSDL-1.2.so.0 => /usr/lib/libSDL-1.2.so.0 (0x4021c000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4029d000)
libSDL_mixer-1.2.so.0 => /usr/lib/libSDL_mixer-1.2.so.0 (0x402b1000)
libGL.so.1 => /usr/local/lib/libGL.so.1 (0x402ec000)
libGLU.so.1 => /usr/local/lib/libGLU.so.1 (0x404dd000)
libstdc+±libc6.2-2.so.3 => /usr/lib/libstdc+±libc6.2-2.so.3 (0x40582000)
libm.so.6 => /lib/libm.so.6 (0x405cc000)
libc.so.6 => /lib/libc.so.6 (0x405ed000)
libasound.so.2 => /usr/lib/libasound.so.2 (0x40708000)
libartsc.so.0 => /usr/lib/libartsc.so.0 (0x40784000)
libesd.so.0 => /usr/local/lib/libesd.so.0 (0x4078b000)
libaudiofile.so.0 => /usr/local/lib/libaudiofile.so.0 (0x40792000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x407b3000)
libaa.so.1 => /usr/lib/libaa.so.1 (0x40814000)
libsmpeg-0.4.so.0 => /usr/lib/libsmpeg-0.4.so.0 (0x4082d000)
libvorbisfile.so.3 => /usr/lib/libvorbisfile.so.3 (0x40884000)
libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0x4088b000)
libogg.so.0 => /usr/lib/libogg.so.0 (0x408ab000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libslang.so.1 => /lib/libslang.so.1 (0x408af000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x40910000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40917000)

Anybody knows if it is a libsdl issue cuz i cannot see GLcore loaded, just GLU…yes!! I bleding on the edge

Thanx in advance

Keyman

What does glxinfo says ? Did you installed anything GL related after the NVIDIA drivers? (mesa etc,)

Did you removed the load DRI in the XF86config ?
Did you changed the driver entry from nv to nvidia in the Xf86config ?

Originally posted by OldMan:
[b]What does glxinfo says ? Did you installed anything GL related after the NVIDIA drivers? (mesa etc,)

Did you removed the load DRI in the XF86config ?
Did you changed the driver entry from nv to nvidia in the Xf86config ?[/b]

Yes…i have Mesa too, but i dont know if it will conflict with the NVIDIA drivers.
Evererything is fine with my XF86Config-4…i comented my “dri” and “Glcore” and changed my dirver entry to “nvidia”.
The problem is in the first install o tuxracer and after sometime not playing, i’ve back to play i it was so much slow and i try everything. Removing SDL libs and reinstalling the driver.
The problem is: If i try to develop any kind of OpenGL app, i think it will be very slow and since under Windows i can run every kind of OpenGL (games, aplicatives, etc) why not in Linux?? I swear that i had experienced tuxracer very very fast…and now, i really dont know how to get back.
This is my glxinfo:
keyman@fastdebian:~> glxinfo
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 4.0.3
server glx extensions:
GLX_MESA_pixmap_colormap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_release_buffers, GLX_MESA_copy_sub_buffer, GLX_SGI_video_sync,
GLX_ARB_get_proc_address
client glx vendor string: Brian Paul
client glx version string: 1.4 Mesa 4.0.3
client glx extensions:
GLX_MESA_pixmap_colormap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_release_buffers, GLX_MESA_copy_sub_buffer, GLX_SGI_video_sync,
GLX_ARB_get_proc_address
GLX extensions:
GLX_MESA_pixmap_colormap, GLX_EXT_visual_info, GLX_EXT_visual_rating,
GLX_MESA_release_buffers, GLX_MESA_copy_sub_buffer, GLX_SGI_video_sync,
GLX_ARB_get_proc_address
OpenGL vendor string: Brian Paul
OpenGL renderer string: Mesa X11
OpenGL version string: 1.3 Mesa 4.0.3
OpenGL extensions:
GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
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_EXT_abgr,
GL_EXT_bgra, GL_EXT_blend_color, 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_convolution, GL_EXT_compiled_vertex_array,
GL_EXT_fog_coord, GL_EXT_histogram, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_point_parameters, GL_EXT_polygon_offset,
GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_shared_texture_palette, GL_EXT_stencil_wrap, 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_object, GL_EXT_texture_lod_bias, GL_EXT_vertex_array,
GL_HP_occlusion_test, GL_IBM_rasterpos_clip, GL_INGR_blend_func_separate,
GL_MESA_resize_buffers, GL_MESA_window_pos, GL_NV_blend_square,
GL_NV_texgen_reflection, GL_SGI_color_matrix, GL_SGI_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_pixel_texture,
GL_SGIS_texture_border_clamp, GL_SGIS_texture_edge_clamp,
GL_SGIX_depth_texture, GL_SGIX_pixel_texture, GL_SGIX_shadow,
GL_SGIX_shadow_ambient
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 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x27 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None
0x28 24 dc 0 24 0 r y . 8 8 8 0 0 16 8 16 16 16 16 0 0 None

Thanx again

Keyman

All your rendering is done in software by the Mesa libs. That’s the reason why you don’t get direct rendering and low framerates. Looks like you installed Mesa after installing the NVidia drivers. So you just have to reinstall the drivers which will overwrite some Mesa files and you will get hw accelerated rendering. Btw you don’t need the Mesa libs because NVidia drivers come with their very own OpenGL implementation.

Originally posted by satan:
All your rendering is done in software by the Mesa libs. That’s the reason why you don’t get direct rendering and low framerates. Looks like you installed Mesa after installing the NVidia drivers. So you just have to reinstall the drivers which will overwrite some Mesa files and you will get hw accelerated rendering. Btw you don’t need the Mesa libs because NVidia drivers come with their very own OpenGL implementation.

After some tweaking a found the reason.
I had two instalations of X one in /usr and other in /usr/local
There was conflicts, and know everything is fine and fully operational.

Thanx for suport

Keyman

Ohhhh!!! Here it is!!!
The correct output from glxinfo…

keyman@fastdebian:~> glxinfo
name of display: :0.0
display: :0 screen: 0
direct rendering: No
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: 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: RIVA TNT2/AGP/3DNOW!
OpenGL version string: 1.3.1 NVIDIA 31.23
OpenGL extensions:
GL_ARB_multitexture, GL_ARB_imaging, GL_EXT_abgr
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 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x23 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x24 24 tc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x25 24 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x26 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 None
0x27 24 dc 0 32 0 r . . 8 8 8 0 0 24 8 16 16 16 16 0 0 None
0x28 24 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 None

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.