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

Test failed to open file for read platform_profile #524

Open
Pzayno opened this issue Mar 1, 2025 · 2 comments
Open

Test failed to open file for read platform_profile #524

Pzayno opened this issue Mar 1, 2025 · 2 comments

Comments

@Pzayno
Copy link

Pzayno commented Mar 1, 2025

On a fresh install of gamemode-git, I am getting a strange error about platform_profile failed to open file for read.

cat /sys/firmware/acpi/platform_profile reveals no such file or directory exist. Instead there is a pm_profile

after using sudo usermod -aG gamemode $(whoami) I am added to the group. id $(whoami)
uid=1000(user) gid=1000(user) groups=1000(user),998(wheel),966(gamemode)

on gamemoded -t after adding myself to the group 'gamemode'

: Loading config
Loading config file [/etc/gamemode.ini]
: Running tests
:: Basic client tests
:: Passed
:: Dual client tests
gamemode request succeeded and is active
Quitting by request...
...Waiting for child to quit...
:: Passed
:: Gamemoderun and reaper thread tests
...Waiting for child to quit...
...Waiting for reaper thread (reaper_frequency set to 5 seconds)...
:: Passed
:: Supervisor tests
:: Passed
:: Feature tests
::: Verifying CPU governor setting
::: Passed
::: Verifying platform profile setting
ERROR: Failed to open file for read /sys/firmware/acpi/platform_profile
ERROR: Failed to open file for read /sys/firmware/acpi/platform_profile
ERROR: Platform profile was not set to performance (was actually none)!
::: Failed!
-- You may need to add your user to the gamemode group: -- $ sudo usermod -aG gamemode $(whoami)::: Verifying Scripts
::: Passed (no scripts configured to run)
::: Verifying GPU Optimisations
::: Passed (gpu optimisations not configured to run)
::: Verifying renice
::: Passed (no renice configured)
::: Verifying ioprio
ERROR: Initial ioprio value is non-default
Expected: 4, Was: 5

::: Failed!
ERROR: :: Failed!
: Tests Failed!

Expected Tests Passed!

OS Arch 6.13.5-zen1-1-zen (64-bit)

@MarekPokropinski
Copy link

MarekPokropinski commented Mar 4, 2025

I have the same issue when compiling from master. When using older commit (tag 1.8.2) everything works fine. My system: Linux arch 6.13.5-arch1-1

Note: I have added my user to gamemode group and restarted pc after install

@tylerferrara
Copy link

I have the same issue when compiling from master. When using older commit (tag 1.8.2) everything works fine. My system: Linux arch 6.13.5-arch1-1

Note: I have added my user to gamemode group and restarted pc after install

+1 on using release 1.82

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

3 participants