Giter Club home page Giter Club logo

Comments (11)

NGnius avatar NGnius commented on May 16, 2024 1

For now it would be best to use a different device driver. These can be forced by editing the game config provider you want changed in the specific <gameId>.json file in ~/.config/powertools (options are steam-deck, generic, generic-amd, unknown, gabe-boy). Provider should be auto by default. The underlying issue is that PowerTools has hard coded paths since it expects everyone on Steam Deck to be using SteamOS.

from bazzite.

KyleGospo avatar KyleGospo commented on May 16, 2024

This should be universal, it's used by various other handhelds for hardware controls. You may try disabling SELinux with sudo setenforce 0 to test if this begins working as expected.

from bazzite.

jerbmega avatar jerbmega commented on May 16, 2024

No change, at least according to MangoHUD. The karg in #57 also had no effect.

from bazzite.

KyleGospo avatar KyleGospo commented on May 16, 2024

Powertools should be creating a log at /tmp/powertools.log, can you provide that?

from bazzite.

jerbmega avatar jerbmega commented on May 16, 2024

https://paste.rs/NOc0O
Main thing I tried was changing the GPU clock speed (as a workaround for the BPM toggle not working right now). It looks like it's expecting the GPU to be present under card0, but on Bazzite it shows up as card1. For what it's worth, that matches the behavior on my custom Universal Blue image on my desktop with an RDNA2 graphics card as well. The battery errors are similar, expecting a device to show up with a specific hwmon number, but Bazzite's values don't match SteamOS here.

These settings appear to be hardcoded within PowerTools source code at https://github.com/NGnius/PowerTools/tree/main/backend/src/settings/steam_deck. I think this line of the log is particularly notable: 02:17:07 [INFO] Detected device automatically, starting with driver: SteamDeck (This can be overriden)

Maybe setting this to a generic driver would be good enough?

(EDIT: While I could've sworn I tried this earlier and it didn't have any effect, disabling SMT and threads does work in PowerTools. I can also confirm that changing CPU governor works here. However, CPU frequency is not respected regardless of SELinux mode, and GPU setting woes remain.)

from bazzite.

KyleGospo avatar KyleGospo commented on May 16, 2024

Very strange that they use hardcoded hwmon paths. I'll try messaging Ngnius and see if we can get some direction here.

from bazzite.

EyeCantCU avatar EyeCantCU commented on May 16, 2024

Every option I've tested seems to have some effect (monitored in mangohud), but there are errors thrown for a couple toggles

https://paste.centos.org/view/3a861d0b

from bazzite.

NGnius avatar NGnius commented on May 16, 2024

Changing the driver should simply hide the UI elements that won't work. The only alarming error that I see in that log is that the battery current limit can't be set correctly by the steam deck driver, which is consistent with the rest of this issue.

from bazzite.

KyleGospo avatar KyleGospo commented on May 16, 2024

Steam Deck's vpower service is ported now which throws some battery data in /run.

That should put us at absolute feature parity with the only issue being the differing hwmon paths, which should change often here.

from bazzite.

aarron-lee avatar aarron-lee commented on May 16, 2024

This should be universal, it's used by various other handhelds for hardware controls.

As far as I know, PowerTools has never been functional on other hardware and distros. You might be mixing up PowerTools with PowerControl (this fork has better description and pictures)

For ChimeraOS, HoloISO, etc, PowerControl has been the plugin to use on alternative hardware. Unfortunately, it's not available in the Decky store so it has to be manually installed.

from bazzite.

NGnius avatar NGnius commented on May 16, 2024

PowerTools does have limited support for other handhelds, but since I only own a Steam Deck that's got the best support. The rest is mostly accomplished by me blindly changing things and crossing my fingers, and the occasional contribution from others. I try not to buy unnecessary electronics since they're expensive and bad for the environment, but occasionally fun overrides my good judgement.

from bazzite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.