You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Adam Honse 88a96cd0c2 Expire CI builds after 30 days 2 years ago
.gitlab/issue_templates Add issue templates (New Device, Feature Request, and Bug Report) 2 years ago
Controllers Use HID path for Location on Logitech mouse controllers 2 years ago
RGBController Add support for Sony DualShock 4 (manual merge of !160) 2 years ago
debian Increment version number post-release 2 years ago
dependencies Add support for Sony DualShock 4 (manual merge of !160) 2 years ago
i2c_smbus Clear port_ID just like the remaining items that are updated each loop. 2 years ago
i2c_tools Add i2c tool for reading multiple bytes from an SMBus device register 2 years ago
net_port Fixes for memory issues detected by valgrind 3 years ago
pci_ids Add MSI 1660 Super from Ant182 on discord 2 years ago
qt Disable buttons before enabling other buttons, so that window doesn't get resized 2 years ago
scripts Update Linux CI scripts to use temporary linuxdeploy path as the main release is broken 2 years ago
serial_port fix compilation on ppc 2 years ago
super_io Fixes for memory issues detected by valgrind 3 years ago
wmi Move i2c bus detectors to their respective files and add a detector macro for i2c busses so they can be detected asynchronously. Fix WMI and DMI info. 3 years ago
.gitignore Adding scripts and tooling to build an AppImage 3 years ago
.gitlab-ci.yml Expire CI builds after 30 days 2 years ago
.gitmodules Remove libe131 submodule and add necessary files to main repo. Fixes Gitlab automatic packaging issue 3 years ago
60-openrgb.rules Update Glorious (Sinowealth) driver (Merge request !155) 2 years ago
Detector.h Add detector names and display them in the progress bar 3 years ago
DeviceDetector.h Add detector names and display them in the progress bar 3 years ago
LICENSE Add LICENSE 4 years ago
NetworkClient.cpp Protect controller list updates with mutex 2 years ago
NetworkClient.h Protect controller list updates with mutex 2 years ago
NetworkProtocol.cpp Initial network files 3 years ago
NetworkProtocol.h Server sends a request to the client when the device list is updated 2 years ago
NetworkServer.cpp Fix Windows build 2 years ago
NetworkServer.h Server sends a request to the client when the device list is updated 2 years ago
OpenRGB.h Rename OpenAuraSDK.cpp to OpenRGB.cpp and remove old unused code 3 years ago
OpenRGB.patch Add timeouts to i2c-nct6775 driver and fix kernel segfault caused by byte access with no data 3 years ago
OpenRGB.pro Add SteelSeries Apex M750 support 2 years ago
ProfileManager.cpp Fix profile loading 2 years ago
ProfileManager.h Fix profile loading 2 years ago
README.md Add additional information from wiki homepage to README - Discord, Reddit, how-tos, donations, contributing history 2 years ago
ResourceManager.cpp Move Profile Manager to Resource Manager and rework size loading so that sizes are updated upon redetection 2 years ago
ResourceManager.h Move Profile Manager to Resource Manager and rework size loading so that sizes are updated upon redetection 2 years ago
cli.cpp Move network clients to Resource Manager 2 years ago
main.cpp Move Profile Manager to Resource Manager and rework size loading so that sizes are updated upon redetection 2 years ago

README.md

OpenRGB (formerly OpenAuraSDK)

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

See the Project Wiki for the current list of supported devices.

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: sudo apt install build-essential qtcreator qt5-default libusb-1.0-0-dev libhidapi-dev pkgconf
      • Fedora: sudo dnf install git make automake gcc gcc-c++ qt-creator qt5-devel hidapi-devel libusb-devel
    2. git clone https://gitlab.com/CalcProgrammer1/OpenRGB
    3. cd OpenRGB
    4. qmake OpenRGB.pro
    5. make -j8
  • 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.
  • 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

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

OpenRGB provides a network interface for controlling supported RGB devices from other software. These projects implement the OpenRGB SDK and provide additional ways for you to control your lighting setup.

Applications Supporting OpenRGB SDK

While OpenRGB itself only provides control over the lighting effects built into hardware, several open source applications can use the OpenRGB SDK to provide synchronized lighting effects for your devices.

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.