AdnanHodzic / AdnanHodzic/auto-cpufreq

Nvidia GPU not using all it's power when using auto-cpufreq

Abierto
#714 13 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
7.8k
Forks
357
Merge medio
3 d 8 h
PR fusionados (30 d)
14

Descripción

### Fill out information requested in this template, without doing so issue will be ignored & closed!

### Have you tried?

- [Searching through existing/closed issues](https://github.com/AdnanHodzic/auto-cpufreq/issues) to see if your bug has already been already submitted? **Yes**
- If installation failed with [auto-cpufreq-installer](https://github.com/AdnanHodzic/auto-cpufreq/#auto-cpufreq-installer),have you tried installing auto-cpufreq using [Snap package](https://github.com/AdnanHodzic/auto-cpufreq/#snap-store)? **Not applicable**
- Have you tried [configuring auto-cpufreq](https://github.com/AdnanHodzic/auto-cpufreq/#configuring-auto-cpufreq)? **Yes**
- Have you tried suggestions in [troubleshooting section](https://github.com/AdnanHodzic/auto-cpufreq#troubleshooting)? **Yes and it's actually worse with acpi than pstate**

---

### System information:

Add/paste output of:

```
mimillie@tataru-os:~/auto-cpufreq$ sudo auto-cpufreq --debug

Using settings defined in /etc/auto-cpufreq.conf file
could not get value from conservation mode

-------------------------------- Battery Info ---------------------------------

battery count = 1
ERROR: failed to read BAT0 thresholds: [Errno 2] No such file or directory: '/sys/class/power_supply/BAT0/charge_start_threshold'

-------------------------------------------------------------------------------

Linux distro: Fedora Linux 40 Silverblue
Linux kernel: 6.8.10-300.fc40.x86_64
Processor: 13th Gen Intel(R) Core(TM) i9-13905H
Cores: 20
Architecture: x86_64
Driver: intel_pstate

------------------------------ Current CPU stats ------------------------------

CPU max frequency: 2600 MHz
CPU min frequency: 400 MHz

Core Usage Temperature Frequency
CPU0 0.0% 51 °C 1221 MHz
CPU1 0.0% 51 °C 400 MHz
CPU2 1.0% 50 °C 400 MHz
CPU3 0.0% 50 °C 400 MHz
CPU4 7.1% 47 °C 971 MHz
CPU5 0.0% 47 °C 400 MHz
CPU6 11.0% 48 °C 1635 MHz
CPU7 0.0% 48 °C 400 MHz
CPU8 3.9% 47 °C 399 MHz
CPU9 0.0% 47 °C 400 MHz
CPU10 5.0% 47 °C 1531 MHz
CPU11 2.0% 47 °C 400 MHz
CPU12 2.0% 51 °C 400 MHz
CPU13 3.0% 51 °C 795 MHz
CPU14 0.0% 51 °C 919 MHz
CPU15 3.9% 51 °C 400 MHz
CPU16 1.0% 49 °C 400 MHz
CPU17 1.0% 49 °C 1154 MHz
CPU18 4.0% 49 °C 900 MHz
CPU19 0.0% 49 °C 1637 MHz

auto-cpufreq version: 2.3.0 (git: 3f6d7a3)

Python: 3.12.3
psutil package: 5.9.8
platform package: 1.0.8
click package: 8.1.7
distro package: 1.9.0

Computer type: Notebook
Battery is: charging

auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.05 %

Total CPU usage: 2.4 %
Total system load: 0.76
Average temp. of all cores: 49.00 °C

Currently using: powersave governor
Currently turbo boost is: off

-------------------------------------------------------------------------------
```

Hello, So since I'm trying to use auto-cpufreq on all my laptops, I had the same issue which is super annoying on newer laptops. Nvidia Power stay at the lowest possible like if I'm on energy saving and on battery with power-profile-daemon. that results in half the available wattage to not being used by my GPU which is a deal breaker.

Here are the differences on my laptop :

**Without auto-cpufreq (plugged in)**

![Capture d’écran du 2024-05-29 17-40-06](https://github.com/AdnanHodzic/auto-cpufreq/assets/52078885/19789811-233c-4ae0-9341-03f188ea1c13)

**With auto-cpufreq (plugged in)**

![Capture d’écran du 2024-05-29 17-41-47](https://github.com/AdnanHodzic/auto-cpufreq/assets/52078885/1fee6c20-b205-4298-a38f-bc84af1dcbc4)

I've tried to :
- set power profile daemon to performance before using auto-cpufreq
- setting governor to performance with --force performance
- using feral gamemode (just in case don't ask why I've tried this...)

Additional info :
The screenshots you see have been taken while running Unigine Superposition on the Nvidia GPU.

If anyone could help that would be nice.
Thanks and have a nice day :)

---

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.