Announcement

Collapse
No announcement yet.

AMD Has Massive Radeon Patch Set - Power Management!

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

  • It doesn't look like it worked for me:

    [email protected]:~$ dmesg | grep dpm
    [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-996-generic root=UUID=c569a25a-4c5c-4731-8836-2bdfd7ce3d7e ro quiet splash radeon.audio=1 radeon.dpm=1 vt.handoff=7
    [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-996-generic root=UUID=c569a25a-4c5c-4731-8836-2bdfd7ce3d7e ro quiet splash radeon.audio=1 radeon.dpm=1 vt.handoff=7
    [ 29.492599] [drm:cypress_dpm_enable] *ERROR* rv770_upload_firmware failed
    [ 29.492608] [drm:radeon_pm_init_dpm] *ERROR* radeon: dpm initialization failed

    I'm using kernel 3.10.0-996-generic (yes, it has the patches) and I have a HD5400 Radeon card.

    This is what the GRUB CMD line looks like (of /etc/default/grub):
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1 radeon.dpm=1"
    There is also no /sys/class/drm/card0/device/power_method file too.
    I didn't get the CEDAR firmware, but agd5f said that 7xx+ GPUs only need it....
    Last edited by Bushido_root; 06-29-2013, 04:28 PM.

    Comment


    • Originally posted by kuglee View Post
      I also have RV710 GPU, and the screen flickers like crazy.
      Btw. I've installed the kernel from here:
      http://kernel.ubuntu.com/~kernel-ppa...-next/current/
      Thanks, so not just me. Must be something to iron out with the RV710's.

      Originally posted by d2kx View Post
      OK.

      Also, DPM doesn't just work, it's works excellently. My desktop is usually loud as shit with the opensource drivers, so even if it was just slightly worse than Catalyst, I would notice instantly. But it's completely quiet.
      That's what amazes me, I'm still pinching myself hoping I'm not dreaming, because I'm *so* used to the FOSS Radeon drivers always turning my mobile PC's into portable heaters that sound like jet planes taking off

      Anyway seems UVD is failing for most here, not just me, so I guess that will be fixed in time. TBH it's not affecting my use cases, but then maybe I haven't tried playing a Hi-Def H.264 file or something...

      Comment


      • Originally posted by Bushido_root View Post
        It doesn't look like it worked for me:

        [email protected]:~$ dmesg | grep dpm
        [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-996-generic root=UUID=c569a25a-4c5c-4731-8836-2bdfd7ce3d7e ro quiet splash radeon.audio=1 radeon.dpm=1 vt.handoff=7
        [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-996-generic root=UUID=c569a25a-4c5c-4731-8836-2bdfd7ce3d7e ro quiet splash radeon.audio=1 radeon.dpm=1 vt.handoff=7
        [ 29.492599] [drm:cypress_dpm_enable] *ERROR* rv770_upload_firmware failed
        [ 29.492608] [drm:radeon_pm_init_dpm] *ERROR* radeon: dpm initialization failed

        I'm using kernel 3.10.0-996-generic (yes, it has the patches) and I have a HD5400 Radeon card.

        This is what the GRUB CMD line looks like (of /etc/default/grub):
        GRUB_CMDLINE_LINUX_DEFAULT="quiet splash radeon.audio=1 radeon.dpm=1"
        There is also no /sys/class/drm/card0/device/power_method file too.
        I didn't get the CEDAR firmware, but agd5f said that 7xx+ GPUs only need it....
        Maybe have a look here http://wiki.gentoo.org/wiki/Radeon#Firmware

        Even on my Radeon 4500 series card I downloaded the *_smc file...so I don't know, I'm a bit confused, but that list helped me.

        Comment


        • Originally posted by agd5f View Post
          APUs don't need smc ucode. Only 7xx+ dGPUs need it.
          Do you mean that R7xx+ as in R700 (which would be HD4xxx) and up need the _smc.bin firmware? If that's so I do in fact need the CEDAR firmware (I didn't use it on the first try).

          Originally posted by ElderSnake View Post
          Maybe have a look here http://wiki.gentoo.org/wiki/Radeon#Firmware

          Even on my Radeon 4500 series card I downloaded the *_smc file...so I don't know, I'm a bit confused, but that list helped me.
          Hmm.... what smc.bin did you download?

          Comment


          • Originally posted by agd5f View Post
            APUs don't need smc ucode. Only 7xx+ dGPUs need it.
            Do you mean that R7xx+ as in R700 (which would be HD4xxx) and up need the _smc.bin firmware? If that's so I do in fact need the CEDAR firmware (I didn't use it on the first try).

            Originally posted by ElderSnake View Post
            Maybe have a look here wiki.gentoo.org/wiki/Radeon#Firmware

            Even on my Radeon 4500 series card I downloaded the *_smc file...so I don't know, I'm a bit confused, but that list helped me.
            Hmm.... what smc.bin did you download?

            Comment


            • Originally posted by ElderSnake View Post
              Anyhow my first test didnt go so well. It seems to initialise the power settings, but after a few seconds in X, it has some panic attack and I have a garbled screen which slowly turns whiter and whiter...like its frosting up lol.
              Last time I saw that, my Radeon 9700 Mobility was dying from overheating. Now it only works in text mode (tty).

              Comment


              • Originally posted by Bushido_root View Post
                Hmm.... what smc.bin did you download?
                I downloaded the RV710_smc.bin for my Sony Vaio laptop (the 4xxx series, a RV710 chipset), but for my netbook (the APU) I didn't download any. So I guess indeed Alex meant the R700 series and up needs the smc files, except the APUs.

                Originally posted by stqn View Post
                Last time I saw that, my Radeon 9700 Mobility was dying from overheating. Now it only works in text mode (tty).
                Indeed, thankfully that isn't the cause here though. When I actually got the correct firmware, the frosting up only happens during Kernel Mode Setting taking place (instead of after X starts), as a couple others here have also experienced and then works perfectly fine. Besides failing to start UVD anyway.
                Last edited by ElderSnake; 06-29-2013, 11:02 PM.

                Comment


                • It works! Just needed the firmware. No "frosting screen" or anything. Laptop's temp is as if it's set to "mid" but without loosing performance.

                  Thanks to all that helped.

                  Comment


                  • Hi, all. I installed linux-drm-next-3.11, firmwares, libdrm, xorg-radeon and mesa from git. And with radeon.dpm=1 the performance is much lower than with power_profile=high.

                    05:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Barts PRO [Radeon HD 6850] [1002:6739]

                    Code:
                    [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-rc5+ root=UUID=efc48d8e-4b76-403a-9e99-4b715591f50e ro quiet splash elevator=noop radeon.dpm=1 vt.handoff=7
                    [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-rc5+ root=UUID=efc48d8e-4b76-403a-9e99-4b715591f50e ro quiet splash elevator=noop radeon.dpm=1 vt.handoff=7
                    [    5.523488] [drm] Initialized drm 1.1.0 20060810
                    [    6.247725] [drm] radeon kernel modesetting enabled.
                    [    6.248747] radeon 0000:05:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
                    [    6.248749] radeon 0000:05:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
                    [    6.247964] [drm] initializing kernel modesetting (BARTS 0x1002:0x6739 0x1043:0x03AA).
                    [    6.247980] [drm] register mmio base: 0xFE9E0000
                    [    6.247981] [drm] register mmio size: 131072
                    [    6.259424] [drm] Detected VRAM RAM=1024M, BAR=256M
                    [    6.259428] [drm] RAM width 256bits DDR
                    [    6.259515] [drm] radeon: 1024M of VRAM memory ready
                    [    6.259518] [drm] radeon: 512M of GTT memory ready.
                    [    6.275038] radeon 0000:05:00.0: ffff8804215c6000 unpin not necessary
                    [    6.585902] radeon 0000:05:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc900128e6118
                    [    6.585910] [drm] GART: num cpu pages 131072, num gpu pages 131072
                    [    6.586424] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
                    [    6.586530] [drm] Loading BARTS Microcode
                    [    6.632953] radeon 0000:05:00.0: WB enabled
                    [    6.632956] radeon 0000:05:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880410f19c00
                    [    6.632957] radeon 0000:05:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880410f19c0c
                    [    6.634884] radeon 0000:05:00.0: fence driver on ring 5 use gpu addr 0x0000000000174118 and cpu addr 0xffffc90013032118
                    [    6.634911] radeon 0000:05:00.0: irq 87 for MSI/MSI-X
                    [    6.634921] radeon 0000:05:00.0: radeon: using MSI.
                    [    6.632846] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
                    [    6.634887] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
                    [    6.634887] [drm] Driver supports precise vblank timestamp query.
                    [    6.634949] [drm] radeon: irq initialized.
                    [    6.651381] [drm] ring test on 0 succeeded in 2 usecs
                    [    6.651445] [drm] ring test on 3 succeeded in 1 usecs
                    [    6.836018] [drm] ring test on 5 succeeded in 1 usecs
                    [    6.836022] [drm] UVD initialized successfully.
                    [    6.836403] [drm] ib test on ring 0 succeeded in 0 usecs
                    [    6.836456] [drm] ib test on ring 3 succeeded in 0 usecs
                    [    6.987493] [drm] ib test on ring 5 succeeded
                    [    6.988064] [drm] Radeon Display Connectors
                    [    6.988065] [drm] Connector 0:
                    [    6.988066] [drm]   DP-1
                    [    6.988067] [drm]   HPD4
                    [    6.988068] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
                    [    6.988069] [drm]   Encoders:
                    [    6.988069] [drm]     DFP1: INTERNAL_UNIPHY2
                    [    6.988070] [drm] Connector 1:
                    [    6.988071] [drm]   HDMI-A-1
                    [    6.988072] [drm]   HPD3
                    [    6.988073] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
                    [    6.988074] [drm]   Encoders:
                    [    6.988074] [drm]     DFP2: INTERNAL_UNIPHY2
                    [    6.988075] [drm] Connector 2:
                    [    6.988076] [drm]   DVI-I-1
                    [    6.988076] [drm]   HPD6
                    [    6.988077] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
                    [    6.988078] [drm]   Encoders:
                    [    6.988079] [drm]     DFP3: INTERNAL_UNIPHY
                    [    6.988079] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
                    [    6.988080] [drm] Connector 3:
                    [    6.988081] [drm]   DVI-D-1
                    [    6.988081] [drm]   HPD1
                    [    6.988082] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c
                    [    6.988083] [drm]   Encoders:
                    [    6.988084] [drm]     DFP4: INTERNAL_UNIPHY1
                    [    6.988184] [drm] Internal thermal controller with fan control
                    [    6.994621] [drm] radeon: dpm initialized
                    [    7.045774] [drm] fb mappable at 0xD0375000
                    [    7.045776] [drm] vram apper at 0xD0000000
                    [    7.045777] [drm] size 8294400
                    [    7.045778] [drm] fb depth is 24
                    [    7.045780] [drm]    pitch is 7680
                    [    7.045892] fbcon: radeondrmfb (fb0) is primary device
                    [    7.058746] radeon 0000:05:00.0: fb0: radeondrmfb frame buffer device
                    [    7.058747] radeon 0000:05:00.0: registered panic notifier
                    [    7.058746] radeon 0000:05:00.0: fb0: radeondrmfb frame buffer device
                    [    7.058751] [drm] Initialized radeon 2.34.0 20080528 for 0000:05:00.0 on minor 0

                    Comment


                    • Hi all

                      Hi, all. I installed linux-drm-next-3.11, firmwares, libdrm, xorg-radeon and mesa from git. And with radeon.dpm=1 the performance is much lower than with power_profile=high.

                      05:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Barts PRO [Radeon HD 6850] [1002:6739]

                      Code:
                      [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-3.10.0-rc5+ root=UUID=efc48d8e-4b76-403a-9e99-4b715591f50e ro quiet splash elevator=noop radeon.dpm=1 vt.handoff=7
                      [    0.000000] Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-rc5+ root=UUID=efc48d8e-4b76-403a-9e99-4b715591f50e ro quiet splash elevator=noop radeon.dpm=1 vt.handoff=7
                      [    5.523488] [drm] Initialized drm 1.1.0 20060810
                      [    6.247725] [drm] radeon kernel modesetting enabled.
                      [    6.248747] radeon 0000:05:00.0: VRAM: 1024M 0x0000000000000000 - 0x000000003FFFFFFF (1024M used)
                      [    6.248749] radeon 0000:05:00.0: GTT: 512M 0x0000000040000000 - 0x000000005FFFFFFF
                      [    6.247964] [drm] initializing kernel modesetting (BARTS 0x1002:0x6739 0x1043:0x03AA).
                      [    6.247980] [drm] register mmio base: 0xFE9E0000
                      [    6.247981] [drm] register mmio size: 131072
                      [    6.259424] [drm] Detected VRAM RAM=1024M, BAR=256M
                      [    6.259428] [drm] RAM width 256bits DDR
                      [    6.259515] [drm] radeon: 1024M of VRAM memory ready
                      [    6.259518] [drm] radeon: 512M of GTT memory ready.
                      [    6.275038] radeon 0000:05:00.0: ffff8804215c6000 unpin not necessary
                      [    6.585902] radeon 0000:05:00.0: fence driver on ring 5 use gpu addr 0x0000000000072118 and cpu addr 0xffffc900128e6118
                      [    6.585910] [drm] GART: num cpu pages 131072, num gpu pages 131072
                      [    6.586424] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
                      [    6.586530] [drm] Loading BARTS Microcode
                      [    6.632953] radeon 0000:05:00.0: WB enabled
                      [    6.632956] radeon 0000:05:00.0: fence driver on ring 0 use gpu addr 0x0000000040000c00 and cpu addr 0xffff880410f19c00
                      [    6.632957] radeon 0000:05:00.0: fence driver on ring 3 use gpu addr 0x0000000040000c0c and cpu addr 0xffff880410f19c0c
                      [    6.634884] radeon 0000:05:00.0: fence driver on ring 5 use gpu addr 0x0000000000174118 and cpu addr 0xffffc90013032118
                      [    6.634911] radeon 0000:05:00.0: irq 87 for MSI/MSI-X
                      [    6.634921] radeon 0000:05:00.0: radeon: using MSI.
                      [    6.632846] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
                      [    6.634887] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
                      [    6.634887] [drm] Driver supports precise vblank timestamp query.
                      [    6.634949] [drm] radeon: irq initialized.
                      [    6.651381] [drm] ring test on 0 succeeded in 2 usecs
                      [    6.651445] [drm] ring test on 3 succeeded in 1 usecs
                      [    6.836018] [drm] ring test on 5 succeeded in 1 usecs
                      [    6.836022] [drm] UVD initialized successfully.
                      [    6.836403] [drm] ib test on ring 0 succeeded in 0 usecs
                      [    6.836456] [drm] ib test on ring 3 succeeded in 0 usecs
                      [    6.987493] [drm] ib test on ring 5 succeeded
                      [    6.988064] [drm] Radeon Display Connectors
                      [    6.988065] [drm] Connector 0:
                      [    6.988066] [drm]   DP-1
                      [    6.988067] [drm]   HPD4
                      [    6.988068] [drm]   DDC: 0x6430 0x6430 0x6434 0x6434 0x6438 0x6438 0x643c 0x643c
                      [    6.988069] [drm]   Encoders:
                      [    6.988069] [drm]     DFP1: INTERNAL_UNIPHY2
                      [    6.988070] [drm] Connector 1:
                      [    6.988071] [drm]   HDMI-A-1
                      [    6.988072] [drm]   HPD3
                      [    6.988073] [drm]   DDC: 0x6460 0x6460 0x6464 0x6464 0x6468 0x6468 0x646c 0x646c
                      [    6.988074] [drm]   Encoders:
                      [    6.988074] [drm]     DFP2: INTERNAL_UNIPHY2
                      [    6.988075] [drm] Connector 2:
                      [    6.988076] [drm]   DVI-I-1
                      [    6.988076] [drm]   HPD6
                      [    6.988077] [drm]   DDC: 0x6470 0x6470 0x6474 0x6474 0x6478 0x6478 0x647c 0x647c
                      [    6.988078] [drm]   Encoders:
                      [    6.988079] [drm]     DFP3: INTERNAL_UNIPHY
                      [    6.988079] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
                      [    6.988080] [drm] Connector 3:
                      [    6.988081] [drm]   DVI-D-1
                      [    6.988081] [drm]   HPD1
                      [    6.988082] [drm]   DDC: 0x6480 0x6480 0x6484 0x6484 0x6488 0x6488 0x648c 0x648c
                      [    6.988083] [drm]   Encoders:
                      [    6.988084] [drm]     DFP4: INTERNAL_UNIPHY1
                      [    6.988184] [drm] Internal thermal controller with fan control
                      [    6.994621] [drm] radeon: dpm initialized
                      [    7.045774] [drm] fb mappable at 0xD0375000
                      [    7.045776] [drm] vram apper at 0xD0000000
                      [    7.045777] [drm] size 8294400
                      [    7.045778] [drm] fb depth is 24
                      [    7.045780] [drm]    pitch is 7680
                      [    7.045892] fbcon: radeondrmfb (fb0) is primary device
                      [    7.058746] radeon 0000:05:00.0: fb0: radeondrmfb frame buffer device
                      [    7.058747] radeon 0000:05:00.0: registered panic notifier
                      [    7.058746] radeon 0000:05:00.0: fb0: radeondrmfb frame buffer device
                      [    7.058751] [drm] Initialized radeon 2.34.0 20080528 for 0000:05:00.0 on minor 0

                      Comment

                      Working...
                      X