Compiling mangband on maemo(N900)
Posted: Sun 15.04.2012, 14:16
Hi guys,
I've been trying to get mangband running on maemo (Nokia N900) and while it does compile nicely (well, quite some warnings, but compiles) starts, downloads server list, checks password it does crash right after displaying the map with following error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 137 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1e2
Serial number of failed request: 631
Current serial number in output stream: 632
If I try to run it in single window mode (maemo won't work with multiple I believe) as instructed:
[3|user@Nokia-N900|~/dev/mangdband/mang]./mangclient --width 800 --height 480 --hexfont font/misc6x13.hex --fullscreen
./mangclient: Vid. init.: We asked for SDL_HWSURFACE SDL_DOUBLEBUF SDL_FULLSCREEN (c0000001) and got SDL_FULLSCREEN (80000000) <- this is the result of me tweaking for fullscreen, not related to crash as displays as soon as game starts and choosing server/name/race etc works normally
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 137 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1e1
Serial number of failed request: 455
Current serial number in output stream: 456
Fonts displayed are smaller but results the same, quick flash of the starting map and the error.
Thanks in advance!
I've been trying to get mangband running on maemo (Nokia N900) and while it does compile nicely (well, quite some warnings, but compiles) starts, downloads server list, checks password it does crash right after displaying the map with following error:
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 137 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1e2
Serial number of failed request: 631
Current serial number in output stream: 632
If I try to run it in single window mode (maemo won't work with multiple I believe) as instructed:
[3|user@Nokia-N900|~/dev/mangdband/mang]./mangclient --width 800 --height 480 --hexfont font/misc6x13.hex --fullscreen
./mangclient: Vid. init.: We asked for SDL_HWSURFACE SDL_DOUBLEBUF SDL_FULLSCREEN (c0000001) and got SDL_FULLSCREEN (80000000) <- this is the result of me tweaking for fullscreen, not related to crash as displays as soon as game starts and choosing server/name/race etc works normally
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 137 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1e1
Serial number of failed request: 455
Current serial number in output stream: 456
Fonts displayed are smaller but results the same, quick flash of the starting map and the error.
Thanks in advance!