-
Notifications
You must be signed in to change notification settings - Fork 5
add brightness argument to virtualdisplay and xdisplay_mirror #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I'd like to figure out whether this is actually a brightness problem, a gamma problem, or something else. My code converts all RGB565 and RGB888 framebuffers to 10 bits using a modified gamma curve with a 2.2 exponent. I'm curious if (without modifying brightness) changing the second, I'm curious if adding a "fixed off time" as an alternate way to reduce brightness is better or worse. In the relevant pinout in |
@jepler I tried However I don't really know if I building / installing the right way or what, because I also tried changing After each change that I made I ran these
I tried a handful of values for |
I was modifying the post_oe_delay value inside of |
Trying briefly to trace the code using Adafruit_Blinka_Raspberry_Pi5_Piomatter/src/include/piomatter/render.h Lines 229 to 230 in 0a9e578
Adafruit_Blinka_Raspberry_Pi5_Piomatter/src/include/piomatter/render.h Lines 141 to 143 in 0a9e578
9 s at the beginning of the value to be sure but still don't see any difference in behavior or assert error print out, maybe it's not expected to print or interrupt?
|
that's odd, I guess we'll have to consider your results inconclusive. well, we can put this in if it helps you, that's fine. It's just that it feels like there's a different explanation for "the brightest pixels are TOO bright" and I'd hoped we could figure it out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approved with grumbles that I feel like there might still be some underlying problem here that a brightness modification of pixel values is concealing.
Your other PR seems to have resolved that issue, the bright lines of pixels were what I was seeing originally that got me interested in this. They seemed to be helped by overall brightness lowering like this at the time, although I have gone back and forth some and seen that it didn't help in all cases either. Sometimes I would still see those even with the brightness lowered. This brightness control also helps by lowering the overall brightness of all the pixels (at the cost of color depth, especially at lower values) which makes them easier to look at (for my eyes at least), and a bit easier to get favorable lighting to film and photograph them. |
@jedgarpark mentioned this would be helpful for photographing the the panels.
It can make some content a bit easier on the eyes as well.