Simulator not rendering graphics

When running my app in the simulator, I noticed that more often than not, no graphics were being rendered at all - not even the status bar of the device.

I tested with a brand new application which contains only a single line of code which adds an image to the stage. When I refresh the application in the simulator, the output to the debugger prints consistently every time, but the image only displays once out of every 5-10 times I refresh with no consistency or predictability. As you can imagine, this is quite annoying and making it very difficult to develop my app.

Has anyone else experienced this issue?

Mac OS 10.7.1
Corona Simulator 2011.591

JH [import]uid: 10709 topic_id: 15775 reply_id: 315775[/import]

This sounds quite odd; I will bring it up in our next meeting.

Thanks JH :slight_smile:

Peach [import]uid: 52491 topic_id: 15775 reply_id: 58348[/import]

Haven’t seen/heard of this. Are you running a Mac without a display attached are you (headless Mac)? I have seen problems in this case…look like Apple OpenGL rendering bugs, but not your exact issue. But I don’t think we can support this configuration right now. Please attach a display.

What video card(s) do you have in your machine? If multiple cards, just switching the GPU help any? What model of Mac/hardware do you have?
[import]uid: 7563 topic_id: 15775 reply_id: 58398[/import]

I’m on a MacBook Pro with the i7 processor and Nvidia video card.

Since I posted this the problem has actually stopped occurring. I have no idea why.

Here is a little more detail about the problem when it was occurring - it started when I was using the iPad view in the simulator. I tried switching to different hardware views, but it happened in all that I tried. When I used either iPhone simulator, the “screen” of the on-screen device would stay that dark grey color when the problem occurred.

I’ll post again if I experience the issue again.

Thanks for the replies, and I love the product overall.

JH [import]uid: 10709 topic_id: 15775 reply_id: 58425[/import]

I think all Macbook Pros have 2 video cards. Maybe something (Apple bug) caused the video card to not switch as normal and the other video card has a driver bug?
[import]uid: 7563 topic_id: 15775 reply_id: 58427[/import]