Idea: runs of RX_VK_WB_MAX_KB=1024 wanted on cards without mesh shaders (2.5 ms of GPU less on an RX 5600 XT) #548
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/upscaling
beanstalk: approved @ 1697603
beanstalk: approved @ 2c5a62e
beanstalk: approved @ 4fd82b7
beanstalk: approved @ 64d6d09
beanstalk: approved @ 6f91fae
beanstalk: approved @ 70a78f9
beanstalk: approved @ 8015c9a
beanstalk: approved @ 8d361dc
beanstalk: approved @ 9d8356e
beanstalk: approved @ abf2227
beanstalk: approved @ d82f202
beanstalk: approved @ e5f1e40
beanstalk: approved @ ee8ab5f
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
testing wanted
ci: approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#548
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The idea
RX_VK_WB_MAX_KB=1024is in every build and off by default. The README says it stays off until it shows a gain on more than one machine, and that results are wanted. It now has one card where it gains, and it needs a second one before anyone can argue for a default.What it gained on an RX 5600 XT 6 GB (no mesh shaders, Windows 11, Adrenalin 26.10.1), Render resolution 50% of 1920x1080, two runs each way, interleaved:
RX_VK_WB_MAX_KB=1024No device lost, nothing wrong seen in twelve screenshots. The earlier runs (an RTX 3060 Ti and an RX 580, in the README) wrote back 50 MB a frame less at the same fps, so the gain may be particular to cards on the compute fallback, where the GPU's frame is already long. That is the question a second card answers.
Who can help: anyone with a card that logs
no mesh shaders (the compute fallback)at start: RX 5500 XT, RX 5700 / 5700 XT, RX 580 / 590, GTX 10 series, older Intel. A release build is enough, there is nothing to compile.The run, about ten minutes:
RX_VK_WB_MAX_KB=1024tolongshot_env.txtin the game's folder (create the file if it is not there).longshot_log.txtof each side:vk: a frame: mirrors ... MB written backvk: write-backs left out (600 submits): ...(only with the switch)Say so too if anything looks wrong with the switch on (missing or flickering geometry, grass, shadows), with a screenshot.
Anything else
docs/tested/2026-11-14-wb-max-waryxxful-run01.mdtorun04.md).gpu/vk/wb_learn.hand the README's paragraph onRX_VK_WB_MAX_KB.RX_VK_PASS_TIMING=2):m wb 2.101 ms 12.1% ... 40.40 MBof a 21.5 ms profiled frame, third after the passes (33%) and the fallback's dispatches (22%).