# Python update broke GWE with no apparent resolution at the moment, any suggestions? I need to overclock my Nvidia GPU

**URL:** <https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263>\
**Category:** Applications\
**Created:** [December 13, 2021, 11:24pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263 "2021-12-13T23:24:21Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 13, 2021, 11:24pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/1 "2021-12-13T23:24:21Z")

</div>

I use GWE to overclock my GPU.

Looking on the AUR, there’s no resolution for this now (look at recent comments): [https://aur.archlinux.org/packages/gwe/](https://aur.archlinux.org/packages/gwe/)

There were some issues filed:

> **[Python 3.10 regression: injector.UnknownProvider: couldn't determine provider...](https://gitlab.com/leinardi/gwe/-/issues/162)**
>
> Bug report Step 1: Are you in the right place?

> <https://github.com/alecthomas/injector/issues/192>
>
> Some users of Fedora 35 \[reported\](https://gitlab.com/leinardi/gwe/-/issues/162)… that an app I developed doesn't work anymore after upgrading from Fedora 43.
> 
> After some investigation it seems related to the upgrade to Python 3.10. I was able to reproduce the same issue on Ubuntu 21.10 after installing Python 3.10 and running the app on a venv that uses it.
> 
> This is the relevant traceback:
> \`\`\`
> Traceback (most recent call last):
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 658, in get\_binding
> return self.\_get\_binding(interface, only\_this\_binder=is\_scope)
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 653, in \_get\_binding
> raise KeyError
> KeyError
> 
> During handling of the above exception, another exception occurred:
> 
> Traceback (most recent call last):
> File "/home/leinardi/Workspace/gitlab/gwe/.pycharm/gwe", line 43, in \<module\>
> from gwe import \_\_main\_\_
> File "/home/leinardi/Workspace/gitlab/gwe/gwe/\_\_main\_\_.py", line 33, in \<module\>
> from gwe.model.current\_fan\_profile import CurrentFanProfile
> File "/home/leinardi/Workspace/gitlab/gwe/gwe/model/\_\_init\_\_.py", line 19, in \<module\>
> from gwe.model.overclock\_profile import OverclockProfile
> File "/home/leinardi/Workspace/gitlab/gwe/gwe/model/overclock\_profile.py", line 29, in \<module\>
> OVERCLOCK\_PROFILE\_CHANGED\_SUBJECT = INJECTOR.get(OverclockProfileChangedSubject)
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 952, in get
> binding, binder = self.binder.get\_binding(interface)
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 667, in get\_binding
> binding = self.create\_binding(interface)
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 582, in create\_binding
> provider = self.provider\_for(interface, to)
> File "/home/leinardi/Workspace/gitlab/gwe/venv/lib/python3.10/site-packages/injector/\_\_init\_\_.py", line 644, in provider\_for
> raise UnknownProvider('couldn\\'t determine provider for %r to %r' % (interface, to))
> injector.UnknownProvider: couldn't determine provider for gwe.di.OverclockProfileChangedSubject to None
> \`\`\`
> The \[code\](https://gitlab.com/leinardi/gwe/-/blob/release/gwe/model/overclock\_profile.py#L29) that is triggering the issue is this one:
> \`\`\`python
> OVERCLOCK\_PROFILE\_CHANGED\_SUBJECT = INJECTOR.get(OverclockProfileChangedSubject)
> \`\`\`
> where \`OverclockProfileChangedSubject\` \[is defined\](https://gitlab.com/leinardi/gwe/-/blob/release/gwe/di.py#L35) as:
> \`\`\`python
> OverclockProfileChangedSubject = NewType('OverclockProfileChangedSubject', Subject)
> \`\`\`
> 
> This code worked fine for several versions of Python and version 3.10 seems to be the only one affected.

Anyways, being new to EOS, I’m wondering what suggestions everyone has. Is it worth it to just downgrade Python? If so, is there a way to block updates for now up until this is resolved?

Or is there another way to overclock and undervolt my GPU along with fan control?

This is urgent for me, so I may need to go back to Windows for the meantime if there’s no good resolution.

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [December 13, 2021, 11:44pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/2 "2021-12-13T23:44:14Z")

</div>

Well hello again! As you can see from the issue trackers, it’s been an ongoing issue for 2 months now. I doubt there’ll be a fix by tomorrow. Perhaps a fix by the end of this week or more realistically by the end of this month, but nothing is ever certain when it comes to issues like this. And since the flatpak doesn’t seem to work as well now, I’d say you don’t have many options. `gwe` is not a deal-breaker for me, I don’t overclock myself, so I can’t offer the best advice other than to wait and see. Downgrading could be an option, but I don’t think many users would recommend partial upgrades since that could lead to a whole other set of issues. Hopefully some other users have more solid advice to offer, but I don’t think I offered much good news for you, sorry about that!

---

<div class="post-metadata">

**Author:** ![ajgringo619](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/ajgringo619/32/35599_2.png) [@ajgringo619](https://forum.endeavouros.com/u/ajgringo619)\
**Post date:** [December 13, 2021, 11:47pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/3 "2021-12-13T23:47:22Z")

</div>

I would try a downgraded Flatpak version; at least this should isolate the python 3.10 issue. For info on how, check my answer here: [https://unix.stackexchange.com/questions/552688/is-it-possible-to-roll-back-a-flatpak-update/552700#552700](https://unix.stackexchange.com/questions/552688/is-it-possible-to-roll-back-a-flatpak-update/552700#552700)

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 14, 2021, 12:05am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/4 "2021-12-14T00:05:39Z")

</div>

Hey again @Scotty_Trees - no worries, I don’t expect an immediate fix, and actually what I asked for was a workaround solution which I’m still hoping for 🙂 I would rather not need to go back to Windows since I’m pretty used to things on Linux/EOS at the moment.

@ajgringo619 Thanks for the suggestion. I did revert to a couple of lower Flatpak versions with the help of your instructions, but it came up with the same error in Flatpak as before about the NVLM Shared Library not being found. But, I may not have the knowledge needed to understand which version I should be reverting to ☹

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [December 14, 2021, 1:42am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/5 "2021-12-14T01:42:23Z")

</div>

I don’t overclock but it looks like the Arch wiki lists a couple of options. Maybe one of those could work for you?  
[https://wiki.archlinux.org/title/NVIDIA/Tips\_and\_tricks#Enabling\_overclocking](https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks#Enabling_overclocking)

> #### Saving overclocking settings
> 
> Typically, clock and voltage offsets inserted in the _nvidia-settings_ interface are not saved, being lost after a reboot. Fortunately, there are tools that offer an interface for overclocking under the proprietary driver, able to save the user’s overclocking preferences and automatically applying them on boot. Some of them are:
> 
> - [gwe](https://aur.archlinux.org/packages/gwe/)AUR - graphical, applies settings on desktop session start
> - [nvclock](https://aur.archlinux.org/packages/nvclock/)AUR and [systemd-nvclock-unit](https://aur.archlinux.org/packages/systemd-nvclock-unit/)AUR - graphical, applies settings on system boot
> - [nvoc](https://aur.archlinux.org/packages/nvoc/)AUR - text based, profiles are configuration files in `/etc/nvoc.d/`, applies settings on desktop session start

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 14, 2021, 1:56am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/6 "2021-12-14T01:56:00Z")

</div>

Hey, I did look there, forgot to mention 🙂

It looks like these haven’t been updated in a while. But I’m also not clear on how to set the settings exactly how I did like in GWE.

On my 3060TI, I use the following settings:

125 PL  
-502 Core clock  
1170 Mem  
75% fan speed at 65c min

Above all I’m not clear on how to scale fan speed properly like I could before.

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [December 14, 2021, 2:45am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/7 "2021-12-14T02:45:41Z")

</div>

Also, looks like there’s [Tuxclocker](https://www.linuxadictos.com/en/tuxclocker-una-herramienta-de-overclocking-gui-para-linux.html)  
and according to [gwe’s issue page](https://gitlab.com/leinardi/gwe/-/issues/162), the flatpack should work as well.

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 14, 2021, 4:58pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/8 "2021-12-14T16:58:46Z")

</div>

Tuxclocker doesn’t seem to work and it’s also a bit old. The flatpak does not work per the above convo.

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [December 15, 2021, 12:00am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/9 "2021-12-15T00:00:54Z")

</div>

> it seems that new version is being built right now: [https://flathub.org/builds/#/builders/32/builds/70952](https://flathub.org/builds/#/builders/32/builds/70952)
> 
> Source: [GWE AUR](https://aur.archlinux.org/packages/gwe/)

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 15, 2021, 12:41am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/10 "2021-12-15T00:41:28Z")

</div>

Ty Scotty, I’ve also flagged the AUR package for comments… it’s pretty handy

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [December 15, 2021, 3:34am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/11 "2021-12-15T03:34:23Z")

</div>

> PutridPete [1] added the following comment to gwe [2]:
> 
> Seems like the update has been pushed into flathub already, so now if  
> you run `flatpak update` it should pull the latest version  
> and restore functionality to GWE. I can confirm the flatpak version is  
> working again for me.
> 
> Source: [GWE AUR](https://aur.archlinux.org/packages/gwe/)

@thrik If you give the flatpak version a go, let us know if it works since GWE is crucial to you.

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 15, 2021, 3:46am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/12 "2021-12-15T03:46:07Z")

</div>

Yeah the Flatpak is working, I already replied to Pete there. Glad he updated on that

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 15, 2021, 4:02am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/13 "2021-12-15T04:02:51Z")

</div>

Anyways, all in all, this was a learning experience. `nvidia-settings` can handle almost everything except the proper fan control settings, since it can only set the fans at a static speed. Which is nice if everything runs okay, but it’s not ideal in case my computer starts to overheat for some reason.

GWE also shows that there’s a safety kill-switch, that if my GPU reaches 98c, that it will shut it down.

I don’t know if this automatically happens without GWE or not, but it’s nice having that peace of mind.

---

<div class="post-metadata">

**Author:** ![steanne](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/steanne/32/9187_2.png) [@steanne](https://forum.endeavouros.com/u/steanne)\
**Post date:** [December 20, 2021, 9:39pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/14 "2021-12-20T21:39:05Z")

</div>

this has been fixed by a [small change](https://github.com/alecthomas/injector/pull/193) to `python-injector`.

---

<div class="post-metadata">

**Author:** ![Scotty\_Trees](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/scotty_trees/32/29792_2.png) [@Scotty\_Trees](https://forum.endeavouros.com/u/Scotty_Trees)\
**Post date:** [December 20, 2021, 11:23pm UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/15 "2021-12-20T23:23:06Z")

</div>

Yup, thanks for the heads up @steanne, that fix just got pushed and updated in the AUR. I just updated `python-injector` and now GWE runs again!

@thrik Dunno if you want to keep using the flatpak version or not, but the GWE AUR package is working again 🙂

![Screenshot from 2021-12-20 18-21-01](https://forum.endeavouros.com/uploads/default/original/3X/7/d/7d154ca1cef4874caea2cb99be46b783ec78755a.png)

Edit: This thread should now be solved btw with the recent update to `python-injector`

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 21, 2021, 12:19am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/16 "2021-12-21T00:19:33Z")

</div>

Hmm, I tried running yay to update `python-injector`, it’s not seeing an update, it wants to reinstall the same version. I’m still getting the same launch problems with `gwe` as before.

---

<div class="post-metadata">

**Author:** ![Stagger\_Lee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stagger_lee/32/93385_2.png) [@Stagger\_Lee](https://forum.endeavouros.com/u/Stagger_Lee)\
**Post date:** [December 21, 2021, 12:22am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/17 "2021-12-21T00:22:56Z")

</div>

It was only updated [about 2 hours ago](https://aur.archlinux.org/cgit/aur.git/log/?h=python-injector); it probably hasn’t hit your mirror yet.

---

<div class="post-metadata">

**Author:** ![thrik](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/t/f04885/32.png) [@thrik](https://forum.endeavouros.com/u/thrik)\
**Post date:** [December 21, 2021, 12:31am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/18 "2021-12-21T00:31:17Z")

</div>

Actually, it turns out I had some other error launch too lol… `No module named 'py3nvml'`

But, was able to (re)install that after a Google search by running `pip3 install py3nvml`.

All is well now. Thanks everyone 🙂

---

<div class="post-metadata">

**Author:** ![Stagger\_Lee](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/stagger_lee/32/93385_2.png) [@Stagger\_Lee](https://forum.endeavouros.com/u/Stagger_Lee)\
**Post date:** [December 21, 2021, 12:33am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/19 "2021-12-21T00:33:53Z")

</div>

And I realized just now that, even though I knew it was an AUR package, I somehow _forgot_ it was an AUR package - so my mirror comment did not apply.

I _do_ drink a lot… 😆

---

<div class="post-metadata">

**Author:** ![Trekkie00](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/trekkie00/32/102609_2.png) [@Trekkie00](https://forum.endeavouros.com/u/Trekkie00)\
**Post date:** [December 21, 2021, 2:39am UTC](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263/20 "2021-12-21T02:39:53Z")

</div>

Strange. I never had to install a package via pip (even now) to use GWE. Can use it without any problems.

[Next page](https://forum.endeavouros.com/t/python-update-broke-gwe-with-no-apparent-resolution-at-the-moment-any-suggestions-i-need-to-overclock-my-nvidia-gpu/21263.md?page=2)
