Announcement

Collapse
No announcement yet.

Power management on radeon git

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

  • Power management on radeon git

    I'm on RV380 hardware (M22). System environment is Ubuntu Karmic with kernel, libdrm, xf86-video-ati and mesa at git master. The chip is running a lot hotter than normal in 2D desktop. And Xorg.log tells me that the PM options are unused. Are they completely disabled or is it KMS/DRI2 that are not allowing their use?

    xorg.conf:
    Code:
    Section "ServerLayout"
    	Identifier     "aticonfig Layout"
    	Screen      0  "Default Screen" 0 0
    EndSection
    
    Section "Files"
    EndSection
    
    Section "Module"
    	Load  "glx"
    EndSection
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section	"Device"
    	Identifier	"avoin"
    	Driver		"ati"
    	Option		"AccelMethod"		"EXA"
    	Option		"DynamicClocks"		"true"
    	Option		"ClockGating"		"true"
    	Option		"DynamicPM"		"true"
    	Option		"EnablePageFlip"	"true"
    #	Option		"RenderAccel"		"true"
    #	Option		"IgnoreEDID"		"true"
    #	Option		"ColorTiling"		"true"
    #	Option		"IgnoreLidStatus"	"false"
    #	Option		"RenderAccel"		"false"
    #	Option		"AccelDFS"		"false"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Device		"avoin"
    	Monitor		"Configured Monitor"
    	DefaultDepth	24
    	SubSection "Display"
    		Depth 15
    	EndSubSection
    	SubSection "Display"
    		Depth 16
    	EndSubSection
    	SubSection "Display"
    		Depth 24
    	EndSubSection
    EndSection
    Xorg.0.log:
    Code:
    X.Org X Server 1.6.1.901 (1.6.2 RC 1)
    /* snip */
    (--) PCI:*(0@1:0:0) ATI Technologies Inc M22 [Mobility Radeon X300] rev 0, Mem @ 0xc0000000/134217728, 0xb0100000/65536, I/O @ 0x00002000/256, BIOS @ 0x????????/131072
    (II) Open ACPI successful (/var/run/acpid.socket)
    /* snip */
    (II) LoadModule: "dri"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri.so
    (II) Module dri: vendor="X.Org Foundation"
    	compiled for 1.6.1.901, module version = 1.0.0
    	ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension XFree86-DRI
    (II) LoadModule: "dri2"
    (II) Loading /usr/lib/xorg/modules/extensions//libdri2.so
    (II) Module dri2: vendor="X.Org Foundation"
    	compiled for 1.6.1.901, module version = 1.0.0
    	ABI class: X.Org Server Extension, version 2.0
    (II) Loading extension DRI2
    (II) LoadModule: "ati"
    (II) Loading /usr/lib/xorg/modules/drivers//ati_drv.so
    (II) Module ati: vendor="X.Org Foundation"
    	compiled for 1.6.1.901, module version = 6.12.99
    	Module class: X.Org Video Driver
    	ABI class: X.Org Video Driver, version 5.0
    (II) LoadModule: "radeon"
    (II) Loading /usr/lib/xorg/modules/drivers//radeon_drv.so
    (II) Module radeon: vendor="X.Org Foundation"
    	compiled for 1.6.1.901, module version = 6.12.99
    	Module class: X.Org Video Driver
    	ABI class: X.Org Video Driver, version 5.0
    /* snip */
    (II) [KMS] Kernel modesetting enabled.
    (II) resource ranges after probing:
    	[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] 0	0	0x000a0000 - 0x000affff (0x10000) MS[B]
    	[5] 0	0	0x000b0000 - 0x000b7fff (0x8000) MS[B]
    	[6] 0	0	0x000b8000 - 0x000bffff (0x8000) MS[B]
    	[7] -1	0	0x0000ffff - 0x0000ffff (0x1) IX[B]
    	[8] -1	0	0x00000000 - 0x00000000 (0x1) IX[B]
    	[9] 0	0	0x000003b0 - 0x000003bb (0xc) IS[B]
    	[10] 0	0	0x000003c0 - 0x000003df (0x20) IS[B]
    (II) Setting vga for screen 0.
    (**) RADEON(0): Depth 24, (--) framebuffer bpp 32
    (II) RADEON(0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
    (==) RADEON(0): Default visual is TrueColor
    (**) RADEON(0): Option "EnablePageFlip" "true"
    (**) RADEON(0): Option "AccelMethod" "EXA"
    (==) RADEON(0): RGB weight 888
    (II) RADEON(0): Using 8 bits per RGB (8 bit DAC)
    (--) RADEON(0): Chipset: "ATI Radeon Mobility X300 (M22) 5460 (PCIE)" (ChipID = 0x5460)
    (II) RADEON(0): PCIE card detected
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: Searching for BusID pci:0000:01:00.0
    drmOpenDevice: node name is /dev/dri/card0
    drmOpenDevice: open result is 8, (OK)
    drmOpenByBusid: drmOpenMinor returns 8
    drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
    (II) [drm] DRM interface version 1.3
    (II) [drm] DRM open master succeeded.
    /* snip */
    (II) RADEON(0): [DRI2] Setup complete
    (II) RADEON(0): Front buffer size: 3072K
    (II) RADEON(0): Remaining VRAM size (used for pixmaps): 58336K
    (==) RADEON(0): Backing store disabled
    (II) RADEON(0): Direct rendering enabled
    (II) RADEON(0): Render acceleration enabled for R300/R400/R500 type cards.
    (II) RADEON(0): Setting EXA maxPitchBytes
    (II) EXA(0): Driver allocated offscreen pixmaps
    (II) EXA(0): Driver registered support for the following operations:
    (II)         Solid
    (II)         Copy
    (II)         Composite (RENDER acceleration)
    (II) RADEON(0): Acceleration enabled
    (II) RADEON(0): DPMS enabled
    (==) RADEON(0): Silken mouse enabled
    (II) RADEON(0): Set up textured video
    (II) RADEON(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    (WW) RADEON(0): Option "DynamicClocks" is not used
    (WW) RADEON(0): Option "ClockGating" is not used
    (WW) RADEON(0): Option "DynamicPM" is not used
    (--) RandR disabled
    (II) Setting vga for screen 0.
    /* snip */
    (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    (II) AIGLX: Loaded and initialized /usr/lib/dri/r300_dri.so
    (II) GLX: Initialized DRI2 GL provider for screen 0
    (II) RADEON(0): Setting screen physical size to 270 x 203
    /* snip */

  • #2
    The pm options are not available yet with kms.

    Comment


    • #3
      is there some ETA when it will be available with KMS? Or does it require the kernel side architecture for dynamic power management first?

      Comment


      • #4
        Originally posted by madman2k View Post
        is there some ETA when it will be available with KMS? Or does it require the kernel side architecture for dynamic power management first?
        With kms enabled, the ddx (xf86-video-ati) no longer touches the hardware, so any missing features from the ddx need to be ported to the drm.

        Comment

        Working...
        X