Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Direct Rendering will not turn on....

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

Direct Rendering will not turn on....

  • Quote

Post by metalh34d » Sun Jul 25, 2004 4:46 pm

I'm trying to use the new nvidia drivers. I've trouble shooted them down to a point where they load fine. GLX is working. However direct rendering won't turn on no matter what I seem to try. When I try to run S2's game "Savage" natively an error message pops up in the game windows saying it could not allocate agp memory. The mouse pointer moves very slow and choppy in this situation. Here's some sample results of probing.

Code: Select all

metalhead $ cat /proc/driver/nvidia/agp/status 
Status:          Enabled
Driver:          NVIDIA
AGP Rate:        8x
Fast Writes:     Enabled
SBA:             Enabled

Code: Select all

meta glxinfo 
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_SGI_make_current_read, 
    GLX_SGIS_multisample
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions:
    GL_ARB_depth_texture, GL_ARB_imaging, GL_ARB_multitexture, 
    GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_shadow_ambient, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_cube_map, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3, 
    GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, 
    GL_ARB_window_pos, 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_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_pixels, GL_EXT_polygon_offset, GL_EXT_rescale_normal, 
    GL_EXT_secondary_color, GL_EXT_separate_specular_color, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_subtexture, GL_EXT_texture, 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_lod_bias, GL_EXT_texture_object, GL_EXT_texture_rectangle, 
    GL_EXT_vertex_array, GL_APPLE_packed_pixels, GL_ATI_texture_mirror_once, 
    GL_ATI_texture_env_combine3, GL_IBM_texture_mirrored_repeat, 
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_NV_blend_square, 
    GL_NV_point_sprite, GL_NV_texgen_reflection, GL_NV_texture_rectangle, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture, 
    GL_SGIX_shadow, GL_SGIX_shadow_ambient
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess

Code: Select all

metallhead $ glxgears
1718 frames in 5.0 seconds = 343.600 FPS
1320 frames in 5.0 seconds = 264.000 FPS
1440 frames in 5.0 seconds = 288.000 FPS
1440 frames in 5.0 seconds = 288.000 FPS
1440 frames in 5.0 seconds = 288.000 FPS
My video card happens to be a GeForce4 Ti4200, 300fps is obviously not acceptable on a glxgears test... I need some help, I'm about dried up on ideas. Also you can find a copy of my xorg.conf file at ftp://metalhead.homelinux.net/xorg.conf
Top
kenthepostman
Apprentice
Apprentice
Posts: 245
Joined: Fri Jul 02, 2004 4:50 am
Location: Stanford, CA

  • Quote

Post by kenthepostman » Sun Jul 25, 2004 6:12 pm

Looking over the directions in the nvidia README and your xorg.conf I think I may have found a problem. In the readme it says:

In the Module section, make sure you have:

Load "glx"

You should also remove the following lines:

Load "dri"
Load "GLcore"

but in your xorg.conf you have the following lines:
# This loads the GLX module
Load "glx"
# This loads the DRI module
Load "dri"

you need to comment or remove the line:

Load "dri"

Try that and let me know what happens.
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Sun Jul 25, 2004 6:25 pm

you're right, I did over look the load dri. I had turned it on in my attempts to get direct rendering to enable. Unfortunately turning it back off did not seem to help out. I restarted the x server with the commented line. I took notice in the glxinfo that it was using mesa indirect renderer, but being unknowledgable to this sort of information, it has been rather difficult for me to come up with a conclusion.
Top
sdaffis
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 100
Joined: Sun Nov 16, 2003 5:18 pm
Location: Umeå, Sweden

  • Quote

Post by sdaffis » Sun Jul 25, 2004 10:44 pm

And you have done

Code: Select all

opengl-update nvidia
too? I don't mean to belittle you or anything, just checking :)
Believe the lie
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Mon Jul 26, 2004 3:32 am

No, I have done opengl-update xorg-x11 as I use x.org
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Mon Jul 26, 2004 3:55 am

direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:

client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:

OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.4 Mesa 5.0.2)
OpenGL extensions:


...see I get the feeling using Silicon Graphics and Mesa is the wrong idea when using nvidia hardware...
Top
John5788
Advocate
Advocate
User avatar
Posts: 2140
Joined: Tue Apr 06, 2004 11:38 pm
Location: 127.0.0.1
Contact:
Contact John5788
Website

  • Quote

Post by John5788 » Mon Jul 26, 2004 4:28 am

metalh34d wrote:No, I have done opengl-update xorg-x11 as I use x.org
yeah but do opengl-update nvidia to switch to the hardware accelerated opengl libraries from nvidia. ur using the software ones from xorg.
John5788
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Mon Jul 26, 2004 4:34 am

the problem with that is when I do that I can't startx or access glxinfo/glxgears or start any games. The reason given is this:

System_Init()
Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct.


...still no solution =/
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Mon Jul 26, 2004 6:07 pm

the ftp site now includes a copy of my kernel config as well as a nvidia-bug report using its new script.
Top
huw
Apprentice
Apprentice
User avatar
Posts: 220
Joined: Mon May 13, 2002 10:18 am
Location: UK

  • Quote

Post by huw » Mon Jul 26, 2004 6:26 pm

Code: Select all

Error: Could not open /dev/nvidiactl because the permissions
are too resticitive. Please see the FREQUENTLY ASKED QUESTIONS
section of /usr/share/doc/NVIDIA_GLX-1.0/README for steps
to correct. 
did the FAQ shed any light?

I would guess it's to do with

Code: Select all

# Section "DRI"
#    Mode 0666
# EndSection
Top
metalh34d
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Wed Feb 04, 2004 3:35 pm

  • Quote

Post by metalh34d » Mon Jul 26, 2004 6:44 pm

you know, after reading that once last night, one more time this morning after you suggested it... I woke up and came to my senses and used ctrl+w in nano to find the exact spot I was looking for without reading over it again... Anyway commenting out the lines in the file rebooting the xserver and running opengl-update nvidia did solve the problem, thanks a bunch!
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic