optifine icon indicating copy to clipboard operation
optifine copied to clipboard

[Bug] Blurred Text including Menus with OptiFine Enabled and JourneyMap Installed

Open intraCore opened this issue 3 years ago • 37 comments

Description of Issue

The text in menus, inventory, hotbar are all blurred with the latest preview version of OptiFine and latest Forge. The text on signs is also see-through but instead of showing what's directly behind it, it shows the background that I'm looking at.

Additional: If I change settings in OF that cause the game to reload, the text will be clear for a few seconds and then return to being blurry. The entire menu would be sharp text and then if I leave the money, the hotbar text (level #) will go blurry after a few seconds and the menu is blurry again if I open it.

Steps to Reproduce

  1. Have Forge installed with the pre3 OF .jar in the mods folder, as well as the JourneyMap mod.
  2. Open Minecraft
  3. Text is blurred even with mipmaps off.

OptiFine Version

OptiFine HD U H1 pre3

Installation Method

The pre3 .jar is in the mods folder

Fabric/Forge Version

Forge 1.17.1 - 37.0.73

Other Installed Mods

JourneyMap

F3 Debug Screenshot

2021-09-29_00 26 17

Prior Testing

If you've installed using Forge/Fabric:

  • Does this happen without other mods installed? No.
  • Does this happen in Vanilla without OptiFine? No.

Another Screenshot to Show Blurred Text

2021-09-28_23 54 38

More Information

After typing up this post, I removed the 5 mods I had and slowly tried them one by one, then with each other. The mod that OptiFine is conflicting with, causing both the blurred text and the glitched sign text, is JourneyMap. This only happens when OptiFine and JourneyMap are installed together, not with either of them alone.

intraCore avatar Sep 29 '21 18:09 intraCore

Just wanted to comment in case the last section in the post is ignored:

After typing up this post, I removed the 5 mods and slowly tried them one by one, then with each other. The conflicting mod causing both the blurred text and the glitched sign text is JourneyMap. This only happens when both OptiFine and JourneyMap are installed together, not with either of them alone.

intraCore avatar Sep 29 '21 19:09 intraCore

If there is something on Journeymap's side to fix this, I am all ears. But we do not touch any global text rendering.

mysticdrew avatar Sep 29 '21 19:09 mysticdrew

If there is something on Journeymap's side to fix this, I am all ears. But we do not touch any global text rendering.

That took me a sec... I thought you were from OF saying JourneyMap can fix it, haha. Yeah, I'm hoping someone from OF has some good input.

intraCore avatar Sep 29 '21 19:09 intraCore

Someone reported "I just noticed a workaround for the blur with optifine - turn off optifine's Custom Fonts." They then reported that this was not a permanent fix.

mysticdrew avatar Oct 07 '21 02:10 mysticdrew

This has something to do with Font#drawInBatch I cannot continue to debug it further since I am unable to get Optifine to run in my development environment.

For example, when looking at the journeymap's waypoint labels in world. It then causes most text to become blurry. We use the drawInBatch. Using the same code with just Font.draw does not cause the text blurriness. However, Font.draw does not work for us in most cases.

mysticdrew avatar Oct 19 '21 19:10 mysticdrew

(bump) me and a friend are also having this issue, anyone found a fix other than taking off optifine and journeymap?

Udunen avatar Oct 22 '21 06:10 Udunen

(bump) me and a friend are also having this issue, anyone found a fix other than taking off optifine and journeymap?

I have the same problem, sadly I can't find a solution for this.

LoonaChill avatar Oct 25 '21 20:10 LoonaChill

Ok so, I haven't found a fix. But if you lower your gui scale to 3, it makes it look normal. Its still blurrier than usual, but its tolerable.

Udunen avatar Oct 25 '21 20:10 Udunen

setting my gui scale to 1 fixed it but now everything is tiny

BigHargyy avatar Oct 29 '21 13:10 BigHargyy

setting my gui scale to 1 fixed it but now everything is tiny

Set it to 3 instead, looks a lot better, and its not too small

Udunen avatar Oct 29 '21 13:10 Udunen

Has anybody found a fix for this cuz it is seriously annoying me :(

MarsKrubb avatar Oct 31 '21 13:10 MarsKrubb

Switching to the internal Shader of OF fixed it for me

SkeletonKing20 avatar Nov 01 '21 20:11 SkeletonKing20

Tested with Pre9 forge 37.0.103. Issue still occurs.

mysticdrew avatar Nov 03 '21 17:11 mysticdrew

If you're using journey map, and its still happening to you. Turn off waypoint beacon. That fixed the bug for me.

if your text is still blurry when u turn it off, refresh the font by turning off and on custom font

Rihax avatar Nov 08 '21 21:11 Rihax

If you're using journey map, and its still happening to you. Turn off waypoint beacon. That fixed the bug for me.

if your text is still blurry when u turn it off, refresh the font by turning off and on custom font

I am the Journeymap developer. It is not the beacons, it is the text that is in the labels. Optifine is doing some change to the Font#drawInBatch method that is breaking it. I have not been able to find a work around.

mysticdrew avatar Nov 09 '21 00:11 mysticdrew

If you're using journey map, and its still happening to you. Turn off waypoint beacon. That fixed the bug for me. if your text is still blurry when u turn it off, refresh the font by turning off and on custom font

I am the Journeymap developer. It is not the beacons, it is the text that is in the labels. Optifine is doing some change to the Font#drawInBatch method that is breaking it. I have not been able to find a work around.

I mean i have no idea about the real programming but couldn'tyou just overwrite the changes?

Ironnix avatar Nov 09 '21 07:11 Ironnix

I mean i have no idea about the real programming

mysticdrew avatar Nov 09 '21 13:11 mysticdrew

I've found that by disabling all my way points in the map menu, then waiting a few minutes, the problem goes away. when another way point (like a death marker) is created, the problem immediately returns until the way point is disabled.

GaleCarde avatar Nov 12 '21 05:11 GaleCarde

(bump) me and a friend are also having this issue, anyone found a fix other than taking off optifine and journeymap?

Your question can be answer with GaleCarde answer:

I've found that by disabling all my way points in the map menu, then waiting a few minutes, the problem goes away. when another way point (like a death marker) is created, the problem immediately returns until the way point is disabled.

And I can confirm this is the sole solution for now, AKA: workaround for player side. Turn off the death point auto create too. For now to those who read this, open the link from Mysticdrew to learn more about the bug. In short just don't use Waypont, other feature work fine. Also no need to remove Optifine, yeah mysticdrew, I talking about you. They only need to not use your Waypoint feature and they're fine. Between your mods and a mod that require by many mods like Optifine, we can clearly see which one they gonna prefer to keep Wink

nhatanh0475 avatar Nov 29 '21 18:11 nhatanh0475

@sp614x This is still an issue OptiFine 1.18_HD_U_H3

We should chat and figure out how to resolve this issue, either on my end or on your end. I have ruled out it has to do with FontRenderer#drawInBatch. Feel free to DM me in discord when you have time. I have been unable to isolate what exactly in Journeymap is causing the issue, most in part because all the current tools to get Optifine to work in development env are currently not working for 1.17.1 and 1.18. So debugging is a just random trial and error.

mysticdrew avatar Dec 06 '21 20:12 mysticdrew

This is fixed in Journeymap 1.18_5.8.0alpha5 on curseforge. 1.17_5.8.0 will receive a fix at a later date.

mysticdrew avatar Dec 07 '21 17:12 mysticdrew

Scratch that. It is fixed for some users, but not for other users.

mysticdrew avatar Dec 07 '21 18:12 mysticdrew

Alright, this issue I was able to resolve on my end, it can be closed.

mysticdrew avatar Dec 07 '21 22:12 mysticdrew

@mysticdrew I just installed the update and the bug is fixed! I was wondering why minecraft started looking blurry after installing optifine; then I came across this issue and updating journeymap fixed it 👍🏾

NovaViper avatar Dec 08 '21 14:12 NovaViper

This is fixed in Journeymap 1.18_5.8.0alpha5 on curseforge. 1.17_5.8.0 will receive a fix at a later date.

I've still this same issue using OptiFine_1.18.1_HD_U_H6 and journeymap-1.18.1-5.8.1beta4.

2022-04-16_02 58 23

TheDivine07 avatar Apr 16 '22 01:04 TheDivine07

Still happens on OptiFine_1.18.2_HD_U_H7 and journeymap-1.18.2-5.8.4 for me as well image

Sooperfish avatar May 23 '22 00:05 Sooperfish

Happening to me on latest JourneyMap and OptiFine, seems like the blur happens when i open the chat, which is strange.

Jerome226 avatar May 27 '22 23:05 Jerome226

I don't believe the issue with the current version of OptiFine (1.18.2_HD_U_H7) has anything to do with JourneyMap specifically. I can replicate the issue by opening the chat in my instance that doesn't have JourneyMap. Moreover, removing Emojiful from my game version fixed the issue. Currently, there are several popular modpacks using both Emojiful and OptiFine (notably Direwolf20), so some of these reports might be coming from those players.

TuckV avatar May 31 '22 08:05 TuckV

this seems to happen with optifine + FTB chunks as well, even without journeymap

BigClarky avatar Jun 14 '22 06:06 BigClarky

this seems to happen with optifine + FTB chunks as well, even without journeymap

Yeah it seems so. I added optifine to direwolf20 1.18 pack and the blur mode starts only and always when I open chat and then it goes away after a while. It's very weird.

Ropsukka1233 avatar Jun 14 '22 07:06 Ropsukka1233