sp614x / optifine

1.81k stars 418 forks source link

[Bug] OptiFine 1.8.9 L5 has white screen on macOS Big Sur #5028

Closed charjp closed 3 years ago

charjp commented 3 years ago

Description of Issue

When using OptiFine L5 or L6 and opening Minecraft on macOS Big Sur, the game window is white. The game still works, there are just no textures so everything is all white.

Steps to Reproduce

  1. Launch Minecraft with OptiFine on macOS Big Sur. (I only tested 1.8.9 L5 and L6)
  2. The window is just white.

OptiFine Version

1.8.9 L5 and L6 preview

Installation Method

I downloaded OptiFine from the official website and installed as standalone.

Log Files/Crash Reports

https://pastebin.com/hGn7dzzY

F3 Debug Screenshot

I can't take an F3 screenshot

Prior Testing

If you've installed standalone:

Additional Information

N/A

2LO7 commented 3 years ago

Yes, same problem here, macOS Big Sur doesn't let fullscreen optifine, basically all versions. It's quite frustrating.

scotow commented 3 years ago

I got a related issue on Big Sur using Optifine 1.8.9 L5 and MultiMC. The Minecraft client crashed after a second with the following stack trace. Hope it helps:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
    0   CoreFoundation                      0x00007fff204986af __exceptionPreprocess + 242
    1   libobjc.A.dylib                     0x00007fff201d03c9 objc_exception_throw + 48
    2   CoreFoundation                      0x00007fff204c0a9a -[NSException raise] + 9
    3   AppKit                              0x00007fff22c6097d -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
    4   AppKit                              0x00007fff22c88cf3 -[NSThemeFrame setStyleMask:] + 142
    5   AppKit                              0x00007fff22c88a89 __25-[NSWindow setStyleMask:]_block_invoke + 2057
    6   AppKit                              0x00007fff22c88226 NSPerformVisuallyAtomicChange + 132
    7   AppKit                              0x00007fff22c8812f -[NSWindow setStyleMask:] + 170
    8   liblwjgl.dylib                      0x0000000158f0acca Java_org_lwjgl_opengl_MacOSXDisplay_nSetResizable + 90
    9   ???                                 0x000000010bc67407 0x0 + 4492522503
    10  ???                                 0x000000010bc56ffd 0x0 + 4492455933
)
libc++abi.dylib: terminating with uncaught exception of type NSException
MemeMasterOJ commented 3 years ago

Seems to work for me on 1.16.4 but not 1.8

2LO7 commented 3 years ago

Yeah I really wish someone would fix this.

IMS212 commented 3 years ago

ok, for anyone affected by this try installing and selecting the corretto jdk to use in something like multimc or vanilla launcher and try again. (EDIT: This seems to fix the crash mentioned by @scotow but not the white screen of OP.)

scotow commented 3 years ago

ok, for anyone affected by this try installing and selecting the corretto jdk to use in something like multimc or vanilla launcher and try again. (EDIT: This seems to fix the crash mentioned by @scotow but not the white screen of OP.)

Indeed. Thank you for the fix.

sp614x commented 3 years ago

Relevant #5034

charjp commented 3 years ago

The new preview versions still do not fix this issue on Mac, and it is unclear if the problem is being worked on or not.

DieselDorky16 commented 3 years ago

This bug is affecting 1.8.9 M5. Admins fix this.

MisterCheezeCake commented 3 years ago

This bug has been reported for more than 90 days and yet nothing has been done. This is honestly shameful as it literally prevents a moderate portion of the userbase from using the mod and for some, by extension playing the game.

DieselDorky16 commented 3 years ago

When will this bug be fixed on ALL versions of Optifine?

xeisch commented 3 years ago

there is unfortunately no fix for this, however full screen with optifine works on 1.16+. If you are using optifine to change the resolution you play with for more fps, try quickres or any other programs that change the resolution of the screen itself, not the game. If you load minecraft without optifine and untick fullscreen and load back with optifine, there wont be white screen, then just click green exand button on the minecraft window itself to make the window fullscreen. Also try changing lauch resolution settings in the launcher. Currently this is the only fix for this. As 1.8+ minecraft is outdated, i doubt they will do something about this bug. Next step is just wait for any new Big sur updates... Hope this helps

charjp commented 3 years ago

I don’t believe you. sp614x has acknowledged this issue and there has been no word about whether a fix is possible or not. All of us are simply biding our time and hoping this issue comes to the top of sp614x’s list. How do you know there is no fix?

xeisch commented 3 years ago

I don’t believe you. sp614x has acknowledged this issue and there has been no word about whether a fix is possible or not. All of us are simply biding our time and hoping this issue comes to the top of sp614x’s list. How do you know there is no fix?

There is no fix for this problem at the moment. What this means is simply rn there is no fix that we can use, like playing with ingame settings or using other mods etc. I am too hoping that sp614x will do something with it, but as i said, 1.8.9 is outdated, although most large servers are hosted on this version. This bug is also present on all versions from 1.8 throughout 1.15, in addition not many people play mc on a mac, instead use bootcamp thus fixing this bug wont be a priority for the devs. I’ve got m1 mac book pro and cant use bootcamp, lets just wait either for WWDC where apple announces licensing of windows 10 for ARM, update to big sur or 1.8.9 optifine fix. 🤞

scotow commented 3 years ago

@xeisch Did you encounter any issue playing MC on a M1 Mac (beside the bug this issue relates to)? I'm curious.

I know it's not the fix you people are waiting for, but @IMS212 's fix is pretty convenient. Just install the AWS modified version of the JRE and it will fix the Optifine bug. Once installed, it's pretty seamless and you don't have to worry with in-game settings or mods anymore.

xeisch commented 3 years ago

@xeisch Did you encounter any issue playing MC on a M1 Mac (beside the bug this issue relates to)? I'm curious.

Held my fingers crossed in hope that your advice with coretto 8 will help, unfortunately it doesnt fix the white screen. Besides the issue this thread is assigned to, i am playing on m1 pro with: max resolution, full screen, VBO on, vsync off, with NEU and Pather mods on hypixel skyblock, no optifine and getting stable 200fps, rarely drops to less than 60 but thats just coz my wifi is 1.5mb/s. Also, i never heard my fans at all, i even went to downloading fan speed control to see if my fans are broken or smth, all good, m1 is that good, draws around 15% of battery per hour during play, astonishing... To answer your question on any issues other than optifine, i still do get white screen when loading into mc, however i delete modcore folder that comes with Patcher mod so that the game installs it again and it seems to fix it. If anyone is getting white screen with no optifine, load vanilla mc and turn off full screen in settings, reload back to forge, expand screen to fullscreen (green button on the window it self) and then turn on fullscreen in mc settings.

DieselDorky16 commented 3 years ago

WHY IS IT NOT FIXED?

Milo123459 commented 3 years ago

WHY IS IT NOT FIXED?

Take a minute to think about that. There is 1 talented dev working on a massive project, it's not opensource for legal reasons. Calm down. Try some of the fixes stated above. Open source should not be toxic.

sp614x commented 3 years ago

Looks like the fix for #4824 also fixes the white screen on Big Sur. The bugfix is in available in M6_pre1 for 1.8.9. Please check if working properly.

ZenIsBestWolf commented 3 years ago

Working MBP Mid 2014 (Intel)

charjp commented 3 years ago

The bug fixed for me with the new prerelease. Thank you so much for fixing this bug, it’s plagued me and many others for 150+ days!

ghost commented 3 years ago

I still encounter this issue daily.

kiralabs commented 3 years ago

I still encounter this issue daily.

using the coretto jdk worked for me :p coretto jdk

ghost commented 3 years ago

I still encounter this issue daily.

using the coretto jdk worked for me :p coretto jdk

thanks so much! I still get occasional JVM crashes but now I can see!

ddozzi commented 3 years ago

if you're still encountering the crash, even after using the corretto jdk, try downloading an older build from their github. this one worked for me.

ghost commented 3 years ago

Cool, thanks! Suprisingly enough, Sk1er’s new Essentials/ModCore2.0 in patcher 1.6 seems to have greatly lowered the crash rate, although I don’t know why

On Tue, Aug 10, 2021 at 1:49 AM ddozzi @.***> wrote:

if you're still encountering the crash, even after using the corretto jdk, try downloading an older build from their github. this https://github.com/corretto/corretto-8/releases/tag/8.292.10.1 one worked for me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sp614x/optifine/issues/5028#issuecomment-895962648, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUIAOL3Q2JOX7Y6ZH62DT4EG3VANCNFSM4TVB4JKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

Jackli2009 commented 3 years ago

minecraft-exported-logs-2021-08-24T15-33-13.log it is terrible!

ghost commented 3 years ago

Cry about essential all you want, it’s great

Sent from my iPhone

On Aug 23, 2021, at 9:40 PM, Jackli2009 @.***> wrote:

 minecraft-exported-logs-2021-08-24T15-33-13.log it is terrible!

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Jay59376 commented 3 years ago

works for me

DieselDorky16 commented 3 years ago

macOS 12 beta 9 makes this issue even worse.

DieselDorky16 commented 3 years ago

latest.log

What is even causing this? It's happening almost every time, and it only works ONCE or you have to restart your device.

DieselDorky16 commented 3 years ago

When will this issue be fully fixed? It said it's patched, but it's clearly not (using latest preview of 1.8.9)

ghost commented 3 years ago

LabYmod causes instabilities, and your log has nothing weird about Optifine. This bug is still present though

On Sun, Oct 17, 2021 at 11:41 AM Christopher Lewis @.***> wrote:

When will this issue be fully fixed? It said it's patched, but it's clearly not (using latest preview of 1.8.9)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sp614x/optifine/issues/5028#issuecomment-945199543, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUID2BTH6YN27ZWTRZULUHM7JLANCNFSM4TVB4JKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

c0wling commented 2 years ago

Late reply but I'd recommend using Lunar Client because they have the bug patched, although it will white screen every 4 or 5 fullscreens but relaunching ur game will fix it.

DieselDorky16 commented 2 years ago

This is still an issue on 1.12.2

ghost commented 2 years ago

then you can't use optifine either

On Fri, 21 Jan 2022 at 18:34, Jay59376 @.***> wrote:

Late reply but I'd recommend using Lunar Client because they have the bug patched, although it will white screen every 4 or 5 fullscreens but relaunching ur game will fix it.

but what if your a cracked player : / , you cant use lunar.

— Reply to this email directly, view it on GitHub https://github.com/sp614x/optifine/issues/5028#issuecomment-1019047006, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQSTUIB2QFNXKA25ITSFO43UXIXWVANCNFSM4TVB4JKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

DieselDorky16 commented 2 years ago

This bug has made a return, and it's worse.

christopherlewisghs commented 2 years ago

Seriously, how long has it been? The issue, is back. Yet again. On macOS 13. Honestly, it's been a problem literally every major update of macOS, Apple somehow messes everything up.

charjp commented 2 years ago

Open your own support ticket then. This is concerning 1.8.9 not 1.12. The original issue has been solved so please do not keep reviving this thread.

flodxz commented 2 years ago

I'm still having this problem. Every time I try to go in fullscreen my game crashes. MacOS 11.7 (Big Sur), Optifine 1.8.9

GriffinSego commented 1 year ago

Same whitescreen, crash on 1.8.9 M6 pre2 on ventura

semenishchev commented 1 year ago

Yep happens sometimes on M5, ventura. Sometimes crash, sometimes white screen. BTW If you have other physical monitor attached, and you drag the window there, it will fix the white screen and you can drag the window back.

IronRus-GitHub commented 1 year ago

macOS Big Sur 11.7.4, issue still hasn't got fixed, does anyone even have JVM Arguments that can support this gray screen issue, also on older versions of Minecraft (including 1.12.2) down to Minecraft Classic, this issue occurs on ALL OF IT!

ghost commented 1 year ago

still happening for meSent from my iPhoneOn Jun 3, 2023, at 11:58 AM, ironboy36 @.***> wrote: macOS Big Sur 11.7.4, issue still hasn't got fixed, does anyone even have JVM Arguments that can support this gray screen issue, also on older versions of Minecraft (including 1.12.2) down to Minecraft Classic, this issue occurs on ALL OF IT!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>