sp614x / optifine

1.81k stars 418 forks source link

Game Crash upon setting high render distance #7758

Open FHLX-J opened 1 month ago

FHLX-J commented 1 month ago

Description of Issue

Loading render distances Higher than 32 Chunks (Tested specifically 48 and 64 chunks), causes the game crash with error code -1073740791 or -1073741819.

PC Specs in case they are relevant:

AMD Ryzen 5-7600X AMD Radeon RX 7600 32GB DDR5-6000 (EXPO is enabled) Windows 11 Pro x64 under a 240GB SATA6Gbps SSD

Steps to Reproduce

  1. Just in case this is relevant, set the RAM allocation to 8GB (all other Java arguments should be default)

  2. Graphics are set to Fabulous, all Quality and Performance settings are turned on (except for the ones which can't due to the Fabulous Graphics setting); Mipmap type trilinear, Mipmap levels maximum, Anisotropic Filtering set to 16, Distortion & FOV effects both 100%. Chunk updates @ 1 and Chunk Builder set to Threaded. Fancy fog, all details enabled. Antialiasing was also tested at its max setting w/Fabulous graphics disabled, and did not seem to affect what occurs.

OptiFine Version

1.20.1 HD U J1 pre15 (Earlier pre-releases also seemed to be affected, dating back to pre1 & 2)

Installation Method

Standalone installer.

Log Files/Crash Reports

Attached. Let me know if it's not opening.

F3 Debug Screenshot

This is not 100% possible to do because the game crashes instantly upon setting a high render distance.

Prior Testing

Additional Information

hs_err_pid54012.log 2024-09-22-5.log.gz 2024-09-22-6.log.gz

sp614x commented 1 month ago

Crash in GL15.glMapBuffer(), either out of memory or bug in graphics driver.