Screen flashing in bottom 1/4 of screen
FormulaAbyss opened this issue ยท 25 comments
Make sure you are not opening a duplicate.
- I have searched the issue tracker and did not find an issue describing my bug.
Minecraft version.
1.18.2 FabricMC 0.14.6
Sodium Extra version.
1.18.2-0.4.1+build15
Sodium version.
0.4.4+1.18.2-build.39
What happened?
Whenever I add this mod into my mods folder and load up the game, the bottom 1/4 of the screen flashes. If remove this mod, the flashing stops. It is intermittent, but happens about every 2-4 seconds.
I have tried:
Removing all mods and only using Sodium/Sodium Extra
Still get the flickering.
Tried only Sodium - no flickering
Tried all mods except Sodium Extra - No flickering
Add Sodium Extra back - Flickering returns.
Relevant log.
https://hastebin.skyra.pw/ibamepezul.md
Additional information.
Sadly I am unable to record on this laptop (not enough memory)
List of mods and versions are in above log.
Did you remember the version number backwards?
Sodium 0.4.1
Sodium Extra 0.4.4
I should add that this didn't happen until Up upgraded to Sodium 0.4.4+1.18.2-build.39, which was recently.
Do you use V-Sync? If so try disabling Adaptive-Sync in Extra > Use Adaptive Sync
Do you use V-Sync? If so try disabling Adaptive-Sync in
Extra > Use Adaptive Sync
I tried turning this off to no avail. Turned off VSync and it seemed to resolve the issue.
Did you remember the version number backwards? Sodium 0.4.1 Sodium Extra 0.4.4
You are correct. I'm using sodium fabric 0.4.1 build 15
I should have adaptive sync disabled by default, it appears to be affecting vsync.
This is very difficult to tell what's going on here. I will take a look into it for the 1.19 release.
Try adding mixin.adaptive_sync=false
to .minecraft/config/sodium-extra.properties
. Let me know if it still occurs.
I finally got to get back in and play. VSync being off caused severe control issues. Every movement was delayed at best and acted like I was holding the key at worst. Even tried with a brand new install without any settings changes and still had the flashing.
For the time being I have removed sodium extra and am having no issues
Try adding
mixin.adaptive_sync=false
to.minecraft/config/sodium-extra.properties
. Let me know if it still occurs.
This seems to have fixed the issue. Thank you.
Let me just ask you to verify what happened before you used the mixin config.
VSync enabled
+ Adaptive Sync enabled
= Broken
VSync enabled
+ Adaptive Sync disabled
= Broken
VSync disabled
+ Adaptive Sync enabled
= Broken
VSync disabled
+ Adaptive Sync disabled
= Broken
Hello, it's me once again. Would you mind testing out a patch for me?
artifacts.zip
These test case scenarios.
VSync enabled
+ Adaptive Sync enabled
VSync enabled
+ Adaptive Sync disabled
VSync disabled
+ Adaptive Sync enabled
VSync disabled
+ Adaptive Sync disabled
Do you want me to put both Jars in my mods folder, or is there a specific one?
Do you want me to put both Jars in my mods folder, or is there a specific one?
@AvatarMental Just the one without -sources.jar
.
Hello, it's me once again. Would you mind testing out a patch for me? artifacts.zip
These test case scenarios.
Please note in my testing, Windowed goes off the screen top/bottom for me, and I cannot move the window (top window bar is off the screen), so I don't know for sure if it is flickering or not below the screen.
Before Patch: (No settings changed, clean install, Windowed/Fullscreen)
VSync enabled
+ Adaptive Sync enabled
= No flicker/Flicker
VSync enabled
+ Adaptive Sync disabled
= No flicker/Flicker
VSync disabled
+ Adaptive Sync enabled
= No flicker/No flicker, controls are delayed.
VSync disabled
+ Adaptive Sync disabled
= No flicker/No flicker, controls laggy and go longer than the key presses.
After Patch: (No settings changed, clean install, Windowed/Fullscreen)
VSync enabled
+ Adaptive Sync enabled
= No flicker/flicker
VSync enabled
+ Adaptive Sync disabled
= No flicker/No flicker
VSync disabled
+ Adaptive Sync enabled
= No flicker/No flicker, delayed controls
VSync disabled
+ Adaptive Sync disabled
= No flicker/No flicker, laggy controls and go longer than key presses
Thanks for testing the patch.
One last question
Before the 0.4.4
update, I'm not sure if you play with V-Sync all the time. Do you get delayed controls/laggy controls without V-Sync?
I'll be honest, I never messed with V-Sync before. I could potentially test it if you would like.
Sorry, without Vsync I do get some delayed controls, I misread one of the other settings.
Tested in 0.4.3
VSync enabled
+ Adaptive Sync enabled
= No flicker
VSync enabled
+ Adaptive Sync disabled
= No flicker
VSync disabled
+ Adaptive Sync enabled
= No flicker, delayed controls, single tap acts as a long press
VSync disabled
+ Adaptive Sync disabled
= No flicker, controls seem mostly fine, although a bit laggy at times.
Sorry I didn't get to this yesterday, had a lot going on.