Skip to content

gamescope: RGA hardware acceleration#3017

Closed
felixjones wants to merge 25 commits into
ROCKNIX:nextfrom
felixjones:fejones/gamescope-rga
Closed

gamescope: RGA hardware acceleration#3017
felixjones wants to merge 25 commits into
ROCKNIX:nextfrom
felixjones:fejones/gamescope-rga

Conversation

@felixjones

Copy link
Copy Markdown
Contributor

I feel like I'm going to be the RGA guy from now on...

Summary

This is a follow up to #2983 using hardware RGA enabled by #2977. f73203aabe355cc25e00693b4eb250513b3665b1 onwards is the active change, dependent commits have been left in.

This PR offloads panel rotation, scaling, and multi-layer compositing onto the RGA2 2D engine (via librga). Falls back to the stock Vulkan/GPU path when the RGA (or a required buffer format/kernel feature) isn't available.

It also adds the Wayland pieces needed to display a nested Wayland video client on-panel (Steamlink was the test case I used to build this part, but the code is generic to any client using these protocols).

Testing

About a month ago I was developing this with Steam x86 FEX, and this was good enough for software rendered CEF. The past week and a bit I've been bringing it up targeting the Steamlink app, which led to the Wayland video client additions.

Additional Context

It's a meaty amount of changes. Steamlink works great with this, I might return to getting Steam x86 running again. I'm happy to answer questions.


AI Usage

The code comments are generated by Copilot, there was a heck of a lot of scar tissue I had to crawl through when cleaning these up for PR and most of the comments I had originally left for myself, now they are a lot more verbose and more explainy as AI tends to do with comments. As a result, there's more comment lines then there are active lines of code (I did try to keep this as minimal as possible).

@loki666

loki666 commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

gates these patch to target system, they are not needed for qcom devices

@spycat88

Copy link
Copy Markdown
Contributor

Move your changes in packages/linux-drivers/rga3 to projects/ROCKNIX/packages/linux-drivers/rga3.

@felixjones felixjones mentioned this pull request Jul 12, 2026
@felixjones

Copy link
Copy Markdown
Contributor Author

Superseded by #3019

@felixjones felixjones closed this Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants