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

Make it work with PRINT_MODE ≠ 2D on macOS #80

Open
rdbisme opened this issue Aug 15, 2021 · 2 comments
Open

Make it work with PRINT_MODE ≠ 2D on macOS #80

rdbisme opened this issue Aug 15, 2021 · 2 comments

Comments

@rdbisme
Copy link

rdbisme commented Aug 15, 2021

On recent macOS the PRINT_MODE needs to be set to something different from 2D because otherwise a blank screen appears (http://www.bay12games.com/dwarves/mantisbt/view.php?id=11680).

Is there any way to make this work with this issue?

@chrismdp
Copy link

I've been looking into this issue over the last few days. Unfortunately setting the print mode to STANDARD causes random OpenGL crashes within both the main Stonesense thread and DF itself, usually within the first or second frame, making it unusable. This is possibly due to the fact that the Stonesense OpenGL context is running within the same process as DF's own OpenGL context, and they're clashing in some way on macOS.

The "proper" solution would be to move Stonesense out to its own process, using something like RemoteFortressReader (RFR) to read the fort. This is a major undertaking as the code relies heavily on internal DFHack structures and would need to be moved to relying on RFR structures instead.

@rdbisme
Copy link
Author

rdbisme commented Aug 15, 2021

Thanks for the heads up @chrismdp. No problem, I see. Thanks for the great work anyway!

@lethosor lethosor changed the title Make it work with PRINT_MODE ≠ 2D Make it work with PRINT_MODE ≠ 2D on macOS Aug 16, 2021
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

No branches or pull requests

2 participants