Linux Black Screen w/ Flashing Cursor (Algodoo)

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Sun Jun 13, 2010 3:09 am

I have tried installing Algodoo demo for both the 64 and 32 bit processors. Each time I run "/opt/Algodoo/algodoo" though, I get the loading screen in windowed mode and then my screen goes black. With this black screen is my mouse cursor flashing. Not rapidly, just "on" for a few seconds, then "off" for a few seconds. I've waited about 5 minutes and nothing happened. I tried to exit with Alt-F2 and Alt-Tab, as well as seeing if I could F2 -> gnome-terminal -> "killall algodoo", but nothing would work unless I pressed the power button. Any help would be greatly appreciated.

System:
Ubuntu 10.04 - 64 bit
4 GB RAM
1.4 Ghz Single-core processor

If you need more information, just ask! :thumbup: I really want to get this working! It sounds like an awesome game! :clap:
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Sun Jun 13, 2010 10:43 am

Try to run just "algodoo" except for "/opt/Algodoo/algodoo", tell us errors (if they are).
And by the way, Alt+SusRg (PrintScreen on some computers) +F will kill the most "hard" process (I can't find equivalent in English), and Alt+SusRg+REISUB (you don't need to hold letters keys in one time, type them like typing a word) will restart your comp in any situations.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby electronicboy » Sun Jun 13, 2010 4:44 pm

i used to get this problem, i think it is caused when the processor can't handle all the instructions.

try this
1 omen a terminal
2 type sudo nautilus
3 navigate to /opt/algodoo/scenes and delete the welcome file.

@savask: thanks for that info, i never knew you could do that.
When asking for help, READ THE STICKIES!
electronicboy
 
Posts: 1694
Joined: Mon Aug 31, 2009 6:18 pm

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Sun Jun 13, 2010 5:01 pm

Oh, not at all, just Magic SusRg key ;)
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Sun Jun 13, 2010 7:58 pm

I just ran "algodoo" and this was the error:

Code: Select all
bash: /usr/bin/algodoo: usr/bin/sh: bad interpreter: No such file or directory


@savask Thanks for that tip as well! That's going to help in a lot of situations!

@electronicboy I tried to use your advice, but it still had the same problem. I navigated to "/opt/Algodoo/scenes/", but there was no welcome file. There were 4 folders instead. There were two .phz files and one phn file. I just renamed them to make sure I had a backup. It still didn't work. Which one should I delete? Thanks!
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Mon Jun 14, 2010 5:59 am

Try to open algodoo file
Code: Select all
vi /opt/Algodoo/algodoo

and check up the first string, it should be
Code: Select all
#!/bin/sh

If it so, try
Code: Select all
sudo ln -sf /bin/bash /bin/sh
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Tue Jun 15, 2010 6:00 am

That string is the same, but what do mean by "try" the following line? I typed it in a separate terminal window and then ran "/opt/Algodoo/algodoo", but the same thing happened. Anything else I should try?
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Tue Jun 15, 2010 6:36 am

You should enter
Code: Select all
sudo ln -sf /bin/bash /bin/sh
in the terminal, and then run "algodoo". It will make link to bash, and this helps in many cases.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Tue Jun 15, 2010 7:40 am

I ran:
Code: Select all
sudo ln -sf /bin/bash /bin/sh


and then:
Code: Select all
algodoo


but it still said:
Code: Select all
bash: /usr/bin/algodoo: usr/bin/sh: bad interpreter: No such file or directory


Did I type it in wrong? What else should I try? Thanks for all of the help so far though!
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Tue Jun 15, 2010 9:15 am

You can try:
1) Like electronicboy said, open /opt/Algodoo/scenes/games & phun/ and delete Welcome.phz
2) Check up if there are all libs Algodoo need
3) Open /opt/Algodoo/ and run ./algodoo.bin from terminal
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Tue Jun 15, 2010 8:24 pm

I have done what you said, but when I cd to "/opt/Algodoo" and then run ./algodoo.bin, I get this:

Code: Select all
./algodoo.bin: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: No such file or directory


I have that file. It's located in "/opt/Algodoo/lib", but for some reason it can't find it. Any information on what I should do? Thanks!
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Tue Jun 15, 2010 8:42 pm

Ok, I ran "/opt/Algodoo/algodoo" instead of "algodoo.bin" and it worked! Thanks for all of your help!
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby Zortrox » Tue Jun 15, 2010 10:34 pm

*SIGH* The error is back again... Every time I create a polygon with the polygon tool, right after I release my mouse, the screen goes black and the mouse flashes again. Do any of you have information on this? For the moment I just won't create any polygons.

EDIT: It also happens when I use the cut/slice tool.
Zortrox
 
Posts: 7
Joined: Sun Jun 13, 2010 3:00 am

Re: Linux Black Screen w/ Flashing Cursor (Algodoo)

Postby savask » Wed Jun 16, 2010 5:27 am

Strange that you have /lib folder and Algodoo can run with "algodoo" command... As I see you tied both the deb and tar. I suggest you to delete Algodoo folder, and then use .deb package, and install libGLEW through Synaptic.
User avatar
savask
 
Posts: 162
Joined: Mon Oct 12, 2009 2:53 pm
Location: Russia, Siberia


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests