Window appears for a split second, then crashes
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
- Installed from source/Flatpak/AUR/other (specify):
Flatpak / AUR (tried both)
- Distribution name and version (e.g. Ubuntu 18.10):
Arch Linux
- Desktop Environment (e.g. Gnome 3.30):
KDE Plasma / Gnome (tried both
- NVIDIA driver version (e.g. 415.27):
535.104.05
- CoolBits value (4, 8, 12, ..., don't know):
?
- GPU (e.g. Asus Strix OC 1080 Ti):
RTX 3080 Mobile (XMG Neo M21 intel)
Step 3: Describe the problem:
Steps to reproduce:
- install GWE
- try to start
- get error
Observed Results:
- Window appears for a split second, immediately crashes
Expected Results:
- doesn't crash and runs normally
Console logs:
Flatpak:
Gtk-Message: 21:55:57.783: Failed to load module "xapp-gtk3-module"
Gtk-Message: 21:55:57.783: Failed to load module "canberra-gtk-module"
CRITICAL: Uncaught exception
Traceback (most recent call last):
File "/app/lib/python3.10/site-packages/rx/scheduler/mainloop/gtkscheduler.py", line 48, in timer_handler
sad.disposable = self.invoke_action(cast(typing.ScheduledAction, action), state=state)
File "/app/lib/python3.10/site-packages/rx/scheduler/scheduler.py", line 103, in invoke_action
ret = action(self, state)
File "/app/lib/python3.10/site-packages/rx/core/observer/scheduledobserver.py", line 63, in run
work()
File "/app/lib/python3.10/site-packages/rx/core/observer/scheduledobserver.py", line 28, in action
self.observer.on_next(value)
File "/app/lib/python3.10/site-packages/rx/core/observer/autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "/app/lib/python3.10/site-packages/gwe/presenter/main_presenter.py", line 329, in _on_status_updated
self.main_view.refresh_status(status, self._gpu_index)
File "/app/lib/python3.10/site-packages/gwe/view/main_view.py", line 255, in refresh_status
self._power_limit_adjustment.set_value(limit)
TypeError: Argument 1 does not allow None as a value
AUR / Chaotic AUR version:
CRITICAL: Uncaught exception
Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/rx/scheduler/mainloop/gtkscheduler.py", line 48, in timer_handler
sad.disposable = self.invoke_action(cast(typing.ScheduledAction, action), state=state)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/rx/scheduler/scheduler.py", line 103, in invoke_action
ret = action(self, state)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/rx/core/observer/scheduledobserver.py", line 63, in run
work()
File "/usr/lib/python3.11/site-packages/rx/core/observer/scheduledobserver.py", line 28, in action
self.observer.on_next(value)
File "/usr/lib/python3.11/site-packages/rx/core/observer/autodetachobserver.py", line 26, in on_next
self._on_next(value)
File "/usr/lib/python3.11/site-packages/gwe/presenter/main_presenter.py", line 329, in _on_status_updated
self.main_view.refresh_status(status, self._gpu_index)
File "/usr/lib/python3.11/site-packages/gwe/view/main_view.py", line 255, in refresh_status
self._power_limit_adjustment.set_value(limit)
TypeError: Argument 1 does not allow None as a value
I also have the issue that I can't change the Power Limit with nvidia-smi, the Error lets me think it might be related to that.
At some point I was able to change the Power Limit, probably around nvidia 520 ish, but since then it only says:
Changing power management limit is not supported for GPU: 00000000:01:00.0.
Treating as warning and moving on.
All done.