View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002172 | FSSCP | graphics | public | 2010-03-31 12:24 | 2012-01-13 09:13 |
| Reporter | The_E | Assigned To | The_E | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 3.6.12 RC1 | ||||
| Summary | 0002172: Int3() when 3D Hardware Texture setting is set to low | ||||
| Description | Steps to reproduce: Run the debug exe with MediaVPs enabled. Go to the details settings, set 3D Hardware Textures to minimum Launch mission, watch crash. | ||||
| Additional Information | Debug log: ========================================================================== DEBUG SPEW: No debug_filter.cfg found, so only general, error, and warning categories can be shown and no debug_filter.cfg info will be saved. ========================================================================== FreeSpace version: 3.6.13 Passed cmdline options: -spec_exp 15 -ogl_spec 20 -spec_static 1.5 -spec_point 1.2 -spec_tube 1.5 -ambient_factor 35 -env -mipmap -missile_lighting -glow -normal -3dshockwave -post_process -dualscanlines -orbradar -targetinfo -3dwarp -ship_choice_3d -weapon_choice_3d -warp_flash -mod mediavps -no_set_gamma -fps -debug_window -window Building file index... Found root pack 'D:\FS2\mediavps\3610_Patch.vp' with a checksum of 0x07e72699 Found root pack 'D:\FS2\mediavps\MV_Advanced.vp' with a checksum of 0xd06bf123 Found root pack 'D:\FS2\mediavps\MV_Assets.vp' with a checksum of 0xc9e372bb Found root pack 'D:\FS2\mediavps\MV_Core.vp' with a checksum of 0x0dc7bb8f Found root pack 'D:\FS2\mediavps\MV_Effects.vp' with a checksum of 0xa3141c30 Found root pack 'D:\FS2\mediavps\mv_music.vp' with a checksum of 0x4dbbbe96 Found root pack 'D:\FS2\mediavps\MV_radaricons.vp' with a checksum of 0x3a77dd9b Found root pack 'D:\FS2\FS2OGGcutscenepack.vp' with a checksum of 0x84396e99 Found root pack 'D:\FS2\multi-mission-pack.vp' with a checksum of 0x377695e0 Found root pack 'D:\FS2\multi-voice-pack.vp' with a checksum of 0xd50e7442 Found root pack 'D:\FS2\root_fs2.vp' with a checksum of 0xce10d76c Found root pack 'D:\FS2\smarty_fs2.vp' with a checksum of 0xddeb3b1e Found root pack 'D:\FS2\sparky_fs2.vp' with a checksum of 0x164fe65a Found root pack 'D:\FS2\sparky_hi_fs2.vp' with a checksum of 0xa11d56f1 Found root pack 'D:\FS2\stu_fs2.vp' with a checksum of 0xd77da83a Found root pack 'D:\FS2\tango1_fs2.vp' with a checksum of 0x4c25221e Found root pack 'D:\FS2\tango2_fs2.vp' with a checksum of 0x86920b82 Found root pack 'D:\FS2\tango3_fs2.vp' with a checksum of 0x705e8d71 Found root pack 'D:\FS2\warble_fs2.vp' with a checksum of 0xd85c305d Searching root 'D:\FS2\mediavps\' ... 8 files Searching root pack 'D:\FS2\mediavps\3610_Patch.vp' ... 180 files Searching root pack 'D:\FS2\mediavps\MV_Advanced.vp' ... 2868 files Searching root pack 'D:\FS2\mediavps\MV_Assets.vp' ... 1810 files Searching root pack 'D:\FS2\mediavps\MV_Core.vp' ... 146 files Searching root pack 'D:\FS2\mediavps\MV_Effects.vp' ... 1046 files Searching root pack 'D:\FS2\mediavps\mv_music.vp' ... 32 files Searching root pack 'D:\FS2\mediavps\MV_radaricons.vp' ... 24 files Searching root 'D:\FS2\' ... 84 files Searching root pack 'D:\FS2\FS2OGGcutscenepack.vp' ... 10 files Searching root pack 'D:\FS2\multi-mission-pack.vp' ... 110 files Searching root pack 'D:\FS2\multi-voice-pack.vp' ... 307 files Searching root pack 'D:\FS2\root_fs2.vp' ... 157 files Searching root pack 'D:\FS2\smarty_fs2.vp' ... 10 files Searching root pack 'D:\FS2\sparky_fs2.vp' ... 3027 files Searching root pack 'D:\FS2\sparky_hi_fs2.vp' ... 1337 files Searching root pack 'D:\FS2\stu_fs2.vp' ... 2355 files Searching root pack 'D:\FS2\tango1_fs2.vp' ... 32 files Searching root pack 'D:\FS2\tango2_fs2.vp' ... 15 files Searching root pack 'D:\FS2\tango3_fs2.vp' ... 10 files Searching root pack 'D:\FS2\warble_fs2.vp' ... 52 files Found 21 roots and 13620 files. AutoLang: Language auto-detection successful... Setting language to English TBM => Starting parse of 'mv_strings-lcl.tbm' ... Initializing OpenAL... Using 'Generic Software on Speakers (High Definition Audio Device)' as OpenAL sound device... OpenAL Vendor : Creative Labs Inc. OpenAL Renderer : Software OpenAL Version : 1.1 ... OpenAL successfully initialized! Failed to init speech Initializing OpenGL graphics device at 1024x768 with 32-bit color... Initializing WGL... Requested WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1 Actual WGL Video values = R: 8, G: 8, B: 8, depth: 32, double-buffer: 1 OpenGL Vendor : ATI Technologies Inc. OpenGL Renderer : ATI RADEON XPRESS 1200 Series OpenGL Version : 2.1.8545 Release Using extension "GL_EXT_fog_coord". Using extension "GL_ARB_multitexture". Using extension "GL_ARB_texture_env_add". Using extension "GL_ARB_texture_compression". Using extension "GL_EXT_texture_compression_s3tc". Using extension "GL_EXT_texture_filter_anisotropic". Using extension "GL_ARB_texture_env_combine". Using extension "GL_EXT_compiled_vertex_array". Using extension "GL_EXT_draw_range_elements". Using extension "GL_ARB_texture_mirrored_repeat". Using extension "GL_ARB_texture_non_power_of_two". Using extension "GL_ARB_vertex_buffer_object". Using extension "GL_ARB_pixel_buffer_object". Using extension "GL_SGIS_generate_mipmap". Using extension "GL_EXT_framebuffer_object". Using extension "GL_ARB_texture_rectangle". Using extension "GL_EXT_bgra". Using extension "GL_ARB_texture_cube_map". Using extension "GL_EXT_texture_lod_bias". Using extension "GL_ARB_point_sprite". Using extension "GL_ARB_shading_language_100". Using extension "GL_ARB_shader_objects". Using extension "GL_ARB_vertex_shader". Using extension "GL_ARB_fragment_shader". Unable to find extension "GL_ATI_shader_texture_lod". Found special extension function "wglSwapIntervalEXT". Max texture units: 8 (8) Max elements vertices: 2147483647 Max elements indices: 16384 Max texture size: 2048x2048 Can use compressed textures: YES Texture compression available: YES Using trilinear texture filter. ... OpenGL init is complete! Size of bitmap info = 760 KB Size of bitmap extra info = 52 bytes ANI cursorweb with size 24x24 (25.0% wasted) GRAPHICS: Initializing default colors... SCRIPTING: Beginning initialization sequence... SCRIPTING: Beginning Lua initialization... LUA: Opening LUA state... LUA: Initializing base Lua libraries... LUA: Beginning ADE initialization ADE: Initializing enumeration constants... ADE: Assigning Lua session... SCRIPTING: Beginning main hook parse sequence.... Wokka! Error opening file (scripting.tbl)! TABLES: Unable to parse 'scripting.tbl'! Error code = 5. TBM => Starting parse of 'csbar-sct.tbm' ... TBM => Starting parse of 'flak-sct.tbm' ... TBM => Starting parse of 'velindc-sct.tbm' ... SCRIPTING: Inititialization complete. SCRIPTING: Splash screen overrides checked SCRIPTING: Splash hook has been run SCRIPTING: Splash screen conditional hook has been run Using high memory settings... Wokka! Error opening file (interface.tbl)! WMCGUI: Unable to parse 'interface.tbl'! Error code = 5. TBM => Starting parse of 'mv_effects-sdf.tbm' ... TBM => Starting parse of 'mv_adveffects-sdf.tbm' ... ANI 2_radar1 with size 209x170 (33.6% wasted) Windows reported 16 joysticks, we found 0 Current soundtrack set to -1 in event_music_reset_choices TBM => Starting parse of 'mv_music-mus.tbm' ... TBM => Starting parse of 'mv_advmuzzle-mfl.tbm' ... Wokka! Error opening file (armor.tbl)! TABLES: Unable to parse 'armor.tbl'! Error code = 5. TBM => Starting parse of 'mv_effects-wxp.tbm' ... TBM => Starting parse of 'mv_adveffects-wxp.tbm' ... BMPMAN: Found EFF (exp20.eff) with 64 frames at 30 fps. BMPMAN: Found EFF (ExpMissileHit1.eff) with 44 frames at 30 fps. BMPMAN: Found EFF (exp05.eff) with 47 frames at 20 fps. BMPMAN: Found EFF (exp06.eff) with 48 frames at 20 fps. BMPMAN: Found EFF (exp04.eff) with 60 frames at 20 fps. BMPMAN: Found EFF (Maxim_Impact.eff) with 23 frames at 30 fps. ANI Lamprey_Impact with size 80x80 (37.5% wasted) BMPMAN: Found EFF (Gmuzzle.eff) with 5 frames at 30 fps. BMPMAN: Found EFF (PWmuzzle.eff) with 4 frames at 30 fps. BMPMAN: Found EFF (Rmuzzle.eff) with 4 frames at 30 fps. BMPMAN: Found EFF (Bmuzzle.eff) with 5 frames at 30 fps. TBM => Starting parse of 'mv_effects-wep.tbm' ... TBM => Starting parse of 'mv_tech-wep.tbm' ... TBM => Starting parse of 'mv_models-wep.tbm' ... TBM => Starting parse of 'mv_adveffects-wep.tbm' ... TBM => Starting parse of 'radar-shp.tbm' ... TBM => Starting parse of 'mv_trails-shp.tbm' ... TBM => Starting parse of 'mv_dragon-shp.tbm' ... TBM => Starting parse of 'mv_density-shp.tbm' ... TBM => Starting parse of 'mv_models-shp.tbm' ... TBM => Starting parse of 'mv_adveffects-shp.tbm' ... TBM => Starting parse of 'mv_tech-shp.tbm' ... TBM => Starting parse of 'mv_escort-hdg.tbm' ... TBM => Starting parse of 'mv_effects-str.tbm' ... loading animated cursor "cursor" ANI cursor with size 24x24 (25.0% wasted) Ships.tbl is : VALID Weapons.tbl is : VALID cfile_init() took 3972 Got event GS_EVENT_GAME_INIT (49) in state NOT A VALID STATE (0) ANI cursor.ani with size 24x24 (25.0% wasted) Frame 0 too long!!: frametime = 0.499 (0.499) Frame 0 too long!!: frametime = 2.066 (2.066) Got event GS_EVENT_MAIN_MENU (0) in state GS_STATE_INITIAL_PLAYER_SELECT (37) WARNING => Ship class UEF Uriel not located in Ship_info[] in player file Wokka! Error opening file (bp.fc2)! Error parsing 'bp.fc2' Error code = 5. ANI 2_mainwalk.ani with size 209x477 (6.8% wasted) ANI 2_mainflyby.ani with size 509x189 (26.2% wasted) ANI 2_maincrane.ani with size 192x116 (9.4% wasted) ANI 2_mainexit.ani with size 319x174 (32.0% wasted) ANI 2_mainbarracks.ani with size 273x158 (38.3% wasted) ANI 2_mainreadyroom.ani with size 231x145 (43.4% wasted) ANI 2_maintechroom.ani with size 69x119 (7.0% wasted) ANI 2_mainoptions.ani with size 337x206 (19.5% wasted) ANI 2_maincampaign.ani with size 308x190 (25.8% wasted) Frame 0 too long!!: frametime = 3.380 (3.380) Frame 0 too long!!: frametime = 1.242 (1.242) Frame 0 too long!!: frametime = 0.388 (0.388) Got event GS_EVENT_CAMPAIGN_ROOM (54) in state GS_STATE_MAIN_MENU (1) Wokka! Error opening file (bp.fc2)! Error parsing 'bp.fc2' Error code = 5. Frame 0 too long!!: frametime = 0.492 (0.492) Frame 0 too long!!: frametime = 0.422 (0.422) Got event GS_EVENT_MAIN_MENU (0) in state GS_STATE_CAMPAIGN_ROOM (42) Frame 0 too long!!: frametime = 0.356 (0.356) Frame 0 too long!!: frametime = 0.718 (0.718) Got event GS_EVENT_OPTIONS_MENU (8) in state GS_STATE_MAIN_MENU (1) Frame 0 too long!!: frametime = 2.302 (2.302) Frame 0 too long!!: frametime = 0.560 (0.560) Frame 0 too long!!: frametime = 1.742 (1.742) WARNING: VRAM is at 1679008 instead of zero after flushing! ANI cursor.ani with size 24x24 (25.0% wasted) Got event GS_EVENT_PREVIOUS_STATE (7) in state GS_STATE_OPTIONS_MENU (5) Frame 0 too long!!: frametime = 0.710 (0.710) Got event GS_EVENT_NEW_CAMPAIGN (26) in state GS_STATE_MAIN_MENU (1) Got event GS_EVENT_START_GAME (1) in state GS_STATE_MAIN_MENU (1) =================== STARTING LEVEL LOAD ================== Reassigning player to squadron 53rd Hammerheads Someone passed an extension to bm_load for file 'hammer1.pcx' ANI 2_Loading with size 824x43 (32.8% wasted) ANI 2_Loading.ani with size 824x43 (32.8% wasted) Starting model page in... Beginning level bitmap paging... BMPMAN: Found EFF (particleexp01.eff) with 10 frames at 8 fps. BMPMAN: Found EFF (particlesmoke01.eff) with 88 frames at 30 fps. BMPMAN: Found EFF (particlesmoke02.eff) with 39 frames at 24 fps. TBM => Starting parse of 'mv_fireball-fbl.tbm' ... TBM => Starting parse of 'mv_adveffects-fbl.tbm' ... BMPMAN: Found EFF (WarpMap01.eff) with 30 frames at 30 fps. BMPMAN: Found EFF (WarpMap02.eff) with 30 frames at 30 fps. BMPMAN: Found EFF (rock_exp.eff) with 55 frames at 30 fps. Loading warp model Loading model 'warp.pof' IBX: Found a good IBX to read for 'warp.pof'. IBX-DEBUG => POF checksum: 0xbf802ad0, IBX checksum: 0x3888b26c -- "warp.pof" 300 BMPMAN: Found EFF (shieldhit01a.eff) with 23 frames at 21 fps. BMPMAN: Found EFF (shieldhit02a.eff) with 45 frames at 30 fps. BMPMAN: Found EFF (shieldhit03a.eff) with 22 frames at 30 fps. SHOCKWAVE => Loading default shockwave model... Loading model 'shockwave.pof' IBX: Found a good IBX to read for 'shockwave.pof'. IBX-DEBUG => POF checksum: 0xd8be5fd9, IBX checksum: 0x208fb934 -- "shockwave.pof" BMPMAN: Found EFF (shockwave3d-glow.eff) with 159 frames at 24 fps. Model shockwave.pof has a null moment of inertia! (This is only a problem if the model is a ship.) SHOCKWAVE => Default model load: SUCCEEDED!! MISSION LOAD: 'Training-1.fs2' Hmmm... Extension passed to mission_load... Reassigning player to squadron 53rd Hammerheads Someone passed an extension to bm_load for file 'hammer1.pcx' Starting mission message count : 205 Ending mission message count : 242 Current soundtrack set to -1 in event_music_reset_choices Current soundtrack set to -1 in event_music_set_soundtrack Loading model 'fighter2t-05.pof' IBX: Found a good IBX to read for 'fighter2t-05.pof'. IBX-DEBUG => POF checksum: 0xc8b2f868, IBX checksum: 0x3dfad880 -- "fighter2t-05.pof" Allocating space for at least 5 new ship subsystems ... a total of 200 is now available (5 in-use). Loading model 'Drone01.pof' IBX: Found a good IBX to read for 'Drone01.pof'. IBX-DEBUG => POF checksum: 0xd98f0c89, IBX checksum: 0xabcb22fd -- "Drone01.pof" OpenGL: Created 512x512 FBO! ANI 2_lock1 with size 56x53 (17.2% wasted) ANI 2_lockspin with size 100x100 (21.9% wasted) ANI 2_lead1 with size 26x26 (18.8% wasted) ANI 2_energy2 with size 86x96 (25.0% wasted) ANI toggle1 with size 57x20 (37.5% wasted) ANI weapons1 with size 126x20 (37.5% wasted) ANI weapons1_b with size 150x20 (37.5% wasted) ANI 2_toparc1 with size 252x60 (6.3% wasted) ANI 2_toparc2 with size 35x24 (25.0% wasted) ANI 2_toparc3 with size 41x29 (9.4% wasted) ANI 2_leftarc with size 103x252 (1.6% wasted) ANI 2_rightarc1 with size 103x252 (1.6% wasted) ANI 2_reticle1 with size 40x24 (25.0% wasted) ANI targhit1 with size 31x21 (34.4% wasted) ANI energy1 with size 12x41 (35.9% wasted) ANI targetview1 with size 137x156 (39.1% wasted) ANI targetview2 with size 4x96 (25.0% wasted) ANI targetview3 with size 7x20 (37.5% wasted) ANI damage1 with size 148x25 (21.9% wasted) ANI support1 with size 108x24 (25.0% wasted) ANI objective1 with size 149x21 (34.4% wasted) ANI wingman1 with size 71x53 (17.2% wasted) ANI wingman2 with size 35x53 (17.2% wasted) ANI wingman3 with size 14x53 (17.2% wasted) ANI netlag1 with size 29x30 (6.3% wasted) ANI head1 with size 164x132 (48.4% wasted) ANI time1 with size 47x23 (28.1% wasted) Loading model 'Starfield.pof' IBX: Found a good IBX to read for 'Starfield.pof'. IBX-DEBUG => POF checksum: 0x07d8680d, IBX checksum: 0x3d22d0e6 -- "Starfield.pof" Model Starfield.pof has a null moment of inertia! (This is only a problem if the model is a ship.) ANI debris01 with size 51x38 (40.6% wasted) ANI debris02 with size 26x19 (40.6% wasted) ANI debris04 with size 36x27 (15.6% wasted) =================== STARTING LEVEL DATA LOAD ================== Loading model 'support2t-01.pof' IBX: Found a good IBX to read for 'support2t-01.pof'. IBX-DEBUG => POF checksum: 0x6512c7b6, IBX checksum: 0xd4a3527c -- "support2t-01.pof" Loading model 'support2v-01.pof' IBX: Found a good IBX to read for 'support2v-01.pof'. IBX-DEBUG => POF checksum: 0x0abd41b4, IBX checksum: 0x3aadce53 -- "support2v-01.pof" About to page in ships! ANI shieldft-05 with size 112x93 (27.3% wasted) BMPMAN: Found EFF (Subach_AniBitmap.eff) with 6 frames at 5 fps. BMPMAN: Found EFF (PrometheusR_AniBitmap.eff) with 12 frames at 5 fps. Loading model 'rockeye.pof' IBX: Found a good IBX to read for 'rockeye.pof'. IBX-DEBUG => POF checksum: 0x25ff4c7f, IBX checksum: 0x541aef89 -- "rockeye.pof" Loading model 'Tempest.pof' IBX: Found a good IBX to read for 'Tempest.pof'. IBX-DEBUG => POF checksum: 0xd02a81ee, IBX checksum: 0xf6422721 -- "Tempest.pof" Loading model 'bombardier.pof' IBX: Found a good IBX to read for 'bombardier.pof'. IBX-DEBUG => POF checksum: 0x03e1b208, IBX checksum: 0x5def0a77 -- "bombardier.pof" Loading model 'cmeasure01.pof' IBX: Found a good IBX to read for 'cmeasure01.pof'. IBX-DEBUG => POF checksum: 0x39d1d2bf, IBX checksum: 0x23737dab -- "cmeasure01.pof" Loading model 'debris01.pof' IBX: Found a good IBX to read for 'debris01.pof'. IBX-DEBUG => POF checksum: 0x974f214b, IBX checksum: 0x368eb490 -- "debris01.pof" Loading model 'debris02.pof' IBX: Found a good IBX to read for 'debris02.pof'. IBX-DEBUG => POF checksum: 0x8e0eed50, IBX checksum: 0x7b2a747e -- "debris02.pof" Paging in mission messages Stopping model page in... ANI 2_radar1.ani with size 209x170 (33.6% wasted) ANI 2_Loading.ani with size 824x43 (32.8% wasted) Bitmap is to small at 0x0. Int3(): From d:\scp - clean\code\graphics\gropengltexture.cpp at line 1069 | ||||
| Tags | No tags attached. | ||||
|
|
Looks to be an issue with non-power-of-two support when the image doesn't have mipmaps. It would allow for a 0 sized width/height. The attached patch should fix it, but I haven't tested it very well. |
|
2010-04-16 15:06
|
2172.diff (662 bytes)
Index: code/graphics/gropengltexture.cpp
===============================================================
--- code/graphics/gropengltexture.cpp (revision 6052)
+++ code/graphics/gropengltexture.cpp (working copy)
@@ -922,6 +922,9 @@ int opengl_create_texture(int bitmap_handle, int bitmap_type, tcache_slot_opengl
max_w /= (16 >> Detail.hardware_textures);
max_h /= (16 >> Detail.hardware_textures);
+ CLAMP(max_w, GL_min_texture_width, GL_max_texture_width);
+ CLAMP(max_h, GL_min_texture_height, GL_max_texture_height);
+
resize = 1;
} else {
// we have mipmap levels so use those as a resize point (image should already be power-of-2)
|
|
|
No one has confirmed this patch actually works properly and it has not been committed to SVN either. Until both of those things happen this bug is not fixed. |
|
|
3D Hardware Texture setting crashes when set to two bars on Mediavps. Doesn't crash on retail. Using Nightly (Windows): 29 Nov 2010 - Revision 6796 Inferno SSE2 debug. |
|
2010-12-03 08:50
|
|
|
|
Fix committed in rev 6801 |
|
|
In case this still needs feedback, the bug has been resolved. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-03-31 12:24 | The_E | New Issue | |
| 2010-04-16 14:58 | taylor | Relationship added | has duplicate 0002184 |
| 2010-04-16 15:00 | taylor | Note Added: 0011887 | |
| 2010-04-16 15:00 | taylor | File Added: 2172.diff | |
| 2010-04-16 15:05 | taylor | File Deleted: 2172.diff | |
| 2010-04-16 15:06 | taylor | File Added: 2172.diff | |
| 2010-05-08 03:15 | The_E | Status | new => resolved |
| 2010-05-08 03:15 | The_E | Resolution | open => fixed |
| 2010-05-08 03:15 | The_E | Assigned To | => The_E |
| 2010-05-08 04:37 | taylor | Note Added: 0011941 | |
| 2010-05-08 04:37 | taylor | Assigned To | The_E => |
| 2010-05-08 04:37 | taylor | Status | resolved => feedback |
| 2010-05-08 04:37 | taylor | Resolution | fixed => open |
| 2010-12-03 08:41 | karajorma | Note View State: 11887: private | |
| 2010-12-03 08:42 | karajorma | Note View State: 11887: public | |
| 2010-12-03 08:50 | SDM | Note Added: 0012496 | |
| 2010-12-03 08:50 | SDM | File Added: fs2_open.log | |
| 2010-12-03 08:52 | SDM | Note Edited: 0012496 | |
| 2010-12-03 08:54 | SDM | Note Edited: 0012496 | |
| 2010-12-03 08:54 | SDM | Note Edited: 0012496 | |
| 2010-12-03 22:32 | The_E | Note Added: 0012498 | |
| 2011-01-29 08:16 | SDM | Note Added: 0012615 | |
| 2012-01-13 09:13 | The_E | Status | feedback => resolved |
| 2012-01-13 09:13 | The_E | Resolution | open => fixed |
| 2012-01-13 09:13 | The_E | Assigned To | => The_E |