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

Timestamp query example returns absurdly large values #5660

Open
valaphee opened this issue May 4, 2024 · 0 comments
Open

Timestamp query example returns absurdly large values #5660

valaphee opened this issue May 4, 2024 · 0 comments

Comments

@valaphee
Copy link
Contributor

valaphee commented May 4, 2024

Description
The timestamp query example returns values which are way outside an acceptable value range. Both Vulkan and GL return similar large values, therefore I don't know if it could also be an issue with the example itself.

Repro steps
Running cargo run --bin wgpu-examples -- timestamp_queries

Expected vs observed behavior
More sane values.

Extra materials

cargo run --bin wgpu-examples -- timestamp_queries
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/wgpu-examples timestamp_queries`
Adapter supports timestamp queries.
Adapter supports timestamp queries within passes.
Raw timestamp buffer contents: [156289729554, 156289731758, 156289731042, 156289733254, 156289737042, 156289735586, 0, 0]
Elapsed time before render until after compute: 184467439174198208.00 μs
Elapsed time render pass: 184467440737095520.00 μs
Elapsed time first triangle: 14.96 μs
Elapsed time compute pass: 184467440737095488.00 μs
Elapsed time after first dispatch: 184467439174198176.00 μs

Platform
Adapter Vulkan AdapterInfo { name: "AMD Radeon RX 6900 XT (RADV NAVI21)", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.0.5-arch1.1", backend: Vulkan }

Arch Linux 6.8.5-arch1-1

@valaphee valaphee changed the title Timestamp queries seems to be bogus data Timestamp query example returns absurdly large values May 4, 2024
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

No branches or pull requests

1 participant