Skip to content

Commit

Permalink
Adjust the log messages for when NVIDIA workarounds are applied
Browse files Browse the repository at this point in the history
  • Loading branch information
jellysquid3 committed Nov 17, 2023
1 parent 1c7ec04 commit 5e40060
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ public class NvidiaWorkarounds {
private static final Logger LOGGER = LoggerFactory.getLogger("Sodium-NvidiaWorkarounds");

public static void install() {
LOGGER.warn("Attempting to apply workarounds for the NVIDIA Graphics Driver...");
LOGGER.warn("If the game crashes immediately after this point, please make a bug report: https://github.com/CaffeineMC/sodium-fabric/issues");
LOGGER.warn("Applying workaround: Prevent the NVIDIA OpenGL driver from using broken optimizations (NVIDIA_THREADED_OPTIMIZATIONS)");

try {
switch (Util.getOperatingSystem()) {
Expand All @@ -30,8 +29,6 @@ public static void install() {
LibC.setEnvironmentVariable("__GL_THREADED_OPTIMIZATIONS", "0");
}
}

LOGGER.info("... Successfully applied workarounds for the NVIDIA Graphics Driver!");
} catch (Throwable t) {
LOGGER.error("Failure while applying workarounds", t);

Expand Down

0 comments on commit 5e40060

Please sign in to comment.