Skip to content

100% CPU used on some linux setups #2

Open
@pfgithub

Description

@pfgithub

Any wgpu sample uses 100% of one cpu core on linux, even though the time to render and display the frame is less than that

zig build triangle_wgpu-run # uses 100% cpu
zig build minimal_glfw_gl-run # barely uses any cpu

In tracy sampling, it seems like it might be spending all its time on gctx.device.tick inside zgpu.GraphicsContext.uniformsNextStagingBuffer.

screenshot of tracy

This could possibly be an issue specific to the i3 window manager, I haven't tested in any other wm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions