General informations:
What i have done? Own implementation diy ambilight using mss screengrab
Threaded screen capture is very laggy while gaming
When i create a threaded class to capture the screen as fast as possible, it is makes my screen resposiveness very laggy... I can not play well. After making a sleep : Time.sleep(0.5), it does not slow down gaming, but reaction time for leds is too slow...
Pseudo code:
class Ambilight(Thread):
def __init__(self, LightController):
self.screen = mss()
self.imageCaptured = None
self.LightController = LightController
# ...
def run(self):
while True:
self.imageCaptured = np.array(self.screen.grab( self.screen.monitors[0]))
self.LightController.ImageUpdate( self.imageCaptured.copy() )
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too