Troubleshooting

Piotr Miller edited this page Nov 6, 2017 · 4 revisions

Linux

Dual Intel/Nvidia graphics

There is a bug in JavaFX for Linux, which may cause insane refresh rates on some hardware configurations (mostly hybrid Intel/Nvidia graphics). This should never occur, as the game code includes a workaround to the problem. However, if it happens to you, it will cause high resources consumption and poor graphics quality.

One way or another, if you've got an Nvidia/Optimus laptop, you probably need to use Bumblebee optirun / primusrun in the command line. Just edit the eist-returns.desktop and eist-editor.desktop shortcuts, adding optirun to the exec= line:

#!/usr/bin/env xdg-open

[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=optirun eist-returns
Categories=Game;
Comment=Arcade-puzzle game
Icon=/usr/share/eist-returns/eist-returns.png
Name=Eist returns

If you'd prefer to make sure you use the proper graphics, instead of editing the .desktop activator, open the /usr/bin/eist-returns file:

sudo nano /usr/bin/eist-returns

and change its content to:

#!/bin/sh
exec optirun /usr/bin/java -jar -Dprism.verbose=true '/usr/share/java/eist-returns/eist-returns.jar' "$@"

Run the game from the terminal, by entering eist-returns, and check the output. Search the Graphics Vendor phrase.

Graphics Vendor: NVIDIA Corporation
Renderer: GeForce 930M/PCIe/SSE2
Version: 4.6.0 NVIDIA 387.22
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.