Giter Club home page Giter Club logo

Comments (14)

HikariKnight avatar HikariKnight commented on June 1, 2024

can you give me the result of
find /sys/class/hwmon/*/ -name "power1_cap"

also the output of journalctl -xe -t bazzite-tdpfix
should hopefully give me some info to work with

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

Sure:

Ron@fedora:~$ find /sys/class/hwmon/*/ -name "power1_cap"
/sys/class/hwmon/hwmon1/power1_cap
Ron@fedora:~$ journalctl -xe -t bazzite-tdpfix
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
-- No entries --

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

hmm ok, so there is only 1, lets see what the values are then.
Please get these from a fresh boot

POWER_CAP_PATH=$(find /sys/class/hwmon/*/ -name "power1_cap")
echo "Permissions":
stat -c %a "$POWER_CAP_PATH"
echo "Power Cap:"
cat "$POWER_CAP_PATH"
echo "Default Power Cap:"
cat "${POWER_CAP_PATH}_default"

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

Sure Thing:

Permissions:
666
Power Cap:
15000000
Default Power Cap:
220000000

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

huh, the script should trigger on that.
systemctl status bazzite-tdpfix.service

is the service enabled?

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024
 bazzite-tdpfix.service - Resets power1_cap permissions to 644 if it is 666 at boot
     Loaded: loaded (/usr/lib/systemd/system/bazzite-tdpfix.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead) since Wed 2024-04-10 17:32:10 CEST; 2h 48min ago
   Main PID: 5186 (code=exited, status=0/SUCCESS)
        CPU: 5ms

Apr 10 17:32:10 fedora systemd[1]: Starting bazzite-tdpfix.service - Resets power1_cap permissions to 644 if it is 666 at boot...
Apr 10 17:32:10 fedora systemd[1]: bazzite-tdpfix.service: Deactivated successfully.
Apr 10 17:32:10 fedora systemd[1]: Finished bazzite-tdpfix.service - Resets power1_cap permissions to 644 if it is 666 at boot.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

this says it did run though and successfully set the permissions and it is enabled 🤔

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

yes, it run at 17:32. I have startet the bazzite-System at 12:29.
The TDP was correct as i shut down the system, but now is at 15 watt again.
i try to check which command has triggered the effect

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

The script only runs, when i wake my system from Standby.

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

do you have any decky plugins that adjust tdp, they can interfere with the fix

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

I had some other serious problems with mit htpc yesterday. (Couldn't start games in Gaming mode, the return to Gaming Mode icon was not on my system, etc.)
So i decided to make a fresh install. So far everything looks fine. I'm downloading games right now an will test the gaming Mode this evening.

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

keep note on what you install and what decky plugins you install maybe install and test the decky plugins 1 by 1 to see which one causes it.

from bazzite.

Decker-01 avatar Decker-01 commented on June 1, 2024

Everything works perfectly fine for now. I think my bazzite installation was faulty. There were a lot of Issues in my UI and the Desktop mode, that i doesn't have anymore since the reinstall.
I'll keep an eye on the tdp, and make a new issue, when the problem comes up again.

Anyway, thank you very much!

from bazzite.

HikariKnight avatar HikariKnight commented on June 1, 2024

np, hopefully the issue wont return

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.