No description
Find a file
2021-08-30 02:56:57 +00:00
.github Create FUDING.yml for GitHub 2021-04-09 00:39:35 -05:00
.gitlab/issue_templates Quick formatting change to correct upstream issue and refresh issue 2021-02-20 22:13:29 +11:00
AutoStart Add MacOS autostart support 2021-07-02 01:23:50 -05:00
Controllers Add ASUS ROG STRIX RTX 2060S O8G Gaming 8G ID 2021-08-29 11:28:31 -07:00
debian disable LTO for debian package builds 2021-07-28 20:16:32 +00:00
dependencies Updating libcmmk to call hid_write() with prepended 0x00 resolving #1673 2021-08-23 00:58:33 +00:00
fedora Disable lto build (fedora) 2021-07-28 20:15:48 +00:00
i2c_smbus Add formated loging for device detection 2021-07-05 03:23:34 -05:00
i2c_tools Add i2c tool for reading multiple bytes from an SMBus device register 2020-08-27 19:12:37 -05:00
net_port QMK Improvements - make LEDs per update configurable 2021-06-25 23:02:38 -05:00
pci_ids Add ASUS ROG STRIX RTX 2060S O8G Gaming 8G ID 2021-08-29 11:28:31 -07:00
qt More plugin updates, enum for location 2021-08-30 02:56:57 +00:00
RGBController Fix frames skip when using external effects engine 2021-07-07 16:56:02 -05:00
scripts Adding test stages to Linux builds 2021-05-31 23:32:09 -05:00
serial_port Add support for BlinkyTape LED controllers 2021-07-16 20:07:26 -05:00
super_io Fixes for memory issues detected by valgrind 2020-08-12 23:48:03 -05:00
wmi Use consistent concurrency model with CoInitializeEx 2021-06-30 13:40:29 +00:00
.gitignore Add lower case openrgb executable name to .gitignore 2020-12-05 03:07:55 -06:00
.gitlab-ci.yml Fix CI for Philips Hue changes 2021-06-05 03:18:12 +00:00
.gitmodules Continued the work started by !62 with respect to adding support for Cooler Master keyboards using the libcmmk library. 2021-04-30 01:42:49 +00:00
60-openrgb.rules Updating libcmmk to call hid_write() with prepended 0x00 resolving #1673 2021-08-23 00:58:33 +00:00
cli.cpp Add formated loging for device detection 2021-07-05 03:23:34 -05:00
Detector.h Make detectors for QMK OpenRGB controller configurable 2021-05-31 18:35:07 -05:00
DeviceDetector.h Implement dynamic detectors - run-once functions that can register detectors dynamically 2021-05-31 13:55:22 -05:00
filesystem.h Adding test stages to Linux builds 2021-05-31 23:32:09 -05:00
LICENSE Add LICENSE 2019-01-29 03:26:51 +00:00
LogManager.cpp Using <chrono> to measure time in the LogManager 2021-07-21 00:52:01 +00:00
LogManager.h Using <chrono> to measure time in the LogManager 2021-07-21 00:52:01 +00:00
main.cpp Add formated loging for device detection 2021-07-05 03:23:34 -05:00
NetworkClient.cpp Add saving support to network protocol 2021-07-04 21:17:55 -05:00
NetworkClient.h Add saving support to network protocol 2021-07-04 21:17:55 -05:00
NetworkProtocol.cpp Initial network files 2020-05-09 15:48:12 -05:00
NetworkProtocol.h Add saving support to network protocol 2021-07-04 21:17:55 -05:00
NetworkServer.cpp Add formated loging for device detection 2021-07-05 03:23:34 -05:00
NetworkServer.h Autoclose updated 2021-05-24 22:45:24 -05:00
OpenRGB.h Rename OpenAuraSDK.cpp to OpenRGB.cpp and remove old unused code 2019-12-28 15:24:40 -06:00
OpenRGB.patch Add timeouts to i2c-nct6775 driver and fix kernel segfault caused by byte access with no data 2020-03-23 23:22:25 -05:00
OpenRGB.pro Add Plugins tab to settings for installing, enabling, disabling, and removing plugins 2021-08-25 02:44:53 +00:00
OpenRGBPluginInterface.h More plugin updates, enum for location 2021-08-30 02:56:57 +00:00
PluginManager.cpp More plugin updates, enum for location 2021-08-30 02:56:57 +00:00
PluginManager.h Code cleanup, only allow one registered callback in PluginManager and PluginPage 2021-08-30 02:56:57 +00:00
ProfileManager.cpp Add formated loging for device detection 2021-07-05 03:23:34 -05:00
ProfileManager.h Fixing profile loading #1135 2021-02-26 08:17:44 -06:00
README.md added OpenRGB-cppSDK to the list of existing SDKs 2021-07-25 08:05:25 +00:00
ResourceManager.cpp Make sure to load the zones sizes. Fixes #1602 2021-07-06 10:16:35 +02:00
ResourceManager.h Implement dynamic detectors - run-once functions that can register detectors dynamically 2021-05-31 13:55:22 -05:00
SettingsManager.cpp SettingsManager: Catch exception with constant reference parameter. 2021-03-09 04:31:21 +00:00
SettingsManager.h Initial commit for Plugins 2021-01-05 20:07:13 -06:00

OpenRGB

Visitors Pipeline Status

Visit our website at https://openrgb.org!

One of the biggest complaints about RGB is the software ecosystem surrounding it. Every manufacturer has their own app, their own brand, their own style. If you want to mix and match devices, you end up with a ton of conflicting, functionally identical apps competing for your background resources. On top of that, these apps are proprietary and Windows-only. Some even require online accounts. What if there was a way to control all of your RGB devices from a single app, on both Windows and Linux, without any nonsense? That is what OpenRGB sets out to achieve. One app to rule them all.

Features

  • Set colors and select effect modes for a wide variety of RGB hardware
  • Save and load profiles
  • Control lighting from third party software using the OpenRGB SDK
  • Command line interface
  • Connect multiple instances of OpenRGB to synchronize lighting across multiple PCs
  • Can operate standalone or in a client/headless server configuration
  • View device information
  • No official/manufacturer software required
  • Graphical view of device LEDs makes creating custom patterns easy

Supported Devices

Configuration

WARNING!

This project interacts directly with hardware using reverse engineered protocols. While we do our best to make sure we're sending the right data, there is always some risk in sending data to hardware when we don't understand exactly how that hardware works.

There have been two instances of hardware damage in OpenRGB's development and we've taken precautions to prevent it from happening again.

  • The MSI Mystic Light code reportedly bricked the RGB on certain MSI boards when sending certain modes. This code has been disabled and MSI Mystic Light motherboards will not work with OpenRGB at this time.
  • There were reports of bricked Gigabyte Aorus Z390 motherboards caused by dumping SMBus address 0x68 in an attempt to reverse engineer the RGB. Due to this, the SMBus Tools page on OpenRGB is hidden by default now as it has no real use to non-developers.
  • To enable the MSI Mystic Light code, you must uncomment the detection macro in the Mystic Light controller detection code and recompile.

OpenRGB_Device_View

Windows

  • Pre-built binaries are available under the Releases section on GitLab. - You will need the Microsoft Visual 2019 C++ runtime installed. You can get it here
  • If you wish to build the application yourself:
    1. Download the latest Visual Studio Community Edition and Qt Creator.
    2. Open the OpenRGB.pro project in Qt Creator.
    3. Use the MSVC compiler kit, either 32- or 64-bit, to build the application.
    4. Run the project from Qt Creator. If you want to use your custom build standalone, download the latest matching Release package and replace the OpenRGB.exe in it with your new build.
  • You must run the application as Administrator the first time to allow InpOut32 to set up. It can be run as a normal user afterwards

USB Access

  • Early versions of OpenRGB used the WinUSB driver, installed using Zadig. This is no longer required, and you need to uninstall the WinUSB driver if you previously installed it. You can uninstall the WinUSB driver by following this guide.

Linux

  • Pre-built binaries in AppImage format are available under the Releases section on GitLab.
  • You can build the project using Qt Creator or on the command line.
    1. Install build dependencies
      • Debian/Ubuntu: sudo apt install git build-essential qtcreator qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libusb-1.0-0-dev libhidapi-dev pkgconf libmbedtls-dev
      • Debian (before bullseye) or Ubuntu (before 21.04): sudo apt install git build-essential qtcreator qt5-default libusb-1.0-0-dev libhidapi-dev pkgconf libmbedtls-dev
      • Fedora: sudo dnf install automake gcc-c++ qt5-qtbase-devel hidapi-devel libusbx-devel mbedtls-devel
    2. git clone https://gitlab.com/CalcProgrammer1/OpenRGB
    3. cd OpenRGB
    4. qmake OpenRGB.pro
      • On Fedora, replace qmake with qmake-qt5
    5. make -j$(nproc)
  • Run the application with ./openrgb
  • You can also build a Debian package (.deb) from this source code with dpkg-buildpackage -us -B

SMBus Access

  • SMBus access is necessary for controlling RGB RAM and certain motherboard on-board LEDs.
  • If you are not trying to use OpenRGB to control RGB RAM or motherboard LEDs, you may skip this section.
  • ASUS and ASRock motherboards have their RGB controller on an SMBus interface that is not accessible by an unmodified Linux kernel (for now). I am working on getting patches submitted upstream, but for now you must patch your kernel with the provided OpenRGB.patch file.
  • Allowing access to SMBus:
    1. Load the i2c-dev module: sudo modprobe i2c-dev
    2. Load the i2c driver for your chipset:
      • Intel:
        • sudo modprobe i2c-i801
        • sudo modprobe i2c-nct6775 - Secondary controller for motherboard LEDs (requires patch)
      • AMD:
        • modprobe i2c-piix4
        • Unmodified kernel will have one interface, patched kernel will have two. The first at 0x0B00 and the second at 0x0B20. The 0x0B20 interface is for motherboard LEDs.
  • Instructions on patching the kernel:
  • Some Gigabyte/Aorus motherboards have an ACPI conflict with the SMBus controller.
    • Add acpi_enforce_resources=lax to your kernel command line and reboot. The controller should now show up.
      • On Fedora, install grubby and then execute this.
      grubby --update-kernel=ALL --args="acpi_enforce_resources=lax"
      
      • If you want to check if the kernel was loaded with this option you can execute this command from the terminal once you've rebooted.
        cat /proc/cmdline
      
  • You'll have to enable user access to your SMBus if you don't run as root.
    • List all SMBus controllers: sudo i2cdetect -l
    • Note the number for PIIX4, I801, and NCT6775 controllers.
    • Give user access to those controllers, for instance: sudo chmod 777 /dev/i2c-0

USB Access

  • USB devices require udev rules to access as a normal user.
  • You can run OpenRGB as root to detect all USB devices.
  • Udev rules are included in this repo:
    • Copy the 60-openrgb.rules file to /etc/udev/rules.d/
    • Reload rules with sudo udevadm control --reload-rules && sudo udevadm trigger

MacOS

  • Pre-built binaries in zipped application package format are available under the Releases section on GitLab.
  • You can build the project using Qt Creator or on the command line.
    1. Install build dependencies with Homebrew
      • Install Homebrew by following the instructions at https://brew.sh/
      • brew install git qt5 hidapi libusb
      • brew link qt5
    2. Create a local certificate called OpenRGB with code signing capability
    3. git clone https://gitlab.com/CalcProgrammer1/OpenRGB
    4. cd OpenRGB
    5. qmake OpenRGB.pro
    6. make -j8
    7. macdeployqt OpenRGB.app -codesign=OpenRGB
    8. Copy the OpenRGB.app application package to Applications

SMBus Access

  • SMBus/I2C devices are currently not supported on MacOS.

USB Access

  • USB devices may require the Input Monitoring permission. You can add OpenRGB in System Preferences > Security & Privacy > Privacy.

Join Our Discord

Visit Our Subreddit

How-Tos and FAQs

Support OpenRGB

  • OpenRGB is a project I created to solve a problem I had with the RGB ecosystem. My goal isn't to make money off of this project. That said, people have requested to donate, and donations allow me to buy more RGB stuff to reverse engineer.
  • Donate via PayPal
  • Become a Patron (I'm not doing any Patreon-exclusive content, it's purely for donation)
  • Donate via Bitcoin: 1N83YPu7btXYadPS1neB9zX7X1QTdpyZQ

History of OpenRGB

  • OpenRGB is a continuation of OpenAuraSDK, which itself was created out of reverse engineering work done on the Keyboard Visualizer project. For a complete history of the RGB projects that led to OpenRGB's creation, see the History page.

Contributing

  • Want to contribute support for a new device? Check out the RGBController API page for documentation of how OpenRGB implements device control.

OpenRGB SDK

Applications Supporting OpenRGB SDK

OpenRGB Plugins

Projects Used

Projects Researched

While no code from these projects directly made its way into OpenRGB, these projects have been invaluable resources for protocol information.