Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop repeated frame IDs #244

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Drop repeated frame IDs #244

wants to merge 3 commits into from

Conversation

jp7677
Copy link
Owner

@jp7677 jp7677 commented Jan 20, 2025

Not tested ...

Based on HansKristian-Work/vkd3d-proton#2294

@jp7677 jp7677 force-pushed the repeated-frame-ids branch 2 times, most recently from a112a9b to fd50d85 Compare January 20, 2025 19:33
Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd move this to LowLatencyFrameIdGenerator (so something like bool LowLatencyFrameIdGenerator::CheckRepeatedMarker(frameID, markerType)) but the general idea appears to be sound.

src/nvapi/nvapi_d3d_low_latency_device.cpp Outdated Show resolved Hide resolved
src/nvapi/nvapi_d3d_low_latency_device.cpp Outdated Show resolved Hide resolved
src/nvapi/nvapi_d3d_low_latency_device.cpp Outdated Show resolved Hide resolved
src/nvapi/nvapi_d3d_low_latency_device.h Outdated Show resolved Hide resolved
Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even though it doesn't fix the issue, it's still a bug on our side so it's probably a good idea do this anyway…

(I'm not happy with the map but ultimately it's not important.)

Maybe we should ask Eric to take a look?

src/nvapi/nvapi_d3d_low_latency_device.cpp Outdated Show resolved Hide resolved
@jp7677 jp7677 force-pushed the repeated-frame-ids branch 2 times, most recently from b715f96 to 0ef44d7 Compare January 21, 2025 15:10
Copy link
Collaborator

@Saancreed Saancreed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

Frame IDs must be monotonic per marker type and
device/command queue.
@jp7677 jp7677 force-pushed the repeated-frame-ids branch from 0ef44d7 to 53c17e9 Compare January 26, 2025 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants