woodenshark / Lightpack

Lightpack and Prismatik open repository (For support use support@lightpack.tv)
https://lightpack.tv/
GNU General Public License v3.0
203 stars 243 forks source link

[Critical] Prismatic Mac Osx Scaling Bug #39

Closed domp closed 9 years ago

domp commented 9 years ago

This really needs to be fixed as fast as possible. I just hooked my lightpack up to my Mac Pro with a 4k display and noticed that the leds are not displaying the colors correctly when Im selecting a display resolution of 1920x1080. However, it works fine with the normal display resolution of 3840x2160. (http://support.apple.com/kb/PH14388).

I've tried Prismatik 5.11.1 (from the lightpack website) and 5.11.2 from the github master branch, neither does work. I'm using Mac OS X 10.10 with a Samsung U28D590D connected via display port and one lightpack (10 leds), placed in an andromeda pattern.

e-yes commented 9 years ago

Could you install this one: https://yadi.sk/d/nSN80moFdKVYc

Run this software from terminal, let's say from your default (home) directory. After launch, enable screen grabbing, wait a sec, quit. Now there should be a file named screen.bin in current directory. Upload it somewhere and send me the link. Thank you.

domp commented 9 years ago

Done: https://www.dropbox.com/s/thxat30laq6z1a5/screen.bin?dl=0

e-yes commented 9 years ago

Ok, thank you, at least the reason is pretty clear now - framebuffer is still 3840x2160. Actually, I suspected this.

Could you share/pastebin log file as well? Thx

domp commented 9 years ago

There you go: http://pastebin.com/zBbdtYdV and http://pastebin.com/zwNBrrsB Thanks!

e-yes commented 9 years ago

From logs, 10:01:55:262Warning:QThread: Destroyed while thread is still running

So, not really useful:( Could you quit Prismatik and start it again and enable grabbing.

domp commented 9 years ago

Alright: http://pastebin.com/7eScYXMv http://pastebin.com/a9neHmJj http://pastebin.com/Zy6PZBqv http://pastebin.com/ygXdF5E1 http://pastebin.com/1qFRgW2m

e-yes commented 9 years ago

Oh, there is not enough debug information, my bad, sorry. Could to run Prismatik with "--debug high" command line option?

domp commented 9 years ago

Right, I totally forgot about this option, now theres so much information in it I can't even upload it on pastebin: https://www.dropbox.com/s/4sj3vym08be67v0/Prismatik.0.log?dl=0

domp commented 9 years ago

What am I supposed to do now, did I miss anything?

e-yes commented 9 years ago

Could you try this build: https://yadi.sk/d/Czx3pEbxdZToh I'm not sure it will fix this issue, but I can't reproduce it on my side any way...

domp commented 9 years ago

I tried it, now the light is even more off center...

What if I set up a remote desktop connection to my mac, would it be possible for you to fix the issue then?

e-yes commented 9 years ago

Thank you, but I've tried already this option. Wouldn't work due to slow internet connection here:( Any way, I'll try to borrow Mac next week and reproduce the issue.

domp commented 9 years ago

Got any luck with this?

domp commented 9 years ago

Also, Prismatik on windows 8.1 with a resolution of 3840x2160 and an interface scaling of 200% works flawless. It's just a bug with the mac os x version.

Besides that I think the biggest issue is the horribly inefficient screen grabbing method Prismatik uses. And then there are like a thousand small issues on github and google code that need to be fixed, including mine. The fact alone that everybody on windows uses ambibox instead of prismatik should tell you that this app really needs a major overhaul. I'd say you start fixing them now or atleast hire someone who can do it. And before you ask, yes I'm implying that you aren't capable of maintaining this repo. I'm sorry but this had to be said.

e-yes commented 9 years ago

You're clever guy. Now calculate a chance that I will spend my cash to rent Mac.

domp commented 9 years ago

Besides your horrible grammar, do the woodenshark guys actually pay you to maintain this repo? Just curious.