-
Notifications
You must be signed in to change notification settings - Fork 341
All projects only show blank window #279
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
Comments
I have seen something similar once before. Specifically with a student, running Windows on the same exact computer type that I develop on. I haven't seen it happen on a Mac. I'll see if there's a way I can get some additional OpenGL diagnostic info printed out. |
Can you run |
Thank you for your quick reply.
PS |
Did you do a Mac system update recently? I've heard 3rd/4th hand the people making the SDL library noted that Mac broke something with OpenGL contexts. |
My most recent updates: If I recall correctly I've used arcade with succes after both updates. Not sure what else might have changed. Searching for macOS 10.14 (Mojave) and SDL gave me some results that might help: I'm not entirely sure how Arcade and Pyglet are connected to SDL. Edit |
If you call |
Couldn't find a Tried the following without succes:
Also tried swapping game.set_size and arcade.set_window and both lines without the other. |
Yes, same issue here. I'm also on Also, when closing the blank window I get a segmentation fault:
|
@philippkeller , can you run This is with arcade 1.3.4 and 2.0.0a3 both? |
I've tried on Pygame has the same issue, a temporary workaround is to use python from miniconda. The blank window is solved, but the segfault at the end is still happening. |
Any update on the status of this? |
I think this will not be fixed very fast. On the pygame thread there's no update, and here they claim it depends on a SDL release which takes another few months |
Oh, I need to correct myself!
seems to fix the issue of the blank window for the standard python3 binary. But the segfault at the end is still a remaining issue for me |
The solution @philippkeller gave also worked for me. |
Closed with 2.0 release. |
What I have seen is in every instance of example code for Arcade there is never a line that reads: arcade.finish_render() Without that all i ever see are white screens, once added the screens will then show background color, images and/or sprites. |
Bug Report
Actual behavior:
Arcade stopped working for me. When running a project (even examples) the only thing that shows is a blank window with the given dimensions without the given background color.
I don't get any warnings or errors in my console, not even in verbose mode. The program does seem to run. Placing breakpoints shows the delta_time changing.
I tried upgrading and downgrading python (3.6.5_1, 3.7.1) and arcade (1.3.4, 2.0.0a1), but without success. I tried running Pyglet (1.3.2, 1.4.0b1) examples, but this gives me the same blank screen.
As far as I know my setup/configuration hasn't change.
I'm running out of ideas and would really appreciate any help. Please let me know if there's anything else I can do to would make things easier.
Steps to reproduce/example code:
Running an example:
python -m arcade.examples.starting_template
My setup/configuration:
The text was updated successfully, but these errors were encountered: