Comments (4)
When cpu1 is disabled:
cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq
cat: /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_min_freq: Device or resource busy
cat /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq
cat: /sys/devices/system/cpu/cpu1/cpufreq/cpuinfo_max_freq: Device or resource busy
However sudo sh -c 'echo "1" > /sys/devices/system/cpu/cpu1/online'
works just fine.
Maybe it is wise to check if the core is enabled first.
I can probably fix this myself.
from cpupower-gui.
I am aware of this. I found out a couple of weeks ago that this happens when I was trying to troubleshoot another bug.
I did some changes in helper.py if I recall correctly.
Feel free to have a go at fixing this and I will be happy to merge a pull request.
from cpupower-gui.
All yours chief.
Tested it against my system.
from cpupower-gui.
The classic "it works on my system" lol. I had this issue just now when messing with disabling cores. 6 of my cores are hyperthreaded to each handle 2 threads (so I have 14 hardware cores but the computer sees 20), not sure if that might be related or not.
Here's the output:
wkoa {~} $ cpupower-gui off 1
Setting CPU1 offline...
OK
wkoa {~} $ cpupower-gui co
WARNING! Unknown CPU frequency, cause: [Errno 16] Device or resource busy
WARNING! Unknown CPU frequency, cause: [Errno 16] Device or resource busy
WARNING! Unknown CPU frequency, cause: [Errno 16] Device or resource busy
WARNING! Unknown CPU frequency, cause: [Errno 16] Device or resource busy
Applying configuration...
Setting CPU: 0
Minimum Frequency: 400.0 MHz, Maximum Frequency: 4700.0 MHz
Governor: Powersave, Online: True
Traceback (most recent call last):
File "/usr/bin/cpupower-gui", line 351, in <module>
args.func(args)
File "/usr/bin/cpupower-gui", line 72, in set_config
ret = apply_configuration(conf)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/cpupower-gui/cpupower_gui/helper.py", line 67, in apply_configuration
apply_cpu_profile(config.get_profile(profile))
File "/usr/share/cpupower-gui/cpupower_gui/helper.py", line 52, in apply_cpu_profile
print(MSG.format(cpu, fmin / 1e3, fmax / 1e3, gov.capitalize(), online))
Same thing with sudo, whether that helps or not idk.
from cpupower-gui.
Related Issues (20)
- Not working in fedora 37 HOT 14
- OBS link HOT 5
- When some core is offlline, the gui crash HOT 1
- Fails to start on Fedora Kinoite 38 HOT 5
- wrong menu entry HOT 1
- ubuntu 23 can not locate apt package
- Add status switching support for newer amd_pstate and intel_pstate drivers HOT 1
- Minor feature: Toggle/Rotate/Next state HOT 3
- Any plans for a new release
- Help with automatic applying new profile when booting
- "int-expected, float-passed" error for the --min frequency
- cpupower-gui performance profile is not persistent.
- installing latest cpu power gui removed other governors besides powersave and performance
- cpupower-gui fails to start HOT 1
- Fix OBS link and fedora 37 support HOT 5
- Fedrora 36: Install bricks system HOT 11
- The CPUpower-GUI no longer has a Release file HOT 4
- Arch Linux | Although the default profile is selected, it does not start with that setting.
- Docs on Ubuntu / Debian installation of latest version are outdated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpupower-gui.