Skip to content

[MSIRGB] Inverted Colors on B450 Tomahawk Max

Hello everybody,

As described in the title, the colors of my mainboard LEDs are simply inverted.

I was able to "fix" that by applying the following patch on master, which just subtracts all R, G and B from 255 before applying them:

Patch
diff --git a/RGBController/RGBController_MSIRGB.cpp b/RGBController/RGBController_MSIRGB.cpp
index 2e096ad..e92ef6a 100644
--- a/RGBController/RGBController_MSIRGB.cpp
+++ b/RGBController/RGBController_MSIRGB.cpp
@@ -60,7 +60,7 @@ void RGBController_MSIRGB::UpdateLEDs()
     unsigned char grn   = RGBGetGValue(color);
     unsigned char blu   = RGBGetBValue(color);
 
-    msi->SetColor(red, grn, blu);
+    msi->SetColor(255-red, 255-grn, 255-blu);
 }
 
 void RGBController_MSIRGB::UpdateZoneLEDs(int /*zone*/)

However, I am pretty sure if this was a bug affecting all MSIRGB devices, somebody else would have already noticed, so maybe this could be an issue specific with my specific board model.

Is anybody else experiencing something similar? If not, what would be the correct way to address this without breaking the controller for the rest of the MSIRGB boards?