GWE Has Suddenly Failed to Be Able to Modify Power Limit (Ampere)
Bug report
Step 1: Are you in the right place?
-
I have verified there are no duplicate active or recent bugs, questions, or requests -
I have verified that I am using the latest version of GreenWithEnvy (GWE)
Step 2: Describe your environment
- GWE version:
0.15.5
(also tried building from source) - Installed from source/Flatpak/AUR/other (specify):
Source, AUR, Chaotic-AUR
- Distribution name and version (e.g. Ubuntu 18.10):
Arch Linux
- Desktop Environment (e.g. Gnome 3.30):
KDE Plasma 5.26.5
- NVIDIA driver version (e.g. 415.27):
515.85.05
- CoolBits value (4, 8, 12, ..., don't know):
28
- GPU (e.g. Asus Strix OC 1080 Ti):
EVGA XC3 Ultra RTX 3090
Step 3: Describe the problem:
Steps to reproduce:
- Launch GWE (I have mine set to launch at startup)
- Drag the power limit slider (anywhere will work)
- Hit Apply, and enter root password when prompted
- Nothing changes
- Run `sudo nvidia-smi -pl
- Command will complete without errors, and even GWE will show the UPDATED power limit.
I've been using GWE for almost 2 and a half years, I've never experienced this issue. This issue did NOT appear with a driver update, as I've been on 525.85.05 for a few days, the issue didn't appear until today.
nvidia-smi -pl 366
sets the power limit to 366, in both nvidia-settings
AND GWE. I know that GWE uses NVML and nvidia-smi, specifically nvidia-smi to change the power limit, so there's some sort of bug in GWE that is breaking the communication between nvidia-smi and GWE. However, changing the overclock settings works.
Observed Results:
Expected Results:
- The PL changes, as always
Console logs:
app.py:98 2023-02-06 21:05:51,655: DEBUG/MainThread(28335) Option debug selected
check_new_version_interactor.py:41 2023-02-06 21:05:51,775: DEBUG/MainThread(28335) CheckNewVersionInteractor.execute()
connectionpool.py:1003 2023-02-06 21:05:51,778: DEBUG/ThreadPoolExecutor-1_1(28335) Starting new HTTPS connection (1): flathub.org:443
main_presenter.py:311 2023-02-06 21:05:51,794: DEBUG/MainThread(28335) start refresh
nvidia_repository.py:206 2023-02-06 21:05:51,840: DEBUG/ThreadPoolExecutor-1_0(28335) Fetching new data took 44.034 ms
set_overclock_interactor.py:35 2023-02-06 21:05:51,843: DEBUG/MainThread(28335) SetOverclockInteractor.execute()
main_presenter.py:421 2023-02-06 21:05:51,847: DEBUG/MainThread(28335) Setting fan speed to 48
set_fan_speed_interactor.py:35 2023-02-06 21:05:51,847: DEBUG/MainThread(28335) SetSpeedProfileInteractor.execute()
main_view.py:221 2023-02-06 21:05:51,847: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:05:51,851: DEBUG/MainThread(28335) Refresh graph took 0.143 ms
connectionpool.py:456 2023-02-06 21:05:51,985: DEBUG/ThreadPoolExecutor-1_1(28335) https://flathub.org:443 "GET /api/v1/apps/com.leinardi.gwe HTTP/1.1" 200 None
nvidia_repository.py:206 2023-02-06 21:05:54,873: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 31.592 ms
main_presenter.py:421 2023-02-06 21:05:54,875: DEBUG/MainThread(28335) Setting fan speed to 49
set_fan_speed_interactor.py:35 2023-02-06 21:05:54,875: DEBUG/MainThread(28335) SetSpeedProfileInteractor.execute()
main_view.py:221 2023-02-06 21:05:54,875: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:05:54,880: DEBUG/MainThread(28335) Refresh graph took 0.234 ms
nvidia_repository.py:206 2023-02-06 21:05:57,873: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 31.917 ms
main_view.py:221 2023-02-06 21:05:57,876: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:05:57,877: DEBUG/MainThread(28335) Refresh graph took 0.124 ms
nvidia_repository.py:206 2023-02-06 21:06:00,873: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 31.047 ms
main_view.py:221 2023-02-06 21:06:00,875: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:00,876: DEBUG/MainThread(28335) Refresh graph took 0.122 ms
nvidia_repository.py:206 2023-02-06 21:06:03,875: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 33.274 ms
main_view.py:221 2023-02-06 21:06:03,877: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:03,879: DEBUG/MainThread(28335) Refresh graph took 0.169 ms
set_power_limit_iInteractor.py:35 2023-02-06 21:06:05,126: DEBUG/MainThread(28335) SetPowerLimitInteractor.execute()
nvidia_repository.py:206 2023-02-06 21:06:06,874: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 32.229 ms
main_view.py:221 2023-02-06 21:06:06,876: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:06,877: DEBUG/MainThread(28335) Refresh graph took 0.180 ms
nvidia_repository.py:206 2023-02-06 21:06:09,883: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 41.603 ms
main_view.py:221 2023-02-06 21:06:09,886: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:09,888: DEBUG/MainThread(28335) Refresh graph took 0.162 ms
nvidia_repository.py:206 2023-02-06 21:06:12,870: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 27.748 ms
main_presenter.py:421 2023-02-06 21:06:12,872: DEBUG/MainThread(28335) Setting fan speed to 48
set_fan_speed_interactor.py:35 2023-02-06 21:06:12,872: DEBUG/MainThread(28335) SetSpeedProfileInteractor.execute()
main_view.py:221 2023-02-06 21:06:12,872: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:12,876: DEBUG/MainThread(28335) Refresh graph took 0.239 ms
nvidia_repository.py:206 2023-02-06 21:06:15,874: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 32.225 ms
main_view.py:221 2023-02-06 21:06:15,877: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:15,879: DEBUG/MainThread(28335) Refresh graph took 0.223 ms
nvidia_repository.py:206 2023-02-06 21:06:18,883: DEBUG/ThreadPoolExecutor-1_2(28335) Fetching new data took 40.940 ms
main_view.py:221 2023-02-06 21:06:18,886: DEBUG/MainThread(28335) view status
historical_data_view.py:124 2023-02-06 21:06:18,887: DEBUG/MainThread(28335) Refresh graph took 0.138 ms
I will note that running gwe --debug
as root will SOMETIMES show the same output as sudo nvidia-smi -pl <powerlimit>
, but it still only works every now and then.