Windows / AMD RX 7600: "Ray traced" projector shadows greyed out #155
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#155
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?
A user on Windows 11 with an AMD Radeon RX 7600 (RDNA3, which has hardware RT) reports that Ray traced is greyed out in the Projector Shadows dropdown.
How the option is gated
llfloaterpreferencesgraphicsadvanced.cpp:393enables the "Ray traced" entry only whenLLVulkanContext::rayTracingEnabled()is true.vk_device.cpp~623-750). It needs all of these:RenderVKRayTracingis not 0 (default 1).VK_KHR_acceleration_structure,VK_KHR_ray_queryandVK_KHR_deferred_host_operations.accelerationStructure,rayQueryandbufferDeviceAddress.RT: acceleration-structure entry points missingto stderr only, so it never reaches Slipstream.log on Windows.RT: requested=… supported=… enabled=…(llvulkancontext.cpp:145) says which stage failed.Likely causes to check
VK_KHR_ray_query. Ask for the driver version.RenderShadowDetail>= 2). Confirm it's only the RT entry that's grey.RenderVKRayTracingset to 0 in their settings.To do
RT: requested= supported= enabled=line, the chosen Vulkan device name and the driver version.LL_WARNSso it shows up in the log.The reporter sent the Info section of their About window:
("OpenGL Version" is just a mislabel; it's the Vulkan API version, and it's being fixed separately.)
What this tells us:
VK_KHR_ray_query/VK_KHR_acceleration_structureon RDNA3, so an old driver is unlikely.That leaves these, in order:
RenderVKRayTracing= 0 in their settings.VK_KHR_deferred_host_operationsnot listed, a feature bit (accelerationStructure/rayQuery/bufferDeviceAddress) not reported, or an entry point that doesn't load (that failure goes to stderr only).Next: get the
RT: requested= supported= enabled=line from their Slipstream.log. That line separates cause 2 (requested=0) from cause 3 (supported=0, or supported=1 with enabled=0). Logging each individual check would pin down which one fails on this driver.Root cause found: a UI refresh bug. The RX 7600 / driver were fine.
The reporter's About window showed ray tracing enabled, but "Ray traced" stayed greyed out until they raised the overall graphics quality slider to High.
Why that happened:
RenderShadowDetail >= 2).LLFloaterPreferenceGraphicsAdvanced::refreshEnabledState(), but the Shadows combo has no commit hook.The quality slider never hid the setting; it just happened to cause the refresh.
Fix: the floater now listens to the
RenderShadowDetailsetting and re-runs the enable check on any change (the Shadows combo, Quick Prefs, presets, debug settings).The diagnostics added earlier for this ticket stay: the "Ray Tracing:" line in About, and the reason in the tooltip when ray tracing really is unavailable.