Phone photos are black in the gallery (shader-written texture the title's CPU reads is not copied back?) #1388
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA#1388
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?
@tippythetaidum on GitHub · 2026-11-28 18:43 UTC · original
PC: RTX 5080 16 GB (driver 621.14), Ryzen 7 9800X3D, 32 GB, Windows 11 26200.
Build: main
63b902fplus #393, release. Series X 2560x1440, DLSS Quality, frame generation 4x.What happens
A photo taken with the in-game phone's camera (a selfie, in the world, daytime, on a boat) is saved: the camera app showed "GALLERY 1/32". But viewing it in the phone's gallery shows a black image. The camera's viewfinder showed the picture live. The save menu's thumbnail of the game, made in the same session, is not black.
What I think it is (not verified yet)
On the console the CPU and the GPU share memory, so a texture a shader writes is in title memory for the title's CPU code to read. Here a texture that shaders write stays in its host copy.
crates/victory-gpu/src/texback.rscopies such textures back into title memory only for the kinds inVICTORY_TEXTURE_BACK, by default the four the ocean needs (256x256f41, 256x256f16, 64x64f16, 128x128f36). If the photo path renders the shot into a texture and the title's CPU code then reads it (to encode or store it), it reads memory nothing wrote, so the photo comes out black. The black fits that.What would confirm it: a diagnostics build with
VICTORY_READ_WATCH=1, taking a photo, and seeing which texture kind the title's CPU reads that no one wrote. That kind added toVICTORY_TEXTURE_BACKshould then give a real photo. I haven't run this yet.Searched: no open or closed issue here about phone photos, the gallery or the camera roll. #545 is the phone screen in the diner (another cause).
@github-actions[bot] on GitHub · 2026-11-28 18:43 UTC · original
Please attach both logs from the run that went wrong. Without them we can only guess. Paste
%LOCALAPPDATA%into the address bar of File Explorer to get there.%LOCALAPPDATA%\victory\logs\: the newestvictory-nvidia-play-<date>-<time>-<number>.log(fromvictory.exe) orvictory-nvidia-<date>-<time>.log(from the script launcher). The window shows its path at the start, on the lineLog: ....%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, and, if there is one from that run, the newestvictory-<date>-<time>-<number>.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\.Also say which GPU, Windows version (10 or 11)
@trustno1-coder on GitHub · 2026-11-30 15:43 UTC · original
Closing this because it was opened before v2026.11.29.01, and a great deal has changed since then. The latest release is v2026.11.30.01.
If this still happens, or still applies, on the latest release, please open a new issue. For a bug, attach both logs from that run:
victory-nvidia-play-<date>-<time>-<number>.login%LOCALAPPDATA%\victory\logs\.%LOCALAPPDATA%\VIctory\data\7952987A\crashes.log, plus the newest.crash.login%LOCALAPPDATA%\VIctory\data\7952987A\temp\if there is one from that run.