Skip to content

Poor performance on a Raspberry Pi 5. #216

@hydra

Description

@hydra

I'm here because I'm looking for a Rust 3D render/rasterizer that can render to an image, similar to how it is currently done in the tests, but in a loop. I plan to compressed the image (jpeg) and set over the network to a client in a loop, while the app updates the scene based.

Ideally I need my app to achieve > 15FPS for a reasonable experience, however I ran the simple example crate on a Raspberry Pi 5 and the FPS is < 1. Additionally the system is so unresponsive that the mouse pointer can barely be moved.

I tried in both --release and default dev, the performance was about the same.

i.e.

$ cd crates/example
$ cargo run --release

Additionally there is a large delay before the main windows appears, the delay is longer in release mode.

I can run the glxgears program, and I get up to 55FPS, or up to 2800 with vblank_mode=0

glxinfo output:

glxinfo.txt

Is this expected performance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions