framegen: keep the interface plane and black bars with frame generation #161
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem!161
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-161"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ARustyOven on GitHub · 2026-12-02 05:10 UTC · original
ARustyOven:fix/framegen-scaled-ui-plane→main· +199 −60 · 3 files · 1 commits · merged 2026-12-02 16:11 UTCFurther work on the pillarbox implementation from #139: black bars (
VICTORY_PILLARBOX=1) now work with frame generation and with an interface plane, where before they were turned off.While testing that, I found that with frame generation on, the UI ghosted when using
VICTORY_UI_PLANE=3840x2160. This PR fixes that as well.Changes
Files:
crates/victory-gpu/src/{compose,framegen,host}.rs🤖 Generated with Claude Code
@douglas-dh on GitHub · 2026-12-02 09:47 UTC · original · reviewed
Tested this PR (
ed52726dmerged ontomainatd0442486) on Linux + RDNA 4 and can confirm it fixes the UI ghosting/wobbling with AMD Frame Generation:VICTORY_OUTPUT=1920x1080,VICTORY_FULLSCREEN=1,VICTORY_BVH_BUILDER=0,VICTORY_FSR_4K=balanced(FSR 4.1.1),VICTORY_FIDELITYFX_FRAMEGEN=1(FidelityFX FG 3.1.7), default 4K UI planeBefore this PR: with Frame Generation enabled at 1080p, the HUD, subtitles, and performance panel noticeably wobbled/ghosted whenever the camera moved.
With this PR: the HUD, subtitles, and stats overlay stay sharp and stable during camera movement, with no framegen warnings/errors in the log. (Did not test
VICTORY_PILLARBOX=1since this is a 16:9 display.)@GreemSC on GitHub · 2026-12-02 11:52 UTC · original
Hit exactly the case this PR fixes, on
d044248(+ #163 #164 #166) with an RX 7900 XT (RDNA 3), Proton-CachyOS Wine:VICTORY_FSR_4K=quality,VICTORY_OUTPUT=2560x1440,VICTORY_UI_PLANE=3840x2160,VICTORY_FIDELITYFX_FRAMEGEN=1. The log saysand in play the HUD visibly shakes / ghosts, while the scene itself looks right. I have not built this PR yet; noting it so the case is confirmed on RDNA 3 too.
The rest worked there: FSR 4 through the PC upscaler (
provider="4.1.2", render 1706x960 → 2560x1440) withamdxcffx64.dll4.1.1 in the prefix's system32 andFSR4_UPGRADE=1(Proton-CachyOS'samdxc64.dll, which has the RDNA 3 WMMA workaround), frame generationprovider="3.1.6"with the proxy swap chain3.1.7, no extra pipelines to prepare, and a clean image in the captures. No speed numbers yet (that run had frame captures on).AI assistance: Claude Code (Claude Opus 5.5) ran the test and wrote this from its log; the HUD shaking was seen by the user playing.