- Online Community Forums » Installation, Setup & Configuration » System Freeze after starting allegro

This thread is locked; no one can reply to it. rss feed Print
System Freeze after starting allegro
Bertram Geck
Member #8,429
March 2007


after I got the setup of allegro on my Laptop with OpenSuse 10.2 running and the setup.c program out of the allegro directory compiled there is another prooblem I need help on:
After starting the setup, that has been compiled errorfree, the screen of ma laptop gets dark, the rectangle appears with the buttons, but the the system freezes:
No Mouse, no keyboard, nothing works. It needs a power-on-off reboot to get the system up and running again.

When I take a very easy program like:

#include <allegro.h>

int main(){

  set_gfx_mode(GFX_AUTODETECT , 640, 480, 0, 0);

  return 0;


same result, except no rectangle and buttons.

I wanted to verify the allegro-code on the Laptop, before I let it run on the target device.

Any hints on that problem ? I can provide all data, if needed.

Best regards

Member #3,861
September 2003

What version of allegro do you use ?

I experienced the same problem with an old version. Try to update to the latest allegro version and be sure that you have uninstalled the whole old before upgrading.

"Code is like shit - it only smells if it is not yours"
Allegro Wiki, full of examples and articles !!

Bertram Geck
Member #8,429
March 2007

I am using 4.2.1 and it is the first version I have on my PC.
There are no former versions to be deinstalled.


Kitty Cat
Member #2,815
October 2002

Did Allegro compile with X11 support?

"Do not meddle in the affairs of cats, for they are subtle and will pee on your computer." -- Bruce Graham

Go to: