CaffeineMC / sodium

A Minecraft mod designed to improve frame rates and reduce micro-stutter
Other
4.77k stars 811 forks source link

Game crashes on ALT+TAB when using older Intel GPUs #2727

Closed MotWnb closed 1 month ago

MotWnb commented 1 month ago

Bug Description

When playing Minecraft with the Sodium mod installed, I expected the game to continue running smoothly even when I press the Windows key while in fullscreen mode. However, when I perform these actions, the game crashes. I believe this to be a bug because pressing the Windows key while in fullscreen mode should not cause the game to crash. I am not experiencing this issue without the Sodium mod installed.

- I have updated intel drivers

- The "0.6.0beta1" version has the bug

- The "0.5.11" version is fine

- I have changed the jdk version and it crashed again

Reproduction Steps

Install Minecraft. Download and install the Sodium mod(0.6.0beta1). Start Minecraft. Press F11 to enter fullscreen mode. Press the Windows key. The game will crash at this point.

Log File

latest.log

Crash Report

it wasn't created.But i can upload sth to help u hs_err_pid9824.log LatestLaunch.txt(it is bat file) output.txt

Felix14-v2 commented 1 month ago

What's your hardware and graphics driver version?

MotWnb commented 1 month ago

i7 4702mq,graphics driver version is the latest(im not at home,so idk)

MotWnb commented 1 month ago
MotWnb commented 1 month ago

20.19.15.5171

PythonChicken123 commented 1 month ago

+1, I have the same problem and the bug only occurs when you tab out Minecraft using Alt + TAB and only occurs by using Sodium 0.6.0beta1. I also tried using the Concertation mod and sodium causes crash. Crash Reports [11 crashed sessions]: hs_err_pid2232.log, hs_err_pid2704.log, hs_err_pid3180.log, hs_err_pid4500.log hs_err_pid6464.log, hs_err_pid6628.log, hs_err_pid8052.log, hs_err_pid8364.log hs_err_pid9472.log, hs_err_pid9788.log, hs_err_pid11260.log Log File: latest.log Drivers: Drivers Additional Notes: Please fix this bug as soon as possible, if you need more info, you can ask for them. :)

jellysquid3 commented 1 month ago

You can try adding the following option to the sodium-mixins.properties config file:

mixin.features.render.compositing=false

This should work around the crash. But we will need to implement functionality to automatically do this when Intel's broken graphics drivers are used.

MotWnb commented 1 month ago

Is the issue at hand that my integrated graphics processing unit (iGPU) is outdated and its drivers are unable to support certain functionalities in the new version of Sodium?

Felix14-v2 commented 1 month ago

I think that's just a driver developers' fault, and your GPU can work properly with a different driver (Mesa or an older version of Intel's proprietary one).