New Linux plugin: fbdev graphics API #1354
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi 👋,
The Linux fbdev API allows user space software to interact with the framebuffer (memory representation of a pixel bitmap). Present since 2.1.109, it was basically appreciated for its simplicity and its ability to create text consoles or graphics outputs without a video adapter or an X server.
Nowadays, it has mostly been replaced by the DRM subsystem, but a lot of drivers still provide backward compatibility for it, meaning that frames will still be stored in RAM/iomem !
The framebuffers can contain the terminal view (CTRL+ALT+FX), or any frame currently displayed by a software (e.g. video streaming) application. Here is a sample plugin run :
With its associated image:
From a very high user abstraction view, this is basically a "screenshot" plugin, but it is not magical in any way.
Running this plugin against your old samples can sometimes give suprisingly accurate markers.
Relevance
Captures of terminals and displays can provide interesting insights about the activity at capture time, and UI settings details.
Additional runs :
This plugin is the first part of the
graphics
release, with aDRM
plugin parser coming (hopefully) soon. However, it is more complex and needs a few things (and possibly more, regarding the recent BTF work) to move before even getting to the PR stage.