General > Discussion
Game wont launch correctly!
Mattn:
try to start ufo via the debugger:
gdb ufo
run
if this also crashes your x - try to do this via
export DISPLAY=127.0.0.1:0; gdb ufo
run
from a text console
if you get a valid gdb session that doesn't crash your X, please type bt and send the output
wdc101uk:
OK this is what the output was for gdb :
(gdb) run
Starting program: /home/Andy/ufoai/ufo
[Thread debugging using libthread_db enabled]
[New Thread -1208276272 (LWP 8603)]
Adding game dir: ./base
Added packfile ./base/0base.pk3 (5 files)
Added packfile ./base/0maps.pk3 (388 files)
Added packfile ./base/0media.pk3 (5 files)
Added packfile ./base/0models.pk3 (874 files)
Added packfile ./base/0pics.pk3 (1730 files)
Added packfile ./base/0snd.pk3 (121 files)
Added packfile ./base/0ufos.pk3 (63 files)
using /home/Andy/.ufoai/2.1.1/base for writing
Adding game dir: /home/Andy/.ufoai/2.1.1/base
execing default.cfg
couldn't exec config.cfg
execing keys.cfg
Hostname: localhost.localdomain
Alias: localhost
IP: 127.0.0.1
...using language: en_US.UTF-8
Console initialized.
------- sound initialization -------
Loading snd_sdl sound driver
...library search path: '.'
Soundsystem: SDL.
SDL version: 1.2.10
SDL audio driver is "alsa".
Bits: 16
Frequency: 48000
Samples: 4096
Channels: 2
[New Thread -1210848368 (LWP 8606)]
sound sampling rate: 48000
------- Loading ref_glx.so -------
LoadLibrary ("./ref_glx.so")
ref_gl version: GL 0.12
LoadLibrary ("libGL.so.1")
Initializing OpenGL display
...setting fullscreen mode 6: 1024 768
Error couldn't open the X display
ref_gl::R_SetMode() - invalid mode
Initializing OpenGL display
...setting mode 3: 640 480
Error couldn't open the X display
ref_gl::R_SetMode() - could not revert to safe mode
ref_gl::R_Init() - could not R_SetMode()
------------------------------------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208276272 (LWP 8603)]
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x007aaf15 in GL_Bind (texnum=1281) at src/ref_gl/gl_image.c:153
#2 0x007af306 in GL_LoadPic (name=0xbff574f8 "pics/wait.tga",
pic=0x1648bb60 "", width=16, height=32, type=it_pic, bits=32)
at src/ref_gl/gl_image.c:2134
#3 0x007af797 in GL_FindImage (pname=0xbff57580 "pics/wait", type=it_pic)
at src/ref_gl/gl_image.c:2254
#4 0x007a6c98 in Draw_FindPic (name=0x80f63d0 "wait")
at src/ref_gl/gl_draw.c:243
#5 0x0809953c in SCR_TouchPics () at src/client/cl_scrn.c:643
#6 0x080987c0 in SCR_Init () at src/client/cl_scrn.c:305
#7 0x0808610d in CL_Init () at src/client/cl_main.c:2397
#8 0x080be558 in Qcommon_Init (argc=1, argv=0xbff577b4)
at src/qcommon/common.c:1594
#9 0x080e0c90 in main (argc=1, argv=0xbff577b4)
at src/ports/linux/sys_linux.c:538
Mattn:
"Error couldn't open the X display" - so the export doesn't work - so i suppose running ufo via gdb in x is crashing your x sessions, too?
which drivers are you using?
wdc101uk:
for graphics?
I have installed the latest ati drivers for my x1950 radeon pci express card, and run aticonfig --initial - so i presume its using those?
Mattn:
no, it's using mesa indirect rendering:
--- Quote ---GL_VENDOR: Mesa project: www.mesa3d.org
GL_RENDERER: Mesa GLX Indirect
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version