Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

Awesome Lists containing this project

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.