-
-
Notifications
You must be signed in to change notification settings - Fork 155
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
GPU and fps fan error #473
Comments
Can you open a python shell from a terminal and type these commands? import psutil
print(psutil.sensors_fans()) What do you get? |
roberto /opt/turing-smart-screen-python-main 2 python3
|
Thanks for testing it! |
So I tried changing kernel from 5.15 to 6.5 now it gives me this roberto ~ python3
roberto ~ inxi -s |
Interesting! I have quite the same sensors on my side: >$ inxi -s
Sensors:
System Temperatures: cpu: 39.5 C mobo: 29.0 C gpu: amdgpu temp: 48.0 C
Fan Speeds (rpm): fan-1: 736 fan-2: 969 fan-3: 718 fan-4: 699 fan-5: 0
fan-6: 0 fan-7: 0 gpu: amdgpu fan: 1708
>$ python
Python 3.11.7 (main, Jan 29 2024, 16:03:57) [GCC 13.2.1 20230801] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import psutil
>>> print(psutil.sensors_fans())
{'nct6798': [sfan(label='', current=740), sfan(label='', current=948), sfan(label='', current=707), sfan(label='', current=685), sfan(label='', current=0), sfan(label='', current=0), sfan(label='', current=0)], 'amdgpu': [sfan(label='', current=1708)]} I had to run The nct6798 is the Nuvoton's Super I/O controller that manages HW monitoring on AMD Ryzen platforms. |
And there is also another issue: for the fan speeds from nct6798 there is no max. speed info, so it is not possible to compute a percentage: >$ sensors
nct6798-isa-0290
Adapter: ISA adapter
fan1: 707 RPM (min = 0 RPM)
fan2: 906 RPM (min = 0 RPM)
fan3: 691 RPM (min = 0 RPM)
fan4: 657 RPM (min = 0 RPM)
fan5: 0 RPM (min = 0 RPM)
fan6: 0 RPM (min = 0 RPM)
fan7: 0 RPM (min = 0 RPM)
[...]
amdgpu-pci-0800
Adapter: PCI adapter
fan1: 825 RPM (min = 0 RPM, max = 3200 RPM) Only from AMD GPU we can get the max. fan RPM |
In my opinion and fan1 however read here and interesting possible solution |
This is a creative way to identify the CPU fan I agree! Unfortunately, it is not automated and I don't want to add a manual step to the program and change the fan speed. Here is what i think can be implemented:
|
It seems like a great idea anyway my cpu-fan and fan1 |
I made a PR #484 for the changes: now on Linux the Configuration UI has a new field "CPU fan" to allow the user to select it. The list has all the fans and their current speed in % and in RPM, to help user select. There is also a tooltip in case user is missing fans from the list, to run the sensors-detect command |
Great, great news, thank you |
20/02/2024 18:05:13 [DEBUG] HW sub-revision: SubRevision.TURING_3_5
20/02/2024 18:05:13 [DEBUG] Drawing Image: BACKGROUND
20/02/2024 18:05:13 [DEBUG] Bitmap res/themes/Cyberdeck/background.png is now loaded in the cache
20/02/2024 18:05:13 [INFO] Detected AMD GPU(s)
20/02/2024 18:05:13 [WARNING] Your CPU Fan Speed is not supported yet
20/02/2024 18:05:13 [WARNING] Your GPU FPS is not supported yet
Environment:
main
branch, specific commit]When I launch the Cyberdek theme it gives me this problem
The text was updated successfully, but these errors were encountered: