Include: MTrv0/VIctory-AMD-UM acf59525a (Re-trunk Dom) #20
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?
Imported from Fayberr/Victory-United. Originally posted by Rojikku on 2026-12-01T10:25:53Z.
Link to the pull request or commit
github.com/MTrv0/VIctory-AMD-UM@acf59525afLicence of that code
GPL-3.0
What it fixes, and what you measured
Dominator has missing trunk panel, see through to road.
root-views-reach-past-the-4mib-line.patch
Claude Notes:
Vehicle panels missing / see-through: root views near a 4 MiB line reach past it** (
root-views-reach-past-the-4mib-line.diff,VICTORY_ROOT_REACH_KB, default 1024,0= old behaviour)Not our find. It's MTrv0's fix (MTrv0/VIctory-AMD-UM acf59525a, reach raised to 1 MiB in e923457e3), also ported by segfaulter0 (775c16e73). We ported the shadow.rs/draw.rs part to dev.
The title binds a mesh's vertex block as a root SRV/CBV with no length. Outside buffer objects such a view gets the window of its 4 MiB cell, so a view that starts close to the cell's end reads zeros past the line. In game: car panels missing at random (you see into the trunk / through to the road), and MTrv0 also saw doors and hoods gone and bodies black in full sun.
With the fix, when the cell leaves less than the reach after the view's address, the window instead spans the line (reach bytes on each side). Root UAVs and views with a length are unchanged. Includes a unit test for the window choice.
Tested from one save parked behind the car, camera turned to the rear, one capture per run:
Main + our patches: panel missing in 4 of 4 runs without the fix, drawn in 4 of 4 with it.
Dev: missing without, drawn with.
MTrv0, the original fix (2026-11-28):
github.com/MTrv0/VIctory-AMD-UM@acf59525afMTrv0, reach raised to 1 MiB, which is the setting we use (2026-11-29):
github.com/MTrv0/VIctory-AMD-UM@e923457e30segfaulter0's port of it (branch opt/rt-perf-v1):
github.com/victory-linux/victory-proton@775c16e735Both MTrv0 commits are big and bundle many fixes; the panel fix is just the root-view reach part. Our dev diff takes only that part.
Rules
Imported from Fayberr/Victory-United. Originally posted by Fayberr on 2026-12-01T11:14:52Z.
Thanks for porting this and testing it against both
mainanddev. Landed ondevwithVICTORY_ROOT_REACH_KBdefaulting to1024(0for the old behavior):github.com/Fayberr/Victory-United@589e5401dI'll run a quick check on Windows before it moves to
main.