Package Details: amdgpu-fan 0.1.0-7

Git Clone URL: https://aur.archlinux.org/amdgpu-fan.git (read-only, click to copy)
Package Base: amdgpu-fan
Description: Python daemon for controlling the fans on AMDGPU cards
Upstream URL: https://github.com/zzkW35/amdgpu-fan
Keywords: amd control fan gpu
Licenses: GPL-2.0-or-later
Submitter: chestm007
Maintainer: post-factum
Last Packager: post-factum
Votes: 24
Popularity: 1.17
First Submitted: 2018-12-03 06:06 (UTC)
Last Updated: 2024-12-23 16:18 (UTC)

Latest Comments

1 2 3 4 Next › Last »

Ranma_chan97 commented on 2024-12-31 21:23 (UTC)

Will do. Thanks.

post-factum commented on 2024-12-31 21:22 (UTC)

Check the README in the upstream git repo on how to point this tool to the correct card.

Ranma_chan97 commented on 2024-12-31 21:21 (UTC)

...Actually, yes. I keep forgetting I have that. I upgraded from a 3950X recently which didn't have an iGPU. I keep forgetting that AMD started packaging iGPUs into their mainstream chips.

post-factum commented on 2024-12-31 21:19 (UTC)

Have you got 2 GPUs, one integrated and one discrete?

Ranma_chan97 commented on 2024-12-31 20:55 (UTC)

Oh, my apologies - it seems that this has never worked for me!

When I installed it initially, I didn't see anything when enabling/starting the systemd service for it - but I can see in my journalctl from there that it's been broken basically from the get-go.

I only noticed it wasn't working because my system crashed because my GPU forced a shutdown due to hitting a thermal cutoff. That had never happened before and then I noticed the amdgpu-fan service failing at startup.

Is it possible that my card isn't compatible? (Sapphire 6800 XT)?

post-factum commented on 2024-12-31 20:40 (UTC)

If you downgrade the kernel to 6.12.6 and reboot, does this package start to work again?

Ranma_chan97 commented on 2024-12-31 20:27 (UTC) (edited on 2024-12-31 20:28 (UTC) by Ranma_chan97)

Last worked on kernel version 6.12.6 - which was also the same version I had initially installed it on.

But I have also observed this not working on the latest linux-lts kernel as well (6.6.68).

post-factum commented on 2024-12-31 20:25 (UTC)

What is the last 6.12 stable kernel version this package works with?

Ranma_chan97 commented on 2024-12-31 18:08 (UTC) (edited on 2024-12-31 18:10 (UTC) by Ranma_chan97)

Having an issue with this package suddenly after updating to the latest Linux kernel (6.12.7) and the latest version of this package (amdgpu-fan 0.1.0-7). It was working previously, but after restarting, it suddenly doesn't work anymore. The traceback when trying to run it manually doesn't give me much to go on other than it just can't even execute the main function of the application?

I've tried manually compiling and installing it using manual makepkg, but no avail.

Running this on a Ryzen 9 9900X system with a Radeon RX 6800 XT. My kernel is the default one included in the Arch repos.

I also have Python 3.13.1 installed.

Python 3.13.1 (main, Dec  4 2024, 18:05:56) [GCC 14.2.1 20240910] on linux
Traceback (most recent call last):
  File "/usr/bin/amdgpu-fan", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.13/site-packages/amdgpu_fan/controller.py", line 95, in main
    FanController(config).main()
    ~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3.13/site-packages/amdgpu_fan/controller.py", line 47, in main
    logger.debug(f'{name}: Temp {temp}, Setting fan speed to: {speed}, fan speed: {card.fan_speed}, min: {card.fan_min}, max: {card.fan_max}')
                                                                                                          ^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/amdgpu_fan/lib/amdgpu.py", line 64, in fan_min
    return int(self.read_endpoint('pwm1_min'))
               ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/amdgpu_fan/lib/amdgpu.py", line 36, in read_endpoint
    with open(self._endpoints[endpoint], 'r') as e:
              ~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'pwm1_min'

graysky commented on 2024-12-23 18:35 (UTC)

@post-factum - yes, errors are gone, many thanks.