Code reference
DDC/CI codes on the Gigabyte AORUS FI32U
What Pantalla's author found while building it, published so other tools and other Gigabyte owners can use it. Own a different model? Run the decoding tools and share what you find.
Everything Pantalla’s author found out about this monitor’s DDC/CI features while building Pantalla: the standard MCCS codes it answers, its quirks, and the Gigabyte manufacturer codes behind the gaming and color features. Gigabyte doesn’t document these. Other Gigabyte / AORUS monitors built on the same Realtek scaler (M27Q, M32U, M28U, FI27Q, …) are likely to share most of them, but check before writing: see How to check your own monitor.
Tested with firmware 0.1 (VCP 0xC9), MCCS version 2.2, controller “Realtek” (0xC8 = 9),
over DisplayPort on Linux. Corrections and results from other models are welcome: open an issue
or a pull request.
Confidence: confirmed means the code was seen to change when the setting was changed in the monitor’s own menu and, where noted, a write was read back and seen on screen. Published means it comes from earlier reverse-engineering of Gigabyte’s OSD Sidekick (see NOTICE) and was seen answering here. Unknown codes answer but haven’t been tied to a setting yet.
How the manufacturer codes work
Gigabyte’s settings live behind VCP 0xE0 plus a sub-code byte. The frames are ordinary
DDC/CI Get/Set VCP messages with one extra code byte:
read Black Equalizer (E0 02): 51 83 01 E0 02 <chk>
reply: 6E 88 02 00 E0 02 <max hi> <max lo> <cur hi> <cur lo> <chk>
write Black Equalizer = 10: 51 85 03 E0 02 00 0A <chk>
- The checksum is the usual DDC/CI one: XOR of every byte, seeded with
0x6Efor host → monitor and0x50for monitor → host. - In the reply, the sub-code sits where a one-byte reply has its “type” byte, followed by the maximum and the current value, both 16-bit big-endian.
- ddcutil can’t send these (it only takes one-byte codes), and neither can Windows’ dxva2
Monitor Configuration API. On Linux they go over
/dev/i2c-Nlike any DDC/CI message. - Unsupported sub-codes: the monitor answers them with a copy of its previous reply, so a reply whose sub-code doesn’t match the request means “not supported”.
- Gigabyte’s OSD Sidekick sends the same frames over the monitor’s USB HID device (
0bda:1100, Realtek), wrapped in 192-byte HID reports; here they go over the video cable instead. - Sub-codes above
0x7Eare not answered. - Each picture mode keeps its own values: switching mode (
E0 2C) changes brightness, color and gaming values along with it.
Gigabyte codes: confirmed
| Code | Setting (menu name) | Values | Notes |
|---|---|---|---|
E0 02 | Black Equalizer | 0–20, default 10 | confirmed, write tested |
E0 03 | Color Temp. | 1 Normal, 2 Warm confirmed; 0 Cool and 3 User Define from gbmonctl’s M32U notes; max reported 4 | each temperature has its own E0 04–06 levels |
E0 04–06 | Color Temp. → User Define R / G / B | 0–100 | load with the color temperature; writing them may switch to User Define |
E0 07 | Gamma | 0 Off, 1 = 1.8 confirmed; 2–5 presumably 2.0, 2.2, 2.4, 2.6 | |
E0 08 | Color Vibrance | 0–20, default 10 | |
E0 09 | Overdrive | 0 Off, 1 Smart OD, 2 Picture Quality, 3 Balance, 4 Speed | names from the menu, in order |
E0 0A | Aim Stabilizer Sync | 0 off, 1 on | manual: unavailable below 100 Hz. With it on, brightness changes seemed not to apply (unconfirmed) |
E0 0B | Low Blue Light | 0–10, 0 = off | published, answers here |
E0 0D | Super Resolution | 0 off, 1–4 | |
E0 22 | Game Assist → AORUS Info → Refresh Rate overlay | 0 off, 1 on | confirmed (published) |
E0 23 | Game Assist → AORUS Info → Gaming Timer | 0 Off, 1 Count Up; 2 presumably Count Down | confirmed (published) |
E0 27 | Gaming timer running | 1 while counting | published as pause (0) / resume (1) |
E0 28 | Game Assist → AORUS Info → Gaming Counter | 0 off, 1 on | confirmed (published) |
E0 2C | Picture Mode | 0 Standard, 1 Arcade, 2 FPS, 3 RTS/RPG, 4 Movie, 5 Reader, 6 sRGB, 7 Custom 1, 8 Custom 2, 9 Custom 3 | write tested. The manual lists “VS mode” and “Green” instead; this firmware shows Arcade |
E0 31 | Picture → Advance Contrast | 0–2 | confirmed (0 → 1) |
E0 37 | Game Assist → Crosshair | 0 off, 1–4 styles | confirmed (published) |
E0 69 | KVM switch | write 1 = switch to USB-C, 0 = USB-B | confirmed by writing 1 from the USB-B (DisplayPort) computer: screen, keyboard and mouse moved to the USB-C computer. Reads 0 whichever port is active, so it can’t tell the current port. Ignored when sent by the computer the monitor isn’t showing, like input changes |
E0 73–7E | 6 axis Color: saturation, hue for R, G, B, then (presumably) C, M, Y | 0–100 as in the menu | saturation reads back doubled (menu 50 reads 100, menu 100 reads 200, although the reported maximum is 100) but is written in menu units |
Standard MCCS codes
What this monitor answers, from a full scan of 0x00–0xFF:
| Code | Feature | On the FI32U |
|---|---|---|
0x02 | New control value | raised by button presses and by DDC/CI writes; write 1 to clear |
0x04 / 0x05 / 0x08 | Restore factory defaults / brightness-contrast / color | |
0x0B | Color temperature increment | 100 (K per step) |
0x0C | Color temperature request | readable (45 → 3000 + 45 × 100 = 7500 K); writes are ignored, the temperature follows the preset |
0x10 | Brightness | 0–100 |
0x12 | Contrast | 0–100 |
0x14 | Color preset | 01 sRGB, 02 Native, 04 5000 K, 05 6500 K, 06 7500 K, 08 9300 K, 0B User |
0x16 / 0x18 / 0x1A | RGB gain | reports values ~120 with a maximum of 100: the real range is probably 0–255 |
0x6C / 0x6E / 0x70 | RGB black level | 0–100, writable |
0x60 | Input source | 0F DisplayPort confirmed; 10 is another computer’s input on the test setup (a Mac). The monitor ignores input changes sent by a computer it isn’t currently showing, so DDC/CI can switch away from the computer sending the request but not back to it; HDMI 1 11, HDMI 2 12, USB-C 1B are the usual values, unconfirmed. The capability string also lists VGA/DVI inputs the monitor doesn’t have |
0x62 | Audio volume | 0–100 |
0x86 | Display scaling = Gaming → Display Mode | 02 Full, 05 Aspect, both writable; every other value 01–10 is refused. 1:1 and the 22″–27″ sizes: values unknown |
0x87 | Sharpness | 0–10 |
0xAC / 0xAE | Horizontal / vertical frequency | 0xAE = 14450 → 144.50 Hz |
0xC8 | Display controller | 9 = Realtek |
0xC9 | Firmware level | 0.1 |
0xCA / 0xCC | OSD/button control, OSD language | advertised, untested |
0xD6 | Power mode | 04 standby |
0xDF | MCCS version | 2.2 |
0xE0 | (one-byte read) | ff ff 02 02: the gateway to the two-byte codes above |
Gigabyte codes that answer but aren’t identified
Range and value as read on a Custom 1 picture mode. Help welcome.
| Code | Max | Value | Guess |
|---|---|---|---|
E0 00 | 2 | 1 | |
E0 0C | 1 | 1 | |
E0 0E, E0 0F | 2 | 0 | |
E0 14 | 2 | 0 | |
E0 15 | 3 | 3 | |
E0 18 | 1 | 0 | |
E0 19 | 1 | 1 | |
E0 25 | 9960 | 0 | gaming timer start value (published as E0 26, minutes·100 + seconds) |
E0 29 | 100 | 0 | gaming counter value (published as E0 2A) |
E0 2B | 18 | 1 | published as the timer/info location; didn’t change when Info Location was changed |
E0 2D | 3 | 2 | |
E0 2E | 2 | 5 | value above its maximum |
E0 2F | 5 | 1 | went 1 → 0 when LED Indicator, OSD Display Time and OSD Transparency were changed together: one of those |
E0 30 | 30 | 15 | an OSD time or transparency? |
E0 32–35 | 7 | 8, 7, 7, 3 | |
E0 38 | 65535 | 17927 | |
E0 40–48 | 4 | 256, 1, 2, 4, 8, …, 128 | a bit table |
E0 50, E0 51 | — | — | longer status blocks (26 and 24 bytes) that include Black Equalizer, overdrive and more |
E0 53 | 4 | 0 | |
E0 5E | 65350 | 18739 | |
E0 64 | 99 | 0 | |
E0 67 | 4 | 0 | |
E0 68 | 1 | 12 | value above its maximum |
E0 6A | 1 | 1 | |
E0 6B | 3 | 0 | |
E0 6C | 3 | 3 | |
E0 6E | 1 | 0 | |
E0 70 | 3 | 0 | |
E0 71 | 3 | 1 | |
E0 72 | 1 | 1 |
Menu settings that didn’t move any code over DDC/CI (so far): Game Assist → Info Location, Game Assist → Display Alignment, and two of LED Indicator / OSD Display Time / OSD Transparency. Display Mode 1:1 is greyed out in the menu when the input is already at the native 3840×2160.
When a shared monitor comes back without a picture
With the FI32U connected to two computers, switching it to the other one and back can leave the first with “DisplayPort: no signal” although that computer still shows the monitor as connected and active (seen with an NVIDIA card on GNOME/Wayland). What was learned:
- Power-cycling the monitor didn’t help. Turning the computer’s display output off and on once, after the monitor is back on DisplayPort, did: it retrains the DisplayPort link.
- Doing that periodically while the monitor shows the other computer doesn’t help, and makes
things worse: with the monitor’s Input Auto Switch on, a switch back that finds no signal
jumps straight back to the other computer; and a monitor left without a signal for a few
seconds goes to standby (VCP
0xD6reads02; writing01wakes it). - While the monitor shows “no signal” on DisplayPort, VCP
0x60may still report the other input, so the input can’t be used to detect the switch back. - Choosing Display → Input → DisplayPort in the monitor’s menu (rather than its KVM switch) brought the picture back by itself in one test.
Pantalla’s Bring the picture back (Input page, tray menu, or pantalla --wake bound to a
keyboard shortcut) does the off/on once. By hand on GNOME:
busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig \
org.gnome.Mutter.DisplayConfig PowerSaveMode i 3
sleep 3
busctl --user set-property org.gnome.Mutter.DisplayConfig /org/gnome/Mutter/DisplayConfig \
org.gnome.Mutter.DisplayConfig PowerSaveMode i 0
How to check your own monitor
tools/ddc-decode/ has the scripts used here (Python 3, Linux, /dev/i2c-N access as for
ddcutil; find your bus with ddcutil detect):
python3 tools/ddc-decode/read.py 4 e0 02 # one read; prints the raw reply and whether it's valid
python3 tools/ddc-decode/state.py 4 before.json # read every E0xx code
# ...change one setting in the monitor's menu, close the menu...
python3 tools/ddc-decode/state.py 4 after.json before.json # what changed
state.py only reads (Get VCP). Close the monitor’s menu before scanning, and close Pantalla or
anything else talking DDC/CI, so replies don’t get mixed up. To confirm a code, write.py sets
one, but only write values the monitor itself reported: unknown codes may do anything.
This page mirrors docs/fi32u-ddc-codes.md in the Pantalla repository. Corrections are welcome there.