CdLbB / fb-rotate

A Unix utility to rotate the display on any Mac and switch the primary display back and forth between displays.
http://modbookish.lefora.com/2010/06/29/a-unix-utility-to-change-the-primary-display-on-os/
162 stars 36 forks source link

LG ultrafine 5k #8

Open plivox opened 6 years ago

plivox commented 6 years ago

Hello,

Unfortunately I encounter a strange bug with this monitor, only the half of the screen is displayed.

An idea? Tanks you

lewurm commented 6 years ago

getting the same with an iMacPro1,1

lewurm commented 5 years ago

works on macOS Mojave.

plivox commented 5 years ago

same, work on MacOSX Mojave.

chickenandpork commented 4 years ago

fb-rotate on a 2019 iMac Retina 4K/21.5" running 10.15.3 (Catalina) works, but gets resolution sizes incorrect -- perhaps that's what "half of the screen" means: it could be "half the screen is blank, the other half displayed", or "the displayed size is half of the screen size".

In my case, the math is half: (4k main screen, LG 5K second screen):

chicken@Chickens-iMac % ./fb-rotate -l
Display ID       Resolution
0x42b2eb0        2048x1152                  [main display]
0x1b564fae       2560x1440                                

These sizes should be 4096x2304 and 5120x2880

Despite that, your tool is awesome, really appreciate it, and this math error did not block it working for me.

Willing to debug in detail if you want me to help you resolve or get more info, but you may need to walk me through it.