Announcement

Collapse
No announcement yet.

How To Use The New AMD P-State Driver With Linux 5.17

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

  • #21
    Originally posted by birdie View Post

    Alive, yes, kicking, nope. Thanks for caring anyways.
    The night is darkest before the dawn...

    Comment


    • #22
      Tried it for a bit on my 3700x. PSU not accurate enough to detect any drop in power usage, highly threaded workloads are slower, but single core and lightly threaded workloads see boosts to higher top boost frequencies. Reverted to ACPI for now.

      Comment


      • #23
        how do i disable amd governor?

        Comment


        • #24
          Originally posted by Termy View Post

          The advantage would be more performance for less energy -> more efficiency. I doubt you will get much more performance on a desktop, but rather better temps/less power draw.
          For Manjaro i'd say it should be pretty much the same as described but you'd have to add the module to your mkinitcpio.conf instead of "/etc/initramfs-tools/modules " - don't quote me on that though ^^
          can you please give an instruction of how to add it to mkinitcpio?

          Comment


          • #25
            Originally posted by ntropy View Post
            Seems to be working great on my 4800H. I am at a good 6.5 W idling but that is not very different from what it was before. Yet when working in Unity with not too much GPU load, I get another hour battery time out the new scaling driver, to a good 5 hours @ 45Wh. https://i.imgur.com/w61JzjF.png Laptop feels way cooler too.

            Powertop seems to be a bit all over the place now: https://i.imgur.com/qWLldsd.png
            how you did that? i can't make it work on manjaro

            Comment


            • #26
              Originally posted by sibwase View Post

              how you did that? i can't make it work on manjaro
              All you can do is check if cppc is on in bios (lscpu in terminal and look for the flag cppc), then compile the kernel with amd_pstate and disable all tools messing with you governor, like tuxedo-control-center for instance. If that does not help, its not working yet on your cpu.

              I have used the pstate for some days now and have a bit mixed feelings. When I resume the laptop or switch the power supply, the governor setting conservative will be lost and it resets to ondemand, effectively resulting in higher energy consumption, heat and fans spinning up. I am not happy about that, this was better on acpi and how the tuxedo control center handled it before. Cant switch it back then from ondemand, only a reboot helps.

              Guess I will wait a bit until amd_pstate gets integrated in the third party tools.
              Last edited by ntropy; 25 March 2022, 05:09 AM.

              Comment


              • #27
                Originally posted by Guaradj View Post
                Tested with fedora 36 and AMD Ryzen 9 3900X, needed steps:
                Code:
                sudo grubby --args=initcall_blacklist=acpi_cpufreq_init --update-kernel=ALL
                sudo grubby --args=amd_pstate.shared_mem=1 --update-kernel=ALL
                
                ➜ cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver
                amd-pstate
                What do I have to do to revert that?

                I tested it on Fedora 35, it worked, but I haven't found any advantages using it right now...

                Comment


                • #28
                  When using Ryzen Master on Windows with a 2700X, it tells me the fastest CPU core which I believe is simlar to how CPPC works? I hear CPPC starts at Zen 2, but how is Ryzen Master doing what it does on Zen+?

                  Comment


                  • #29
                    Linux kernel 5.18.11 has broken the amd_pstate driver, or the method described here no longer applies, and it no longer works. Either way 5.18.10 is still working as expected.

                    Comment


                    • #30
                      Originally posted by sdack View Post
                      Linux kernel 5.18.11 has broken the amd_pstate driver
                      It was fixed in 5.18.13.

                      Comment

                      Working...
                      X