Framebuffer gets corrupted by OS X when projector switches on
Answered
- Need more info
- Answered
- Working on it
in
Integration and Hardware
•
3 years ago
Hi all,
I have an installation that uses two remotely-controlled projectors connected to a Mac Mini. When I power on the projectors it causes the Mac to 'detect displays' and my (processing) app window moves from one to the next, and also the framebuffer becomes corrupted -- there is noise and random distortion all over the image, even though the program keeps running and updating. During the switch, I get errors logged to the system log such as:
SystemUIServer[165]: kCGErrorIllegalArgument: CGSGetDisplayBounds (display 2a742445)
SystemUIServer[165]: _NXGetScreenRect: error getting display bounds (1001)
I should note that I'm doing most of the drawing in this app into a GLGraphicsOffScreen buffer and then rendering it to the screen as texture-mapped quads. I don't think this is the issue though, because even drawing done straight to the Processing canvas gets corrupted.
Is there some command to reinitialize the app's frame buffer and reset the frame to its original coordinates? I tried enabling frame.setResizable and then adjusting the size to see if it would refresh, but I'm getting
Frame buffer is incomplete (GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT)
errors.
Any ideas for where to start looking? Thanks.
<M>
1