Advanced graphics: show when ray tracing is inactive (and why) + audit every control's enable/disable rules #483
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#483
Loading…
Add table
Add a link
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?
Trigger (user report, 2026-10-06): in Advanced graphics, the projector shadows "Ray traced" option is greyed out, and RT shadow resolution is greyed and stuck at Full. Meanwhile, sun shadows still show "Ray traced" and reflection probes are set to ray traced.
Cause, from the code (
llfloaterpreferencesgraphicsadvanced.cpp,refreshEnabledState, around lines 425–487): both controls are gated onLLVulkanContext::rayTracingEnabled(), so ray tracing isn't actually active at runtime. Sun shadows keep displaying "Ray traced" because the saved value is still 2; only that item is greyed, and the renderer falls back to shadow maps. Nothing in the panel says ray tracing is off. Likely reasons:RenderVKRayTracingis 0, no ray-query support, or the silent VRAM auto-off (#227). The projector combo's tooltip showsrayTracingStatus(), but nobody hovers there.Part 1: the immediate fix
rayTracingStatus()), with a "turn back on" action when the reason is recoverable (VRAM auto-off → #227).Part 2: audit every control in the Advanced panel
Go through every control on every tab of the Advanced graphics floater (and the Quick Prefs and Lightbox equivalents where they duplicate settings). For each one, document and verify:
Deliverable: a table in this ticket (control → setting → depends on → enable rule → re-evaluated on → verified), fixes for every mismatch, and a short UI test pass:
Related: #227 (ray tracing silently turned off under low VRAM), #423 (dead graphics controls under Vulkan), #410 (Advanced graphics rework into tabs).
Root cause for the reporter:
RenderVKRayTracing = 0.kGpuSafeSettingsin llappviewer.cpp ~3945:RenderVKRayTracing → 0, plus async compute queue off and probe detail capped). It runs on the next launch after a device loss.RenderVKRayTracing, so once it's switched off, only Debug Settings can turn it back on. Ray tracing stays off silently.Add to this ticket's scope:
User workaround: Debug Settings →
RenderVKRayTracing= 1, then restart.Correction: this reporter is a different user from the #458 out-of-memory reporter.
What still holds:
RenderVKRayTracing = 0is the device-lost safer-settings offer, after a device loss from any cause.So the likely causes are: they accepted that offer after a device loss, they set it by hand, or their settings were copied from another install.
To check: look for
logs/slipstream_gpu_lost_last.txt, or "safer settings applied" in their log.The scope additions above stand: a master toggle with the reason shown, a more specific offer, and a later offer to undo.