Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visualizer shows up as blank/black on macOS 10.14 Mojave #650

Open
chrisdembia opened this issue Nov 13, 2018 · 13 comments · May be fixed by #651
Open

Visualizer shows up as blank/black on macOS 10.14 Mojave #650

chrisdembia opened this issue Nov 13, 2018 · 13 comments · May be fixed by #651

Comments

@chrisdembia
Copy link
Member

On macOS 10.14, the Visualizer looks shows as plain black when running BricardMechanism:

image

I tried a bunch of other examples too; same issue.

Tested on both master and Simbody-3.6.1.

@jimmyDunne have you had any issues like this on your computer?

@chrisdembia
Copy link
Member Author

This might provide more information: https://stackoverflow.com/questions/52509427/mac-mojave-opengl

@chrisdembia
Copy link
Member Author

Ah... as suggested on that page, resizing the window causes the display to work:

image

@chrisdembia
Copy link
Member Author

chrisdembia commented Nov 13, 2018

@jimmyDunne
Copy link

I was getting a black screen as well when I was testing the tug-of-war this morning, but I thought it was because the fwdtool was failing. I checked again and got the same behavior as what you describe.

@chrisdembia
Copy link
Member Author

Okay great I’m working on a workaround.

chrisdembia added a commit that referenced this issue Nov 14, 2018
@chrisdembia chrisdembia linked a pull request Nov 14, 2018 that will close this issue
@scpeters
Copy link
Member

I believe you, but I'm not able to reproduce it. I just tried using the BricardMechanism binary included in the simbody 3.61 homebrew bottle for mojave from the osrf/simulation tap, and I didn't notice a black screen (over vnc to a mac mini).

@chrisdembia
Copy link
Member Author

Thanks for testing! Is the mojave bottle built using the macOS 10.14 SDK (Xcode 10)?

@scpeters
Copy link
Member

It's definitely using Xcode 10, as brew doctor would complain otherwise, and I assume it's using the 10.14 SDK. Here's the formula:

@chrisdembia
Copy link
Member Author

I just tried installing simbody from osrf/simulation and I get a black screen:

image

@scpeters
Copy link
Member

What kind of machine are you using? Is there any chance it's a laptop with a retina display? The mac mini I tested doesn't have a retina display.

@chrisdembia
Copy link
Member Author

Ah yes, I've been using machines with a retina display and from what I read, that is part of the issue.

@scpeters
Copy link
Member

Ok, I was wrong before; I was actually testing on a laptop with retina display (I was connected remotely, so I forgot which machine it was). The laptop is from 2012, so it has an integrated intel gpu and a discrete nvidia gpu. I also tested with a mac mini that has an intel gpu.

The black screen doesn't occur with the discrete nvidia gpu, but it occurs when the intel gpu is in use (always for the mac mini, only if I disable dynamic switching and force the intel gpu for the laptop). Resizing fixes it in both cases.

So I actually think it's related to the intel gpu, not the retina screen.

@chrisdembia
Copy link
Member Author

Woah; thanks for the extensive testing! All of that is with mojave? What do you think is the best fix for now? #651 is rather unsatisfying. I guess we're supposed to move to Metal but I don't see that happening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants