ZenStates-Linux
keyboard
ZenStates-Linux | keyboard | |
---|---|---|
14 | 28 | |
488 | 3,691 | |
- | - | |
0.0 | 0.0 | |
almost 4 years ago | 25 days ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ZenStates-Linux
-
[HELP] GMK K4 Random Reboot (Ubuntu)
You can also use: https://github.com/r4m0n/ZenStates-Linux/tree/master
-
EPYC 7002 CPUs may hang after 1042 days of uptime
https://github.com/r4m0n/ZenStates-Linux/blob/master/zenstat...
Not sure if this is applicable to EPYC CPUs, probably not. But I would expect that it's possible to disable C6 in some similar way on EPYC CPUs without rebooting the system. (If you are actually at risk of running into this issue, you likely don't want to reboot the system…)
-
Well, it's finally happened to me. Windows update has overwritten my Linux UEFI entry, and now I get to fix it!
I tried everything you've mentioned but finally fixed the issue on my 1300 using python zenstates. I had it run on boot with this systemd service: ``` [Unit] Description=Disable C6 state on ryzen processor to fix idle freezing
-
an AMD Ryzen 5700G system keeps freezing around every other day — disabling 'C-state control' option in BIOS hasn't resolved the issue, 'typical current idle' isn't available
The freezing has only occurred when idle so far: when the monitor returns from sleep, no signal is returned. A related bug report references this Python script several times in the comments, and there's also another for Go. No commits in several years, sudo is obviously required and I don't know if they can be considered as safe.
-
System freezes every other day.
Note: I merely added the systemd script (IIRC by reusing some forum messages while digging my crashes) + the debian packaging. That's not my script :), credit for this script goes to https://github.com/r4m0n/ZenStates-Linux
-
Debian 11 constant freezing after UEFI install
I fixed this by toggling some power management option (can't remember which one, deep in a submenu) in UEFI, then checking with https://github.com/r4m0n/ZenStates-Linux. It must return C6 disabled for package, enabled for cores. Ryzen 5 1600
-
For people running 5900X/5950X on Linux, increase your SOC voltage by 0.05 if your system is crashing
Also try disabling C6 sleep with zenstates
-
AMD CPU undervolt finally possible with this new P State driver ?
You can undervolt by manipulating the VIDs with zenstates https://github.com/r4m0n/ZenStates-Linux
-
not even sure what i did this time(information in comments)
It's the Ryzen bug. You need to disable your C6 cpu state (https://github.com/r4m0n/ZenStates-Linux), disable dram power down enable(bios option) and set Power Supply Idle Control to Typical Current Idle(bios option)
-
AMD Ryzen Sleep, Hibernate and Shutdown Issues
So the other hand is zenstates.py It pokes a register to keep C6 power state from happening. I launch on reboot, and my machine no longer has sleep state problems.
keyboard
- Logging every action a user makes?
-
Run when key is pressed
check out the docs here https://github.com/boppreh/keyboard
-
Trying to block all inputs except a few
You can install the keyboard library, then do keyboard.wait('enter').
-
Python Keyboard: Its installed but module cant be found
Name: keyboard Version: 0.13.5 Summary: Hook and simulate keyboard events on Windows and Linux Home-page: https://github.com/boppreh/keyboard Author: BoppreH Author-email: [email protected] License: MIT Location: /home/me/.local/lib/python3.10/site-packages Requires: Required-by:
- control panel targeting my program
-
GPT-3 reveals my full name to anybody who asks. Can I do anything?
LOL, here you go
-
How to stop a while loop by inputting a keypress
I'm trying to create an autoclicker using the pyautogui library. I want to create a fail safe for the user to break out of the auto clicker in case the cursor is not able to be moved and the user can't stop the program. I'm using the keyboard library to implement a hotkey to stop the auto clicker from running, but I'm not getting the intended behavior. The click() function is only executed once and the program quits. I'm on a Arch Linux, and gave the program root privileges as mentioned in the readme of keyboard
-
Code without modules?
As an example here is how the keyboard module does it: https://github.com/boppreh/keyboard/blob/master/keyboard/_winmouse.py
-
Cross-platform hotkeys and hotstrings?
If you needed a cross-platform solution today, I would recommend looking into Python and some of its related ecosystem, such as the keyboard package, which provides cross-platform hotkey support and keyboard automation, including 'word listeners' and its companion module mouse.
-
Assigning functions to keyboard keys IN PYTHON
And according to this issue, there's no support for key suppression in the Linux version of keyboard.
What are some alternatives?
undervolt - Undervolt Intel CPUs under Linux
PyUserInput - A module for cross-platform control of the mouse and keyboard in python that is simple to install and use.
picom - A lightweight compositor for X11
scapy - Scapy: the Python-based interactive packet manipulation program & library. Supports Python 2 & Python 3.
le9-patch - [PATCH] mm: Protect the working set under memory pressure to prevent thrashing, avoid high latency and prevent livelock in near-OOM conditions
pySerial - Python serial port access library
earlyoom - earlyoom - Early OOM Daemon for Linux
wifi
radeon-profile - Application to read current clocks of ATi Radeon cards (xf86-video-ati, xf86-video-amdgpu)
Pingo - THIS IS A FORK! The main repo is at the pingo-io organization
snapdrop - A Progressive Web App for local file sharing
mouse - Hook and simulate global mouse events in pure Python