DisplayBacklight icon indicating copy to clipboard operation
DisplayBacklight copied to clipboard

Low FPS

Open igor-lemon opened this issue 6 years ago • 4 comments

Hi. I installed and configured your app but I have low FPS, 2-3. I have MacBook Pro 15" 2016 with TOP eq. How to find a reason of freeze ?

igor-lemon avatar May 27 '18 01:05 igor-lemon

Huh, well I don't have a Mac Desktop anymore, I'm now running Linux (and I really need to get around to porting this stuff).

Such a low framerate seems really strange. AFAIK, there isn't anything GPU heavy running in my program. But I'm not sure, maybe it's the GPU.

The other thing I can easily imagine: I've only tested up to 10.10 Yosemite, where the API already gave up with anything faster than ~15FPS. Apple may have cut that down further. To be honest, I'm kind of abusing the screenshot API.

Supposedly, there's a better way of getting the image, using the AVFoundation API. I've tried to implement that already here in this branch:

https://github.com/xythobuz/DisplayBacklight/tree/avfoundation

But I've never got it to work. Check it out if you'd like to... :)

xythobuz avatar May 31 '18 20:05 xythobuz

Ok. I'll try. Thanks! :)

igor-lemon avatar Jun 04 '18 13:06 igor-lemon

So, it doesn't work and I don't know Objective-C and Swift :)

igor-lemon avatar Jun 04 '18 23:06 igor-lemon

Still no way to solve this problem?)

Beshelmek avatar Dec 13 '20 13:12 Beshelmek