General > Discussion
ufo.conf / ref_glx.so problem again :(
[S|G]:
Thanks, I am now downloading the base data files. I thought that the ones in the base svn would be enough. My mistake :oops:
About the errors on the bottom, I don't think they are related to the UFO game in particular: it seems to be some problem when X tries to restore my previous resolution. When the game quits it is unable to restore the resolution my system was using before, but it also happens with other applications, such as Doom3. While I have no idea about what is causing it, it is not any major problem for me :)
Edit: When I extracted the files from the archive, tar reported that they had timestamps in the future. Is that normal?
[S|G]:
Hello again,
Sorry to keep posting, but I'm still not able to run UFO. I have downloaded the base package, music package, got the svn version, compiled it and..... I'm stuck at a black screen with only the cursor. I couldn't see any error messages on console this time, it just doesn't work.
Console output (complete):
--- Code: ---
Adding game dir: ./base
using /home/diego/.ufoai/base/ for writing
Adding game dir: /home/diego/.ufoai/base
Using data dir (./base/i18n/) for locate settings
Setting language to pt_BR.UTF-8
execing default.cfg
execing config.cfg
execing keys.cfg
Console initialized.
------- sound initialization -------
Using Alsa
Using sounddevice "default" - if you have problems with this try to set the cvar snddevice to a appropriate alsa-devicesound sampling rate: 48000
------------------------------------
------- Loading ref_glx.so -------
LoadLibrary("ref_glx.so"): can't open /etc/ufo.conf - setting search path to .
LoadLibrary("./ref_glx.so")
ref_gl version: GL 0.12
Initializing OpenGL display
...setting fullscreen mode 6: 1024 768
Using XFree86-VidModeExtension Version 2.2
Using hardware gamma
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce4 MX 440 with AGP8X/AGP/SSE/3DNOW!
GL_VERSION: 1.5.5 NVIDIA 81.78
GL_EXTENSIONS: GL_ARB_imaging GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum
...allowing CDS
...enabling GL_EXT_compiled_vertex_array
...using GL_EXT_point_parameters
...using GL_ARB_multitexture
...using GL_EXT_texture_env_combine
...GL_SGIS_multitexture deprecated in favor of ARB_multitexture
...using GL_ARB_texture_compression
...using GL_EXT_texture_filter_anisotropic [ 2 max] [ 1 selected]
...using GL_EXT_texture_lod_bias
...using GL_EXT_stencil_wrap
...GL_ARB_fragment_program not found
...GL_ATI_separate_stencil not found
Max texture size supported
...detected 2048
------------------------------------
CDAudio_Init: No CD in drive.
CDAudio_Init: CD contains no audio tracks.
CD Audio Initialized.
Map mask loaded.
stage: intro
stage: ufos_are_coming
stage: invasion
Shared Client/Server Info loaded
Unknown command "init"
====== UFO Initialized ======
Using XF86DGA Mouse
Received signal 11, exiting...
--- End code ---
Then that's it. It stops at a black screen, with the mouse cursor (green crosshairs) and nothing else happens. I press esc and it quits to desktop. Any ideas? :cry:
Hoehrer:
Sorry, no idea what could cause this, buzt i suspect a graphic-card, x-server or ufo-config issue.
I can't promise anything, but you could try changing some settings in default.conf and config.cfg (e.g fullscreen on/off, turning off or lower GL settings etc...)
Attaching uf to gdb may produce some usefull output though -> backtrace.
Werner
[S|G]:
--- Quote from: "Hoehrer" ---Sorry, no idea what could cause this, buzt i suspect a graphic-card, x-server or ufo-config issue.
I can't promise anything, but you could try changing some settings in default.conf and config.cfg (e.g fullscreen on/off, turning off or lower GL settings etc...)
Attaching uf to gdb may produce some usefull output though -> backtrace.
Werner
--- End quote ---
Should ufo create a ~/.ufoai automatically? If so, it is not doing that on my machine. On ~/.ufoai I had to manually create base/default.cfg and it ONLY had the following lines:
--- Code: ---
//set vid_ref gl
//set gl_driver "opengl32"
set vid_ref glx
set gl_driver libGL.so
--- End code ---
What other files (you mentioned a config.cfg) do I need to create? If you could send some default samples I would be really grateful :D
Anyway, I suspect there is something weird with the program itself, since it is not creating the default configuration. Before I created the default.cfg it kept giving me the /etc/ufo.conf error.
Thanks
Hoehrer:
default.cfg, config.cfg and keys.cfg are delivered within the base-archive (in the base-dir). I left most of this alone, except for the
--- Code: ---set vid_mousegrab "0"
--- End code ---
in config.cfg and the fullscreen=off settings. This works for me.
I think the files in ~/.ufoai overwrite the settings in the ./trunk/base dir, so if it (config.cfg is the only one here) was already created, edit this one.
Werner
Navigation
[0] Message Index
[*] Previous page
Go to full version