NVIDIA-RTX / NVIDIA-RTX/Streamline
Misinformation in slInit
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 159
- PR merge metrics
- No merged PRs in 30d
Description
I found that slInit always displayed this warning:
Seems like some DX/VK APIs were invoked before slInit()!!! This may result in incorrect behaviour.
when called by my initialization function. But I didn't call any DX/VK APIs before.
After some debugging, I found that sl::interposer::getInterface was actually called by slInit it self:
ConfigureLogOverrides
ConfigureLogOverridesFromInterposerConfig, sl::interposer::getInterface be called here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at slInit and trace the ConfigureLogOverrides and ConfigureLogOverridesFromInterposerConfig calls into sl::interposer::getInterface. Reproduce the warning during initialization and determine why that internal call is treated as a premature DX/VK API invocation; done means the warning no longer appears for this initialization path while still detecting genuinely early calls.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100