Error message during ATI driver load
Hi, I recently installed the driver for my ATI Radeon 9600 mobility on my laptop, and both 2d and 3d works pretty well. However when I scan my dmesg I can see the following error:
mtrr: 0xd0000000,0x4000000 overlaps existing 0xd0000000,0x1000000 [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22) The full list: NET: Registered protocol family 17 NET: Registered protocol family 10 Disabled Privacy Extensions on device c038f560(lo) IPv6 over IPv4 tunneling driver fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERM ANY' taints kernel. [fglrx] Maximum main memory to use for locked dma buffers: 432 MBytes. [fglrx] module loaded - fglrx 3.9.0 [May 11 2004] on minor 0 mtrr: 0xd0000000,0x4000000 overlaps existing 0xd0000000,0x1000000 [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22) Fire GL built-in AGP-support Based on agpgart interface v0.99 (c) Jeff Hartmann agpgart: Maximum main memory to use for agp memory: 439M agpgart: Detected a Via Apollo KT400 chipset in AGP v2 compat mode at 0000:00:00 .0 agpgart: Detected Via Apollo KT400 chipset agpgart: AGP aperture is 64M @ 0xe0000000 Power management callback for AGP chipset installed [fglrx] AGP detected, AgpState = 0x1f000a1b (hardware caps of chipset) AGP: Found 2 AGPv3 devices AGP: Doing enable for AGPv3 agpgart: Found an AGP 3.5 compliant device. [fglrx] AGP enabled, AgpCommand = 0x1f000312 (selected caps) [fglrx] free AGP = 54800384 [fglrx] max AGP = 54800384 [fglrx] free LFB = 55574528 [fglrx] max LFB = 55574528 [fglrx] free Inv = 0 [fglrx] max Inv = 0 [fglrx] total Inv = 0 [fglrx] total TIM = 0 [fglrx] total FB = 0 [fglrx] total AGP = 16384 eth0: no IPv6 routers present Anyone know is this is serius, or if I can gain even more "power" from the graficscard by fixing this error. And if this is so, how do I fix this. I have MTRR set as Yes in the kernel. The kernel by the way is 2.6.6, homebrew :) Regards |
No One???
|
Well, if you say your 2D and 3D is working fine, then I would just leave it alone and not worry about it. Maybe run fxlgear and post your results and we can tell you if it's running normally or not.
|
glxgears gives me:
5804 frames in 5.0 seconds = 1160.800 FPS 7504 frames in 5.0 seconds = 1500.800 FPS 9818 frames in 5.0 seconds = 1963.600 FPS 9803 frames in 5.0 seconds = 1960.600 FPS 9809 frames in 5.0 seconds = 1961.800 FPS 9796 frames in 5.0 seconds = 1959.200 FPS 9818 frames in 5.0 seconds = 1963.600 FPS 9817 frames in 5.0 seconds = 1963.400 FPS 9809 frames in 5.0 seconds = 1961.800 FPS 9810 frames in 5.0 seconds = 1962.000 FPS However even with just a few windows open in the back of the glxgears window, the frames drop to about a 1000. Here is the glxinfo araldit@laptop:~$ glxinfo name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: SGI server glx version string: 1.2 server glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context client glx vendor string: ATI client glx version string: 1.3 client glx extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context, GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float, GLX_ATI_render_texture GLX extensions: GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: MOBILITY RADEON 9600 Generic OpenGL version string: 1.3 (X4.3.0-3.9.0) OpenGL extensions: GL_ARB_multitexture, GL_EXT_texture_env_add, GL_EXT_compiled_vertex_array, GL_S3_s3tc, GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, GL_ARB_multisample, GL_ARB_occlusion_query, GL_ARB_point_parameters, GL_ARB_shadow, GL_ARB_shadow_ambient, 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_crossbar, GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, GL_ARB_transpose_matrix, GL_ARB_vertex_blend, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_window_pos, GL_ATI_draw_buffers, GL_ATI_element_array, GL_ATI_envmap_bumpmap, GL_ATI_fragment_shader, GL_ATI_map_object_buffer, GL_ATI_separate_stencil, GL_ATI_texture_env_combine3, GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_ATI_vertex_array_object, GL_ATI_vertex_attrib_array_object, GL_ATI_vertex_streams, GL_ATIX_texture_env_combine3, GL_ATIX_texture_env_route, GL_ATIX_vertex_shader_output_point_size, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 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_shadow_funcs, GL_EXT_stencil_wrap, GL_EXT_texgen_reflection, 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_bias, GL_EXT_texture_mirror_clamp, GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_EXT_vertex_shader, GL_HP_occlusion_test, GL_NV_texgen_reflection, GL_NV_blend_square, GL_NV_occlusion_query, GL_NV_point_sprite, GL_ARB_point_sprite, GL_SGI_color_matrix, GL_SGIS_texture_edge_clamp, GL_SGIS_texture_border_clamp, GL_SGIS_texture_lod, GL_SGIS_generate_mipmap, GL_SGIS_multitexture, GL_SUN_multi_draw_arrays 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 ---------------------------------------------------------------------- 0x23 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None 0x24 24 tc 0 24 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None 0x25 24 tc 0 24 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None 0x26 24 tc 0 24 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None 0x27 24 tc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x28 24 tc 0 24 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x29 24 tc 0 24 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x2a 24 tc 0 24 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x2b 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 16 16 16 16 1 0 None 0x2c 24 dc 0 24 0 r . . 8 8 8 8 0 24 8 16 16 16 16 1 0 None 0x2d 24 dc 0 24 0 r y . 8 8 8 8 0 24 0 16 16 16 16 1 0 None 0x2e 24 dc 0 24 0 r . . 8 8 8 8 0 24 0 16 16 16 16 1 0 None 0x2f 24 dc 0 24 0 r y . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x30 24 dc 0 24 0 r . . 8 8 8 8 0 24 8 0 0 0 0 1 0 None 0x31 24 dc 0 24 0 r y . 8 8 8 8 0 24 0 0 0 0 0 1 0 None 0x32 24 dc 0 24 0 r . . 8 8 8 8 0 24 0 0 0 0 0 1 0 None |
check your XF86config-4, under your flgrx configre check to see if DRI mtrr mapper is turned off. it should look like:
Option "mtrr" Off Also, I am under the assumption that you mtrr turned on in your kernel right? |
In my XF86config-4 it has the following line:
# === misc DRI settings === Option "mtrr" "off" # disable DRI mtrr mapper, driver has its own code for mtrr But you'r right, I have MTRR enabled as build in, in the kernel. Shouldn't it be? |
yup; that's right. What kernel are you running / have you tried running others?, also what version of the ATI drivers are you using? (i believe 3.9 are the latest)
|
Hi Im running with a selfcompiled kernel 2.6.6. And I installed the ATI drivers for a few weeks ago. I downloaded it from ATI.com for Xfree86 v.4.3.
Do you have an ati card? If so do you have any problems with error messages? |
I am using a self-compiled 2.6.7 kernel w/ ATI patch, and X 4.3.0.1; Using a ATI 9700 pro.
I posted on how I got this working in the linux - hardware forums - might want to check that out as well: http://www.linuxquestions.org/questi...ht=debian+9700 my dmesg ouput looks like: Code:
mtrr: v2.0 (20020519) Code:
(II) fglrx(0): === [R200PreInit] === begin, [s] |
here is the patch I used:
Code:
ld_mod-mreg_new/agpgart_be.c build_mod-mreg_new-mm/agpgart_be.c |
WOW!!! Thanks a lot.. Looks like your up and running. I will try to run through your post this evening.
Is it all working both 2d and 3d and so on.. Hope all my problem will soon be solved. |
Just to confirm, my mtrr looks like this:
araldit@laptop:~$ dmesg | grep mtrr mtrr: v2.0 (20020519) mtrr: 0xd0000000,0x4000000 overlaps existing 0xd0000000,0x1000000 [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22) |
That is correct, but mine does not have the errors of course.
|
Quote:
That being said, ...IIANM, your overlapping mtrr error comes from the fact that you're using vesafb and for that, the kernel already maps 16MB to vram, then the video driver tries to map the full video mem to the same address space, thus the overlapping error. See the output of cat /proc/mtrr and you should see one of the register has size=16MB Anyhow, it's been discussed more in details here and you should also find a couple of ways to fix the problem. HTH |
Ok, fixed it..
I've got mtrr correct by changing /proc/mtrr and it works. Im running the new kernel 2.6.7 now, and it seems ok. Any of you guys running Warcraft 3 or other OpenGl games? Im running Warcraft and theres some glitches with the Opengl parts not showing correctly.. This happens with both wine and Winex, so think its something with the opengl module.. Thought it might have something to do with the mtrr, but no change.. Any suggestions? |
All times are GMT -5. The time now is 06:16 PM. |