Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaks Power Profile in KDE #198

Open
SaxatB opened this issue Oct 22, 2024 · 4 comments
Open

Breaks Power Profile in KDE #198

SaxatB opened this issue Oct 22, 2024 · 4 comments

Comments

@SaxatB
Copy link

SaxatB commented Oct 22, 2024

Model : PHN16-71

Before installing this the power profile was working fine but now it gives me a error.

@KrisDevelopment
Copy link

Can you share what the error is and a little more details about the system?

@SaxatB
Copy link
Author

SaxatB commented Oct 23, 2024

Can you share what the error is and a little more details about the system?

Keyboard RGB Zones - 4
CPU Fans - 1
GPU Fans - 1
RGB Keyboard Works? Yes.

Previously, using KDE's Power Profile option used to change power profile from eco, balanced and performance. After installing this module, while the RGB is more customizable I'm no longer able to change power profile. If I try chaning via powerprofilesctl, it gives me a error that reads "Failed to communicate with power-profiles-daemon: g-io-error-quark: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1: Failed to activate platform driver 'platform_profile': Failed to write to acpi_platform_profile: Could not open '/sys/firmware/acpi/platform_profile' for writing (1)".

The fans also seem to be at full speed when opening the laptop but it gets fixed once I log in.

@KrisDevelopment
Copy link

Can you share what the error is and a little more details about the system?

Keyboard RGB Zones - 4 CPU Fans - 1 GPU Fans - 1 RGB Keyboard Works? Yes.

Previously, using KDE's Power Profile option used to change power profile from eco, balanced and performance. After installing this module, while the RGB is more customizable I'm no longer able to change power profile. If I try chaning via powerprofilesctl, it gives me a error that reads "Failed to communicate with power-profiles-daemon: g-io-error-quark: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1: Failed to activate platform driver 'platform_profile': Failed to write to acpi_platform_profile: Could not open '/sys/firmware/acpi/platform_profile' for writing (1)".

The fans also seem to be at full speed when opening the laptop but it gets fixed once I log in.

I'm also on KDE, but can't get it to break for me (maybe I don't run the same power profile app as you), however I'm sure platform_profile requires exporting the proper kernel module. Can you run this: grep platform_profile_register /proc/kallsyms
Output shouldn't be empty, it should give you something like:

0000000000000000 r __crc_platform_profile_register      [platform_profile]
0000000000000000 r __kstrtab_platform_profile_register  [platform_profile]
0000000000000000 r __kstrtabns_platform_profile_register        [platform_profile]
0000000000000000 r __ksymtab_platform_profile_register  [platform_profile]
0000000000000000 t platform_profile_register    [platform_profile]

@SaxatB
Copy link
Author

SaxatB commented Oct 24, 2024

Can you share what the error is and a little more details about the system?

Keyboard RGB Zones - 4 CPU Fans - 1 GPU Fans - 1 RGB Keyboard Works? Yes.
Previously, using KDE's Power Profile option used to change power profile from eco, balanced and performance. After installing this module, while the RGB is more customizable I'm no longer able to change power profile. If I try chaning via powerprofilesctl, it gives me a error that reads "Failed to communicate with power-profiles-daemon: g-io-error-quark: GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code1: Failed to activate platform driver 'platform_profile': Failed to write to acpi_platform_profile: Could not open '/sys/firmware/acpi/platform_profile' for writing (1)".
The fans also seem to be at full speed when opening the laptop but it gets fixed once I log in.

I'm also on KDE, but can't get it to break for me (maybe I don't run the same power profile app as you), however I'm sure platform_profile requires exporting the proper kernel module. Can you run this: grep platform_profile_register /proc/kallsyms Output shouldn't be empty, it should give you something like:

0000000000000000 r __crc_platform_profile_register      [platform_profile]
0000000000000000 r __kstrtab_platform_profile_register  [platform_profile]
0000000000000000 r __kstrtabns_platform_profile_register        [platform_profile]
0000000000000000 r __ksymtab_platform_profile_register  [platform_profile]
0000000000000000 t platform_profile_register    [platform_profile]

I got this as the output:
"0000000000000000 r __kstrtab_platform_profile_register [platform_profile]
0000000000000000 r __kstrtabns_platform_profile_register [platform_profile]
0000000000000000 r __ksymtab_platform_profile_register [platform_profile]
0000000000000000 t __pfx_platform_profile_register [platform_profile]
0000000000000000 t platform_profile_register [platform_profile]"

Edit - Disabling Turbo Fan service fixed the power plan issue but I can no longer use it to modify RGB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants