Announcement

Collapse
No announcement yet.

DRI init changed memory map

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • DRI init changed memory map

    I noticed for some time that xorg.0.log gives warnings about changed memory map for dri under exa section. Considering earlier mention of memory bug for 3d, are these warnings related?

    Hardware: hd3200 (780g) integrated.
    drm is agd5f's 3D branch
    mesa is r6xx-rewrite branch
    edit: Using xf86-video-ati

    Relevant Warnings.
    Code:
    (WW) RADEON(0): DRI init changed memory map, adjusting ...
    (WW) RADEON(0):   MC_FB_LOCATION  was: 0x00cf00c0 is: 0x00cf00c0
    (WW) RADEON(0):   MC_AGP_LOCATION was: 0x003f0000 is: 0x00030000
    Larger Section from the log.
    Code:
    (==) RADEON(0): Will attempt to use R6xx/R7xx EXA support if DRI is enabled.
    (II) Loading sub module "exa"
    (II) LoadModule: "exa"
    (II) Loading /usr/lib64/xorg/modules//libexa.so
    (II) Module exa: vendor="X.Org Foundation"
    	compiled for 1.6.1, module version = 2.4.0
    	ABI class: X.Org Video Driver, version 5.0
    (!!) RADEON(0): For information on using the multimedia capabilities
    	of this adapter, please see http://gatos.sf.net.
    (!!) RADEON(0): MergedFB support has been removed and replaced with xrandr 1.2 support
    (--) Depth 24 pixmap format is 32 bpp
    (II) do I need RAC?  No, I don't.
    (II) resource ranges after preInit:
    	[0] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
    	[1] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
    	[2] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
    	[3] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
    	[4] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
    	[5] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
    	[6] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
    	[7] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
    	[8] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
    	[9] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
    	[10] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
    	[11] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
    	[12] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
    	[13] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
    	[14] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
    	[15] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
    	[16] -1	0	0xffffffff - 0xffffffff (0x1) MX[B]
    	[17] -1	0	0x000f0000 - 0x000fffff (0x10000) MX[B]
    	[18] -1	0	0x000c0000 - 0x000effff (0x30000) MX[B]
    	[19] -1	0	0x00000000 - 0x0009ffff (0xa0000) MX[B]
    	[20] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B](OprU)
    	[21] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B](OprU)
    	[22] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B](OprU)
    	[23] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[24] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[25] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[26] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[27] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[28] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[29] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[30] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[31] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[32] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[33] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B](OprU)
    	[34] 0	0	0x000003c0 - 0x000003df (0x20) IS[B](OprU)
    (II) RADEON(0): RADEONScreenInit d0000000 0 0
    (II) RADEON(0): DIG0 transmitter: Coherent Mode enabled
    Output DIG0 transmitter setup success
    Blank CRTC 0 success
    Disable CRTC 0 success
    Disable CRTC memreq 0 success
    Blank CRTC 1 success
    Disable CRTC 1 success
    Disable CRTC memreq 1 success
    (II) RADEON(0): Dynamic Power Management Disabled
    (==) RADEON(0): Using 24 bit depth buffer
    (II) RADEON(0): RADEONInitMemoryMap() : 
    (II) RADEON(0):   mem_size         : 0x10000000
    (II) RADEON(0):   MC_FB_LOCATION   : 0x00cf00c0
    (II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
    (II) RADEON(0): Depth moves disabled by default
    (II) RADEON(0): Allocating from a screen of 262080 kb
    (II) RADEON(0): Will use 32 kb for hardware cursor 0 at offset 0x00f00000
    (II) RADEON(0): Will use 32 kb for hardware cursor 1 at offset 0x00f04000
    (II) RADEON(0): Will use 15360 kb for front buffer at offset 0x00000000
    (II) RADEON(0): Will use 64 kb for PCI GART at offset 0x0fff0000
    (II) RADEON(0): Will use 15360 kb for back buffer at offset 0x00f08000
    (II) RADEON(0): Will use 15360 kb for depth buffer at offset 0x01e08000
    (II) RADEON(0): Will use 107520 kb for textures at offset 0x02d08000
    (II) RADEON(0): Will use 108448 kb for X Server offscreen at offset 0x09608000
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:01:05.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 12, (OK)
    drmOpenByBusid: drmOpenMinor returns 12
    drmOpenByBusid: drmGetBusid reports pci:0000:01:05.0
    (II) [drm] DRM interface version 1.3
    (II) [drm] DRM open master succeeded.
    (II) RADEON(0): [drm] Using the DRM lock SAREA also for drawables.
    (II) RADEON(0): [drm] framebuffer handle = 0xd0000000
    (II) RADEON(0): [drm] added 1 reserved context for kernel
    (II) RADEON(0): X context handle = 0x1
    (II) RADEON(0): [drm] installed DRM signal handler
    (II) RADEON(0): [pci] 32768 kB allocated with handle 0x1426d200
    (II) RADEON(0): [pci] ring handle = 0x1effe000
    (II) RADEON(0): [pci] Ring mapped at 0x7fe3b7d14000
    (II) RADEON(0): [pci] Ring contents 0x00000000
    (II) RADEON(0): [pci] ring read ptr handle = 0x2effe000
    (II) RADEON(0): [pci] Ring read ptr mapped at 0x7fe3b7e2f000
    (II) RADEON(0): [pci] Ring read ptr contents 0x00000000
    (II) RADEON(0): [pci] vertex/indirect buffers handle = 0x1f000000
    (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x7fe3a38fa000
    (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00000000
    (II) RADEON(0): [pci] GART texture map handle = 0x1f001000
    (II) RADEON(0): [pci] GART Texture map mapped at 0x7fe3a1c7a000
    (II) RADEON(0): [drm] register handle = 0xfdfe0000
    (II) RADEON(0): [dri] Visual configs initialized
    (II) RADEON(0): RADEONRestoreMemMapRegisters() : 
    (II) RADEON(0):   MC_FB_LOCATION   : 0x00cf00c0 0x00cf00c0
    (II) RADEON(0):   MC_AGP_LOCATION  : 0x003f0000
    (==) RADEON(0): Backing store disabled
    (II) RADEON(0): [DRI] installation complete
    (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
    (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
    (II) RADEON(0): [drm] dma control initialized, using IRQ 18
    (II) RADEON(0): [drm] Initialized kernel GART heap manager, 29884416
    (WW) RADEON(0): DRI init changed memory map, adjusting ...
    (WW) RADEON(0):   MC_FB_LOCATION  was: 0x00cf00c0 is: 0x00cf00c0
    (WW) RADEON(0):   MC_AGP_LOCATION was: 0x003f0000 is: 0x00030000
    (II) RADEON(0): RADEONRestoreMemMapRegisters() : 
    (II) RADEON(0):   MC_FB_LOCATION   : 0x00cf00c0 0x00cf00c0
    (II) RADEON(0):   MC_AGP_LOCATION  : 0x00030000
    (II) RADEON(0): Direct rendering enabled
    (II) RADEON(0): Setting EXA maxPitchBytes
    (**) RADEON(0): Option "MigrationHeuristic" "greedy"
    (**) RADEON(0): Option "EXANoComposite" "true"
    (**) RADEON(0): Option "EXANoUploadToScreen"
    (**) RADEON(0): Option "EXANoDownloadFromScreen"
    (**) RADEON(0): EXA: Disabling Composite operation (RENDER acceleration)
    (**) RADEON(0): EXA: Disabling UploadToScreen
    (**) RADEON(0): EXA: Disabling DownloadFromScreen
    (II) EXA(0): Offscreen pixmap area of 111050752 bytes
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II) RADEON(0): Acceleration enabled
    (**) Option "dpms" "true"
    (**) RADEON(0): DPMS enabled

  • #2
    This has nothing to due with EXA, and can be safely ignored. Both the ddx and the drm have to have a consistent view of the memory controller setup. So after the drm init has run the ddx updates its view.

    What "memory bug for 3d" are you referring to?

    Comment


    • #3
      What "memory bug for 3d" are you referring to?
      That comment stemmed from brdgman posts. Two might have been:

      1 and 2

      There may have been others.

      I used the 3D reference with those related to glxinfo lockups.

      Edit: I meant glxgears lockups. glxinfo works ok.

      Thank you for response.
      Last edited by forum1793; 11 July 2009, 06:39 PM.

      Comment


      • #4
        That's an issue in the work-in-process 3d driver as far as we know.
        Test signature

        Comment

        Working...
        X