Uh oh!
There was an error while loading. Please reload this page.
Add workaround for RTX HDR driver bug - #2171
Conversation
c8d31b8 to
8c3b062Comparerobbiered
commented
Feb 26, 2024
As a note, a temporary workaround for the repeat crashing is disable HDR in windows. |
ChrisBln2302
commented
Feb 27, 2024
Does this also fix the issue that HDR is not streamed properly when RTX-HDR is enabled for a game? |
RStanbouly
left a comment
There was a problem hiding this comment.
Nit is relatively minor, otherwise lgtm and it doesn't seem to be failing any checks.
Uh oh!
There was an error while loading. Please reload this page.
As a side effect, it avoids useless allocations and uploads of a zeroed memory buffer to clear the dummy image textures.
cgutman
commented
Mar 1, 2024
The minimal workaround turned out to not really be suitable as there were still some major stability issues with this texture upload codepath in the driver, even when it didn't crash by overreading our buffer (the event log was full of GPU error logs from nvlddmkm). I had to resort to a more complex fix, but it at least provides (small) performance benefits for all cases. |
Description
This reworks our dummy image handling to avoid triggering a driver bug with 551.61 drivers and RTX HDR enabled. It also provides a small performance improvement for that (uncommon) case of interacting with dummy image textures.
Screenshot
Issues Fixed or Closed
Fixes#2163
Type of Change
.github/...)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.