From 63202d6b69f397f9e67ee231d1770673ddcfd5a4 Mon Sep 17 00:00:00 2001 From: Thomas Walker Lynch Date: Sun, 22 Sep 2024 03:44:29 +0000 Subject: [PATCH] Adds LICENSE and README --- LICENSE | 23 +++++++++++++++++++++++ README | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 LICENSE create mode 100644 README diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4607ac3 --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +NoFlash Project + +Copyright (c) 2024 Thoma Walker Lynch + +Licensed under MIT License + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README b/README new file mode 100644 index 0000000..51338eb --- /dev/null +++ b/README @@ -0,0 +1,48 @@ +# NoFlash Project + +## License + +Note the LICENSE file in this directory. + +## Overview + +The **NoFlash** project aims to capture and manipulate video frames directly +from the GPU frame buffer to prevent bright flashes that can be potentially eye +damaging, particularly in dark mode. By workign with the GPU and grabbing +frames immediately before display, software gets no say in the matter. + +### Problem Statement + +Many applicationss revert to white backgrounds during transitions, such as in +new tabs, when X or Wyaland open a new window, when when playing videos and the +author made a poor choice for transitioning or desires to mimic a photo flash. +After 15 years of reporting bugs on applicationss and complaining to video +produces, and there being only temporary fixes, it is time to recognize that the +this problem is deeper than that which software developers can address, and +to recognize there is no end to the see of new video produces. + +### Current Status + +This 'weekend' work has been temporarily halted due to unresolved issues of +permission errors when accessing the framebuffer via Direct Rendering Manager +(DRM) interfaces, even for priveledged programs. + +1. Attempts to disconnect and manipulate the display in + order to capture the frame buffer have been met with "permission denied" + errors, even when running as the root user. + +2. **Frame Buffer Capture**: While it is possible to create and manage "dumb + buffers" (simple memory-mapped frame buffers), capturing real-time video + frames is meeting permission denied errors. + +### Current Platform + +Linux Fedora 40. Ryzen whith AMD Radeon GPU active, Nvidia GPU available, not +intending to use it for this. + +## Contact + +For more information or questions about this project, please contact: + +Thomas Walker Lynch + -- 2.20.1