Announcement

Collapse
No announcement yet.

Linux 3.13 To Enable Radeon DPM, HDMI Audio

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

  • Linux 3.13 To Enable Radeon DPM, HDMI Audio

    Phoronix: Linux 3.13 To Enable Radeon DPM, HDMI Audio

    AMD has made known the changes they have lined up for the Linux 3.13 kernel merge window. Among the work includes finally enabling Radeon Dynamic Power Management (DPM) for some graphics processors and also restoring HDMI audio support to be enabled by default...

    http://www.phoronix.com/vr.php?view=MTUwMTY

  • #2
    Kickass. Fedora 21, and Ubuntu 14.04 just got more interesting.

    Comment


    • #3
      Originally posted by Ericg View Post
      Kickass. Fedora 21, and Ubuntu 14.04 just got more interesting.
      Already using Kubuntu 14.04 here, it won't be interesting for a while yet.

      Comment


      • #4
        Originally posted by phoronix
        DPM is to be enabled by default for Radeon HD 4000 through Radeon HD 5000 series graphics processors.
        That seems to be incorrect, or at least incomplete.

        DPM is enabled by default for most chips now, in particluar:

        case CHIP_RV770:
        case CHIP_RV730:
        case CHIP_RV710:
        case CHIP_RV740:
        case CHIP_CEDAR:
        case CHIP_REDWOOD:
        case CHIP_JUNIPER:
        case CHIP_CYPRESS:
        case CHIP_HEMLOCK:
        case CHIP_PALM:
        case CHIP_SUMO:
        case CHIP_SUMO2:
        case CHIP_BARTS:
        case CHIP_TURKS:
        case CHIP_CAICOS:
        case CHIP_TAHITI:
        case CHIP_PITCAIRN:
        case CHIP_VERDE:
        case CHIP_OLAND:
        case CHIP_HAINAN:
        It is still disabled by default on:

        case CHIP_RV610:
        case CHIP_RV630:
        case CHIP_RV620:
        case CHIP_RV635:
        case CHIP_RV670:
        case CHIP_RS780:
        case CHIP_RS880:
        case CHIP_CAYMAN:
        case CHIP_ARUBA:
        case CHIP_BONAIRE:
        case CHIP_KABINI:
        case CHIP_KAVERI:
        So I think that's the old 2xxx cards, 3xxx, the old MB integrated parts from back then, the 69xx, and some of the newer SI parts.

        Comment


        • #5
          Originally posted by smitty3268 View Post
          So I think that's the old 2xxx cards, 3xxx, the old MB integrated parts from back then, the 69xx, and some of the newer SI parts.
          To be more exact, some recent cards not using DPM are: HD 6950/6970, HD 7790 and the upcoming Kaveri IGPs.

          Comment


          • #6
            Well good, I've been using DPM on my 7850 since kernel 3.11 came out and I had zero issues, seems to me it's ready to be default.

            About HDMI audio: does it work on radeonsi as well? Because even if I boot with radeon.audio=1 I get no sound, the device doesn't even appear in pulseaudio...

            Comment


            • #7
              Originally posted by r1348 View Post
              Well good, I've been using DPM on my 7850 since kernel 3.11 came out and I had zero issues, seems to me it's ready to be default.

              About HDMI audio: does it work on radeonsi as well? Because even if I boot with radeon.audio=1 I get no sound, the device doesn't even appear in pulseaudio...
              Alex or Christian could chime in hopefully.. One the latest releases they moved from radeon.audio=1 to a runtime option exposed via xrandr or xset I think. But im having a hard tracking down the specific comment where they said what the command was to enable it.

              Comment


              • #8
                Originally posted by Ericg View Post
                Alex or Christian could chime in hopefully.. One the latest releases they moved from radeon.audio=1 to a runtime option exposed via xrandr or xset I think. But im having a hard tracking down the specific comment where they said what the command was to enable it.
                Code:
                xrandr --output HDMI-0 --set audio on
                but AFAIK radeon.audio=1 does the same and 'audio auto' is the default now. They both don't help if no audio driver is loaded (e.g. nothing shows up in pulseaudio), because no matter what parameter you use, the device should still be there.

                Comment


                • #9
                  The other nice power change for Radeon owners with the Linux 3.13 kernel is support for dynamically powering on/off discrete GPUs as part of ATI/AMD PowerXpress systems.
                  So much for all the people advising me to get a nVidia R770mx GPU instead of AMD because the drivers work much better in Linux. Ive had nothing but trouble on my newly purchased laptop because of crappy and buggy drivers. I also have to rely on third party apps just to be able to use the discrete GPU. AMD's customers will even get it automatic by default in the FOSS drivers.

                  Comment


                  • #10
                    Originally posted by Sn3ipen View Post
                    So much for all the people advising me to get a nVidia R770mx GPU instead of AMD because the drivers work much better in Linux. Ive had nothing but trouble on my newly purchased laptop because of crappy and buggy drivers. I also have to rely on third party apps just to be able to use the discrete GPU. AMD's customers will even get it automatic by default in the FOSS drivers.
                    I've seen some confusion over the PowerXpress additions to the radeon driver in other places. It's important to note that the changes in 3.13 do not equate to allow you to offload graphics processing to the discrete GPU -- this feature has been a part of Xorg (specifically, through PRIME) for a while now. What this change is, is specifically for turning the discrete GPU off automatically when it's not being used. It's a power-saving feature.

                    Comment


                    • #11
                      Originally posted by r1348 View Post
                      Well good, I've been using DPM on my 7850 since kernel 3.11 came out and I had zero issues, seems to me it's ready to be default.

                      About HDMI audio: does it work on radeonsi as well? Because even if I boot with radeon.audio=1 I get no sound, the device doesn't even appear in pulseaudio...
                      I've zero issues too with both DPM and HDMI Audio with my Sapphire 7850. Works for me with Kernel 3.12rc7. Kernel parameter: "radeon.dpm=1 radeon.audio=1"
                      I'm using pavucontrol (PulseAudioVolumeControl) to easily swith my playback streams between my different output systems. Maybe it helps you.

                      Comment


                      • #12
                        Never mind, the problem was that I was still on kernel 3.11, on 3.12 audio works without problems!

                        Comment


                        • #13
                          Originally posted by r1348 View Post
                          Never mind, the problem was that I was still on kernel 3.11, on 3.12 audio works without problems!
                          I just upgraded from kernel 3.7.9+fglrx to 3.12 final+oss drivers on my E-350 system. OpenSUSE 13.1 RC2. Sound is gone completely, however dmesg and kmix say that sound is played / activated:

                          Code:
                          dmesg | grep audio
                          [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.12.0-3-desktop root=UUID=172ac2d8-b994-4611-b523-1ad921303bfa resume=/dev/disk/by-id/ata-M4-CT128M4SSD2_000000001130031527B5-part1 splash=silent quiet showopts radeon.dpm=1 radeon.audio=1
                          [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.12.0-3-desktop root=UUID=172ac2d8-b994-4611-b523-1ad921303bfa resume=/dev/disk/by-id/ata-M4-CT128M4SSD2_000000001130031527B5-part1 splash=silent quiet showopts radeon.dpm=1 radeon.audio=1
                          [ 4.694352] [drm] Enabling audio 0 support
                          hiere info from alsainfo:
                          http://www.alsa-project.org/db/?f=11...155729763280d8

                          strange thing is that kmix shows that something is played when I hit the testsound-buttons, but it canīt be heard. Same with xbmc where pulse-audio is disabled and alsa used directly. I already tried kernel 3.11.6 and purging pulse-audio - nothing helps! Sound is gone completely!

                          On my other system (HD 7950) sound works over spdif with the same package versions. Canīt test HDMI there. Strange there is, that ONLY source-games have no sound, while on my E-350 system - as said - sound is completely gone.

                          Comment


                          • #14
                            (install, if you haven't already, and then) open up PulseAudio Volume Control, click the playback tab, and then select the correct output for the stream (ie. click the box on the right hand side with the name of the output and then select the desired one from the drop down list)

                            Veromix offers similar functionality, but its a bit buggy and switching outputs sometimes fails (something gets messed up in the audio labyrinth that is Phonon alsa pulse ....) .... unfortunately, it also lacks a couple of features (in particular, a OSD meter like Kmix)

                            Comment


                            • #15
                              pavucontrol

                              after purging pulse, then reinstalling it and opening pavucontrol the master volume was muted, while this is NOT shown in kmix, there is no master slider like in pavucontrol. So maybe a kmix feature missing. Now I have sound, but not in flash/firefox.... rest however works...
                              thx for the hint!

                              Comment

                              Working...
                              X