-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OSError: [Errno 22] Invalid argument #18
Comments
RX570, RX580 |
amdgpu-pro-20.30-1109583-ubuntu-18.04.tar.xz =) |
Hi, lsb_release -a lspci | grep VGA python3 --version pip3 --version sudo amdgpu-fan Best regards. |
I had same error, and what I have figured out is that with default config in
This will skip |
Having the same issue on Manjaro. @GIJack @chestm007 both still look active on Github, any chance you could take a look at this one? |
I think i found the issue I have been trying to get it working and the issue is related to the write operation when writing to the pwm1 extension. Edit the config file so the lowest value is 4 not 0 and my service is up and running again. |
lsb_release -a
#Description: Ubuntu 18.04.4 LTS
lspci | grep VGA
#1:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev ef)
python3 --version
#Python 3.6.9
sudo apt install python3-pip
pip3 --version
#pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
sudo amdgpu-fan
starting amdgpu-fan
Traceback (most recent call last):
File "/usr/local/bin/amdgpu-fan", line 11, in
sys.exit(main())
File "/usr/local/lib/python3.6/dist-packages/amdgpu_fan/controller.py", line 7 8, in main
FanController(config).main()
File "/usr/local/lib/python3.6/dist-packages/amdgpu_fan/controller.py", line 3 5, 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/local/lib/python3.6/dist-packages/amdgpu_fan/lib/amdgpu.py", line 5 0, in fan_speed
return int(self.read_endpoint('fan1_input'))
File "/usr/local/lib/python3.6/dist-packages/amdgpu_fan/lib/amdgpu.py", line 3 7, in read_endpoint
return e.read()
OSError: [Errno 22] Invalid argument
The text was updated successfully, but these errors were encountered: