LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 05-03-2009, 09:58 PM   #1
MahARaJaAngKaSa
LQ Newbie
 
Registered: Nov 2007
Location: Malaysia
Distribution: ubuntu
Posts: 22

Rep: Reputation: 15
help please?? Ufoai2.3 white screen when entering mission??


???Hi there,
I installed the game through svn...always update..
but during in the game when the alien appear and me sending the troops there...entering the mission...the maps became white...I only could see....leeves and soldiers leg....then I shut it down...trying to restart the game...but it came out the error like this:
Quote:
$ ./ufo

---- filesystem initialization -----
Adding game dir: /usr/local/lib/ufoai/base
Adding game dir: /usr/local/share/ufoai/base
Adding game dir: ./base
Added packfile ./base/0base.pk3 (19 files)
Added packfile ./base/0maps.pk3 (390 files)
Added packfile ./base/0materials.pk3 (34 files)
Added packfile ./base/0media.pk3 (10 files)
Added packfile ./base/0models.pk3 (1448 files)
Added packfile ./base/0music.pk3 (40 files)
Added packfile ./base/0pics.pk3 (2148 files)
Added packfile ./base/0snd.pk3 (177 files)
Added packfile ./base/0ufos.pk3 (91 files)
Adding game dir: /home/emix/.ufoai/2.3-dev/base
using /home/emix/.ufoai/2.3-dev/base for writing
executing default.cfg
executing config.cfg
executing keys.cfg

----- network initialization -------
libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.10 initialized.

------ server initialization -------
added 7 maps to the mapcycle

----- console initialization -------
Console initialized.

------- video initialization -------
SDL version: 1.2.13
I: desktop depth: 32bpp
I: video memory: 0
I: video driver: x11
I: setting mode 6:I: set multisample buffers to 1
I: set swap control to 1
SDL SetVideoMode failed: Couldn't find matching GLX visual
1024x768 (fullscreen: yes)
Failed to set video mode 1024x768 fullscreen.
I: set multisample buffers to 1
I: set swap control to 1
SDL SetVideoMode failed: Couldn't find matching GLX visual
Video subsystem failed to initialize
Shutdown server: Server fatal crashed
Wrote keys.cfg
./ufo[0x818c8c1]
./ufo[0x818c921]
[0xb7f1e400]
./ufo(R_ShutdownImages+0x22)[0x81710fd]
./ufo(R_Shutdown+0x3a)[0x81751c8]
./ufo(CL_Shutdown+0x58)[0x808fe43]
./ufo(Com_Error+0x138)[0x813a71b]
./ufo(Rimp_Init+0x1d2)[0x8185bf8]
./ufo(R_Init+0xa0)[0x8174e9e]
./ufo(VID_Init+0x1de)[0x809e747]
./ufo(CL_Init+0x1c4)[0x808fd9f]
./ufo(Qcommon_Init+0x4e5)[0x813bcc7]
./ufo(main+0x2a)[0x818b5ed]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb78cc775]
./ufo[0x8069511]
Error: Received signal 11.
Hope anyone could help me on this...
I cannot load it anymore....
What should I do guys???
anyway the game is great...

Thanx
 
Old 05-04-2009, 12:16 AM   #2
Indymaynard
Member
 
Registered: Apr 2006
Location: Twentynine Palms, California
Distribution: Fedora, Ubuntu
Posts: 40
Blog Entries: 14

Rep: Reputation: 15
The signal 11 error refers to a memory access problem in the code.

http://www.bitwizard.nl/sig11/

I wish I could say that I understand the exact problem, but I'm not super-savvy at programming. What it seems like is that SDL caused the problem. If you have not restarted X11 (or just reboot the computer to make it easy), I would suggest that first. After that, I would recommend that you find updated graphics drivers for your card as that almost never hurts.

After that, I might recommend updating SDL.

Hopefully, someone with more knowledge will be able to give you more, but that's all I know for the moment.

Indymaynard
 
Old 05-04-2009, 12:18 AM   #3
MahARaJaAngKaSa
LQ Newbie
 
Registered: Nov 2007
Location: Malaysia
Distribution: ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Does anybody have an experience dealing with this errors....
help please???

I already tried in the ubuntu forum...ufoai forum...but it seem nobody have any idea how to solve this...

I'm using the ubuntu jaunty....my video card is mobile intelGMA 4500mhd

Thanx for any help...
 
Old 05-04-2009, 01:09 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
It seems like SDL fails to initialize the visual for some reason. I'd start checking if the 3d video driver is still working as it should. Some things to check are these:
  • glxgears, does it work?
  • can you try some other 3d video game?
  • please, provide the output for this command: glxinfo | head

I assume that you haven't updated or changed sdl nor any other of the involved libraries since the last time you compile ufo-ai, if not, recompile it. You can as well try to revert to a previous svn snapshot. Svn by definition can break at any random time, after all, it's live code, and that's why releases do exist.
 
Old 05-04-2009, 08:25 PM   #5
MahARaJaAngKaSa
LQ Newbie
 
Registered: Nov 2007
Location: Malaysia
Distribution: ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,
after type glxinfo | head; the output is like this:-
Quote:
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
other 3d game that I could play is astromenace...
but yo frankie from blender just crashed after I click start button...
how do I know my glxgears work or not?
I always recompile the game after svn update....but it just update that the game would compile...
Do I have to do fresh install...

and other thing is that....during the first trial I made to install the game...
during configuration....it came out to be error because I do not have xvid and theora development headers...
then I installed it through synaptic package manager...the xvid and theora files that end with ".dev or -dev" as I remember...
but during configuration of the game for update it came out some Warning that could not find any xvid development headers...
but I still could recompile the update...

I did check the xvid.dev in the synaptic....Yes the libraries already installed....
am my system just go haywire???

Any suggestion??

Thanx guys!
 
Old 05-06-2009, 01:22 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
The direct rendering seems to be on, so that's not the problem.

To test glxgears just write "glxgears" into an xterm and press enter.

You don't need a fresh install for anything, I don't know what the problem is though. You said you've asked on the ufo-ai forum, can you please direct us into the relevant thread with a link? There might be something helpful in it.

If the application has compiled it *should* work ok. I think that this can happen if SDL, for some reason, fails to detect the available video modes and the current one is not compatible. So, a solution could be to find the ufo-ai config file and adjusting those values manually (or maybe moving the file somewhere else or erasing it so a new config is created from scratch). The will probably live somewhere under a directory called ~/.ufoai, ~/.ufo-ai or similar (sorry, I haven't it installed to test). Usually the config file is a plain text file that can be edited with a regular text editor. Try to locate the settings about resolution, colordepth and such things and play with the values a bit, or just move the file somewhere else and try to run the game again.
 
Old 05-10-2009, 10:43 PM   #7
MahARaJaAngKaSa
LQ Newbie
 
Registered: Nov 2007
Location: Malaysia
Distribution: ubuntu
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,
Thanks for your reply i92guboj...
I still new to linux...a lot of things I need to learn...but the will is there...
This is the link:-

http://ufoai.ninex.info/forum/index.php?topic=3547.0

I also did install some old game through wine...dungeon siege, dungean siege legends of aranna...the game runs fine with some blurry and shadowy but then during in game crashed....
I just want to ask is it normal for a fullscreen game on linux there is some black area screen side by side of the interface...as below....
http://picasaweb.google.com/lh/photo...eat=directlink

this pic was taken from ufoai 2.2.1...is this normal...can u see the black area screen side next to the interface....

http://picasaweb.google.com/lh/photo...eat=directlink

this is the pic from dungeon siege...from wine...

http://picasaweb.google.com/lh/photo...eat=directlink

can u see the pointer turn to be a big rectangular pointer...with sword picture....

then after i exit he game....it turn my laptop screen be like this....
http://picasaweb.google.com/lh/photo...eat=directlink

if there is some special driver for mobile intel gma 4500mhd...
could u provide me the link...

what type of driver do jaunty packages provide for this intel graphic card???

Is it the best choice I had to put on jaunty for this card...??

Thanks...

Last edited by MahARaJaAngKaSa; 05-10-2009 at 10:47 PM.
 
Old 05-10-2009, 11:29 PM   #8
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Quote:
Originally Posted by MahARaJaAngKaSa View Post
Hi,
Thanks for your reply i92guboj...
I still new to linux...a lot of things I need to learn...but the will is there...
This is the link:-

http://ufoai.ninex.info/forum/index.php?topic=3547.0
I see, there's nothing useful on that thread unfortunately. It was worth to check, just in case.

Quote:
I also did install some old game through wine...dungeon siege, dungean siege legends of aranna...the game runs fine with some blurry and shadowy but then during in game crashed....
Wine can work ok or not depending on the concrete game you try, and also in the version of wine that you use. You can try searching the wine database for these games, maybe someone else had the same problem and has managed to fix it or work around it. And if not, at least you will know you are not the only one.

You can also open new bugs there. It's hard to get them fixed if the wine developers do not know about them This is the site of the wine application database:

http://appdb.winehq.org/

Quote:
I just want to ask is it normal for a fullscreen game on linux there is some black area screen side by side of the interface...as below....
http://picasaweb.google.com/lh/photo...eat=directlink

this pic was taken from ufoai 2.2.1...is this normal...can u see the black area screen side next to the interface....
I guess it depends on the game and in the screen resolution you use. Your screen seems to be of a wide format. "Normal" screens have an x/y ratio of 4/3, wide screens have a proportion of 16/9, hence they are wider than the regular formats. I guess that ufo-ai is not prepared to use a wide format and it just fill the gaps with a black background. Maybe it can be configured to take approach of the wide resolution, I really have no idea.

Quote:
this is the pic from dungeon siege...from wine...

http://picasaweb.google.com/lh/photo...eat=directlink

can u see the pointer turn to be a big rectangular pointer...with sword picture....
This is a fairly common problem with some games on wine. As said, check the wine app database, maybe there's something about it there.

Quote:
then after i exit he game....it turn my laptop screen be like this....
http://picasaweb.google.com/lh/photo...eat=directlink
It seems that for some reason it doesn't restore the resolution after closing the game. This might be something specific to intel video cards. I suggest you to open a new thread just for this problem. I don't have intel video cards to test so I can't help with this one. And it will be very difficult for you to get help for such specific problem here. Open another thread on the desktop forum, I guess it's the best place for this concrete one

Quote:
if there is some special driver for mobile intel gma 4500mhd...
could u provide me the link...

what type of driver do jaunty packages provide for this intel graphic card???

Is it the best choice I had to put on jaunty for this card...??

Thanks...
As far as I know, the driver you use is the correct one, there's no better one. However as I said I know very little about intel cards. There might be some way to improve the performance or tune it a bit. I also suggest to open another thread for this one so you can get better help from people that know more than me about this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
White screen lamtab Linux - Enterprise 0 11-29-2008 09:48 AM
White Screen ?! Swoop Linux - Newbie 5 04-01-2007 02:24 AM
LXer: Boeing Selects Wind River Carrier Grade Linux for the P-8A Multi-Mission Maritime Aircraft Mission System LXer Syndicated Linux News 0 07-31-2006 06:21 AM
White screen then hashed screen on fresh install slan124 Fedora 4 04-14-2006 03:54 AM
When closing my graphics program & entering the application again the screen is blank armesk Programming 7 08-29-2003 01:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 07:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration