No description
Find a file
2022-05-22 18:23:46 -05:00
.github Create FUDING.yml for GitHub 2021-04-09 00:39:35 -05:00
.gitlab Update the bug report template 2022-04-20 16:38:23 +00:00
AutoStart Add FreeBSD support 2022-05-03 16:41:11 +00:00
Controllers Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it 2022-05-22 18:23:46 -05:00
debian Reverting workaround added in !688 to resolve #1654 2022-02-25 03:42:17 +00:00
dependencies Replace curl with httplib 2022-05-04 05:39:09 +00:00
fedora Automatic generation of udev rules for supported devices 2022-04-17 12:31:02 +10:00
i2c_smbus Unbreak macOS build 2022-05-04 04:32:24 +00: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 Fix segfault when destructing udp_client 2022-04-05 10:26:00 -07:00
pci_ids Correct Subvendor ID for EVGA RTX3070 TI XC3 Ultra 2022-05-20 13:41:03 -07:00
qt Adding greyscale OpenRGB lightbulb as the tray icon to resolve #2453 2022-05-20 23:29:07 +10:00
RGBController Automatic generation of udev rules for supported devices 2022-04-17 12:31:02 +10:00
scripts Adding DUMMY_DEVICE_DETECTORS to supplement dynamic UDEV rules 2022-05-08 19:37:57 +00:00
serial_port Add support for BlinkyTape LED controllers 2021-07-16 20:07:26 -05:00
super_io Switched InpOut32 with WinRing0 2022-01-24 04:15:06 +00:00
wmi Attempt to fix Qt file dialog issue in Windows 2021-10-01 14:48:27 -05:00
.editorconfig Inital commit to .editorconfig file 2022-03-14 03:34:18 +00:00
.gitignore Update .gitignore to ignore the auto generated 60-openrgb.rules file 2022-05-16 17:01:24 +00:00
.gitlab-ci.yml Add Nanoleaf support 2022-05-04 05:39:09 +00:00
cli.cpp cli: Validate hex color length 2022-04-04 17:56:34 +02:00
Colors.h Add Electric Ultramarine color 2022-01-16 01:26:41 +00:00
CONTRIBUTING.md Update contributing guide formatting, link to the contributing guide in the readme 2022-03-13 13:35:47 -05:00
Detector.h Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it 2022-05-22 18:23:46 -05:00
DeviceDetector.h Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it 2022-05-22 18:23:46 -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 Add LL_DIALOG log level, which can trigger the GUI to show a message box containing the log message 2021-11-07 12:28:59 -06:00
LogManager.h Fix GPU print messages to use capital letters 2021-12-05 06:08:37 +00:00
main.cpp Hide dock icon on minimize macOS 2022-04-28 05:20:37 +00:00
NetworkClient.cpp Fix profile packets in SDK client not including the null terminator for the strings 2021-09-19 22:44:34 -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 ViewSonic Elite XG270QG 2022-05-04 21:48:58 -05:00
OpenRGBPluginInterface.h Update plugin API to version 2, add unregister functions for all ResourceManager callbacks 2021-12-29 22:50:00 -06:00
PluginManager.cpp Always overwrite file when updating plugins, add additional logging to plugin management 2022-04-01 17:55:26 -05:00
PluginManager.h Migrate from QSS to QPalette 2022-02-13 11:42:15 +01:00
ProfileManager.cpp Attempt to fix https://gitlab.com/CalcProgrammer1/OpenRGB/-/issues/1820 by moving return statement 2021-11-04 19:38:23 -05:00
ProfileManager.h Fixing profile loading #1135 2021-02-26 08:17:44 -06:00
README.md Add Nanoleaf support 2022-05-04 05:39:09 +00:00
ResourceManager.cpp Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it 2022-05-22 18:23:46 -05:00
ResourceManager.h Add I2C PCI detector type for registering GPU detectors, update Gigabyte RGB Fusion GPU controller to use it 2022-05-22 18:23:46 -05:00
SettingsManager.cpp Add error logs for non logged exceptions 2022-02-28 22:08:41 +00:00
SettingsManager.h Initial commit for Plugins 2021-01-05 20:07:13 -06:00

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 Mystic Light motherboard code bricked the RGB controller of some MSI motherboards. The code was disabled and reworked. We have been re-adding these motherboards to the support list as we verify that the new code works with them. Affected boards can be unbricked with a Nuvoton Nu-Link adapter.
  • 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.

OpenRGB_Device_View

Windows

  • You will need the Microsoft Visual 2019 C++ runtime installed. You can get it here
  • Pre-built Release binaries are available for Windows 10 / 11 64bit under the Releases section on GitLab.
  • If you want to test the latest (potentially unstable) code you can also get the Windows package from the pipeline builds.
Compiling
  • To build the application yourself on Windows:
    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.

SMBus Access

  • You must run the application as Administrator the first time to allow WinRing0 to set up. It can be run as a normal user afterwards
  • Early versions of OpenRGB used InpOut32. This is no longer needed and should be removed to avoid warnings by some anti-cheat software. You can uninstall Inpout32 by following the instructions here.

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

Arch
Binaries
Debian / Ubuntu
Binaries
  • OpenRGB builds an official Debian package for Bullseye and Ubuntu 21.04 onwards for both the 64bit release and pipeline builds
  • There is also a legacy package for Debian 64bit Buster and it's derivatives (Ubuntu prior to 21.04) with release and pipeline builds
Compiling
  1. Install build dependencies
    • 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
  2. git clone https://gitlab.com/CalcProgrammer1/OpenRGB
  3. cd OpenRGB
  4. qmake OpenRGB.pro
  5. make -j$(nproc)
  6. You can then run the application from the compile directory with ./openrgb or install with make install
  7. You will also need to install the latest UDEV rules.
Packaging
  • You can also build a Debian package (.deb) from this source code with dpkg-buildpackage -us -B
    • Building a Debian package requires debhelper to be installed: sudo apt install debhelper
Fedora
Binaries
  • OpenRGB builds an official Fedora 35 and 36 package for both the release and pipeline builds
Compiling
  1. Install build dependencies
    • 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-qt5 OpenRGB.pro
  5. make -j$(nproc)
  6. You can then run the application from the compile directory with ./openrgb or install with make install
  7. You will also need to install the latest UDEV rules.

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 a secondary SMBus interface and requires a Linux kernel > 5.7 commit

  • 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 kernel patch)
    AMD
    • sudo 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.

  • 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. If you have not installed OpenRGB from a package (e.g. deb, RPM or from the AUR) then most likely you need to install the UDEV rules.
  • The i2c-nct6775 kernel module requires patching, please refer to instructions here

  • Some Gigabyte/Aorus motherboards have an ACPI conflict with the SMBus controller. Please add a kernel parameter to resolve this conflict.

USB Access

  • USB devices require udev rules to access as a normal user.
  • Alternatively you can run OpenRGB as root to detect all USB devices. (Not recommended)
  • USB based Gigabyte AORUS motherboards may also have an ACPI conflict. Please add a kernel parameter to resolve this conflict.

Installing UDEV rules manually

  • If you have installed OpenRGB from a package then latest UDEV rules are installed locally at /usr/lib/udev/rules.d/60-openrgb.rules
  • Flatpak and Appimage "packages" will need to install this file manually.
  • Udev rules are built from the source at compile time. When building locally they are installed with the make install step to /usr/lib/udev/rules.d/60-openrgb.rules
  • If you need to install the UDEV rules file manually you can also download the latest compiled udev rules from Gitlab.
    • Copy this 60-openrgb.rules file to /usr/lib/udev/rules.d/
    • Then reload rules with sudo udevadm control --reload-rules && sudo udevadm trigger

Kernel Parameters

  • To resolve an ACPI conflict add the acpi_enforce_resources=lax kernel parameter.

  • 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
    Arch
    • Please see the Arch wiki for details on how to update your bootloader.
    Debian / Ubuntu
    Fedora
    • On Fedora, install grubby and then following command: grubby --update-kernel=ALL --args="acpi_enforce_resources=lax"
    • For more information please refer to the Fedora docs for grubby.

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 mbedtls@2
      • 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.
  • Want to create a new OpenRGB SDK client implementation? Check out the OpenRGB SDK Documentation page for documentation of how the OpenRGB SDK network protocol functions.
  • Please read the Contributing Guidelines before starting work on your new changes.

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.