February 22, 2008

Making Phun Work

Phun is an amazing application. It is created by Emil Ernerfeldt.

Phun is meant to be a playground where people can be creative. It can also be used as an educational tool to learn about physics concepts such as restitution and friction.

You can find more about this app from the following Youtube video. When i tried the app it was not worked for me. It throwed following Error.

Caught exception: Couldn't set video mode, SDL-error: Couldn't find matching GLX visual, /home/c03/c03eet/Phun/Source/core/Main.cpp:228: int main(int, char**)
ERROR: Exception caught in main: Couldn't set video mode, SDL-error: Couldn't find matching GLX visual
ERROR: Exception caught: Couldn't set video mode, SDL-error: Couldn't find matching GLX visual

I am using Ubuntu 7.10 and i have inbuilt graphics card that comes along with my laptop. After couple of hours i made it work and here are the things you have to do.

1. By default the color depth is 16 bit. Change this to 24 bit. Open /etc/X11/xorg.conf search for DefaultDepth and set the value to 24.
2. Open autoexec.cfg file in the Phun directory. uncomment the last line i.e Resources.shaders = false;
3. Go to the Phun directory (If you extract the files by default all files will be extracted here) and run phun. (You should do this by going inside the directory.)

You can download Phun from http://www.acc.umu.se/~emilk/downloads.html

3 comments:

  1. Anonymous3:03 AM

    I get the same error message, but I've already disabled shaders and do use 24 colors depth

    ReplyDelete
  2. Anonymous10:12 PM

    Sand Sands Casino | Las Vegas, NV - SSI
    Sand Sands Casino 샌즈카지노 offers true Las Vegas casino gaming bet365 and entertainment at the best value, including the top gioco digitale VIP programs, exclusive VIP programs,

    ReplyDelete
  3. These displayed odds will be used in odds distribution evaluation. The knowledge are additionally collected in two different periods, the place the one 카지노사이트 difference continues to be a change of the maximum allowed guess value. Roulette and Crash video games on CSGOFAST all use virtual skin tickets for wagering. In the earlier study of skin gambling8, we identified that the wealth distribution of skin gamblers exhibits a pairwise power-law tail. This time, by considering the players’ deposits to their wallets on a gambling web site as the wealth knowledge, we find that the pairwise power-law tails are additionally observed for bitcoin gambling.

    ReplyDelete