View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005068 | The Dark Mod | Graphics | public | 04.12.2019 21:16 | 07.01.2020 08:53 |
Reporter | MirceaKitsune | Assigned To | duzenko | ||
Priority | normal | Severity | normal | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x64 | OS | Linux openSUSE | OS Version | Release |
Product Version | TDM 2.07 | ||||
Target Version | TDM 2.08 | Fixed in Version | TDM 2.08 | ||
Summary | 0005068: View shrinks while underwater | ||||
Description | Sometimes, when going underwater, the shader responsible for blurring the view will shrink the image to roughly 1/4 of the screen (1/2 both horizontally and vertically) and position it in the lower-left corner, while leaving a jumble of textures to display in the background. This only seems to happen on rare occasions; My latest test suggest it occurs if the player has taken any damage and the health bar is showing up on the HUD. | ||||
Steps To Reproduce | Take some damage then dive underwater. Make sure all graphics settings are set to maximum. | ||||
Additional Information | I'm running TDM 2.07 x64 on Linux (openSUSE Tumbleweed) with the free video drivers (amdgpu). | ||||
Tags | Bug, engine, graphics, rendering, water | ||||
Attached Files | |||||
related to | 0005012 | resolved | cabalistic | Shader loaded from frontend crashes on AMD (Crash from heathaze GUI overlay) |
From the forum thread: http://forums.thedarkmod.com/index.php?/topic/20175-view-shrinks-while-underwater/&do=findComment&comment=441634 Attaching config file. Darkmod.cfg (13,557 bytes)
unbindall bind "TAB" "_impulse19" bind "ENTER" "_impulse51" bind "ESCAPE" "togglemenu" bind "SPACE" "_moveup" bind "-" "_impulse50" bind "0" "_impulse10" bind "1" "_impulse1" bind "2" "_impulse2" bind "3" "_impulse3" bind "4" "_impulse4" bind "5" "_impulse5" bind "6" "_impulse6" bind "7" "_impulse7" bind "8" "_impulse8" bind "9" "_impulse9" bind "=" "_impulse49" bind "[" "_impulse47" bind "\" "inventory_hotkey ''" bind "]" "_impulse48" bind "^" "_impulse0" bind "a" "_moveleft" bind "b" "_impulse27" bind "c" "_impulse23" bind "d" "_moveright" bind "e" "_impulse46" bind "f" "_impulse44" bind "g" "inventory_use '#str_02396'" bind "i" "inventory_cycle_group '#str_02391'" bind "k" "inventory_cycle_group '#str_02392'" bind "l" "inventory_use '#str_02395'" bind "m" "inventory_cycle_maps" bind "n" "toggle r_showportals" bind "o" "_impulse30" bind "p" "inventory_cycle_group '#str_02389'" bind "q" "_impulse45" bind "r" "_impulse52" bind "s" "_back" bind "u" "_impulse51" bind "v" "inventory_hotkey '#str_02397'" bind "w" "_forward" bind "y" "clientMessageMode 1" bind "z" "_zoom" bind "BACKSPACE" "_impulse0" bind "PAUSE" "pause" bind "UPARROW" "_forward" bind "DOWNARROW" "_back" bind "LEFTARROW" "_left" bind "RIGHTARROW" "_right" bind "ALT" "_impulse23" bind "CTRL" "_button5" bind "SHIFT" "_speed" bind "DEL" "_lookdown" bind "PGDN" "_lookup" bind "END" "_impulse18" bind "F3" "_impulse17" bind "F4" "savegame quick" bind "F5" "loadgame quick" bind "F6" "_impulse20" bind "F7" "_impulse22" bind "F12" "screenshot" bind "KP_MINUS" "loadgame quick" bind "KP_PLUS" "savegame quick" bind "MOUSE1" "_attack" bind "MOUSE2" "_zoom" bind "MOUSE3" "_impulse41" bind "MWHEELDOWN" "_impulse14" bind "MWHEELUP" "_impulse15" seta com_automation_port "3879" seta net_serverDlTable "" seta net_serverDlBaseURL "" seta net_serverDownload "0" seta mod_validSkins "skins/characters/player/marine_mp;skins/characters/player/marine_mp_green;skins/characters/player/marine_mp_blue;skins/characters/player/marine_mp_red;skins/characters/player/marine_mp_yellow" seta g_mapCycle "mapcycle" seta g_voteFlags "0" seta g_gameReviewPause "10" seta g_countDown "10" seta g_password "" seta g_rotoscope "0" seta g_testModelHeadJoint "Spine2" seta g_testModelHead "atdm:ai_head_citywatch" seta g_skipViewEffects "0" seta g_fov "90" seta g_showBrass "1" seta g_showProjectilePct "0" seta g_showHud "1" seta g_showPlayerShadow "1" seta pm_air_regainingSpeed "4" seta pm_air "1800" seta pm_modelView "0" seta pm_thirdPersonDeath "0" seta pm_thirdPerson "0" seta pm_thirdPersonClip "1" seta pm_thirdPersonAngle "0" seta pm_thirdPersonHeight "0" seta pm_thirdPersonRange "80" seta pm_bobroll "0.0015" seta pm_bobpitch "0.001" seta pm_bobup "0.03" seta pm_runroll "0.003" seta pm_runpitch "0.001" seta pm_runbob "0.35" seta pm_walkbob "0.3" seta pm_crouchbob "0.2" seta pm_bboxwidth "32" seta pm_crouchrate "0.87" seta pm_deadviewheight "10" seta pm_deadheight "20" seta pm_normalviewheight "68" seta pm_normalheight "74" seta pm_crouchviewheight "34" seta pm_crouchheight "38" seta pm_maxviewpitch "89" seta pm_minviewpitch "-89" seta pm_noclipspeed "200" seta pm_walkspeed "70" seta pm_stepsize "16" seta pm_jumpheight "48" seta g_enablePortalSky "2" seta g_showcamerainfo "0" seta g_damageScale "1" seta g_decals "1" seta g_doubleVision "1" seta g_bloodEffects "1" seta g_projectileLights "1" seta g_muzzleFlash "1" seta gui_CenterY "0.5" seta gui_CenterX "0.5" seta gui_Height "1.0" seta gui_Width "1.0" seta r_fovRatio "0" seta r_aspectRatio "1" seta ui_showGun "1" seta ui_autoSwitch "1" seta ui_team "Red" seta ui_skin "skins/characters/player/marine_mp" seta ui_name "Player" seta si_serverURL "" seta si_spectators "1" seta si_usePass "0" seta si_warmup "0" seta si_teamDamage "0" seta si_timeLimit "10" seta si_maxPlayers "4" seta si_map "game/mp/d3dm1" seta si_gameType "singleplayer" seta si_name "DOOM Server" seta tdm_lod_bias "3.0" seta tdm_voice_from_off_volume "0" seta tdm_voice_player_volume "0" seta tdm_music_volume "-19.682539" seta tdm_ambient_method "0" seta tdm_door_auto_open_on_unlock "0" seta tdm_bow_aimer "1" seta tdm_lp_debug_hud "0" seta tdm_lp_pawlow "0" seta tdm_lp_randomize "1" seta tdm_lp_auto_pick "0" seta tdm_lp_autopick_attempts "3" seta tdm_lp_pick_timeout "750" seta tdm_lp_sample_delay "10" seta tdm_lp_base_count "5" seta tdm_empty_model "models/darkmod/misc/system/empty.lwo" seta tdm_lg_model "models/darkmod/misc/system/lightgem.lwo" seta tdm_lg_weak "0" seta tdm_lg_interleave_min "40" seta tdm_lg_interleave "1" seta pm_rope_snd_rep_dist "32" seta pm_min_stepsound_interval "200" seta pm_stepvol_crouch_creep "-7" seta pm_stepvol_crouch_run "4" seta pm_stepvol_crouch_walk "-2" seta pm_stepvol_creep "-5" seta pm_stepvol_run "8" seta pm_stepvol_walk "0" seta tdm_underwater_blur "3" seta tdm_rope_pull_force_factor "140" seta gui_objectiveTextSize "1" seta gui_barSize "1" seta gui_lightgemSize "1" seta gui_bigTextSize "1" seta gui_smallTextSize "1" seta gui_iconSize "1" seta tdm_inv_use_visual_feedback "1" seta tdm_door_control "0" seta tdm_inv_use_on_frob "1" seta tdm_inv_loot_sound "frob_loot" seta tdm_inv_hud_pickupmessages "1" seta tdm_hud_hide_lightgem "0" seta tdm_hud_opacity "1" seta tdm_grabber_reverse_control "0" seta tdm_bounce_sound_min_vel "80" seta tdm_bounce_sound_max_vel "400" seta tdm_throw_max_vel "900" seta tdm_throw_time "1200" seta tdm_throw_max "3500" seta tdm_throw_min "600" seta tdm_phys_show_momentum "0" seta tdm_ai_hearing_hardcore "1.5" seta tdm_ai_hearing_challenging "1.0" seta tdm_ai_hearing_forgiving "0.6" seta tdm_ai_hearing_nearly_deaf "0.2" seta tdm_ai_hearing "0" seta tdm_ai_vision_hardcore "1.5" seta tdm_ai_vision_challenging "1.2" seta tdm_ai_vision_forgiving "0.6" seta tdm_ai_vision_nearly_blind "0.2" seta tdm_ai_vision "0" seta tdm_melee_difficulty "normal" seta tdm_melee_max_particles "10" seta tdm_melee_forbid_auto_parry "0" seta tdm_melee_auto_parry "1" seta tdm_melee_invert_parry "0" seta tdm_melee_invert_attack "0" seta tdm_melee_mouse_thresh_ "0" seta tdm_dragged_item_highlight "1" seta tdm_drag_encumber_max "0.4" seta tdm_drag_encumber_maxmass "55" seta tdm_drag_encumber_minmass "10" seta tdm_drag_jump_masslimit "20" seta tdm_drag_af_free "0" seta tdm_drag_af_ground_timer "800" seta tdm_drag_damping_af "0.4" seta tdm_drag_damping "0.0" seta tdm_drag_stuck_dist "38.0" seta tdm_drag_force_max "100000" seta tdm_drag_limit_force "1" seta tdm_collision_damage_scale_horiz "0.5" seta tdm_collision_damage_scale_vert "1" seta tdm_frobhelper_ignore_size "40.0" seta tdm_frobhelper_fadeout_duration "500" seta tdm_frobhelper_fadein_duration "1500" seta tdm_frobhelper_fadein_delay "500" seta tdm_frobhelper_alpha "1.0" seta tdm_frobhelper_active "1" seta tdm_frob_fadetime "100" seta tdm_frob_width "10.0" seta tdm_frob_distance_default "63" seta pm_lean_toggle "0" seta pm_lean_door_bounds_exp "8.0" seta pm_lean_door_max "40" seta pm_lean_door_increments "10" seta pm_lean_to_valid_increments "25" seta pm_lean_forward_stretch "15" seta pm_lean_forward_height "0.4" seta pm_lean_forward_time "400.0" seta pm_lean_forward_angle "2" seta pm_lean_stretch "2" seta pm_lean_height "0.4" seta pm_lean_time "400.0" seta pm_lean_angle "15.0" seta tdm_reattach_delay "100" seta tdm_crouch_toggle_hold_time "400" seta tdm_toggle_crouch "1" seta tdm_footfall_sounds_movetype_specific "1" seta pm_mantle_pullFast_msecs "450" seta pm_mantle_maxLowObstacleHeight "36.0" seta pm_mantle_minflatness "0.707" seta pm_mantle_height "0.2" seta pm_mantle_reach "0.5" seta pm_weightmod "1" seta pm_push_max_mass "200" seta pm_push_heavy_threshold "0.15" seta pm_push_accel_time "1000" seta pm_push_start_delay "1000" seta pm_push_maximpulse "300" seta pm_pushmod "0.15" seta pm_max_swimspeed_mod "1.4" seta pm_crouchmod "0.54" seta pm_creepmod "0.44" seta pm_runmod "2.12" seta tdm_savegame_compress "1" seta tdm_force_savegame_load "0" seta tdm_mainmenu_confirmquit "1" seta tdm_debug_aastype "aas32" seta tdm_allow_http_access "1" seta tdm_proxy_pass "" seta tdm_proxy_user "" seta tdm_proxy "" seta tdm_fm_restart_delay "0" seta tdm_default_relations_def "atdm:team_relations_default" seta tdm_show_trainer_messages "1" seta tdm_menu_music "1" seta tdm_wideScreenMode "7" seta tdm_ai_show_aasfuncobstacle_state "0" seta tdm_show_health "0" seta tdm_ai_debug_greetings "0" seta tdm_ai_debug_transition_barks "0" seta tdm_ai_opt_nolipsync "0" seta tdm_ai_opt_update_enemypos_interleave "48" seta tdm_ai_opt_interleavethinkframes "0" seta tdm_ai_opt_interleavethinkskipPVS "0" seta tdm_ai_opt_interleavethinkmaxdist "0" seta tdm_ai_opt_interleavethinkmindist "0" seta tdm_ai_search_type "4" seta tdm_ai_visdist_show "0.0" seta tdm_ai_search_show "0.0" seta tdm_showko "0" seta tdm_showsprop_radius "0" seta tdm_showsprop "0" seta tdm_spr_debug "0" seta tdm_sndprop_disable "0" seta tdm_ai_acuity_susp "1.2" seta tdm_ai_acuity_L5 "1.5" seta tdm_ai_acuity_L4 "1.3" seta tdm_ai_acuity_L3 "1.1" seta tdm_ai_show_conversationstate "0" seta tdm_ai_show_enemy_visibility "0" seta tdm_ai_sight_scale "1000.0" seta tdm_ai_sight_thresh "1.0" seta tdm_ai_showelevator "0" seta tdm_ai_showdoor "0" seta tdm_ai_debug_blocked "0" seta tdm_ai_showAASarea "0" seta tdm_ai_showgoalpos "0" seta tdm_ai_showdest "0" seta tdm_ai_showalert "0" seta tdm_ai_showtasks "0" seta tdm_ai_showanimstate "0" seta tdm_ai_showko "0" seta tdm_ai_showfov "0" seta tdm_ai_debug "0" seta tdm_ai_bumpobject_impulse "250" seta tdm_ai_tact "20.0" seta tdm_ai_sight_combat_cutoff "20.0" seta tdm_ai_sightmin "15.0" seta tdm_ai_sightmax "40.0" seta tdm_ai_sight_mag "1.0" seta tdm_ai_sight_prob "0.7" seta tdm_ai_showname "0" seta tdm_ai_showbark "0" seta tdm_ai_sndvol "0.0" seta tdm_player_wait_until_ready "1" seta in_grabmouse "0" seta in_grabkeyboard "0" seta in_nowarp "0" seta in_nograb "0" seta in_dgamouse "0" seta in_mouse "1" seta v_nowmfullscreen "0" seta sys_videoRam "512" seta sys_lang "english" seta s_decompressionLimit "6" seta s_useEAXReverb "1" seta s_numberOfSpeakers "2" seta s_doorDistanceAdd "450" seta s_globalFraction "0.8" seta s_subFraction "0.75" seta s_playDefaultSound "1" seta s_volume_dB "0" seta s_meterTopTime "2000" seta s_reverse "0" seta s_spatializationDecay "2" seta s_maxSoundsPerShader "0" seta s_device "default" seta s_diffractionMax "10" seta gui_mediumFontLimit "0.30" seta gui_smallFontLimit "0.15" seta r_maxShadowMapLight "1000" seta r_shadowMapSinglePass "0" seta r_useFenceSync "1" seta r_frameIndexMemory "16384" seta r_frameVertexMemory "16384" seta r_cinematic_legacyRoq "0" seta r_fboSeparateStencil "0" seta r_fboResolution "1.69" seta r_shadowMapSize "1024" seta r_fboSharedDepth "0" seta r_fboDepthBits "24" seta r_fboColorBits "32" seta r_nVidiaOverride "1" seta r_useFBO "1" seta r_useGLSL "1" seta r_useBfgPortalCulling "0" seta r_postprocess_bloomKernelSize "2" seta r_postprocess_bloomIntensity "2" seta r_postprocess "1" seta r_screenshot_format "jpg" seta r_debugArrowStep "120" seta r_debugLineWidth "1" seta r_debugLineDepthTest "0" seta com_smp "1" seta r_forceLoadImages "0" seta r_testARBProgram "1" seta r_shadows "2" seta r_shadowPolygonFactor "0" seta r_shadowPolygonOffset "-1" seta r_offsetunits "-0.1" seta r_offsetfactor "-2" seta r_clear "2" seta r_useSoftParticles "1" seta r_skipDepthCapture "0" seta r_skipBump "0" seta r_skipSpecular "0" seta r_skipNewAmbient "0" seta r_ambientGamma "1" seta r_ambientMinLevel "0" seta r_brightness "1.25" seta r_gamma "1.25" seta r_swapInterval "1" seta r_softShadowsRadius "1.047616" seta r_softShadowsQuality "0" seta r_customHeight "1080" seta r_customWidth "1920" seta r_fullscreen "1" seta r_multiSamples "4" seta image_mipmapMode "2" seta image_blockChecksum "0" seta image_downSizeLimit "256" seta image_ignoreHighQuality "0" seta image_downSizeBumpLimit "128" seta image_downSizeSpecularLimit "64" seta image_downSizeBump "0" seta image_downSizeSpecular "0" seta image_usePrecompressedTextures "1" seta image_useNormalCompression "1" seta image_useAllFormats "1" seta image_useCompression "1" seta image_preload "1" seta image_roundDown "1" seta image_forceDownSize "0" seta image_downSize "0" seta image_lodbias "0" seta image_anisotropy "16" seta image_filter "GL_LINEAR_MIPMAP_LINEAR" seta r_cinematic_checkImmediately "0" seta r_cinematic_log_flush "0" seta r_cinematic_log_ffmpeg "0" seta r_cinematic_log "0" seta com_maxFPS "166" seta com_savegame_preview_format "jpg" seta com_numQuickSaves "2" seta com_guid "" seta com_fixedTic "0" seta gui_configServerRate "0" seta m_strafeSmooth "4" seta m_smooth "2" seta m_strafeScale "6.25" seta m_yaw "0.022" seta m_pitch "0.022" seta sensitivityMenuOverride "0" seta sensitivityMenu "1.0" seta sensitivity "5" seta in_toggleZoom "0" seta in_toggleCrouch "0" seta in_toggleRun "0" seta in_alwaysRun "1" seta in_freeLook "1" seta in_anglespeedkey "1.5" seta in_pitchspeed "140" seta in_yawspeed "140" seta com_preloadDemos "0" seta com_compressDemos "1" seta com_product_lang_ext "1" seta logFile "0" seta com_showFPSavg "4" seta com_showFPS "0" seta com_purgeAll "0" seta r_skipDynamicShadows "0" |
|
Managed to reproduce it locally on 2.07. Steps are: 1) Set: r_fboResolution 1.6 (lower values like 0.5 are also bad). 2) Start any FM with water 3) Damage yourself, so that the red health bar is visible 4) Go underwater. Obviously, setting "r_fboResolution 1" fixes the problem. Drinking some health potions to restore full health fixes it too, but players can rarely afford such luxury =) |
|
Reproduced it with default config file (and r_fboResolution different from 1.0) on 2.07. Also reproduced it on current SVN, both in Training Mission and in NHAT1. Note that on SVN it works differently, but apparently something is wrong with viewport/sizes somewhere. It is buggy even with full health and even when looking at water from outside. |
|
Can't repeat with my .cfg in Training mission | |
Attached image of what I see with "r_fboResolution 2". If you set it to lower-than-one, then water does not look broken, but the speed at which water moves is different. Compare how fast waves move with "r_fboResolution 1" and with "r_fboResolution 0.3". In the latter case water moves 3x faster. This means somewhere resolution is wrong, and it should be fixed. |
|
Oh that I was looking for problems underwater Please confirm that revision 8479 is an acceptable fix for for this bug |
|
It seems to work for me in various RenderScale + Antialiasing combinations. I think the names of parameters are wrong now. It has nothing to do with power-of-two =) However, right now non-default r_fboResolution does not work with postprocessing. Don't know of the changes broke it and when. |
|
Revision 8483 should fix that | |
Speaking about changes in rev 8479: they have broken custom shaders in GUI overlay. I have no idea if this is used anywhere, but still. I think a fix should be more precise and take into account that texture size may be different. See related issue 0005012. |
|
Here is the test map for GUI overlay. Use the middle pool. | |
Thank you for reporting this | |
5068 seems to fix it for me. Hopefully nothing else breaks, else let me know. | |
Date Modified | Username | Field | Change |
---|---|---|---|
04.12.2019 21:16 | MirceaKitsune | New Issue | |
04.12.2019 21:16 | MirceaKitsune | Tag Attached: engine | |
04.12.2019 21:16 | MirceaKitsune | Tag Attached: graphics | |
04.12.2019 21:16 | MirceaKitsune | Tag Attached: rendering | |
04.12.2019 21:16 | MirceaKitsune | Tag Attached: water | |
04.12.2019 21:16 | MirceaKitsune | File Added: penny2_1_2019-11-26_02.58.29.jpg | |
04.12.2019 21:17 | MirceaKitsune | Tag Attached: Bug | |
05.12.2019 04:00 | stgatilov | File Added: Darkmod.cfg | |
05.12.2019 04:00 | stgatilov | Note Added: 0011886 | |
05.12.2019 04:09 | stgatilov | Note Added: 0011887 | |
05.12.2019 04:26 | stgatilov | Note Added: 0011888 | |
05.12.2019 04:28 | stgatilov | Note Edited: 0011887 | |
05.12.2019 04:29 | stgatilov | Assigned To | => duzenko |
05.12.2019 04:29 | stgatilov | Status | new => confirmed |
05.12.2019 04:29 | stgatilov | Target Version | => TDM 2.08 |
29.12.2019 10:50 | duzenko | Note Added: 0011966 | |
29.12.2019 11:57 | stgatilov | File Added: training_mission_2019-12-29_18.53.33.jpg | |
29.12.2019 11:57 | stgatilov | Note Added: 0011972 | |
29.12.2019 13:06 | duzenko | Note Added: 0011976 | |
29.12.2019 13:06 | duzenko | Note Edited: 0011976 | |
29.12.2019 14:56 | stgatilov | Note Added: 0011978 | |
30.12.2019 17:08 | duzenko | Note Added: 0011987 | |
31.12.2019 09:10 | stgatilov | Status | confirmed => resolved |
31.12.2019 09:10 | stgatilov | Resolution | open => fixed |
31.12.2019 09:10 | stgatilov | Fixed in Version | => TDM 2.08 |
02.01.2020 13:23 | stgatilov | Note Added: 0012014 | |
02.01.2020 13:23 | stgatilov | Relationship added | related to 0005012 |
02.01.2020 13:24 | stgatilov | File Added: wet.zip | |
02.01.2020 13:24 | stgatilov | Note Added: 0012015 | |
02.01.2020 13:25 | stgatilov | Status | resolved => assigned |
02.01.2020 15:32 | duzenko | Note Added: 0012021 | |
07.01.2020 08:53 | duzenko | Status | assigned => resolved |
07.01.2020 08:53 | duzenko | Note Added: 0012108 |