mischw / wl-gammactl Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It's not common for projects to invoke git
during the course of a regular build. Further, Nix builds are sandboxed and can't access the network.
Can it be optional? The nix source stage can be instructed to fetch submodules, so the steps that it needs git
for don't need to be executed anyway.
(Context: I'm packaging this for nixpkgs-wayland.)
Is it possible to use this on a per-screen basis?
Use case: I have a monitor that apparently can't go brighter than e0e0e0 but I don't want to mess with my laptop's builtin display.
When I attempt to run any wl-gammactl
commands, it just says that it failed to set gamma table
, rather than setting the specified gamma value. There's no --verbose
flag as far as I can tell, so I'm afraid I can't provide any other error information. I'm using the same software setup on another device and have no issues there.
System Details
Artix Linux rolling
Sway 1.6.1
NVIDIA Proprietary 495,44
Running Fedora Silverblue 36
From toolbox run dnf info wl-gammactl
:
Name : wl-gammactl
Version : 0.1
Release : 0.8.20200406git611846c.fc36
Architecture : x86_64
System configuration:
OS: Fedora Silverblue 36
Kernel: 5.18.10-200.fc36.x86_64
Sway: 1.7 (fedora repository)
APU: 16 Core AMD Ryzen 7 5700G with Radeon Graphics (Cezanne) @ 4.673GHz
Driver: amdgpu
This is the case with both an OLED and eInk display. I have not tested on an LCD or other technology.
The issue is that if a pixel is pure black (#000000), it is not impacted by gamma controls; it remains pure black. Specifically, I was trying to invert the output with '-c -1 -b 2 -g 1'. All other content gets properly inverted, but my pure black terminal and other elements (such as web content) remains black, while any other content is properly flipped.
I'm working around this by changing my pure black themes to use #010101 anywhere that #000000 was previously applied, but pure black pops up in lots of other places where it will fail to be properly inverted.
As a side note, I'm trying to do this because black-on-white renders much more clearly on eInk, while white-on-black is a lot easier on the eyes for OLED. My goal was to invert only the eInk display and be able to move content between the two (eInk is 16bit greyscale, so I don't care about the mismatched colors). It does not seem possible to have different gamma configurations for each output at this time. It is unclear to me where this limitation is coming in to play (wlroots, graphics drivers, graphics hardware, wl-gammactl, or other), but it seems like something that should be technically possible. For now I just have a hotkey to toggle the inversion when necessary, but this means not being able to use both displays simultaneously. Hopefully this is something that can be addressed by whatever project is relevant.
Hi, I'm using this tool instead of others, because I have an urge to adjust contrast of the screen, while others don't have this functionality.
Everything's almost perfect, except the lack of feature for RGB adjustment while other tools all have this feature when it comes to gamma adjustment.
Could this feature be added?
I have no programming background, so I cannot push a Pull Request, I'm sorry.
If I click on part of a slider to set a value, instead of dragging it, my entire desktop crashes, and I have to reboot from another tty.
I am running sway.
HI! Sorry for question!
On fedora 31 then running app i get:
compositor doesn't support wlr-gamma-control-unstable-v1
graphic card? monitors?
can't understand from source code..
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.