LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Error message during ATI driver load (https://www.linuxquestions.org/questions/linux-hardware-18/error-message-during-ati-driver-load-202079/)

araldit 07-07-2004 04:42 AM

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

araldit 07-08-2004 11:26 AM

No One???

Micro420 07-08-2004 04:05 PM

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.

araldit 07-09-2004 02:08 AM

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

Cohobin 07-09-2004 02:16 AM

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?

araldit 07-09-2004 02:23 AM

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?

Cohobin 07-09-2004 02:29 AM

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)

araldit 07-09-2004 04:35 AM

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?

Cohobin 07-09-2004 09:04 AM

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)
my XF86 logfile looks like this (using only relavent information):

Code:

(II) fglrx(0): === [R200PreInit] === begin, [s]
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(II) fglrx(0): PCI bus 1 card 0 func 0
(**) fglrx(0): Depth 24, (--) framebuffer bpp 32
(II) fglrx(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
(==) fglrx(0): Default visual is TrueColor
(**) fglrx(0): Option "NoAccel" "no"
(**) fglrx(0): Option "NoDRI" "no"
(**) fglrx(0): Option "Capabilities" "0x00000000"
(**) fglrx(0): Option "KernelModuleParm" "agplock=0"
(**) fglrx(0): Option "GammaCorrectionI" "0x00000000"
(**) fglrx(0): Option "GammaCorrectionII" "0x00000000"
(**) fglrx(0): Option "OpenGLOverlay" "off"
(**) fglrx(0): Option "VideoOverlay" "on"
(**) fglrx(0): Option "DesktopSetup" "0x00000000"
(**) fglrx(0): Option "MonitorLayout" "AUTO, AUTO"
(**) fglrx(0): Option "HSync2" "unspecified"
(**) fglrx(0): Option "VRefresh2" "unspecified"
(**) fglrx(0): Option "ScreenOverlap" "0"
(**) fglrx(0): Option "IgnoreEDID" "off"
(**) fglrx(0): Option "UseInternalAGPGART" "no"
(**) fglrx(0): Option "Stereo" "off"
(**) fglrx(0): Option "StereoSyncEnable" "1"
(**) fglrx(0): Option "UseFastTLS" "2"
(**) fglrx(0): Option "BlockSignalsOnLock" "on"
(**) fglrx(0): Option "ForceGenericCPU" "no"
(**) fglrx(0): Option "CenterMode" "off"
(**) fglrx(0): Option "FSAAScale" "2"
(**) fglrx(0): Option "FSAAEnable" "yes"
(**) fglrx(0): Option "EnablePrivateBackZ" "yes"
(**) fglrx(0): Option "FSAADisableGamma" "no"
(**) fglrx(0): Option "FSAACustomizeMSPos" "no"
(**) fglrx(0): Option "FSAAMSPosX0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY0" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY1" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY2" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY3" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY4" "0.000000"
(**) fglrx(0): Option "FSAAMSPosX5" "0.000000"
(**) fglrx(0): Option "FSAAMSPosY5" "0.000000"
(**) fglrx(0): Option "NoTV" "yes"
(**) fglrx(0): Option "TVStandard" "NTSC-M"
(**) fglrx(0): Option "TVHSizeAdj" "0"
(**) fglrx(0): Option "TVVSizeAdj" "0"
(**) fglrx(0): Option "TVHPosAdj" "0"
(**) fglrx(0): Option "TVVPosAdj" "0"
(**) fglrx(0): Option "TVHStartAdj" "0"
(**) fglrx(0): Option "TVColorAdj" "0"
(**) fglrx(0): Option "PseudoColorVisuals" "off"
(**) fglrx(0): Qbs disabled
(==) fglrx(0): RGB weight 888
(II) fglrx(0): Using 8 bits per RGB (8 bit DAC)
(**) fglrx(0): Gamma Correction for I is 0x00000000
(**) fglrx(0): Gamma Correction for II is 0x00000000
(==) fglrx(0): Buffer Tiling is ON
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.0.0
        ABI class: XFree86 Video Driver, version 0.6
(II) fglrx(0): initializing int10
(II) fglrx(0): Primary V_BIOS segment is: 0xc000
(**) fglrx(0): Option "mtrr" "off"
(--) fglrx(0): Chipset: "ATI R300 ND (R9700 PRO)" (Chipset = 0x4e44)
(--) fglrx(0): (PciSubVendor = 0x1002, PciSubDevice = 0x0002)
(--) fglrx(0): board vendor info: original ATI grafics adapter
(--) fglrx(0): Linear framebuffer (phys) at 0xf0000000
(--) fglrx(0): MMIO registers at 0xdf000000
(--) fglrx(0): ROM-BIOS at 0xeffe0000
(--) fglrx(0): ChipExtRevID = 0x00
(--) fglrx(0): ChipIntRevID = 0x02
(--) fglrx(0): VideoRAM: 131072 kByte (64-bit SDR SDRAM)
(II) fglrx(0): board/chipset is supported by this driver (original ATI board)

(II) fglrx(0): I2C bus "DDC" initialized.
(II) fglrx(0): Connector Layout from BIOS --------
(II) fglrx(0): Connector1: DDCType-3, DACType-0, TMDSType--1, ConnectorType-2
(II) fglrx(0): Connector0: DDCType-2, DACType-1, TMDSType-0, ConnectorType-3
(**) fglrx(0): MonitorLayout Option:
        Monitor1--Type AUTO, Monitor2--Type AUTO

(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 2 with Monitor Type 0
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): I2C device "DDC:ddc2" registered at address 0xA0.
(II) fglrx(0): I2C device "DDC:ddc2" removed.
(II) fglrx(0): DDC detected on DDCType 3 with Monitor Type 1
(II) fglrx(0): Primary head:
 Monitor  -- NONE
 Connector -- DVI-I
 DAC Type  -- TVDAC/ExtDAC
 TMDS Type -- Internal
 DDC Type  -- DVI_DDC
(II) fglrx(0): Secondary head:
 Monitor  -- CRT
 Connector -- VGA
 DAC Type  -- Primary
 TMDS Type -- NONE
 DDC Type  -- VGA_DDC
(II) fglrx(0): EDID data from the display on Secondary head ---------------------------
(II) fglrx(0): Manufacturer: SNY  Model: ab0  Serial#: 8001627
(II) fglrx(0): Year: 2002  Week: 29
(II) fglrx(0): EDID Version: 1.3
(II) fglrx(0): Analog Display Input,  Input Voltage Level: 0.700/0.300 V
(II) fglrx(0): Sync:  Separate  Composite  SyncOnGreen
(II) fglrx(0): Max H-Image Size [cm]: horiz.: 40  vert.: 30
(II) fglrx(0): Gamma: 2.50
(II) fglrx(0): DPMS capabilities: Off; RGB/Color Display
(II) fglrx(0): First detailed timing is preferred mode
(II) fglrx(0): GTF timings supported
(II) fglrx(0): redX: 0.625 redY: 0.340  greenX: 0.280 greenY: 0.605
(II) fglrx(0): blueX: 0.155 blueY: 0.070  whiteX: 0.283 whiteY: 0.298
(II) fglrx(0): Supported VESA Video Modes:
(II) fglrx(0): 720x400@70Hz
(II) fglrx(0): 720x400@88Hz
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): 640x480@60Hz
(II) fglrx(0): 640x480@67Hz
(II) fglrx(0): 640x480@72Hz
(II) fglrx(0): 640x480@75Hz
(II) fglrx(0): 800x600@56Hz
(II) fglrx(0): 800x600@60Hz
(II) fglrx(0): 800x600@72Hz
(II) fglrx(0): 800x600@75Hz
(II) fglrx(0): 832x624@75Hz
(II) fglrx(0): 1024x768@87Hz (interlaced)
(II) fglrx(0): 1024x768@60Hz
(II) fglrx(0): 1024x768@70Hz
(II) fglrx(0): 1024x768@75Hz
(II) fglrx(0): 1280x1024@75Hz
(II) fglrx(0): 1152x870@75Hz
(II) fglrx(0): Manufacturer's mask: 0
(II) fglrx(0): Supported Future Video Modes:
(II) fglrx(0): #0: hsize: 2048  vsize 1536  refresh: 65  vid: 17889
(II) fglrx(0): #1: hsize: 1280  vsize 960  refresh: 75  vid: 20353
(II) fglrx(0): #2: hsize: 1152  vsize 864  refresh: 85  vid: 22897
(II) fglrx(0): #3: hsize: 1600  vsize 1200  refresh: 85  vid: 22953
(II) fglrx(0): #4: hsize: 1280  vsize 1024  refresh: 85  vid: 39297
(II) fglrx(0): #5: hsize: 1024  vsize 768  refresh: 85  vid: 22881
(II) fglrx(0): #6: hsize: 800  vsize 600  refresh: 85  vid: 22853
(II) fglrx(0): #7: hsize: 640  vsize 480  refresh: 85  vid: 22833
(II) fglrx(0): Supported additional Video Mode:
(II) fglrx(0): clock: 157.5 MHz  Image Size:  388 x 291 mm
(II) fglrx(0): h_active: 1280  h_sync: 1344  h_sync_end 1504 h_blank_end 1728 h_border: 0
(II) fglrx(0): v_active: 1024  v_sync: 1025  v_sync_end 1028 v_blanking: 1072 v_border: 0
(II) fglrx(0): Ranges: V min: 48  V max: 170 Hz, H min: 30  H max: 110 kHz, PixClock max 330 MHz
(II) fglrx(0): Monitor name: CPD-E540
(II) fglrx(0): Serial No: 8001627
(II) fglrx(0):
(II) fglrx(0): DesktopSetup 0x0000
(**) fglrx(0):  PseudoColor visuals disabled
(**) fglrx(0): Overlay disabled
(**) fglrx(0): Overlay disabled
(II) fglrx(0): PLL parameters: rf=2700 rd=12 min=20000 max=40000; xclk=31000
(==) fglrx(0): Using gamma correction (1.0, 1.0, 1.0)
(**) fglrx(0): Center Mode is disabled
(==) fglrx(0): TMDS coherent mode is enabled
(II) fglrx(0): Total 6 valid mode(s) found.
(--) fglrx(0): Virtual size is 1600x1200 (pitch 1600)
(**) fglrx(0): *Default mode "1600x1200": 229.5 MHz (scaled from 0.0 MHz), 106.2 kHz, 85.0 Hz
(II) fglrx(0): Modeline "1600x1200"  229.50  1600 1664 1856 2160  1200 1201 1204 1250 +hsync +vsync
(**) fglrx(0): *Default mode "1280x1024": 157.5 MHz (scaled from 0.0 MHz), 91.1 kHz, 85.0 Hz
(II) fglrx(0): Modeline "1280x1024"  157.50  1280 1344 1504 1728  1024 1025 1028 1072
(**) fglrx(0): *Default mode "1024x768": 94.5 MHz (scaled from 0.0 MHz), 68.7 kHz, 85.0 Hz
(II) fglrx(0): Modeline "1024x768"  94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync
(**) fglrx(0):  Default mode "832x624": 57.3 MHz (scaled from 0.0 MHz), 49.7 kHz, 74.6 Hz
(II) fglrx(0): Modeline "832x624"  57.28  832 864 928 1152  624 625 628 667 -hsync -vsync
(**) fglrx(0): *Default mode "800x600": 56.3 MHz (scaled from 0.0 MHz), 53.7 kHz, 85.1 Hz
(II) fglrx(0): Modeline "800x600"  56.30  800 832 896 1048  600 601 604 631 +hsync +vsync
(**) fglrx(0): *Default mode "640x480": 36.0 MHz (scaled from 0.0 MHz), 43.3 kHz, 85.0 Hz
(II) fglrx(0): Modeline "640x480"  36.00  640 696 752 832  480 481 484 509 -hsync -vsync
(++) fglrx(0): DPI set to (100, 100)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.0.0
        ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.6
(**) fglrx(0): NoAccel = NO
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
        compiled for 4.3.0.1, module version = 1.1.0
        ABI class: XFree86 Video Driver, version 0.6
(==) fglrx(0): HPV inactive
(**) fglrx(0): FSAA enabled: YES
(**) fglrx(0): FSAA Gamma enabled
(**) fglrx(0): FSAA Multisample Position is fix
(**) fglrx(0): NoDRI = NO
(II) Loading sub module "fglrxdrm"
(II) LoadModule: "fglrxdrm"
(II) Loading /usr/X11R6/lib/modules/linux/libfglrxdrm.a
(II) Module fglrxdrm: vendor="Fire GL - ATI Research GmbH, Germany"
        compiled for 4.3.0.1, module version = 3.9.0
        ABI class: XFree86 Server Extension, version 0.2
(II) fglrx(0): Depth moves disabled by default
(**) fglrx(0): Capabilities: 0x00000000
(**) fglrx(0): cpuFlags: 0x4000000f
(**) fglrx(0): cpuSpeedMHz: 0x000006bd
(==) fglrx(0): OpenGL ClientDriverName: "fglrx_dri.so"
(**) fglrx(0): using built in AGPGART module: no
(**) fglrx(0): KernelModuleParm: "agplock=0"
(**) fglrx(0): UseFastTLS=2
(**) fglrx(0): BlockSignalsOnLock=1
(**) fglrx(0): EnablePrivateBackZ = YES
(II) fglrx(0): using CAIL version [ATI LIB=CAIL.LIB,IA32,2.0024]
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC?  No, I don't.
(II) resource ranges after preInit:
        [0] 0  0      0xdf000000 - 0xdf00ffff (0x10000) MX[B]
        [1] 0  0      0xf0000000 - 0xf7ffffff (0x8000000) MX[B]
        [2] -1  0      0xffe00000 - 0xffffffff (0x200000) MX[B](B)
        [3] -1  0      0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
        [4] -1  0      0x000f0000 - 0x000fffff (0x10000) MX[B]
        [5] -1  0      0x000c0000 - 0x000effff (0x30000) MX[B]
        [6] -1  0      0x00000000 - 0x0009ffff (0xa0000) MX[B]
        [7] -1  0      0xdd000000 - 0xdd0000ff (0x100) MX[B]
        [8] -1  0      0xdd800000 - 0xdd83ffff (0x40000) MX[B]
        [9] -1  0      0xde000000 - 0xde001fff (0x2000) MX[B]
        [10] -1 0      0xfc000000 - 0xfbffffff (0x0) MX[B]O
        [11] -1 0      0xeffe0000 - 0xefffffff (0x20000) MX[B](B)
        [12] -1 0      0xdf000000 - 0xdf00ffff (0x10000) MX[B](B)
        [13] -1 0      0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B)
        [14] -1 0      0xde800000 - 0xde80ffff (0x10000) MX[B](B)
        [15] -1 0      0xe0000000 - 0xe7ffffff (0x8000000) MX[B](B)
        [16] 0  0      0x000a0000 - 0x000affff (0x10000) MS[B]
        [17] 0  0      0x000b0000 - 0x000b7fff (0x8000) MS[B]
        [18] 0  0      0x000b8000 - 0x000bffff (0x8000) MS[B]
        [19] 0  0      0x0000d800 - 0x0000d8ff (0x100) IX[B]
        [20] -1 0      0x0000ffff - 0x0000ffff (0x1) IX[B]
        [21] -1 0      0x00000000 - 0x000000ff (0x100) IX[B]
        [22] -1 0      0x00009800 - 0x0000980f (0x10) IX[B]
        [23] -1 0      0x0000a000 - 0x0000a01f (0x20) IX[B]
        [24] -1 0      0x0000a400 - 0x0000a41f (0x20) IX[B]
        [25] -1 0      0x0000a800 - 0x0000a81f (0x20) IX[B]
        [26] -1 0      0x0000b000 - 0x0000b07f (0x80) IX[B]
        [27] -1 0      0x0000b400 - 0x0000b407 (0x8) IX[B]
        [28] -1 0      0x0000b800 - 0x0000b81f (0x20) IX[B]
        [29] -1 0      0x0000d800 - 0x0000d8ff (0x100) IX[B](B)
        [30] 0  0      0x000003b0 - 0x000003bb (0xc) IS[B]
        [31] 0  0      0x000003c0 - 0x000003df (0x20) IS[B]
(II) fglrx(0): UMM area:    0xf0953000 (size=0x076ad000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(II) fglrx(0): detected XFree86 version: 4.3.0
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe08f4000
(II) fglrx(0): [drm] mapped SAREA 0xe08f4000 to 0x40235000
(II) fglrx(0): [drm] framebuffer handle = 0xf0000000
(II) fglrx(0): [drm] added 1 reserved context for kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0):    Name: fglrx
(II) fglrx(0):    Version: 3.9.0
(II) fglrx(0):    Date: May 11 2004
(II) fglrx(0):    Desc: ATI Fire GL DRM kernel module
(II) fglrx(0): Kernel Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II) fglrx(0):    Build-Kernel UTS_RELEASE:        2.6.7
(II) fglrx(0):    Build-Kernel MODVERSIONS:        no
(II) fglrx(0):    Build-Kernel __SMP__:            no
(II) fglrx(0):    Build-Kernel PAGE_SIZE:          0x1000
(II) fglrx(0): [drm] register handle = 0xdf000000
(II) fglrx(0): [agp] Mode=0x1f000a1b bridge: 0x1106/0x3189
(II) fglrx(0): [agp] AGP v1/2 disable mask 0x00000000
(II) fglrx(0): [agp] AGP v3 disable mask  0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f000b1a
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f000312)
(II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe8ae6000
(II) fglrx(0): shared FSAAScale=2
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xf0000000 FBMappedSize: 0x00953000
(II) fglrx(0): FBMM initialized for area (0,0)-(1600,1527)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1600,1200) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1200)
(II) fglrx(0): Largest offscreen area available: 1600 x 319
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0): Using XFree86 Acceleration Architecture (XAA)
        Screen to screen bit blits
        Solid filled rectangles
        8x8 mono pattern filled rectangles
        Solid Lines
        Dashed Lines
        Offscreen Pixmaps
        Setting up tile and stipple cache:
                24 128x128 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): X context handle = 0x00000001
(II) fglrx(0): [DRI] installation complete
(II) fglrx(0): Direct rendering enabled
(II) Loading extension FGLRXEXTENSION
(II) Loading extension ATITVOUT


Cohobin 07-09-2004 09:08 AM

here is the patch I used:

Code:

ld_mod-mreg_new/agpgart_be.c build_mod-mreg_new-mm/agpgart_be.c
--- build_mod-mreg_new/agpgart_be.c    2004-05-15 03:45:48.000000000 +0300
+++ build_mod-mreg_new-mm/agpgart_be.c  2004-05-15 03:18:30.000000000 +0300
@@ -1402,7 +1402,8 @@ unsigned long agp_generic_alloc_page(voi
    }
 #endif

-    atomic_inc(&page->count);
+    //atomic_inc(&page->count);
+    get_page(page);
    set_bit(PG_locked, &page->flags);
    atomic_inc(&agp_bridge.current_memory_agp);

@@ -4413,7 +4414,8 @@ static unsigned long ali_alloc_page(void
    if (page == NULL)
          return 0;

-    atomic_inc(&page->count);
+    //atomic_inc(&page->count);
+    get_page(page);
    set_bit(PG_locked, &page->flags);
    atomic_inc(&agp_bridge.current_memory_agp);

diff -uprN build_mod-mreg_new/firegl_public.c build_mod-mreg_new-mm/firegl_public.c
--- build_mod-mreg_new/firegl_public.c  2004-05-15 03:45:06.000000000 +0300
+++ build_mod-mreg_new-mm/firegl_public.c      2004-05-15 03:25:13.000000000 +0300
@@ -2066,7 +2066,8 @@ static vm_nopage_ret_t vm_shm_nopage(str
    pMmPage = virt_to_page(kaddr);
 #endif /* LINUX_VERSION_CODE < 0x020400 */

-    atomic_inc(&(pMmPage->count));  /* inc usage count of page */
+    //atomic_inc(&(pMmPage->count));  /* inc usage count of page */
+    get_page(pMmPage);

 #if LINUX_VERSION_CODE >= 0x020400
  //  __KE_DEBUG3("vm-address 0x%08lx => kernel-page-address 0x%p\n",


araldit 07-09-2004 09:15 AM

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.

araldit 07-09-2004 10:11 AM

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)

Cohobin 07-09-2004 01:53 PM

That is correct, but mine does not have the errors of course.

UnTamed 07-09-2004 06:28 PM

Quote:

Originally posted by araldit
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)

The patch posted by Cohobin won't be required until you upgrade your kernel to 2.6.7 or if you applied a -mm patch to your 2.6.6 kernel.

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

araldit 07-10-2004 08:53 AM

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.