Unofficial Linux support for the AVerMedia Live Gamer DUO GC570D
(1461:0054, subsystem 1461:5700). The project exposes both HDMI inputs to
Video4Linux2 and ALSA, initializes HDMI IN 1 passthrough, performs the tested
HDR-to-SDR/downscale capture path, and exposes the enclosure lighting through
the standard Linux multicolor LED class. A supplied WirePlumber policy
publishes both ALSA inputs through PipeWire and its PulseAudio-compatible API
for desktop applications.
This is experimental software for one exact PCI subsystem. It is not an
official AVerMedia project and is not endorsed by AVerMedia. Read
NOTICE.md and docs/REVERSE_ENGINEERING.md
before redistributing it.
Fork note: this repo has a fork maintained by @eliseohh, forked from neoyagami/OpenGC570D. The driver source is upstream's and unchanged; the only addition is the verified CachyOS/Arch build note under Verified configurations. Upstream remains the canonical project.
The GC570D had no Linux driver that provided the functions I needed. This capture card was one of the last pieces of hardware keeping me tied to Windows: passthrough, two capture inputs, their audio and the enclosure lighting were all part of my normal use. I did not want to replace the card; I wanted to understand the hardware I own and make it useful on Linux.
Ghidra and AI agents were used as engineering tools to study the behavior of the official Windows driver and reimplement the required hardware operations through Linux PCI, V4L2, ALSA and LED interfaces. Research priorities, hypotheses, hardware trials and publication decisions were determined through direct human review rather than delegated to the tools. The goal is learning and interoperability, and the personal result is simple: this card no longer requires Windows, so I can finally leave Windows behind.
A personal note: this repository is an experiment born partly out of desperation. I began without prior expertise in kernel drivers, HDMI state machines or capture DMA, and I could not have brought the project this far without AI assistance. The development was collaborative, but its direction, physical hardware work, evaluation of results and publication remained under my control. AI agents were powerful engineering tools in that process, alongside Ghidra and careful one-test-at-a-time hardware work.
Validated on the project hardware:
| Function | Working behavior |
|---|---|
| HDMI IN 1 passthrough | 3840x2160p60 SDR and HDR; 2560x1440p60 SDR and HDR; 2560x1440p120 HDR |
| HDMI IN 1 high-resolution capture | 2160p60 SDR/HDR, 1440p60 SDR/HDR and measured 1440p120 HDR input converted to 1920x1080 YUYV SDR at 60 fps |
| HDMI IN 1 native and hardware-scaled capture | 1080p60 and 1080i60 SDR/HDR, plus 1024x768, 1280x720p60 SDR and 720x480p59.94/60 (or 640x480p60) SDR inputs captured at their native YUYV geometry; 1280x720p60 SDR/HDR is also physically validated hardware-scaled by VIP0 to 1920x1080p60 SDR. HDR inputs are tone mapped to SDR, 1080i is reported as V4L2_FIELD_INTERLACED, and 720x480 is displayed at its intended 4:3 aspect ratio |
| HDMI IN 2 capture | Discrete YUYV sizes from 640x480 to 1920x1080, captured natively from 1080p/1080i/720p/480p/1024x768 sources or hardware-scaled to the active V4L2 geometry through the VIP1 hardware scaler; cadence follows the source instead of the output size, so 50 Hz sources report 50 fps and 60 Hz sources report 60 fps |
| HDMI IN 1 audio | HDMI 1 (Passthrough), ALSA capture device 1, stereo S16_LE at 48 kHz. Stereo and 5.1 LPCM cold starts, the complete 5.1 speaker map on HDMI OUT, front-left/right ALSA capture during 5.1 passthrough, live 2.0/5.1 transitions and same-stream hotplug recovery are physically validated. The vendor bridge EDID also advertises 7.1 LPCM, which is implemented but not yet physically validated |
| HDMI IN 2 audio | HDMI 2 (Capture Only), ALSA capture device 0, stereo S16_LE at 48 kHz; direct ALSA and PipeWire validated, including capture with its V4L2 stream active and the default managed ALSA buffer |
| Concurrent operation | Both V4L2 streams and both audio inputs active together through the tested ALSA/PipeWire path |
| Hot-plug and disconnected inputs | Both V4L2 nodes concurrently supply the built-in generic no-signal frame at 1920x1080 YUYV/60 fps without video DMA; HDMI IN 1 and HDMI IN 2 each physically passed a complete live-to-placeholder-to-live cycle on the same open V4L2 stream, including HDMI IN 1 video and audio recovery while HDMI IN 2 remained active |
| System suspend (S3/deep) | When idle, the driver quiesces the card and reinitializes the HDMI receivers, EDID/HPD handling and RGB controller after resume. HDMI IN 2 capture recovery was physically validated without reloading the module. An active V4L2 or prepared ALSA capture deliberately prevents system sleep with -EBUSY; active V4L2 blocking was physically validated |
| RGB enclosure | Standard gc570d:rgb:status multicolor LED, fixed RGB, single-color breathing and red/yellow/green/cyan/blue/magenta/white breathing cycle |
The 720x480 mode stores a 3:2 raster but represents 4:3 video through its
non-square pixel aspect ratio. VIDIOC_G_FMT describes the configured capture
buffers, not the detected input geometry: use VIDIOC_S_FMT with the source
resolution to capture a sub-1080p HDMI IN 1 signal natively. Selecting
1920x1080 for a 1280x720p60 SDR or HDR HDMI IN 1 source uses the VIP0 hardware
scaler and has also been physically validated. HDR input is tone mapped to the
SDR capture output. The driver does not report input geometry through
VIDIOC_G_FMT.
VIDIOC_G_PARM and VIDIOC_ENUM_FRAMEINTERVALS report the source cadence for
the active input, independent of the chosen capture size; spatial VIP0/VIP1
scaling does not convert frame rate. HDMI IN 1 normalizes measured receiver
timing to the 24/25/30/50/60 Hz families with a ±3 Hz tolerance, so a nominal
60 Hz source is reported as 60 fps even when integer timing arithmetic measures
57–59 Hz, and caps higher-rate inputs at 60 fps. HDMI IN 2 decodes the CEA AVI
VIC when the source provides one. The reported colorspace, YCbCr encoding,
quantization, and transfer function describe the packed capture buffer rather
than the HDMI source: HDR is tone mapped to SDR and source YCbCr is converted
before the DMA output, so HD sizes report BT.709 limited range and SD sizes
report BT.601 limited range. Testing also confirmed that only one client should
negotiate the format of a V4L2 input at a time: multiple capture or PipeWire
sources opened on the same input can request competing resolutions.
Recovered but not yet fully validated: the remaining 1080p-or-lower input
matrix, including 720x576/576p50 until a physical 50 Hz source is tested, every
source/monitor combination, VRR, and all advertised refresh rates. 1080i uses
the recovered hardware field handling: HDMI IN 1 exports both fields as
V4L2_FIELD_INTERLACED, while HDMI IN 2 reconstructs a progressive frame.
HDCP-protected content is unsupported. Capture output is SDR, capped at 60 fps,
and no larger than 1920x1080.
The next development stages focus on GC570D-specific hardware-control gaps between the recovered Windows behavior and the Linux driver. They do not aim to reproduce Windows APIs or move frame processing into userspace.
- Recover the complete per-display output decision instead of always using original/bypass mode.
- Use the splitter hardware for colour-space conversion, chroma conversion and supported downscaling when the source and HDMI OUT display differ.
- Reproduce the Windows deep-colour decisions, including conversion from 10/12-bit input to 8-bit output when required by the display.
- Suppress HDR packets when the connected display does not advertise a compatible EOTF, and handle HDMI and DVI sinks separately.
- Keep this path hardware-only; CPU or userspace frame scaling is outside the project design.
- Preserve the existing
preserveandrenegotiatepolicies and their documented capture-continuity trade-off. - Recover and validate the remaining Windows splitter work modes: composed capabilities, default 4K, default 2K and local mode.
- Make the selected negotiation policy an explicit startup configuration, with deliberate HPD pulses only for policies that permit source renegotiation.
- Expand testing across multi-block EDIDs, DVI displays and source/monitor combinations whose supported modes do not match.
- Port the remaining bounded SCDC channel-error monitoring and long-term signal/SCDT watchdog behavior.
- Add the corresponding staged recovery actions: retry, transmitter reset, HPD renegotiation and board-path reset only when earlier recovery levels fail.
- Preserve active capture whenever the selected policy permits it and avoid broad resets that disturb the other HDMI input.
- Track the DRM HDR, AVI and relevant vendor-specific InfoFrames rather than relying only on the current AVI BT.2020 heuristic.
- Distinguish HDR10, HLG and BT.2020 SDR before selecting receiver CSC and Xilinx HDR-to-SDR processing.
- Add a controlled HDR-to-SDR maximum-luminance setting while retaining the recovered 3000-nit curve as the default.
- Validate mid-stream HDR/SDR and colour-depth transitions without requiring a physical reconnect.
- Complete physical validation of 7.1-channel 48 kHz LPCM passthrough.
- Determine, independently of the ALSA capture interface, which compressed, HBR and DSD audio packets the splitter can forward transparently.
- Extend receiver control only where the official GC570D path and hardware tests demonstrate a supported behavior.
- Add selected recovered Windows lighting modes and frequency controls when they can be represented without weakening the standard multicolor LED interface.
- Consider persistent driver-load lighting configuration; application-open behavior remains optional because Linux applications do not share the Windows private control protocol.
- Firmware flashing and FPGA update tooling remain Windows/vendor-specific maintenance operations and are not planned for this Linux driver.
- HDCP authentication and protected-content capture remain unsupported and are not a project goal.
- ALSA and V4L2 API expansion is outside this Windows-hardware-parity roadmap; fixes required for the already supported interfaces remain in scope.
- VRR, ALLM, CEC and other optional HDMI features will not be claimed or implemented until the GC570D Windows path and physical hardware support are demonstrated.
- The validated shared INTx transport remains the default. MSI will only be reconsidered if the card's zero-status interrupt storm can be explained and eliminated without reducing reliability.
Each stage is developed through dev, reviewed against recovered behavior,
and physically tested on the card before promotion to main. Hardware changes
continue to use small, reversible, one-test-at-a-time iterations.
Independent reproductions of the driver on other distributions:
| Distribution | Kernel | Compiler | Secure Boot | Result |
|---|---|---|---|---|
| CachyOS (Arch-based) | 7.2.2-1-cachyos (clang-built) |
clang 22.1.8 | disabled | 1461:0054/1461:5700 binds; HDMI IN 2 capture, both ALSA capture devices and the RGB LED verified |
Build note for clang-built kernels: these kernels pass clang-only flags
(-mstack-alignment=8, -mretpoline-external-thunk, ...) that GCC rejects.
The Makefile reads the target kernel's include/config/auto.conf and selects
the LLVM toolchain automatically when CONFIG_CC_IS_CLANG=y, so plain make
works; make LLVM=1 still forces it explicitly:
make # auto-selects LLVM on clang-built kernels
sudo ./scripts/gc570d-load.shThe current development and hardware validation environment is Bazzite 44. Testing help is especially welcome on other Linux distributions, kernel versions, desktop audio stacks, HDMI sources and displays. Successful results are as useful as failures because they help distinguish driver problems from distribution-specific installation or integration issues.
Please include the distribution and version, uname -r, compiler, PCI
subsystem ID, installation method, Secure Boot state, source/display mode and
the V4L2 or ALSA behavior observed. See CONTRIBUTING.md
for the complete test-report checklist.
Development work is integrated through the dev branch before promotion to
the stable main branch. Feature and driver-fix pull requests should normally
target dev; see the
Branch and validation workflow
for the review, hardware-testing and release process.
Each source, script, and integration file starts with an SPDX
GPL-2.0-only identifier and a short description of its responsibility.
| Path | Responsibility |
|---|---|
src/gc570d-main.c |
PCI probe/removal, system suspend/resume, module parameters, lifetime, and subsystem coordination |
src/gc570d-hw.c |
Interrupts, bridge/Xilinx access, and common hardware diagnostics |
src/gc570d-i2c.c |
Transactions through the card's internal I2C controllers |
src/gc570d-receiver.c |
HDMI receiver setup, signal detection, EDID, and color conversion |
src/gc570d-splitter.c |
HDMI passthrough, HPD, EDID, TMDS/SCDC, and output state machine |
src/gc570d-dma.c |
Video DMA descriptors, VIP/scaler setup, and diagnostic capture |
src/gc570d-video.c |
V4L2 devices, videobuf2 queues, formats, and streaming |
src/gc570d-audio.c |
ALSA PCM devices and audio DMA |
src/gc570d-led.c |
Multicolor LED-class device and enclosure effects |
src/gc570d.h |
Shared registers, constants, state, and subsystem declarations |
assets/ |
Editable project artwork, including the replaceable 640x360 no-signal frame |
data/ |
Generated/static data embedded by the driver: HDR LUT and YUYV no-signal frame |
scripts/ |
Build-tree loading, installation, audio setup, status, and release checks |
packaging/ |
Fedora AKMOD/RPM specifications and Universal Blue integration proposal |
config/ |
systemd autoload and system-wide WirePlumber policy |
Packaging and maintenance information:
MAINTAINERS.mdidentifies the maintained hardware and project responsibilities.SECURITY.mddescribes security-sensitive reporting.docs/PACKAGING.mddefines the intended distribution package boundary and module-signing order.docs/DATA_PROVENANCE.mdinventories embedded functional and project-authored data for distributor review.
- A Linux kernel with headers/build files for the running kernel.
- GCC, make, binutils and the normal external-module toolchain.
- V4L2, videobuf2, ALSA and multicolor LED kernel support.
v4l2-ctlfor command-line video tests andalsa-utilsforarecord.- PipeWire, WirePlumber and
pactlfor the tested desktop audio path. - Secure Boot disabled, or a locally signed module enrolled by the owner.
Do not bind the card to a virtual machine or vfio-pci while loading this
driver.
Build for the running kernel:
makeFrom the checkout, load the module. HDMI IN 2 becomes available immediately; HDMI IN 1 and passthrough initialize automatically in the background when the source and HDMI OUT display are connected and powered:
sudo ./scripts/gc570d-load.shThe complete automatic negotiation normally takes about ten seconds. The module keeps retrying while it waits for the HDMI equipment.
For the most reliable HDMI IN 1 passthrough resolution negotiation, connect and power the monitor or TV on HDMI OUT first, then connect or power the source on HDMI IN 1. This lets the source read the downstream display capabilities during its initial HDMI/EDID negotiation. If the source was connected first and selected an unsuitable mode, reconnect or restart the source after the HDMI OUT display is ready.
Publish both ALSA inputs through WirePlumber, PipeWire and the
PulseAudio-compatible API. Run this as the desktop user, not with sudo:
./scripts/setup-pipewire.shInspect the result:
sudo ./scripts/status.shDetailed installation, capture, audio and RGB instructions are in
docs/INSTALL.md and docs/USAGE.md.
The no-signal image can be replaced before compilation; see
docs/INSTALL.md.
On a conventional mutable distribution, sudo make install installs the
module under /lib/modules/$(uname -r)/extra/gc570d/ and runs depmod.
On Bazzite/Fedora Atomic or another immutable system, use the portable
installer. It keeps the module under /var/lib/gc570d/<kernel>/ and installs
small launchers under /usr/local/sbin. It also enables gc570d.service and
installs the WirePlumber policy system-wide, so the driver and both desktop
audio sources are available automatically after reboot:
sudo ./scripts/install-portable.sh
sudo rebootThe module must be rebuilt after every kernel update. An unsigned out-of-tree module may be rejected by Secure Boot.
For immediate use without reboot, run sudo gc570d-load; the current desktop
session may then need gc570d-setup-pipewire once to reload WirePlumber.
The normal default enables every implemented part. To load only HDMI IN 2 for diagnosis, then enable HDMI IN 1 manually later:
sudo ./scripts/gc570d-load.sh --hdmi2-only
sudo ./scripts/gc570d-init-hdmi1.shThe two V4L2 nodes are independent and may be opened and started in either
order. The driver preserves the shared VIP colour and bypass registers while
the other channel is already streaming, so starting HDMI IN 1 first is no
longer rejected. HDMI IN 2 first, then HDMI IN 1, remains the physically
validated order. Direct ALSA clients can open HDMI 2 (Capture Only) and
HDMI 1 (Passthrough) independently. For desktop applications, the portable
installation publishes both sources automatically through PipeWire; when
running from a checkout, run setup-pipewire.sh. OBS was used to validate this
four-source arrangement as the original streaming target, but it is not
required to access any driver interface.
This is not presented as a clean-room implementation. A lawfully obtained
official Windows driver was analyzed with Ghidra to understand device
initialization and interoperability behavior. AI agents assisted with
static-analysis navigation, comparison of decompiled routines, Linux driver
and script implementation, documentation, and the preparation of bounded
hardware tests. The project goals and technical approach were established
under my direction; hardware tests were performed and physically observed by
me, and the resulting code and documentation were reviewed before publication.
Full details are in
docs/REVERSE_ENGINEERING.md.
The independently written Linux source and scripts are licensed under
GPL-2.0-only. See LICENSE. This license grant does not grant any
rights to third-party trademarks or proprietary vendor software.