linux/play.sh: laptop preset, frame generation under vkd3d-proton, pipeline warm-up, shader scan that finishes #430
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/430"
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 TaynanGT/Vice-Tay. Originally posted by sander110419 on 2026-11-28T23:17:02Z.
Linux/Wine only: this changes
linux/play.shand nothing else. I can't run the Windows smoke runs, so everything below comes from real runs on one Linux machine.Machine: RTX 5070 Laptop 8 GB (driver 595.104, PRIME offload with the display on the AMD iGPU), Ryzen 9 9955HX (16 cores), 30 GB of RAM, Pop!_OS. GE-Proton11-14 with
linux/wineserver's viewtree build, GE's vkd3d-proton (v3.1-83), main atfe7c6e5, diag build, Series S.How the runs were made: every run was started by hand: Enter at the start screen, the opening cutscene skipped, then the same scene with the same inputs each time. The frame rates are in-game figures: the window title's fps read every 2 s, counted only while the title drew more than 1,000 draws a frame. Frame-generation figures come from the log's frame generation lines. (Corrected: this description first called the scene the opening cutscene.)
1. Shader pretranslation stopped rescanning on every launch
shaders --if-neededonly records a finished scan when the walk had no I/O errors. WithGAMEat the root of a drive, the walk covers everything on it, other folders included, and a root-onlylost+foundcounts as one walk error. So the scan never got recorded, and every launch rescanned for about 6 minutes.play.sh now passes only the title's own files:
GAME;.rpfor.ttpfarchives (data/andpack/here).The next launch printed "Shader cache already pretranslated for these paths and settings".
2. Options ported from play.ps1, with what Linux needs on top
MACHINE=laptopis-Machine laptop(docs/laptop-16gb.md):DSTORAGE_IO=direct,INPLACE=2, 64 KiB windows with tails,LEVELS_ON_DEMAND, the working-set ceiling;On cards with 8 GB or more it also keeps 1 GB of card copies, set as the 4070 preset does (
CARD_BUFFERS_MB=1024,CARD_RESERVE_BUDGETS=1,CARD_BUFFERS_MIN_KB=64), instead of 256 MB:FRAMEGEN=1is-FrameGen. Under vkd3d-proton it needs two more things here:VKD3D_CONFIG=single_queue: the AMD swap chain creates its own DIRECT queue at high priority and puts the real swap chain on it (FrameInterpolationSwapchainDX12.cpp, SDK 2.4.0). Without single_queue the window stayed fully black — fullscreen or windowed, panel on or off — even while it was only passing frames through.VK_EXT_present_timing(another fork's fix for a white FG window) did not help here, and neither did turning off present_wait/id with FIFO forced.VICTORY_UPSCALER=6, frame generation never runs (0 generated,enabled=false). UnderMACHINE=laptop,FRAMEGEN=1therefore selectsFSR=performance, which renders the same 960×540.RAYTRACING=1is-RayTracing.DLSS=/FSR=are-Dlss/-Fsr.MORE="VICTORY_X=1 ..."is-More.WARM=1is-WarmPipelines(warm --used).warmonly knows pipelines that an earlier run recorded withVICTORY_PIPELINE_BOOK=1. Without it, it printed "0 pipelines known" here, soWARM=1also setsVICTORY_PIPELINE_BOOK=1.-WarmPipelinesdoesn't set the book either. I couldn't check that on Windows, so I've only flagged it here.Left out on purpose
VICTORY_PLACED_FILL_REDIRECT=1is #415.VICTORY_KEEP_AHEAD=1(#388) andVICTORY_REAPER=1(#247), in the same scene. None was faster than main on this machine (median 12–13 vs 14; KEEP_AHEAD 10, REAPER 9). Single runs vary by about ±20%, so these are one-machine observations, not verdicts on those PRs.Visual checks
These were screenshots, not the full recordings AGENTS.md asks for. The picture with
FRAMEGEN=1looked like the picture without it. A rainbow-speckled texture on one character's arm appears both with and without these changes.AI use: prepared with an AI assistant (Hermes Agent, model claude-opus-5-5). The measurements are from real runs on the machine above, and each number was checked against the run logs before posting.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-29T11:35:31Z.
Thanks for the detailed Linux-only measurements and for correcting the single-queue estimate. I'd keep the scanner path fix independently reviewable, preserve explicit launcher overrides, and measure FRAMEGEN and single_queue separately. Please report rendered and presented FPS independently and avoid generalizing the 8 GB preset to every adapter.
Imported from TaynanGT/Vice-Tay. Originally posted by TaynanGT on 2026-11-30T17:07:35Z.
mainhas moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the currentmainand open a new PR; I'll review it there.Pull request closed