-
Notifications
You must be signed in to change notification settings - Fork 905
Open
Labels
Description
Bug Description
A Windows-only workaround prints warning on Linux.
[09:55:58] [main/WARN]: Sodium has applied one or more workarounds to prevent crashes or other issues on your system: [NO_ERROR_CONTEXT_UNSUPPORTED, AMD_GAME_OPTIMIZATION_BROKEN]
[09:55:58] [main/WARN]: This is not necessarily an issue, but it may result in certain features or optimizations being disabled. You can sometimes fix these issues by upgrading your graphics driver.
Most probably needs a OS check before adding AMD_GAME_OPTIMIZATION_BROKEN to the list of Workarounds. Note that the game does not crash so the workaround does not actually try to apply (see comment above), so this a misleading warning and a low priority issue.
I am in a AMD GPU system, but given that it does not care about OS type before printing warning, it might as well not care about GPU vendor, so additional checks might be needed to ensure warning only gets printed if the workaround is actually applied.
The no error context unsupported warning existed previously so is not the focus of this issue.
Reproduction Steps
Launch MC 1.21.11 with Sodium 0.8.6 in a Linux Mesa system
Log File
irrelevant
Crash Report
irrelevant
Reactions are currently unavailable