Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kkartaltepe/drm_info
Fork of drm_info
https://github.com/kkartaltepe/drm_info
Last synced: 2 days ago
JSON representation
Fork of drm_info
- Host: GitHub
- URL: https://github.com/kkartaltepe/drm_info
- Owner: kkartaltepe
- License: mit
- Created: 2024-03-07T07:33:44.000Z (10 months ago)
- Default Branch: egl-dumper
- Last Pushed: 2024-03-08T04:40:47.000Z (10 months ago)
- Last Synced: 2024-12-12T06:05:14.554Z (22 days ago)
- Language: C
- Size: 147 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drm_info
[![builds.sr.ht status](https://builds.sr.ht/~emersion/drm_info/commits/master.svg)](https://builds.sr.ht/~emersion/drm_info/commits/master)
Small utility to dump info about DRM devices.
## Building
Requires libdrm and json-c.
Build with:
meson setup build/
ninja -C build/If you don't have the minimum json-c version (0.13.0), meson will automatically
download and compile it for you. If you don't want this, run the first meson
command with:meson setup build/ --wrap-mode=nofallback
## Usage
drm_info [-j] [--] [path]...
- `-j` - Output info in JSON. Otherwise the output is pretty-printed.
- `path` - Zero or more paths to a DRM device to print info about, e.g.
`/dev/dri/card0`. If no paths are given, all devices found in
`/dev/dri/card*` are printed.## DRM database
[drmdb](https://drmdb.emersion.fr) is a database of Direct Rendering Manager
dumps. This database is used to keep track of GPUs and DRM driver features
support.Please help us gather more data! You can do so by uploading DRM information
from your GPU.drm_info -j | curl -d @- https://drmdb.emersion.fr/submit
This will upload information about your GPUs, your GPU drivers and your
screens.