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

Game freeze Linux Mint 64bit Oracle JVM #20

Closed
levibostian opened this issue Apr 1, 2013 · 3 comments
Closed

Game freeze Linux Mint 64bit Oracle JVM #20

levibostian opened this issue Apr 1, 2013 · 3 comments

Comments

@levibostian
Copy link

I am running Linux Mint (fork of Ubuntu) 64bit v14 with Java Oracle v1.7.0_11 installed. I installed Pyglet from source without issues. Game starts no problem with "python main.py" command. I see a blue screen for about 3 seconds then I see the whole environment. I begin to move my character around for about 2 steps and then the screen locks up on me. I have also tried the arch -i386 command with no luck. I have to end up killing process through terminal.

I know most of you are all running on OSX, but not sure if anyone else tried it with my configuration and got game running?

@BertrandBordage
Copy link

I had the same issue on Ubuntu 64bits. You have to disable VSync by adding the argument vsync=False to the window object. The first line of main should therefore look like:

window = Window(width=800, height=600, caption='Pyglet', resizable=True, vsync=False)

@levibostian
Copy link
Author

@BertrandBordage Thank you that worked great! Maybe I will add a little if statement to check the os and architecture in main() so this will work for anyone running Linux without same issue.

@shiruilu
Copy link

@levibostian, I have the same issue, but things doesn't work better after trying @BertrandBordage's solution.

I'm running Ubuntu 12.04 64bits, python 2.7.3, OpenJDK java version "1.7.0_65".

I'm wondering whether this is related to performance?

I know it's a long time, but hope this provides some hint to guys who come later.

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

3 participants