Skip to content

FSR2 Crash and Error FFX_ERROR_INVALID_ARGUMENT #105509

@TokisanGames

Description

@TokisanGames

Tested versions

  • Reproducible in v4.5.dev.custom_build [dbddc9e]
  • Reproducible in 4.4.1-stable

System information

Godot v4.5.dev (dbddc9e) - Windows 11 (build 26100) - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3070 Laptop GPU (NVIDIA; 32.0.15.6614) - 12th Gen Intel(R) Core(TM) i9-12900H (20 threads)

Issue description

Crashes or error spam when using FSR2.

I was able to produce these in a new project, adding a subviewport, a camera, and setting these on the sbvp:

Error spam

  • Viewport < 256x256, FSR2, 3D Scaling <= 0.3
  • Viewport < 64x64, FSR2, 3D Scaling 1

Crash

  • Viewport 2x2, FSR2, 3D Scaling < 1
  • Viewport <8x8, FSR2, 3D Scaling < .3

This is the error that prints to the console. The error didn't occur in 4.3.

ERROR: Condition "p_job.uavMip[i] >= mip_slice_rids.size()" is true. Returning: FFX_ERROR_INVALID_ARGUMENT
   at: execute_gpu_job_compute_rd (servers\rendering\renderer_rd\effects\fsr2.cpp:418)

Minimal reproduction project (MRP)

See next post

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    For team assessment

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions