trentbrooks / BrainWaveOSC

Opensource collaboration project with George Khut for Creative Neurofeedback Workshops in Sydney.
92 stars 34 forks source link

BrainWaveOSC 0.93 wont run in Retina mode ( HD monitor in mirrored mode ) on Sierra 10.12.6 #5

Open dizzybanjo opened 7 years ago

dizzybanjo commented 7 years ago

Crash immediately on start.

If I run BrainWaveOSC inside the package / MacOS - then I get this error in terminal :

BrainWaveOSC_OSX_0.93/BrainWaveOSC.app/Contents/MacOS/BrainWaveOSC ; exit; BrainWaveOSC(750,0xa6f3f1c0) malloc: error for object 0xc007e0: pointer being freed was not allocated set a breakpoint in malloc_error_break to debug [1] 750 abort

[Process completed]

dizzybanjo commented 7 years ago

Ok this appears to be that the app cannot run when a HD display is connected or the Mac / is running in Retina mode / is mirroring the HD display. In get info for the app there is a greyed out checkbox "open in Low Resolution" This is mentioned here: http://support.apple.com/kb/HT5266

I tried to force it to run by altering the info.plist using this method : https://apple.stackexchange.com/questions/69038/open-in-low-resolution-checkbox-on-retina-macbook-pro-checked-and-disabled

However this was also unsuccessful. Perhaps it needs a different build setting to support this kind of operation.

Just to confirm - it runs correctly without a HD display connected. It also runs correctly if display mirroring is disabled in Displays.