• GPU fan control

    From yossarian@alt.os.linux.mint on Wed Aug 6 16:01:11 2025
    From Newsgroup: alt.os.linux.mint

    Hi all
    How do you control the fan speed on your GPU? I installed a new
    graphics card (RX9060XT) and the fan only starts at 60 C. I think
    that's too high. I would like it to run constantly at a low speed. Any suggestions?
    --
    Running Linux Mint 22.1 (Xia) using Kernel=6.14.0-27-generic on x86_64 , Cinnamon, lightdm, x11
    AMD Ryzen 7 5700G with Radeon Graphics (16) @ 5.288GHz
    AMD Radeon RX9060XT

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mike Easter@MikeE@ster.invalid to alt.os.linux.mint on Wed Aug 6 10:16:44 2025
    From Newsgroup: alt.os.linux.mint

    yossarian wrote:
    How do you control the fan speed on your GPU? I installed a new
    graphics card (RX9060XT) and the fan only starts at 60 C. I think
    that's too high. I would like it to run constantly at a low speed.
    Any suggestions?

    NVidia makes adrenalin software for Win & linux to control its fan.

    https://www.amd.com/en/products/software/adrenalin.html

    GglAIov:
    To control the fans on an RX 9060 XT GPU, you'll primarily use the
    AMD Adrenalin software. Within the software, you'll find the
    "Tuning" section, where you can enable manual fan control and adjust
    fan speeds, either by creating a custom fan curve or setting a
    minimum fan speed. You can also disable "Zero RPM" mode, which stops
    the fans when the GPU is idle, to ensure constant cooling
    --
    Mike Easter
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul@nospam@needed.invalid to alt.os.linux.mint on Wed Aug 6 14:06:53 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 8/6/2025 10:01 AM, yossarian wrote:
    Hi all
    How do you control the fan speed on your GPU? I installed a new
    graphics card (RX9060XT) and the fan only starts at 60 C. I think
    that's too high. I would like it to run constantly at a low speed. Any suggestions?



    There is a mention here, of some variable names not being correct
    for talking to the interface.

    https://discussion.fedoraproject.org/t/radeon-9060xt-fan-not-operating-under-load/158524/12

    "My educated guess would be changing the path names in /usr/local/bin/amdgpu-fancontrol.

    The file was still using pwm1_max and pwm1_min, but the system exposes fan1_max and fan1_min.

    E.G: PWMMAX=$(cat /sys/class/drm/card$CARDNUM/device/hwmon/${HWMONID}/pwm1_max)

    PWMMAX=$(cat /sys/class/drm/card$CARDNUM/device/hwmon/${HWMONID}/fan1_max)
    "

    Paul
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul@nospam@needed.invalid to alt.os.linux.mint on Wed Aug 6 14:55:27 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 8/6/2025 2:06 PM, Paul wrote:
    On Wed, 8/6/2025 10:01 AM, yossarian wrote:
    Hi all
    How do you control the fan speed on your GPU? I installed a new
    graphics card (RX9060XT) and the fan only starts at 60 C. I think
    that's too high. I would like it to run constantly at a low speed. Any
    suggestions?



    There is a mention here, of some variable names not being correct
    for talking to the interface.

    https://discussion.fedoraproject.org/t/radeon-9060xt-fan-not-operating-under-load/158524/12

    "My educated guess would be changing the path names in /usr/local/bin/amdgpu-fancontrol.

    The file was still using pwm1_max and pwm1_min, but the system exposes fan1_max and fan1_min.

    E.G: PWMMAX=$(cat /sys/class/drm/card$CARDNUM/device/hwmon/${HWMONID}/pwm1_max)

    PWMMAX=$(cat /sys/class/drm/card$CARDNUM/device/hwmon/${HWMONID}/fan1_max)
    "

    Paul


    https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring

    hwmon interfaces for GPU fan:

    pwm1: pulse width modulation fan level (0-255)
    pwm1_enable: pulse width modulation fan control method
    (0: no fan speed control,
    1: manual fan speed control using pwm interface,
    2: automatic fan speed control)
    pwm1_min: pulse width modulation fan control minimum level (0)
    pwm1_max: pulse width modulation fan control maximum level (255)

    fan1_min: a minimum value Unit: revolution/min (RPM)
    fan1_max: a maximum value Unit: revolution/max (RPM)
    fan1_input: fan speed in RPM
    fan[1-*]_target: Desired fan speed Unit: revolution/min (RPM)
    fan[1-*]_enable: Enable or disable the sensors.1: Enable 0: Disable

    NOTE: DO NOT set the fan speed via rCLpwm1rCY and rCLfan[1-*]_targetrCY interfaces at the same time.
    That will get the former one overridden.

    https://utcc.utoronto.ca/~cks/space/blog/linux/AmdgpuAutoFanWorkaround

    "While the GPU fan was under automatic control, writing any value to hwmon2/pwm1 did nothing;
    it stayed stuck at 0 (and the fan stayed inactive).

    The first workaround was to take manual control of the fan by writing 1 to hwmon2/pwm1_enable
    and then writing some value to hwmon2/pwm1, say the typical '81' of the 5.10.x kernels.
    This caused the fan to start going properly at its usual 800 RPM.

    The second workaround is that once the fan was started this way, I could write a '2' to
    hwmon2/pwm1_enable, theoretically switching back to automatic fan control, and the
    amdgpu driver properly took over again.

    In automatic mode with what I can only describe as a woken up driver, the driver (or the BIOS)
    is actually being more aggressive with the GPU fan than in 5.10; the fan is currently running
    at 1800 RPM instead of 800 RPM, and the GPU is 2 degrees C cooler than it was before.

    (Something is actively controlling the fan because the value of pwm1 shifts around on a
    rapid basis, going from 94 to 124 and back every few seconds.)

    This still feels like a fragile workaround to me. The automatic fan control has
    already failed once (on boot), so I don't have complete confidence that it won't
    fail again at some point. One option is to switch to manual fan control through a
    daemon that monitors the GPU temperature following some set-points. The Arch wiki
    has a section on AMDGPU sysfs fan control with some options and I've also read

    Controlling the fan curve of an AMD GPU on Pop!_OS.

    I'm currently vaguely biased towards amdgpu-fan, but I haven't tried any of the options out.
    "

    At some point, when the hardware companies switched to closed loop control
    for core voltage, clock speed, power-limiter, that included re-doing the fan control so it was automated (sensor in GPU feeds a fan control block similar
    to how the BIOS or SuperIO have done these things for the motherboard fans). And you are correct, that some cards implement their defaults, as "zero speed fan
    up to 60C". And you have to run Furmark, to actually test that the fan eventually comes on.

    This stuff should really work on its own. The fan should *never* be entirely disabled.
    NVidia learned about this, when on a couple occasions for the manual fan control,
    they released driver updates which failed to turn on the fan. Leading to some damaged product. The current scheme of closed loop controls, was supposed to prevent bad driver updates from destroying equipment via "in-attention to detail
    and poor driver testing". I expect with enough effort, a driver could just turn off the fan anyway, but that would require some degree of malicious design behavior
    on the devs part.

    Paul


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From yossarian@alt.os.linux.mint on Thu Aug 7 13:28:52 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 6 Aug 2025 14:55:27 -0400
    Paul <nospam@needed.invalid> wrote:

    hwmon interfaces for GPU fan:

    Will check after, this is way above my head ;-)
    --
    Running Linux Mint 22.1 (Xia) using Kernel=6.14.0-27-generic on x86_64 , Cinnamon, lightdm, x11
    AMD Ryzen 7 5700G with Radeon Graphics (16) @ 5.288GHz

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From yossarian@alt.os.linux.mint on Thu Aug 7 13:27:04 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 6 Aug 2025 10:16:44 -0700
    Mike Easter <MikeE@ster.invalid> wrote:

    NVidia makes adrenalin software for Win & linux to control its fan.

    https://www.amd.com/en/products/software/adrenalin.html

    I prefer kernel drivers, not bloatware of ASUS.
    --
    Running Linux Mint 22.1 (Xia) using Kernel=6.14.0-27-generic on x86_64 , Cinnamon, lightdm, x11
    AMD Ryzen 7 5700G with Radeon Graphics (16) @ 5.288GHz

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From yossarian@alt.os.linux.mint on Thu Aug 7 16:30:39 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 6 Aug 2025 14:55:27 -0400
    Paul <nospam@needed.invalid> wrote:

    https://dri.freedesktop.org/docs/drm/gpu/amdgpu.html#gpu-power-thermal-controls-and-monitoring

    67 guote suppressed

    I managed to do everything of that with "LACT" Graphic card control
    program. It's just graphic front end for changing all those
    parameter's.
    --
    Running Linux Mint 22.1 (Xia) using Kernel=6.14.0-27-generic on x86_64 , Cinnamon, lightdm, x11
    AMD Radeon RX9060XT

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Mike Easter@MikeE@ster.invalid to alt.os.linux.mint on Thu Aug 7 11:46:11 2025
    From Newsgroup: alt.os.linux.mint

    yossarian wrote:
    Mike Easter wrote:

    NVidia makes adrenalin software for Win & linux to control its fan.

    https://www.amd.com/en/products/software/adrenalin.html

    I prefer kernel drivers, not bloatware of ASUS.

    That's fine when there is such a thing.

    It never surprises me for OEMs to make things which are not only
    'proprietary' in and of themselves, but also 'require' specific software
    to manage 'all' the features of the hardware.

    NVidia is notorious. This is an NVidia 'thing' not an ASUS thing;
    NVidia is a .us 'thing' founded by a .tw guy; Asus is a .tw thing.
    --
    Mike Easter
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul@nospam@needed.invalid to alt.os.linux.mint on Thu Aug 7 17:01:38 2025
    From Newsgroup: alt.os.linux.mint

    On Thu, 8/7/2025 2:46 PM, Mike Easter wrote:
    yossarian wrote:
    Mike Easter wrote:

    NVidia makes adrenalin software for Win & linux to control its fan.

    https://www.amd.com/en/products/software/adrenalin.html

    I prefer kernel drivers, not bloatware of ASUS.

    That's fine when there is such a thing.

    It never surprises me for OEMs to make things which are not only 'proprietary' in and of themselves, but also 'require' specific software to manage 'all' the features of the hardware.

    NVidia is notorious.-a This is an NVidia 'thing' not an ASUS thing; NVidia is a .us 'thing' founded by a .tw guy; Asus is a .tw thing.

    Don't be too quick to shoot from the hip.

    The RX9060XT is an *AMD* card.

    And both companies have switched to closed loop feedback
    for various aspects of card operation.

    To study this, you would install both an NVidia and an AMD card
    in a computer, run GPU-Z to monitor card operation, run Furmark
    as a "GPU load", and watch what the GPU-Z shows you.

    The cards, when in 3D mode, indicate whether they are power limited,
    clock limited, and so on. There is a field that indicates the
    limiter mode the card is running in. That's the closed loop feedback
    system on the 3D and VCore operation of the card.

    The fans on both, also have automatic control.

    The "fans off, until it hits 60C", that is possible on both brands,
    as the default settings for low end SKUs of cards. The card in my machine
    right now, to ensure the fan is functional, I run Furmark and monitor
    the fan speed.

    The ability to program the fan, is offered as an alternative, so
    the user can select the design they want for cooling. And that is
    what the OP is going to be playing with, is that option.

    The automation was added to the cards, for fan control, after it
    was realized that shipping drivers where the fans were entirely
    switched off, was a mistake. With some sort of automated fan control
    in place, there should be some notion of cooling, but you should
    test this with an observation utility.

    I don't know what the AMD equivalent of nvidia-smi is, but
    that's an example of a very basic monitor. The GPU-Z is a lot
    nicer, in that it serves as an educational tool for people
    who didn't know how the cards were supposed to work.

    Neither company does open loop control any more.

    Paul
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From yossarian@alt.os.linux.mint on Fri Aug 8 17:04:16 2025
    From Newsgroup: alt.os.linux.mint

    On Wed, 6 Aug 2025 16:01:11 +0200

    Just when I adjusted everything by my wishes, come out new diver
    Mesa 25.0.7
    I already installed ppa Kisak Mesa drivers, so Timeshift/restore/upgrade
    and now everything is working just fine.
    If someone is interested to see some graphs under stress test by UNGINE.
    Here is link

    https://postimg.cc/dZ9LpH5K

    Linux Mint 22.1 kernel version 6.14.0-27-generic Cinnamon 6.4.8 AMD
    Ryzen Radeon RX9060XT, 32GB of DRAM.

    --- Synchronet 3.21a-Linux NewsLink 1.2