System Freeze after starting allegro
Bertram Geck

Hi,

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(){

   allegro_init();
  install_keyboard();
  set_gfx_mode(GFX_AUTODETECT , 640, 480, 0, 0);
  putpixel(screen,160,100,30);

  allegro_exit();
  return 0;

}
END_OF_MAIN();

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
Bertram

GullRaDriel

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.

Bertram Geck

HI,
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.

Regards
Bertram

Kitty Cat

Did Allegro compile with X11 support?

Thread #590616. Printed from Allegro.cc