I’m working on a
video-to-LEDs ofApp (it maps the pixels of a video to addressable LED strips) which I’m using for an installation opening next saturday
Everything’s fine… until I turn off the screen.
Then, everything slows down (like by a factor of 3 or 4) and I get this error:
ofAppGLFWWindow: 65544: Cocoa: Failed to find service port for display
If I create a VNC connection to this computer (even with the screen still off), everything goes back to normal.
Is there any option somewhere to cater with this ? (other than leaving a screen on for 3 months, which I’ll eventually do if I don’t manage to find a solution).
Any help appreciated.
Thanks in advance
I had a similar thing once with an openni application. VNC was all fine but without any attached screen i had a significant framedrop. i can’t remember why i thought its openni related though. apparently I finally just plugged in an old screen without even connect it to power. feels like voodoo but did the trick. speaking of voodoo, i was on a mac mini. maybe this is of some importance as aaron_meyers had also a similar isssue on mac mini.
here are the forum links from back then:
For an installation I am running an app on a mac mini without a screen. For tracking users i use ofxOpenNi.
Everything works fine just until ofxOpenNi detects a user. Then everything just gets terribly slow.
If I attach a screen or connect to the mac mini through screen-sharing, the app speeds up to normal speed again until I disconnect.
If I set vertical sync to false, things seem to be a bit better. I only have to connect once to the mac mini to get rid of the framedrop and if I discon…
Not sure where to post this, but I’m having a peculiar problem with some mac minis.
I’m running an app based on the ofxOpenNI example. It usually runs nicely on these new 2.4GHz Core 2 Duo mac minis somewhere between 32 and 40fps. That is, when they are plugged into a monitor.
If I launch the app remotely via screen sharing, it runs at 8fps. I can’t attribute this to the the screen sharing because if I launch the app over screen sharing WITH a monitor plugged in, I still get the nice frame rat…
have you tried to disable vertical sync and instead enable a fixed framerate?
@arturo that did it !
@michif that was on a MacMini (late 2014)
The Mac Mini’s disable their GPUs when there’s no monitor plugged in.
This is also a nice solution for this issue.
OK, thanks for the info and the link
fine! this finally explains the voodoo with the plugged in but powerd off screen…