Tetxure compression problems

Find any bugs in Vega Strike? See if someone has already found it, or report them here!
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Tetxure compression problems

Post by safemode »

This thread is for the inevitable deluge of issues related to DDS textures i'm committing in bulk today.

please try to be as specific as possible describing the texture if you dont know the filename.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Thx for the heads up safemode updating data4.x at the moment myself.

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

I set up a few dirs to be committed prior to leaving for work this morning because SF.net is slower than hell lately. I'll likely be committing all evening.

To give you an idea about how many textures this is. I started converting them at around 10pm last night. As of 7am this moring, it was still converting textures. And I have a very fast box. it took over an hour apparently to commit the sol textures. My internet connection isn't that bad, SF keeps pausing and hanging during commits and updates these past couple days....seemingly randomly.

Look out for the sprite update, i'm not sure how well that will take without editing the sprite handling code. I've discovered that there are at least 3 separate api's for loading different types of textures, each had to have dds support edited in. There will likely be issues where stuff gets missed or I missed a part that tries editing the compressed file because it thinks it's uncompressed.

Basically, dont be surprised by problems. Report them, they will be fixed.

Edit: stupid qwerty keyboard. should convert to dvorak here at work.
Last edited by safemode on Thu Aug 30, 2007 3:03 pm, edited 1 time in total.
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

SF.net is slower than hell lately.
What else is new SF seems to have major load problems all the time :wink:

Enjoy the Choice :)
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
loki1950
The Shepherd
Posts: 5841
Joined: Fri May 13, 2005 8:37 pm
Location: Ottawa
Contact:

Post by loki1950 »

Well i get a seg fault on the second stage of the load the splash_holovid.ani loaded just fine during the first stage the jackal.png loaded ok a bit later i get the seg fault no indication of what caused it in stderr or stdout the tail of each follows.

Code: Select all

[denis@localhost bin]$ ./vegastrike >vsoutput
GOT SUBDIR ARG = 
Found data in ..
Using /home/denis/workspace/SVNvegastrike/data4.x as data directory
USING HOMEDIR : /home/denis/.vegastrike As the home directory 
CONFIGFILE - No config found in home : /home/denis/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : /home/denis/workspace/SVNvegastrike/data4.x/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
running import sys
print sys.path
sys.path = [r"/home/denis/workspace/SVNvegastrike/data4.x/modules/builtin",r"/home/denis/workspace/SVNvegastrike/data4.x/modules",r"/home/denis/workspace/SVNvegastrike/data4.x/bases"]
testing VS randomrunning import sys
print sys.path
OpenGL Extensions supported: GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp 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_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two 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_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D 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_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
OpenGL::GL_EXT_compiled_vertex_array supported
OpenGL::Accurate Fog Distance supported
OpenGL::Generic Texture Compression supported
OpenGL::S3TC Texture Compression supported
OpenGL::Multitexture supported (4 units)
OpenGL::TextureCubeMapExt supported
OpenGL::S3TC Texture Clamp-to-Edge supported
OpenGL::S3TC Texture Clamp-to-Border supported
OpenGL::EXTColorTable unsupported
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg


Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
input name backgrounds/black, output name backgrounds/black_light.bmp
Affine 0.000000 Mult 0.800000 Pow 1.000000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/EmptyFOUND MODIFICATION = player FOR PLAYER #0
Num Nodes: 620, NumEnds: 217
Min Height: 5, Max Height: 42
Average Height 20.000000
Num Nodes: 598, NumEnds: 209
Min Height: 6, Max Height: 56
Average Height 21.320574
Num Nodes: 592, NumEnds: 211
Min Height: 5, Max Height: 55
Average Height 18.966825
Num Nodes: 592, NumEnds: 215
Min Height: 4, Max Height: 50
Average Height 17.688372
Num Nodes: 579, NumEnds: 208
Min Height: 3, Max Height: 61
Average Height 21.841346
Num Nodes: 594, NumEnds: 216
Min Height: 4, Max Height: 61
Average Height 22.486111
Num Nodes: 535, NumEnds: 182
Min Height: 3, Max Height: 65
Average Height 21.005495
Num Nodes: 507, NumEnds: 187
Min Height: 3, Max Height: 56
Average Height 20.572193
Num Nodes: 501, NumEnds: 171
Min Height: 4, Max Height: 56
Average Height 20.456140
Segmentation fault
[denis@localhost bin]$ [code]

Vega Strike
See http://www.gnu.org/copyleft/gpl.html for license details.

Using .vegastrike as the home directory
Found MODDIR = /home/denis/workspace/SVNvegastrike/data4.x/mods
DATADIR - No datadir specified in config file, using ; /home/denis/workspace/SVNvegastrike/data4.x
SIMULATION_ATOM: 0.05
['/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/python2.5/site-packages/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode']
['/home/denis/workspace/SVNvegastrike/data4.x/modules/builtin', '/home/denis/workspace/SVNvegastrike/data4.x/modules', '/home/denis/workspace/SVNvegastrike/data4.x/bases']
Setting Screen to w 1024 h 768 and pitch of 4096 and 32 bpp 4 bytes per pix mode
1 joysticks were found.

The names of the joysticks are:
Logitech Inc. WingMan Force 3D
axes: 6 buttons: 7 hats: 0
FactionXML:LoadXML factions.xml
Contents of star system:
<system name="Empty" background="backgrounds/black" nearstars="0" stars="0" starspread="0" y="0" z="0" x="0">

</system>


Compiling python module modules/dj.py
+++ m/dj_lib.py:127: SITUATION IS 1 force change 1 bool 1
+++ m/dj_lib.py:129: SITUATION IS RESET TO 1
+++ m/dj_lib.py:139: Ppeace
CREATING A LOCAL SHIP : dumbfire
Hi helper play 0
HereInitializing optimizer
pox 119990000000.000000 -9000000.000000 -109990000000.000000
WARNING: color Base_Text_Color_Background not defined, using default (hexcolor)
WARNING: color Base_Text_Color_Foreground not defined, using default (hexcolor)
WARNING: color FixerTextColor_Background not defined, using default (hexcolor)
WARNING: color Fixer_Text_Color_Foreground not defined, using default (hexcolor)
+++ m/random_encounters.py:285: done loading rand enc
+++ m/random_encounters.py:46: init random enc
+++ m/random_encounters.py:64: end random enc
WARNING: color current_system not defined, using default (hexcolor)
WARNING: color selection_system not defined, using default (hexcolor)
WARNING: color path_system not defined, using default (hexcolor)
WARNING: color base_black not defined, using default (hexcolor)
WARNING: color base_white not defined, using default (hexcolor)
WARNING: color base_gray not defined, using default (hexcolor)
Force feedback support disabled when compiled
Loading completed, now network init
Loading active missions True
WARNING: color base_mouse_passive not defined, using default (hexcolor)
+++ m/random_encounters.py:27: init playRAAAND
+++ m/random_encounters.py:43: done playerdat
Launching bases for Special/Empty
Launching units for Special/Empty
finding quest
quest_drone
+++ m/random_encounters.py:102: resetting sigdist=8000.000000 detdist=40000.000000
WARNING: color base_mouse_over not defined, using default (hexcolor)
Found ship named : Llama.begin
Faction not found assigning default one : privateer !!!
Exiting ReadSavedPackets
Error: Cannot Open Unit Llama.begin from save file New_Game.
Contents of star system:
<system name="Cephid_17" background="backgrounds/green" nearstars="500" stars="1000" starspread="150" scalesystem="1000">
<Light>
<ambient red="0.000000" green="0.000000" blue="0.000000"/>
<diffuse red="0.866025" green="0.853710" blue="0.667231"/>
<specular red="1.000000" green="0.971760" blue="0.593597"/>
</Light>
<Light>
<ambient red="0.000000" green="0.000000" blue="0.000000"/>
<diffuse red="0.866025" green="0.455290" blue="0.345211"/>
<specular red="1.000000" green="0.276385" blue="0.158894"/>
</Light>
<Asteroid name="" file="AFieldJumpThin" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" x="-81750376.000000" y="-30150176.000000" z="-70781912.000000" />
<Planet name="JumpTo17-ar" file="jump.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="2.00000000" x="-81750376.000000" y="-30150176.000000" z="-70781912.000000" alpha="ONE ONE" destination="Crucible/17-ar" faction="klkk" >
</Planet>
<Planet name="Cephid_17 A" file="stars/white_star.png" ri="0.000000" rj="0.000000" rk="0.000000" si="0.000000" sj="0.000000" sk="0.000000" radius="746000.000000" x="0" y="0" z="0" Red="0.950000" Green="0.928820" Blue="0.645198" ReflectNoLight="true" light="0">
<Planet name="Atlantis" file="planets/oceanBase.png|planets/ocean.png" ri="120000000" rj="-8436.0" rk="-110000000" si="-120000000.000000" sj="-150000.000000" sk="110000000.000000" radius="5000.00312500" x="120000000" y="-10000" z="-110000000" year= "8000000000" day="80000" >
<Atmosphere file="sol2/earthcloudmaptrans.png" alpha="SRCALPHA INVSRCALPHA" radius="5020.00481875"/>
<Fog>
<FogElement file="atmXatm.bfxm" ScaleAtmosphereHeight="1.000" red=".8" blue="1" green=".85" alpha="0.5" dired="1" diblue="1" digreen="1" dialpha=".5" concavity=".3" focus=".6" minalpha="0" maxalpha=".5"/>
<FogElement file="atmXhalo.bfxm" ScaleAtmosphereHeight="1.000" red=".8" blue="1" green=".85" alpha=".5" dired="1" diblue="1" digreen="1" dialpha=".5" concavity=".3" focus=".6" minalpha="0" maxalpha=".5"/>
</Fog>

<!-- <Fog>
<FogElement file="atmXhalo.xmesh" ScaleAtmosphereHeight="1.0" red="0.900000" blue="0.900000" green="1.000000" alpha="1.000000" dired="0.900000" diblue="0.900000" digreen="1.000000" dialpha="1.000000" concavity="1" focus=".6" minalpha="0" maxalpha="0.7"/>
</Fog> -->
<Planet name="Phillies" file="sol/deimos.png|planets/rock.png" ri="-468434.7" rj="-361541" rk="433559.750000" si="-412172.000000" sj="300463.5" sk="-498163.5" radius="1661.98062500" x="-468434" y="-361541" z="433559" year="80000000" day="498000.276794" >
</Planet>
<Planet name="JumpToEnyo" file="jump.png" ri="234340.000000" rj="103060.007812" rk="920958.875000" si="471364.750000" sj="-517154.250000" sk="-62067.574219" radius="0.95771751" x="-1312920.250000" y="-717132.625000" z="1060315.625000" year= "80000000.750000" day="303.621857" alpha="ONE ONE" destination="Crucible/Enyo" faction="klkk" >
</Planet>
<Planet name="JumpToCardell" file="jump.png" ri="-254216.593750" rj="-423678.437500" rk="-372411.875000" si="-455824.562500" sj="479803.437500" sk="-234697.656250" radius="1.30477371" x="997000.562500" y="-455441.750000" z="753232.687500" year= "80000000.500000" day="761.770081" alpha="ONE ONE" destination="Crucible/Cardell" faction="klkk" >
</Planet>
<Unit name="Ataraxia" file="fighter_barracks" rj="-40000.593750" ri="-42.437500" rk="-47000.875000" sj="40000.562500" sk="47000" si="42" radius="130.477371" x="-42" y="-40000" z="-47000" year= "4381063.5" day="761" faction="klkk" >
</Unit>
</Planet>
<Planet name="JumpToOldziey" file="jump.png" ri="141807924.000000" rj="43125792.000000" rk="10400903.000000" si="-3642116.500000" sj="-5128123.000000" sk="-141807924.000000" radius="2.63800079" year= "7057770400.000000" day="536.628845" alpha="ONE ONE" destination="Crucible/Oldziey" faction="klkk" >
<Unit name="Plainfield" file="relay" ri="25000" rj="25000" rk="0.0" si="-26000" sj="-24000" sk="0.00" x="25000" y="25000" z="0.0" year= "8000000" faction="klkk">
</Unit>
</Planet>
<Planet name="JumpToEverett" file="jump.png" ri="-20080682.000000" rj="42690276.000000" rk="157634672.000000" si="72114176.000000" sj="-61331199.000000" sk="-96111560.000000" radius="3.11738037" year= "7778511200.000000" day="431.547974" alpha="ONE ONE" destination="Crucible/Everett" faction="klkk" >
</Planet>
<Planet name="JumpToStirling" file="jump.png" ri="-182282287.000000" rj="-15947974.000000" rk="-23532624.000000" si="-31423934.000000" sj="94449516.000000" sk="-168381.671875" radius="2.10078888" x="77007976.000000" y="-28267140.000000" z="-51236048.000000" year= "3688542800.000000" day="212.563385" alpha="ONE ONE" destination="Crucible/Stirling" faction="klkk" >
</Planet>
<Planet name="Cephid_17 B" file="stars/red_star.png" ri="0.000000" rj="7500000000.000000" rk="1500000000.000000" si="-1500000000.000000" sj="0.000000" sk="0.000000" radius="102620.000000" x="0" y="0" z="0" Red="0.950000" Green="0.207289" Blue="0.119170" ReflectNoLight="true" light="1">
<Planet name="Wiley" file="sol/deimos.png|planets/molten.png" ri="-65226760.000000" rj="19793218.000000" rk="30020006.000000" si="23492010.000000" sj="-254089232.000000" sk="-116486856.000000" radius="3564.39250000" year= "9138671360.000000" day="721.044067" >
<Unit name="Serenity" file="MiningBase" rj="-25421.593750" ri="-22367.437500" rk="-27241.875000" sj="-25582.562500" sk="27980.437500" si="-23469.656250" radius="130.477371" x="997000.562500" y="-455441.750000" z="753232.687500" year= "93000000.500000" day="761.770081" faction="klkk" >
</Unit>
</Planet>
<Planet name="Broadway" file="sol2/ganymede.jpg|planets/rock.png" ri="30215382.000000" rj="18258252.000000" rk="-30780302.000000" si="-52761992.000000" sj="-133019048.000000" sk="-130697848.000000" radius="4305.06218750" x="-37981648.000000" y="187513920.000000" z="42497932.000000" year= "7862598400.000000" day="652.678345" >
</Planet>
</Planet>
</Planet>
</system>

Unit file rock not found

Code: Select all


rock not found  :?:  that has not been a problem before this been in the output a few days now.

Enjoy the Choice :) 
my box::HP Envy i5-6400 @2Q70GHzx4 8 Gb ram/1 Tb(Win10 64)/3 Tb Mint 19.2/GTX745 4Gb acer S243HL K222HQL
Q8200/Asus P5QDLX/8 Gb ram/WD 2Tb 2-500 G HD/GF GT640 2Gb Mint 17.3 64 bit Win 10 32 bit acer and Lenovo ideapad 320-15ARB Win 10/Mint 19.2
Miramor
ISO Party Member
ISO Party Member
Posts: 410
Joined: Tue Jun 26, 2007 7:15 pm

Post by Miramor »

Really? I've been getting messages about rock not being found since I first used VS - I was starting to take them for granted.
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

splash screens may be loaded differently than the other 3 methods i've found. The missing stuff has nothing to do with your segfault.


In the future, i dont want any error log output, just describe when it crashes or what looks really corrupt if you dont know the exact texture name. I already know why it's crashing, it's the what is making it crash that i need to get reported to me.

in the meantime, you can revert your splash screens and continue testing until this evening when I can look into why splash screens are not playing nice. splash screens are in the animation dir i believe
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

It looks like a unit/mesh is causing it to crash, since I can see the BSP parser running.

Maybe we add a print every time we load a compressed dds texture, saying which texture it is loading, and what method it's using, so that it's possible to tell which one is causing the crash?
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

That could be done, wont be till i get home tonight though.


units aren't dds yet, niether are meshes.
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Valgrind found a lot of memory problems with the latest revision of code. I pasted up until the first invalid memory access.

Obviously the third one (invalid read) is the critical error, but the others might also be helpful.

Code: Select all

==8628== 
==8628== Conditional jump or move depends on uninitialised value(s)
==8628==    at 0xCFD30B: Texture::Bind(int, unsigned char) (aux_texture.cpp:816)
==8628==    by 0xCFF6F1: Texture::Load(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:429)
==8628==    by 0xCFF91C: Texture::Texture(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:225)
==8628==    by 0xDD5D30: VSSprite::VSSprite(char const*, FILTER, unsigned char) (sprite.cpp:109)
==8628==    by 0xE56A5A: BaseInterface::Room::BaseVSSprite::BaseVSSprite(std::string const&, std::string const&) (base_interface.cpp:127)
==8628==    by 0xE6218C: BaseUtil::Texture(int, std::string, std::string, float, float) (base_util.cpp:46)
==8628==    by 0xE496DD: _object* boost::python::detail::invoke(snip) (invoke.hpp:81)
==8628==    by 0xE49965: boost::python::detail::caller_arity<5>::impl<snip>::operator()(_object*, _object*) (caller.hpp:199)
==8628==    by 0xE49ACA: boost::python::objects::caller_py_function_impl<snip>::operator()(_object*, _object*) (py_function.hpp:38)
==8628==    by 0xF8FC03: boost::python::objects::py_function::operator()(_object*, _object*) const (py_function.hpp:139)
==8628==    by 0xF8E51C: boost::python::objects::function::call(_object*, _object*) const (function.cpp:212)
==8628==    by 0xF91978: boost::python::objects::(anonymous namespace)::bind_return::operator()() const (function.cpp:515)
==8628== 
==8628== Conditional jump or move depends on uninitialised value(s)
==8628==    at 0xCFD01A: Texture::Transfer(int, unsigned char) (aux_texture.cpp:774)
==8628==    by 0xCFD64E: Texture::Bind(int, unsigned char) (aux_texture.cpp:854)
==8628==    by 0xCFF6F1: Texture::Load(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:429)
==8628==    by 0xCFF91C: Texture::Texture(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:225)
==8628==    by 0xDD5D30: VSSprite::VSSprite(char const*, FILTER, unsigned char) (sprite.cpp:109)
==8628==    by 0xE56A5A: BaseInterface::Room::BaseVSSprite::BaseVSSprite(std::string const&, std::string const&) (base_interface.cpp:127)
==8628==    by 0xE6218C: BaseUtil::Texture(int, std::string, std::string, float, float) (base_util.cpp:46)
==8628==    by 0xE496DD: _object* boost::python::detail::invoke(snip) (invoke.hpp:81)
==8628==    by 0xE49965: boost::python::detail::caller_arity<5>::impl<snip>::operator()(_object*, _object*) (caller.hpp:199)
==8628==    by 0xE49ACA: boost::python::objects::caller_py_function_impl<snip>::operator()(_object*, _object*) (py_function.hpp:38)
==8628==    by 0xF8FC03: boost::python::objects::py_function::operator()(_object*, _object*) const (py_function.hpp:139)
==8628==    by 0xF8E51C: boost::python::objects::function::call(_object*, _object*) const (function.cpp:212)
==8628== 
==8628== Invalid read of size 4
==8628==    at 0xCFDB2A: Texture::setReference(Texture*) (aux_texture.cpp:67)
==8628==    by 0xCFDFF9: Texture::checkold(std::string const&, bool, std::string&) (aux_texture.cpp:87)
==8628==    by 0xCFF09E: Texture::Load(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:244)
==8628==    by 0xCFF91C: Texture::Texture(char const*, int, FILTER, TEXTURE_TARGET, TEXTURE_IMAGE_TARGET, unsigned char, int, unsigned char, unsigned char, ADDRESSMODE) (aux_texture.cpp:225)
==8628==    by 0xDD5D30: VSSprite::VSSprite(char const*, FILTER, unsigned char) (sprite.cpp:109)
==8628==    by 0xE56A5A: BaseInterface::Room::BaseVSSprite::BaseVSSprite(std::string const&, std::string const&) (base_interface.cpp:127)
==8628==    by 0xE6218C: BaseUtil::Texture(int, std::string, std::string, float, float) (base_util.cpp:46)
==8628==    by 0xE496DD: _object* boost::python::detail::invoke(snip) (invoke.hpp:81)
==8628==    by 0xE49965: boost::python::detail::caller_arity<5>::impl<snip>::operator()(_object*, _object*) (caller.hpp:199)
==8628==    by 0xE49ACA: boost::python::objects::caller_py_function_impl<snip>::operator()(_object*, _object*) (py_function.hpp:38)
==8628==    by 0xF8FC03: boost::python::objects::py_function::operator()(_object*, _object*) const (py_function.hpp:139)
==8628==    by 0xF8E51C: boost::python::objects::function::call(_object*, _object*) const (function.cpp:212)
==8628==  Address 0x192DEA38 is 176 bytes inside a block of size 192 free'd
==8628==    at 0x4C20390: operator delete(void*) (vg_replace_malloc.c:244)
==8628==    by 0xCFD7C5: Texture::~Texture() (aux_texture.cpp:756)
==8628==    by 0xCFD718: Texture::~Texture() (aux_texture.cpp:754)
==8628==    by 0xDD5E86: VSSprite::VSSprite(char const*, FILTER, unsigned char) (sprite.cpp:115)
==8628==    by 0xE56A5A: BaseInterface::Room::BaseVSSprite::BaseVSSprite(std::string const&, std::string const&) (base_interface.cpp:127)
==8628==    by 0xE6218C: BaseUtil::Texture(int, std::string, std::string, float, float) (base_util.cpp:46)
==8628==    by 0xE496DD: _object* boost::python::detail::invoke(snip) (invoke.hpp:81)
==8628==    by 0xE49965: boost::python::detail::caller_arity<5>::impl<snip>::operator()(_object*, _object*) (caller.hpp:199)
==8628==    by 0xE49ACA: boost::python::objects::caller_py_function_impl<snip>::operator()(_object*, _object*) (py_function.hpp:38)
==8628==    by 0xF8FC03: boost::python::objects::py_function::operator()(_object*, _object*) const (py_function.hpp:139)
==8628==    by 0xF8E51C: boost::python::objects::function::call(_object*, _object*) const (function.cpp:212)
==8628==    by 0xF91978: boost::python::objects::(anonymous namespace)::bind_return::operator()() const (function.cpp:515)
mduf
Trader
Trader
Posts: 21
Joined: Tue May 29, 2007 6:51 pm
Location: Quebec, Canada

Post by mduf »

I also have a segmentation fault. It load the first splash screen but it fail to load the main menu (svn 11427)

computer spec

ubuntu 6.10
athlon 600MHz
384 MB ram
Geforce 4 FX 440

I have joined to samples of stdout and gdb backtrace
You do not have the required permissions to view the files attached to this post.
Snake75
Explorer
Explorer
Posts: 14
Joined: Tue Aug 28, 2007 9:42 pm

Post by Snake75 »

with the last update of SVN (11427) Vega Strike fails to load in Windows.
last image that text on the bottom shows is "blackclear".


this is the "stderr.txt"
-------------------------------------------------------------------------------------
GOT SUBDIR ARG =
Found data in ..
Using C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x as data directory
USING HOMEDIR : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike As the home directory
CONFIGFILE - No config found in home : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
'import site' failed; use -v for traceback
running import sys
print sys.path
sys.path = [r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules/builtin",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/bases"]
testing VS randomrunning import sys
print sys.path
OpenGL Extensions supported: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D 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_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_NV_point_sprite GL_ARB_point_sprite GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control
OpenGL::GL_EXT_compiled_vertex_array supported
OpenGL::Accurate Fog Distance unsupported
OpenGL::Generic Texture Compression supported
OpenGL::S3TC Texture Compression supported
OpenGL::Multitexture supported (8 units)
OpenGL::TextureCubeMapExt supported
OpenGL::S3TC Texture Clamp-to-Edge supported
OpenGL::S3TC Texture Clamp-to-Border supported
OpenGL::EXTColorTable unsupported
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg

------------------------------------------------------------------------
Snake75
Explorer
Explorer
Posts: 14
Joined: Tue Aug 28, 2007 9:42 pm

SVN (11427) Won't load on Windows XP

Post by Snake75 »

with the last update of SVN (11427) Vega Strike fails to load in Windows.
last image that text on the bottom shows is "blackclear".


this is the "stderr.txt"
-------------------------------------------------------------------------------------
GOT SUBDIR ARG =
Found data in ..
Using C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x as data directory
USING HOMEDIR : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike As the home directory
CONFIGFILE - No config found in home : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
'import site' failed; use -v for traceback
running import sys
print sys.path
sys.path = [r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules/builtin",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/bases"]
testing VS randomrunning import sys
print sys.path
OpenGL Extensions supported: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D 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_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_NV_point_sprite GL_ARB_point_sprite GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control
OpenGL::GL_EXT_compiled_vertex_array supported
OpenGL::Accurate Fog Distance unsupported
OpenGL::Generic Texture Compression supported
OpenGL::S3TC Texture Compression supported
OpenGL::Multitexture supported (8 units)
OpenGL::TextureCubeMapExt supported
OpenGL::S3TC Texture Clamp-to-Edge supported
OpenGL::S3TC Texture Clamp-to-Border supported
OpenGL::EXTColorTable unsupported
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg

------------------------------------------------------------------------
S.O.: Windows XP
Memory: 2GB
Video: Radeon 9550 (bus 128bit)
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

once again, Please dont post error logs and system specs and all that

Just tell me when it dies or what is corrupted. Obviously something in the splash screen is borked, you dont need to post a problem already mentioned in the thread.

svn merge in a previous revision for the splash images and continue the testing.

I'll be working on why splash screens fail when i get home in an hour
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Anyway thanks for helping track down this problem.
Safemode is talking about this one instance since it deals with a specific texture.

You should normally post error logs with your crashes.

@safemode have you tracked down the cause of the valgrind errors?
The one crashing in GDB for me is "interfaces/quine/main.spr" (texture filename is corrupted by then), but likely that's after the error has happened.
I can't get valgrind to attach the debugger... so I'm not sure either.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

Turns out that safem0de just committed a ton of textures in an obsolete format specific to ancient ATI cards of the Rage era.

I committed working fallback code...so now folks should just get white clear textures when they encounter one of safem0de's ATI-2002-era textures

this means that you should be able to load VS once again if you can guess where the mouse cursor is (or update to an old sprites directory)
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Snake75
Explorer
Explorer
Posts: 14
Joined: Tue Aug 28, 2007 9:42 pm

Post by Snake75 »

SVN 11447

SO: Windows XP
Mem: 2GB
Proc: Intel P4
Video: Radeon 9550 (bus 128bit)

stderr.txt
--------------------------------------------------------------------------------------
GOT SUBDIR ARG =
Found data in ..
Using C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x as data directory
USING HOMEDIR : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike As the home directory
CONFIGFILE - No config found in home : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/.vegastrike/vegastrike.config
CONFIGFILE - No home config file found, using datadir config file : C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/vegastrike.config
MISSION_NAME is empty using : main_menu.mission
'import site' failed; use -v for traceback
running import sys
print sys.path
sys.path = [r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules/builtin",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/modules",r"C:\Documents and Settings\Snake.SNAKE-1E22DFC99.000\Documenti\Sandbox\data4.x/bases"]
testing VS randomrunning import sys
print sys.path
OpenGL Extensions supported: GL_ARB_multitexture GL_EXT_texture_env_add GL_EXT_compiled_vertex_array GL_S3_s3tc GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_multisample GL_ARB_occlusion_query GL_ARB_point_parameters GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_transpose_matrix GL_ARB_vertex_blend GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_element_array GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_map_object_buffer GL_ATI_separate_stencil GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_ATI_vertex_array_object GL_ATI_vertex_attrib_array_object GL_ATI_vertex_streams GL_ATIX_texture_env_combine3 GL_ATIX_texture_env_route GL_ATIX_vertex_shader_output_point_size GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_texgen_reflection GL_EXT_texture3D 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_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_EXT_vertex_shader GL_ARB_shading_language_100 GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_fragment_shader GL_HP_occlusion_test GL_NV_texgen_reflection GL_NV_blend_square GL_NV_occlusion_query GL_NV_point_sprite GL_ARB_point_sprite GL_SGI_color_matrix GL_SGIS_texture_edge_clamp GL_SGIS_texture_border_clamp GL_SGIS_texture_lod GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_extensions_string WGL_EXT_swap_control
OpenGL::GL_EXT_compiled_vertex_array supported
OpenGL::Accurate Fog Distance unsupported
OpenGL::Generic Texture Compression supported
OpenGL::S3TC Texture Compression supported
OpenGL::Multitexture supported (8 units)
OpenGL::TextureCubeMapExt supported
OpenGL::S3TC Texture Clamp-to-Edge supported
OpenGL::S3TC Texture Clamp-to-Border supported
OpenGL::EXTColorTable unsupported
VSImage ERROR DDS Pixel Format bpp is 0 for splash_tripezian.jpg...recovering gracefully
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
Failed to load song ../music/loading.ogg
VSImage ERROR DDS Pixel Format bpp is 0 for mouse.png...recovering gracefully
Failed to load song ../music/loading.ogg
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Special/EmptyFOUND MODIFICATION = player FOR PLAYER #0
VSImage ERROR DDS Pixel Format bpp is 0 for missile-hud.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for hull1.bmp...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield.bmp...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for interfaces/quine/main.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for interfaces/main_menu/credits.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for interfaces/main_menu/menu.jpg...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for basecomputer.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for mouseover.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for base_locationmarker.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for interfaces/main_menu/menu_buttons_pressed.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for Jackal.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for FraternalWar.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for asteroid-jump-hud.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for asteroid-hud.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for flare4.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for planets/oceanBase.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for planets/ocean.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for planet-ocean-hud.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for sol2/earthcloudmaptrans.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for sol/deimos.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for planets/rock.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0000.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0001.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0002.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0003.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0004.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0005.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0006.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0007.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0008.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0009.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0010.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0000.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0001.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0002.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0003.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0004.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0005.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0006.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0007.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0008.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0009.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0010.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for turret1.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for turet1ppl.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for turret1ppl.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for Capskn3.bmp...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for flare3.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for planets/molten.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blank.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for sol2/ganymede.jpg...recovering gracefully
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 2000
Min (0.000000, 0.000000, 0.000000) Max(0.000000, 0.000000, 0.000000) MinLumin 1.000000, MaxLumin 1.000000Read In Star Count 0 used: 38
Loading a starsystem
Loading Star System Crucible/Cephid_17
Next To: Crucible/17-ar
Next To: Crucible/Cardell
Next To: Crucible/Cephid_17
Next To: Crucible/Enyo
Next To: Crucible/Cephid_17
Next To: Crucible/OldzieyVSImage ERROR DDS Pixel Format bpp is 0 for blink0001.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0002.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0003.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0004.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0005.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0006.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0007.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0008.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0009.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0010.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0011.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0012.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0013.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0014.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0015.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0016.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0017.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0018.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0019.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for blink0020.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for supernova.bmp...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for crosshairs.png...recovering gracefully
Warning Traceback 1:
File "C/modules\privateer.py", line 31, in Execute
i.Execute()
File "C/modules\random_encounters.py", line 250, in Execute
generate_dyn_universe.KeepUniverseGenerated()
File "C/modules\generate_dyn_universe.py", line 284, in KeepUniverseGenerated
ReloadUniverse()
File "C/modules\generate_dyn_universe.py", line 253, in ReloadUniverse
genUniverse=Makesys(sys)
File "C/modules\generate_dyn_universe.py", line 207, in Makesys
debug.warn('First time generation started in system '+startingsys+'...\nThis may take a while.')
Message: First time generation started in system Sol/Sol...
This may take a while.

VSImage ERROR DDS Pixel Format bpp is 0 for shield0000.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0001.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0002.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0003.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0004.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0005.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0006.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0007.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0008.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0009.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0010.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0011.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0012.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0013.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0014.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for shield0015.png...recovering gracefully
VSImage ERROR DDS Pixel Format bpp is 0 for turret2.png...recovering gracefully

--------------------------------------------------------------------------------------
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

he committed new textures for the most part--but some planet textures are corrupted :-/ I'm not sure why
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
pheldens
Bounty Hunter
Bounty Hunter
Posts: 178
Joined: Mon Sep 26, 2005 1:15 am

Post by pheldens »

r11447 (last)

Startup segfault is gone.
Start menu is a white solid.
I pick the 2nd option (load game, load texture displays ok)
and click my savegame.


Then there's a crash: backtrace:


Python launched andolian_citizen Franklin.civvie FG Crosby with 15 ships
+++ m/fg_util.py:714: LaunchLandShip: ('Crosby', 'andolian_citizen', 'Franklin.civvie', 1)
+++ m/fg_util.py:718: attempting launch for shipFranklin.civvie, begin 4, act 1
+++ m/launch_recycle.py:115: (-34467754212.357674, 3747942094.2444286, -28466266859.409958)
Launch nexting Kafka.civvie

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216202560 (LWP 11330)]
0xa636a293 in tx_compress_dxtn () from /usr/local/lib/libtxc_dxtn.so
(gdb) bt
#0 0xa636a293 in tx_compress_dxtn () from /usr/local/lib/libtxc_dxtn.so
(gdb)



This is the mesa dri s3tc helper lib, I'll see if there's a newer one available. Note s3tc is sanctioned technology and illegal to use in open source drivers in some countries. Thats why they split some functions into a seperate lib.
pheldens
Bounty Hunter
Bounty Hunter
Posts: 178
Joined: Mon Sep 26, 2005 1:15 am

Post by pheldens »

http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html wrote:There are no binaries available (see IP issues below). Since Mesa now supports s3tc (albeit for full support an external library is required), you don't need to build your own 3d driver if you don't want to - of course you can still do that (see the dri building page). You can just install a driver snapshot.
Basically, this is all you need for support of precompressed textures with hardware decompression (most newer games which use s3tc use precompressed textures, nwn, ut2k3 etc., a notable exception are QuakeIII based games (QuakeIII, RTCW) and Doom III). So, in principle, you might not even need the external library (libtxc_dxtnxxx.tar.gz). However, the driver behaviour of not supporting online-compression/decompression, but only precompressed textures, is not OpenGL conformant. Therefore, in this case you need to specifically enable the s3tc extension with driconf (if you don't want to use driconf for some reason, you could set "force_s3tc_enable=true"), and you will get errors if applications try to use online-compression (like QuakeIII does), or if they try to use software-decompression (like a (buggy) gimp plugin for decompressing .dds files does). If you need software compression/decompression, you thus need to install the external libtxc_dxtn library. Simply unpack the archive ("tar -xvzf /path/to/libtxc_dxtnxxx.tar.gz"), and do a "make" and "make install". If you do this s3tc will be enabled per default. Also see IP issues below.
pheldens
Bounty Hunter
Bounty Hunter
Posts: 178
Joined: Mon Sep 26, 2005 1:15 am

Post by pheldens »

Not using this lib, and turning
export force_s3tc_enable=true
crashes segfaults too in another place.

--------

Turning force_s3tc_enable=false
(And thus using the vegastrike softdecoder?)
Starts up ok but the textures are displayed 4x, the startup texture is no longer white though:

Image
Image
Image
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

Yea, i'm aware that the software decompressor is not liking the background images. I'm going to look into that.

the planet's with clouds issue is very perplexing. It's probably best to revert it for now if it's that bothersome.

Since everyone has become accustomed to using SVN for their actual playing tree and not as a volatile development tree, it's readily apparant that such a huge change as replacing 1400 textures with an immature loader is not going to go over well. I mean, if people cant handle 1 day of svn breakage (not even the code mind you, just data files .. so it shouldn't adversely effect parallel development) then people aren't using svn with the purpose it should be used. Part of that is that no release for so long and infrequent activity has made the svn the _release_ and part of it is the pushing of the volatile commits directly to head. Which is bad.

I really should have branched data4.x and made my commits to there. I will do that when i get home, committing the rest of the textures. That way since we're working under the rolling release method (svn is always working correctly) that can remain true and work on data4.x wont temporarily break data4.x

Sorry for the inconvenience. I am being rushed to get these changes out for release and I work usually 10 hours a day so I screwed up a couple commits. It wont happen again.

When the branched data4.x has matured to playable status, I will merge it with trunk. I would suggest all developers to have both for testing purposes.

again, sorry for the inconvenience, further work will go on in a branch and only get merged when it's been heavily tested.
pheldens
Bounty Hunter
Bounty Hunter
Posts: 178
Joined: Mon Sep 26, 2005 1:15 am

Post by pheldens »

No problem, when you got it more mature I'm happy to test your branch out.
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Post by safemode »

couple issues with the data files we've noticed. 1. There exists textures that dont have dimensions that are a power of two. this is a big no no. The textures bomb out in data4.x (the few that aren't power of two) because they are uncompressed dds files. Something i dont support nor do we really want to. Converting those

2. There exists jpegs that are greyscale and the like, i only partially support indexed/greyscale, and VS doesn't like them very much either.
Should probably complete support for those.

3. nvcompress messes up outputting depth/bpp on some textures for no apparent reason. Can output in gimp-dds until it's figured out for sure.

it's a holiday weekend, not sure how much time i'll get to work on VS. but i'll try.
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Post by klauss »

safemode wrote:2. There exists jpegs that are greyscale and the like, i only partially support indexed/greyscale, and VS doesn't like them very much either.
Should probably complete support for those.
With that crash fixed, grayscale works like a charm. I just found a GTIO and took a shot:
Image

And that's with textures downsampled to 256x256 !
:D

Nice...

(the GTIO uses a grayscale-jpg ppl specmap)
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply