psieg / Lightpack

Lightpack and Prismatik open repository
GNU General Public License v3.0
1.57k stars 188 forks source link

Perfomance problem on Imac 5K #262

Open Kaitoukid93 opened 5 years ago

Kaitoukid93 commented 5 years ago

Hello I have problem with perfomance on Imac 5k 3.4GHZ core I5 12GB 2400MHZ DDR4 Radeon Pro 570 4096MB

the proccess name "WindowServer" eat up to 70% of CPU, down to 30% if set resolution to Full HD

please help. I've try with this build found on #256 https://github.com/zomfg/Lightpack/releases/download/5.11.2.18-grab-alpha/Prismatik-safe-scale.dmg

zomfg commented 5 years ago

Why that build? Do you have problems with the official build? What grab interval?

Kaitoukid93 commented 5 years ago

I have tried both. same problem
the grab interval is 30ms, I increased it to 100 and same thing happened

zomfg commented 5 years ago

Are you using the AV grabber? (experimental tab) What OS? Try this with 0,05-0,2 scale, check cpu usage "Full HD" in HiDPI mode? or 1080p?

Kaitoukid93 commented 5 years ago

this show 55-60% with AVScreenshack https://2.pik.vn/2019d5850f90-8d39-4516-a951-d29fffa13d98.png

zomfg commented 5 years ago

in the "scale" field use a comma instead of a point and press enter, you should see a clear quality difference you can also try different frame rates and maybe different resolutions (HiDPI vs scaled and native), just to be complete

as a reference: on a 1440p iMac (late 2013) under 10.12.6, 0,2 scale @60fps, AVScreenShack cpu is at 15% max

AlexKusnezov commented 5 years ago

@zomfg after upgrading to mojave the psieg build gave me very low performance with my rx 590. But with this build: https://github.com/zomfg/Lightpack/releases/download/5.11.2.18-grab-alpha/Prismatik-safe-scale.dmg I can set even up to 60fps grabbing interval running everything smooth, although my gpu is constantly 100% loaded, but thanks for that build

Adirael commented 4 years ago

Just chiming in to say that the AV grabber and the latest build is fast as hell. It's awesome.

zomfg commented 4 years ago

Cool! Could you give some details

just to have a point of reference this is somewhat reassuring after seeing the #326 from today Thanks for the feedback

Adirael commented 4 years ago

Anything you need to test let me know!

zomfg commented 4 years ago

Thanks! Interesting Could you try updating to 5.11.2.22 to see what happens?

Adirael commented 4 years ago

Works great too. I can't see any difference. I just finished soldering the rest of the leds. With 80 of them and refresh rate of 50ms it grabs 20/20 fps.

WindowServer sits at 3% CPU, Prismatik itself at 1,8%.

AlexKusnezov commented 4 years ago

I'm on catalina now and this is still by far the best version: https://github.com/zomfg/Lightpack/releases/download/5.11.2.18-grab-alpha/Prismatik-safe-scale.dmg

Works really great with 16ms (63fps) smooth as butter

5.11.2.22 gives me lags

I have 2x4k 28 inch monitors with each 186 LED Attached so 372 in total