Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/CounterPillow/mpv-gpufreq
mpv script to display the current and maximum GPU frequency as an osd message.
https://github.com/CounterPillow/mpv-gpufreq
mpv mpv-player mpv-script
Last synced: 2 months ago
JSON representation
mpv script to display the current and maximum GPU frequency as an osd message.
- Host: GitHub
- URL: https://github.com/CounterPillow/mpv-gpufreq
- Owner: CounterPillow
- Created: 2020-04-04T21:20:26.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T13:42:19.000Z (over 4 years ago)
- Last Synced: 2024-11-13T09:49:17.357Z (2 months ago)
- Topics: mpv, mpv-player, mpv-script
- Language: Lua
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-mpv - gpufreq - Displays the current and maximum GPU frequency as an osd message. (Video)
README
gpufreq
=======This script allows you to show the current GPU frequency of a Linux DRM GPU. It should work with
both AMD and Intel GPUs, though Intel is currently untested.Installation
------------Symlink or copy `gpufreq.lua` into your mpv scripts directory (e.g. `~/.config/mpv/scripts/`.) Then
run `ls /sys/class/drm/` to show a list of cards; usually your card should be `card0`.Add a keybinding in your `input.conf` to the command `script-message show-gpu-freq "cardnamehere"`
where `cardnamehere` is the card identifier from the previous step. For example,
`U script-message show-gpu-freq "card0"` would show the frequency of `card0` when you press shift+u.