Sun visible and flickering through objects

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
User avatar
sas647
Posts: 4
Joined: 04 Jul 2018, 04:48

Sun visible and flickering through objects

Post by sas647 »

Hi everyone. I'm getting a bug where I can see the sun flickering through objects while outside, and it seems to be happening with every recent nightly build I'm using (specifically Commit 02cfb7e2). Does anyone have any idea what's causing this? I have an AMD graphics card in case that matters. I took a couple of screenshots showing the issue:

https://imgur.com/NBTauRL

https://imgur.com/4joTmFo

Any help would be appreciated.

Edit: After some testing, I found that it doesn't happen in Commit ddd01ac7 from April 21, however, 3rd person view is broken for me in that build for some reason...
User avatar
wazabear
Posts: 96
Joined: 13 May 2020, 19:31
Gitlab profile: https://gitlab.com/glassmancody.info

Re: Sun visible and flickering through objects

Post by wazabear »

Please share your openmw.log and settings.cfg.

It looks like you're using shaders as well. Does this happen when they are not in use? Does it happen when one in particular is in use? (They can be toggled in the F2 menu)
User avatar
sas647
Posts: 4
Joined: 04 Jul 2018, 04:48

Re: Sun visible and flickering through objects

Post by sas647 »

wazabear wrote: 25 May 2022, 02:45 Please share your openmw.log and settings.cfg.

It looks like you're using shaders as well. Does this happen when they are not in use? Does it happen when one in particular is in use? (They can be toggled in the F2 menu)
Thanks for replying. Here's my openmw.log

Code: Select all

[00:24:12.807 I] OpenMW version 0.48.0
[00:24:12.807 I] Revision: 02cfb7e258
[00:24:12.808 I] Using default (English) font encoding.
[00:24:12.808 I] OSG version: 3.6.5
[00:24:12.808 I] SDL version: 2.0.18
[00:24:12.808 I] Loading shader settings file: "F:\\My Documents\\My Games\\OpenMW/shaders.yaml"
[00:24:13.003 I] OpenGL Vendor: ATI Technologies Inc.
[00:24:13.003 I] OpenGL Renderer: Radeon RX 580 Series
[00:24:13.003 I] OpenGL Version: 4.6.14800 Compatibility Profile Context 22.5.1 30.0.15021.11005
[00:24:13.003 I] Using reverse-z depth buffer
[00:24:13.004 I] Adding BSA archive D:/steam/steamapps/common/Morrowind/Data Files\Morrowind.bsa
[00:24:13.006 I] Adding BSA archive D:/steam/steamapps/common/Morrowind/Data Files\Tribunal.bsa
[00:24:13.006 I] Adding BSA archive D:/steam/steamapps/common/Morrowind/Data Files\Bloodmoon.bsa
[00:24:13.007 I] Adding BSA archive D:/steam/steamapps/common/Morrowind/Data Files\PT_Data.bsa
[00:24:13.010 I] Adding BSA archive D:/steam/steamapps/common/Morrowind/Data Files\TR_Data.bsa
[00:24:13.011 I] Adding data directory F:\Downloads\stuff\New folder (4)/./resources\vfs
[00:24:13.011 I] Adding data directory F:/My Documents/My Games/OpenMW/data
[00:24:13.011 I] Adding data directory D:/steam/steamapps/common/Morrowind/Data Files
[00:24:13.011 I] Adding data directory F:/Downloads/stuff/New folder/resources/vfs
[00:24:13.011 I] Ignoring duplicate data directory F:\My Documents\My Games\OpenMW/data
[00:24:13.188 I] Lua version: Lua 5.1.4 (LuaJIT 2.1.0-beta3)
[00:24:13.188 I] Loading keybindings file: F:\My Documents\My Games\OpenMW/input_v3.xml
[00:24:13.270 W] Couldn't set gamma: SetDeviceGammaRamp(): The operation completed successfully.
[00:24:13.272 I] Detected game controller: PS4 Controller
[00:24:13.273 I] Initializing OpenAL...
[00:24:13.277 I] Opened "OpenAL Soft on 6 - AV Receiver (AMD High Definition Audio Device)"
[00:24:13.277 I]   ALC Version: 1.1
[00:24:13.277 I]   ALC Extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_device_clock ALC_SOFT_HRTF ALC_SOFT_loopback ALC_SOFT_output_limiter ALC_SOFT_pause_device
[00:24:13.308 I]   Vendor: OpenAL Community
[00:24:13.308 I]   Renderer: OpenAL Soft
[00:24:13.308 I]   Version: 1.1 ALSOFT 1.20.1
[00:24:13.308 I]   Extensions: AL_EXT_ALAW AL_EXT_BFORMAT AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_BFORMAT AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_EXT_SOURCE_RADIUS AL_EXT_STEREO_ANGLES AL_LOKI_quadriphonic AL_SOFT_bformat_ex AL_SOFT_block_alignment AL_SOFT_deferred_updates AL_SOFT_direct_channels AL_SOFT_direct_channels_remix AL_SOFTX_effect_chain AL_SOFTX_events AL_SOFTX_filter_gain_ex AL_SOFT_gain_clamp_ex AL_SOFT_loop_points AL_SOFTX_map_buffer AL_SOFT_MSADPCM AL_SOFT_source_latency AL_SOFT_source_length AL_SOFT_source_resampler AL_SOFT_source_spatialize
[00:24:13.308 I] HRTF disabled
[00:24:13.308 I] Allocated 256 sound sources
[00:24:13.308 I] Low-pass filter supported
[00:24:13.308 I] EAX Reverb supported
[00:24:13.312 I] Enumerated output devices:
[00:24:13.312 I]   OpenAL Soft on 6 - AV Receiver (AMD High Definition Audio Device)  OpenAL Soft on Speakers (Sound Blaster ZxR)  OpenAL Soft on Цифровое аудио (S/PDIF) (3- High Definition Audio Device)  OpenAL Soft on Цифровое аудио (S/PDIF) (3- High Definition Audio Device) #2
[00:24:13.312 I] Enumerated HRTF names:
[00:24:13.312 I]   Built-In HRTF
[00:24:19.129 I] Loading content file builtin.omwscripts
[00:24:19.129 I] Loading content file Morrowind.esm
[00:24:19.622 I] Loading content file Tribunal.esm
[00:24:19.696 I] Loading content file Bloodmoon.esm
[00:24:19.794 I] Loading content file Tamriel_Data.esm
[00:24:19.962 I] Loading content file Cyrodiil_Main.esm
[00:24:20.261 I] Loading content file Morrowind Patch Project v1.6.6 [For Rebirth].esm
[00:24:20.379 I] Loading content file Sky_Main.esm
[00:24:20.558 I] Loading content file SilentHits.esp
[00:24:20.559 I] Loading content file HF621CapeV1.1.esp
[00:24:20.561 I] Loading content file Welcome to the Arena! v6.6.esp
[00:24:20.590 I] Loading content file LGNPC_Merged_Lt.ESP
[00:24:20.679 I] Loading content file Animated Rebirth.ESP
[00:24:20.693 I] Loading content file Morrowind Rebirth [Main].ESP
[00:24:20.926 I] Loading content file Morrowind Rebirth - Birthsigns [Addon].ESP
[00:24:20.926 I] Loading content file Morrowind Rebirth - Game Settings [Addon].ESP
[00:24:20.927 I] Loading content file Morrowind Rebirth - Mercenaries [Addon].ESP
[00:24:20.928 I] Loading content file Morrowind Rebirth - Races [Addon].esp
[00:24:20.929 I] Loading content file Morrowind Rebirth - Skills [Addon].ESP
[00:24:20.929 I] Loading content file Morrowind Rebirth - Tools [Addon].ESP
[00:24:20.929 I] Loading content file NoMoreShieldEffectsMR.esp
[00:24:20.929 I] Loading groundcover:
[00:24:20.929 I] Loading ESM data...
[00:24:20.929 I] Loading ESM file D:/steam/steamapps/common/Morrowind/Data Files\Grass rebirth 1.esp
[00:24:20.936 I] Loading ESM file D:/steam/steamapps/common/Morrowind/Data Files\Grass rebirth 2.esp
[00:24:20.938 I] Loading ESM file D:/steam/steamapps/common/Morrowind/Data Files\Cyrodiil_Grass.ESP
[00:24:20.938 I] Loading ESM file D:/steam/steamapps/common/Morrowind/Data Files\Sky_Main_Grass.ESP
[00:24:20.943 I] Loaded 1614 cells, 253 statics,
[00:24:20.945 I] Prepared 1614 unique cells, 250 unique statics,
[00:24:21.018 V] NPC 'pc_gc_guard' (<Deprecated>) has nonexistent faction 'T_Cyr_ImperialWatch', ignoring it.
[00:24:21.917 V] Using idle priority for thread=1336
[00:24:21.917 V] Disabling Multiview (disabled by config)
[00:24:22.067 I] Preferred locales: en
[00:24:22.070 V] Lua scripts configuration (8 scripts):
[00:24:22.070 V] #0 PLAYER : scripts/omw/camera.lua
[00:24:22.070 V] #1 CREATURE NPC : scripts/omw/ai.lua
[00:24:22.070 V] #2 PLAYER : scripts/omw/console/player.lua
[00:24:22.070 V] #3 GLOBAL : scripts/omw/console/global.lua
[00:24:22.070 V] #4 CUSTOM : scripts/omw/console/local.lua
[00:24:22.070 V] #5 PLAYER : scripts/omw/mwui/init.lua
[00:24:22.070 V] #6 GLOBAL : scripts/omw/settings/global.lua
[00:24:22.070 V] #7 PLAYER : scripts/omw/settings/player.lua
[00:24:22.070 I] Loading Lua storage "F:\My Documents\My Games\OpenMW/global_storage.bin" (3 bytes)
[00:24:22.070 I] Loading Lua storage "F:\My Documents\My Games\OpenMW/player_storage.bin" (3 bytes)
[00:24:22.072 I] Playing music/special/morrowind title.mp3
[00:24:26.495 I] Reading save file b.omwsave
[00:24:26.502 I] Loading saved game 'b' for character 'Nils'
[00:24:28.181 I] Warning: arena_shirt_script[local variables] line 6, column 16 (OnPcEquip): Local variable re-declaration
[00:24:29.166 I] NiTextureEffect missing source texture in meshes/f/flora_bush_01.nif
[00:24:29.734 I] Loading cell Caldera (-2, 2)
[00:24:29.749 I] RootCollisionNode is not attached to the root node in meshes/x/ex_drystonewall_s_01.nif. Treating it as a common NiTriShape.
[00:24:29.757 I] RootCollisionNode is not attached to the root node in meshes/d/ex_common_door_01.nif. Treating it as a common NiTriShape.
[00:24:29.773 I] RootCollisionNode is not attached to the root node in meshes/f/furn_cart_01.nif. Treating it as a common NiTriShape.
[00:24:29.827 I] RootCollisionNode is not attached to the root node in meshes/f/furn_guarcart00.nif. Treating it as a common NiTriShape.
[00:24:30.032 I] Loading cell West Gash Region (-2, 1)
[00:24:30.068 I] RootCollisionNode is not attached to the root node in meshes/d/in_velothismall_ndoor_01.nif. Treating it as a common NiTriShape.
[00:24:30.072 I] Loading cell West Gash Region (-1, 2)
[00:24:30.078 I] Loading cell West Gash Region (-3, 2)
[00:24:30.089 I] Loading cell West Gash Region (-2, 3)
[00:24:30.117 I] Loading cell West Gash Region (-1, 1)
[00:24:30.135 I] Loading cell West Gash Region (-3, 1)
[00:24:30.174 I] Loading cell West Gash Region (-1, 3)
[00:24:30.184 I] Loading cell West Gash Region (-3, 3)
[00:24:30.769 I] Warning: OutsideBanner line 38, column 6 (endif): endif without matching if/elseif
[00:24:35.010 I] Playing music/explore/mx_explore_2.mp3
[00:25:17.329 I] Unloading cell West Gash Region (-3, 3)
[00:25:17.334 I] Unloading cell West Gash Region (-3, 2)
[00:25:17.339 I] Unloading cell West Gash Region (-3, 1)
[00:25:17.347 I] Unloading cell West Gash Region (-2, 1)
[00:25:17.351 I] Unloading cell West Gash Region (-2, 3)
[00:25:17.354 I] Unloading cell West Gash Region (-1, 1)
[00:25:17.355 I] Unloading cell West Gash Region (-1, 2)
[00:25:17.357 I] Unloading cell Caldera (-2, 2)
[00:25:17.368 I] Unloading cell West Gash Region (-1, 3)
[00:25:17.495 I] Reading save file pre animated.omwsave
[00:25:17.501 I] Loading saved game 'Quicksave' for character 'Nils'
[00:25:18.770 I] NiTextureEffect missing source texture in meshes/f/flora_bush_01.nif
[00:25:19.637 V] Controller R2_Claw02 present more than once in meshes/r/xsiltstrider.kf, ignoring later version
[00:25:19.762 I] RootCollisionNode is not attached to the root node in meshes/x/ex_vivec_w_g_01.nif. Treating it as a common NiTriShape.
[00:25:19.764 I] RootCollisionNode is not attached to the root node in meshes/x/ex_hlaalu_steps.nif. Treating it as a common NiTriShape.
[00:25:21.899 I] Loading cell Balmora (-3, -2)
[00:25:21.988 I] Loading cell West Gash Region (-3, -1)
[00:25:21.990 I] Loading cell Balmora (-2, -2)
[00:25:22.002 I] Loading cell Balmora (-4, -2)
[00:25:22.026 I] Loading cell Balmora (-3, -3)
[00:25:22.070 I] Loading cell West Gash Region (-2, -1)
[00:25:22.074 I] Loading cell Bitter Coast Region (-4, -1)
[00:25:22.087 I] Loading cell West Gash Region (-2, -3)
[00:25:22.089 I] Loading cell West Gash Region (-4, -3)
[00:25:22.371 I] Playing music/explore/mx_explore_4.mp3
[00:27:00.101 I] Saving shader settings file: "F:\\My Documents\\My Games\\OpenMW/shaders.yaml"
[00:27:00.101 I] Saving Lua storage "F:\My Documents\My Games\OpenMW/global_storage.bin" (3 bytes)
[00:27:00.101 I] Saving Lua storage "F:\My Documents\My Games\OpenMW/player_storage.bin" (3 bytes)
[00:27:00.102 I] Quitting peacefully.
And my settings.cfg

Code: Select all

# This is the OpenMW user 'settings.cfg' file.  This file only contains
# explicitly changed settings.  If you would like to revert a setting
# to its default, simply remove it from this file.  For available
# settings, see the file 'files/settings-default.cfg' in our source repo or the documentation at:
#
#   https://openmw.readthedocs.io/en/master/reference/modding/settings/index.html

[General]
texture mag filter = nearest
texture min filter = nearest
texture mipmap = nearest
anisotropy = 0

[Shaders]
force per pixel lighting = true
clamp lighting = false
force shaders = true
lighting method = shaders
max lights = 32
apply lighting to environment maps = true
auto use object normal maps = true
auto use object specular maps = true
auto use terrain normal maps = true
auto use terrain specular maps = true
radial fog = true
maximum light distance = 4056
normal map pattern = _NORM
specular map pattern = _SPEC
soft particles = true
antialias alpha test = false
light bounds multiplier = 1.65
light fade start = 0.85
minimum interior brightness = 0.08

[Sound]
device = 
hrtf = 
master volume = 1
music volume = 0.214021
footsteps volume = 0.134113
sfx volume = 0.744374
voice volume = 0.568657

[Shadows]
actor shadows = true
enable shadows = true
object shadows = true
player shadows = true
terrain shadows = true
enable indoor shadows = false
shadow map resolution = 1024
compute scene bounds = bounds
maximum shadow map distance = 4096

[Camera]
field of view = 85
third person camera distance = 800
viewing distance = 41321
head bobbing = true
view over shoulder = false
auto switch shoulder = false
preview if stand still = true

[GUI]
subtitles = true
color topic enable = true
stretch menu background = true
scaling factor = 2
font size = 20
menu transparency = 1

[HUD]
crosshair = false

[Input]
always run = true
enable controller = true

[Saves]
character = Nils - 1

[Video]
fullscreen = false
resolution x = 3840
resolution y = 2160
vsync = true
antialiasing = 0
gamma = 0.1
window border = false
window mode = 1

[Water]
refraction = true
rtt size = 512
shader = true
reflection detail = 2

[Windows]
dialogue h = 0.862963
dialogue w = 0.378646
dialogue x = 0.310417
dialogue y = 0.0722222
inventory h = 0.471296
inventory w = 0.513542
inventory x = 0
inventory y = 0.444444
map h = 0.44537
map w = 0.554167
map x = 0.445833
map y = 0
spells h = 0.471296
spells w = 0.486458
spells x = 0.513542
spells y = 0.44537
stats h = 0.44537
stats w = 0.445833
stats x = 0
stats y = 0
container h = 0.378704
container w = 0.495833
container x = 0.49375
container y = 0.539815
inventory container h = 0.37963
inventory container w = 0.477083
inventory container x = 0.0135417
inventory container y = 0.539815
barter h = 0.751852
barter w = 0.429688
barter x = 0.522396
barter y = 0.143519
inventory barter h = 0.37963
inventory barter w = 0.45
inventory barter x = 0.0166667
inventory barter y = 0.518519
companion h = 0.627778
companion w = 0.379687
companion x = 0.6
companion y = 0.269444

[Terrain]
distant terrain = true
object paging = true

[Game]
prevent merchant equipping = true
shield sheathing = true
weapon sheathing = true
use additional anim sources = true
smooth movement = true
turn to movement direction = true
difficulty = 100
actors processing range = 5312
NPCs avoid collisions = true
show melee info = true
show projectile damage = true
swim upward correction = true
only appropriate ammunition bypasses resistance = true
can loot during death animation = false
followers attack on sight = true

[Map]
global = true

[Groundcover]
enabled = true
density = 0.8
min chunk size = 0.5
stomp mode = 2
stomp intensity = 2

[Post Processing]
hdr exposure time = 0.05
enabled = true
chain = fxaa
transparent postpass = false
I'm using Zesterer's shaders and volumetric clouds and mists. Disabling either the clouds or the shaders mod doesn't seem to fix it, however, I found a dirty workaround by deleting the tx_sun_05.dds and tx_sun_flash_grey_05.dds textures and it doesn't blink anymore. However, that means no more sun, unless I use the clouds mod better sun setting; unfortunately, the clouds mod seems to be turning some textures transparent (like with these https://imgur.com/yQ2qIOv and https://imgur.com/0njyhjR)
Last edited by sas647 on 25 May 2022, 04:44, edited 1 time in total.
User avatar
wazabear
Posts: 96
Joined: 13 May 2020, 19:31
Gitlab profile: https://gitlab.com/glassmancody.info

Re: Sun visible and flickering through objects

Post by wazabear »

Does this still happen with antialiasing enabled?
User avatar
sas647
Posts: 4
Joined: 04 Jul 2018, 04:48

Re: Sun visible and flickering through objects

Post by sas647 »

wazabear wrote: 25 May 2022, 20:15 Does this still happen with antialiasing enabled?
It does, with/without the shaders and the cloud mod. I also tried enabling and disabling the FXAA shader but it doesn't seem to affect the sun. My graphics card AA settings are also set to use application settings. I'm guessing it's happening because of AMD's wonky drivers, but I think it's weird because I've never had this problem with OpenMW, at least before the Post FX merge... I can confirm it doesn't happen with any versions before it was implemented.

Would anyone with a similar setup to mine (Windows 10, AMD GPU) be willing to chime in? Not sure if this is really only on my end... :?
Last edited by sas647 on 26 May 2022, 02:11, edited 1 time in total.
User avatar
wazabear
Posts: 96
Joined: 13 May 2020, 19:31
Gitlab profile: https://gitlab.com/glassmancody.info

Re: Sun visible and flickering through objects

Post by wazabear »

sas647 wrote: 26 May 2022, 00:01 It does, with/without the shaders and the cloud mod. I also tried enabling and disabling the FXAA shader but it doesn't seem to affect the sun. My graphics card AA settings are also set to use application settings. I'm guessing it's happening because of AMD's wonky drivers, but I think it's weird because I've never had this problem with OpenMW, at least before the Post FX merge... I can confirm it doesn't happen with any versions before it was implemented.
And just to clarify, does this happen with post processing disabled? Can you also try with soft particles disabled ("soft particles = false")? That should be last round of settings I have in mind to try.
User avatar
sas647
Posts: 4
Joined: 04 Jul 2018, 04:48

Re: Sun visible and flickering through objects

Post by sas647 »

wazabear wrote: 26 May 2022, 06:55
sas647 wrote: 26 May 2022, 00:01 It does, with/without the shaders and the cloud mod. I also tried enabling and disabling the FXAA shader but it doesn't seem to affect the sun. My graphics card AA settings are also set to use application settings. I'm guessing it's happening because of AMD's wonky drivers, but I think it's weird because I've never had this problem with OpenMW, at least before the Post FX merge... I can confirm it doesn't happen with any versions before it was implemented.
And just to clarify, does this happen with post processing disabled? Can you also try with soft particles disabled ("soft particles = false")? That should be last round of settings I have in mind to try.
Sun blinks with post processing disabled and soft particles either enabled or disabled. Oh well. Thank you for trying to help anyhow, I really appreciate it. Also, while it didn't fix the sun, turning off soft particles actually fixed the transparency issue with some textures caused by the clouds mod! And deleting the sun textures i mentioned before more or less solved the blinking problem so it's kind of fine now... :D
Last edited by sas647 on 27 May 2022, 00:39, edited 2 times in total.
dvdkon
Posts: 1
Joined: 05 May 2022, 10:36
Gitlab profile: https://gitlab.com/dvdkon

Re: Sun visible and flickering through objects

Post by dvdkon »

I had the same problem and fixed it by turning transparent postpass back to true, it's not affected by the section's enable setting.
robertkeaghan
Posts: 4
Joined: 02 Aug 2017, 11:16

Re: Sun visible and flickering through objects

Post by robertkeaghan »

Just reporting the same issue. It seems to happen whenever the weather isn't clear. Maybe related to Skies IV?

transparent postpass = true didn't fix it for me.
User avatar
wazabear
Posts: 96
Joined: 13 May 2020, 19:31
Gitlab profile: https://gitlab.com/glassmancody.info

Re: Sun visible and flickering through objects

Post by wazabear »

Are you guys trying with latest versions? There was a recent fix for it, also make sure you aren't using any custom shaders.
Post Reply