I've been playing Minecraft with shaders for a while without any major problems. Recently I upgraded both my motherboard and CPU and since then whenever I try playing the game with shaders on at some point it will freeze, become unresponsive, Windows will notify me about it and ask me to close the game. It can happen after couple of minutes or just in a matter of seconds after generating a world/loading a save. Running the game with event log open during the freeze/crash will usually give me one line of error: "Process closed with exit code -805306369"
I've gone through a couple of things to try and fix this problem: making sure all my relevant drivers are up to date, allocating enough RAM to Optifine, reinstalling both Minecraft and Java, MemTest with no errors found, scf /scannow with no errors found, checked the C: drive for errors (none were found), uninstalling VPN.
It seems to be stable when played without any custom shaders loaded, although I did not go through any longer play sessions to check for sure (30+ minutes), but like I mentioned earlier, I've had no troubles with the game suddenly freezing and becoming unresponsive with the shaders on before the hardware change. I did Google the error code and all things relevant to my current problem but all the suggestions didn't fix the freezes and I could not find anyone in the same situation as I'm in. I'm running out of ideas on how I could potentially fix the problem and I'd rather avoid doing a whole system reinstall.
Do you want me to copy/paste all of the event log entries up until the freeze/crash or is there a crash report text file located somewhere in the ".minecraft" folder because I was not able to find one there myself.
Malwarebytes ADWCleaner is an utility to clean a PC which is infested with malware.
Download it here: https://downloads.malwarebytes.com/file/adwcleaner
Run a Scan, remove any malware found, restart the computer.
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
I forgot to mention in the OP that I'm using 1.14.4 version of Minecraft, I've been playing with Optifine version F4 before hardware replacement, the game's been freezing/crashing with the same version after the fact and updating it to F5 didn't fix the problem.
I scanned my system with ADWCleaner and while it did find 2 possible malicious files getting rid of them and restarting my PC didn't fix the problem.
"exit code -805306369" is a generic Windows error code for a program that stopped responding, which can happen due to many reasons, ranging from within the game itself to the JVM to native OS-level code to hardware. One possible cause is incompatible software (including normally non-malicious software, for example GeForce experience is known to cause issues and since you changed hardware you may have installed it. In particular, Razer is directly linked to this error, as are out of memory issues that cause the game to freeze, which may eventually lead to a crash report but people often close the game before it does so):
Crashes the game with exit code -805306369 or Out Of Memory Errors by limiting the amount of memory Minecraft is allowed to use. Uninstall the software then delete _JAVA_OPTIONS=-Xmx256mb (or 512mb) from your Environment Variables.
(I'm not sure if you actually need to uninstall it; if it only adds the option when you install it, not every time it is run, there isn't any reason to uninstall it, just remove the option. Other software may need to be uninstalled though, or at least disabled while playing; if this includes an antivirus you should find an alternative instead)
I used to have GeForce Experience on my system but I got rid of it even before hardware change, even so it didn't cause me any troubles back then. Never owned anything Razer related, don't have anything from them installed on my system, either.
Having my Antivirus turned on didn't cause any troubles earlier, so I'm not sure why would it possibly be the case now, but I'll give it a shot. I'll disable its features and/or quit the whole program and see if the game is stable.
Edit: It will still freeze and stop responding with my AV not running.
Say something silly, Laugh 'til it hurts, Take a risk, Sing out loud, Rock the boat, Shake things up, Flirt with disaster, Buy something frivolous, Color outside the lines, Cause a scene, Order dessert, Make waves, Get carried away, Have a great day!
I tried completely removing my Nvidia drivers using Display Driver uninstaller and doing a clean installation as well as removing my old CPU from the Device Manager (it was hidden) but none of these options helped, the game will still either freeze and stop responding with Windows popping up a window letting you close the game (-805306369), freeze for a second and then crash to desktop without any warnings (-1073740791) or freeze and trap the mouse inside the game window, not letting you close the game without ending the task in the Task Manager.
In your shader packs folder there will be a text file with the same name as your shaders, delete that file, it most likely contains settings that your new hardware does know what to do with
I'm suspecting there was something wrong with my graphics card as I started experiencing slight graphical artifacting in various other games as well as sudden freezes, unresponsiveness and crashes.
I was able to upgrade my GPU to RX 5700 XT and Minecraft seems to be stable now.
I've been playing Minecraft with shaders for a while without any major problems. Recently I upgraded both my motherboard and CPU and since then whenever I try playing the game with shaders on at some point it will freeze, become unresponsive, Windows will notify me about it and ask me to close the game. It can happen after couple of minutes or just in a matter of seconds after generating a world/loading a save. Running the game with event log open during the freeze/crash will usually give me one line of error: "Process closed with exit code -805306369"
I've gone through a couple of things to try and fix this problem: making sure all my relevant drivers are up to date, allocating enough RAM to Optifine, reinstalling both Minecraft and Java, MemTest with no errors found, scf /scannow with no errors found, checked the C: drive for errors (none were found), uninstalling VPN.
It seems to be stable when played without any custom shaders loaded, although I did not go through any longer play sessions to check for sure (30+ minutes), but like I mentioned earlier, I've had no troubles with the game suddenly freezing and becoming unresponsive with the shaders on before the hardware change. I did Google the error code and all things relevant to my current problem but all the suggestions didn't fix the freezes and I could not find anyone in the same situation as I'm in. I'm running out of ideas on how I could potentially fix the problem and I'd rather avoid doing a whole system reinstall.
Thank you in advance!
Do you want me to copy/paste all of the event log entries up until the freeze/crash or is there a crash report text file located somewhere in the ".minecraft" folder because I was not able to find one there myself.
This issue may be caused by malware.
Malwarebytes ADWCleaner is an utility to clean a PC which is infested with malware.
Download it here: https://downloads.malwarebytes.com/file/adwcleaner
Run a Scan, remove any malware found, restart the computer.
If it doesn't work, post a HijackThis log.
Download it here: https://sourceforge.net/projects/hjt/files/2.0.5 beta/HijackThis.exe/download
Run HijackThis as Administrator, click on "I accept", then "Do a system scan and save a log file".
Then a text file will open. Copy everything, then paste it on https://paste.ubuntu.com and give us the link.
While it does sound scary, it does not give us any personal or sensitive information.
I forgot to mention in the OP that I'm using 1.14.4 version of Minecraft, I've been playing with Optifine version F4 before hardware replacement, the game's been freezing/crashing with the same version after the fact and updating it to F5 didn't fix the problem.
I scanned my system with ADWCleaner and while it did find 2 possible malicious files getting rid of them and restarting my PC didn't fix the problem.
Here's the log file from HijackThis' system scan: https://paste.ubuntu.com/p/fmB64hJjtw/
Here's the game's event log as requested by webrosc: https://paste.ubuntu.com/p/nj8phKYxbQ/
However the log above didn't record the last line that appeared after freezing and getting closed by Windows
https://i.imgur.com/LPdqush.png
"exit code -805306369" is a generic Windows error code for a program that stopped responding, which can happen due to many reasons, ranging from within the game itself to the JVM to native OS-level code to hardware. One possible cause is incompatible software (including normally non-malicious software, for example GeForce experience is known to cause issues and since you changed hardware you may have installed it. In particular, Razer is directly linked to this error, as are out of memory issues that cause the game to freeze, which may eventually lead to a crash report but people often close the game before it does so):
https://minecraftirc.net/support-articles/known-incompatible-software/
(I'm not sure if you actually need to uninstall it; if it only adds the option when you install it, not every time it is run, there isn't any reason to uninstall it, just remove the option. Other software may need to be uninstalled though, or at least disabled while playing; if this includes an antivirus you should find an alternative instead)
TheMasterCaver's First World - possibly the most caved-out world in Minecraft history - includes world download.
TheMasterCaver's World - my own version of Minecraft largely based on my views of how the game should have evolved since 1.6.4.
Why do I still play in 1.6.4?
I used to have GeForce Experience on my system but I got rid of it even before hardware change, even so it didn't cause me any troubles back then. Never owned anything Razer related, don't have anything from them installed on my system, either.
Having my Antivirus turned on didn't cause any troubles earlier, so I'm not sure why would it possibly be the case now, but I'll give it a shot. I'll disable its features and/or quit the whole program and see if the game is stable.
Edit: It will still freeze and stop responding with my AV not running.
Disable Discord ingame overlay.
Done that, didn't change anything..
I got a new error code: https://i.imgur.com/KMRD8zl.png
My GPU drivers are up to date.
I found this thread https://www.minecraftforum.net/forums/support/java-edition-support/2942683-minecraft-crash-after-launch-with-exit-code where ConorGarland asks for DxDiag log, so here you go: https://paste.ubuntu.com/p/PzfKgmd8JW/
I'd also like to thank everyone who has helped so far, regardless of the results. Your assistance is much appreciated!
I tried completely removing my Nvidia drivers using Display Driver uninstaller and doing a clean installation as well as removing my old CPU from the Device Manager (it was hidden) but none of these options helped, the game will still either freeze and stop responding with Windows popping up a window letting you close the game (-805306369), freeze for a second and then crash to desktop without any warnings (-1073740791) or freeze and trap the mouse inside the game window, not letting you close the game without ending the task in the Task Manager.
I would have posted them if I knew where they were. Are they supposed to be in "crash-reports" folder? It doesn't exist in my ".minecraft" folder.
https://i.imgur.com/YT7ysFU.png
In your shader packs folder there will be a text file with the same name as your shaders, delete that file, it most likely contains settings that your new hardware does know what to do with
I'm suspecting there was something wrong with my graphics card as I started experiencing slight graphical artifacting in various other games as well as sudden freezes, unresponsiveness and crashes.
I was able to upgrade my GPU to RX 5700 XT and Minecraft seems to be stable now.