InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code. Learn more →
Top 22 Rust GPU Projects
A cross-platform, OpenGL terminal emulator.Project mention: Tmux startup issue with Alacritty | reddit.com/r/tmux | 2022-11-29
No Nonsense Neovim Client in RustProject mention: Neovide not launching | reddit.com/r/neovim | 2022-12-02
Probably related to this https://github.com/neovide/neovide/issues/1356
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Data Platform where developers build real-time applications for analytics, IoT and cloud-native services in less time with less code.
Safe and portable GPU abstraction in Rust, implementing WebGPU API.Project mention: High Performance Rust UI talk | reddit.com/r/rust | 2022-12-01
So we're investigating that but it's much deeper water than you might think. The binding model is basically the same between WebGPU and Vulkan, hence it's not too hard to accept precompiled shaders there, but on other platforms it's pretty different. And the whole WebGPU model is based on very late compilation.
[maintenance mode] A low-overhead Vulkan-like GPU API for Rust.Project mention: Why is it that I need to invert the projection matrix in Vulkan and how should that be handled when supporting multiple render backends? | reddit.com/r/vulkan | 2022-10-18
The gfx-backend-* READMEs each have a graphic explanation that is very useful. As others have said, the best way to handle this is with a flipped viewport, but I've never seen a satisfactory explanation as to why this doesn't mess with front/back faces and culling.
The write-once-run-anywhere GPGPU library for RustProject mention: How to rent a powerful computer for one remote task, once? | reddit.com/r/learnprogramming | 2022-05-28
I've just been running it using the CMD. Maybe I can improve it to use my GPU with this library, since it's in Rust.
A tiny hardware-accelerated pixel frame buffer. 🦀Project mention: How to prevent performance drops affecting my Game Boy emulator when running on M1/M2 Macs? | reddit.com/r/rust | 2022-11-25
However, I recently got a new M2 Macbook Air and started noticing some super weird behavior. While playing Pokemon Silver with an unlocked framerate, I'd notice that the game would slow down to below 60FPS, even on a release build. After printing a little debugging info I found the culprit in the rendering logic which was handled by the MiniFB crate. At first I thought switching to a GPU renderer (such as https://github.com/parasyte/pixels) would help, and it... kinda did?
Experimental Rust UI libraryProject mention: Do you think is it worth to learn gtk4 to use it with rust? | reddit.com/r/rust | 2022-11-12
Depending on the scale of your project, I could suggest rui library which is cross platform though it's not related to gtk, https://github.com/audulus/rui, It's inspired by swiftUI
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
Type-safe, type-level and stateless Rust graphics frameworkProject mention: Luminance redesign; Part 1: compatible vertex types | reddit.com/r/rust_gamedev | 2022-09-06
luminance is a graphics ecosystem focusing on type-safe and type-level API. This is part of a blog article series describing the process of redesign the API to update it to how I see things today, trying to fix several flaws of the previous design, and bring more simplicity to developers.
Rusty wrapper for the CUDA Driver API
Rust wrapper for ArrayFireProject mention: Making a better Tensorflow thanks to strong typing | reddit.com/r/rust | 2022-05-26
Take a look at arrayfire-rust! :)
3D fluid simulation experiments in Rust, using WebGPU-rs (WIP)
NVidia dynamic fan control for Linux and WindowsProject mention: Why wont my laptop shut up | reddit.com/r/linuxquestions | 2022-03-22
🏃♂️💨 GPU accelerated STARK prover built on @arkworks-rsProject mention: I spent 4 months generating proofs for Brainfuck programs | news.ycombinator.com | 2022-11-16
2D GPU renderer for dynamic UIsProject mention: Vector Graphics on GPU | news.ycombinator.com | 2022-08-10
I've done a library for vector graphics on the GPU which works pretty well for my uses:
and a rust version:
(which powers my rust GUI library: https://github.com/audulus/rui)
Here's the approach for rendering path fills. From the readme:
> The bezier path fill case is somewhat original. To avoid having to solve quadratic equations (which has numerical issues), the fragment function uses a sort-of reverse Loop-Blinn. To determine if a point is inside or outside, vger tests against the lines formed between the endpoints of each bezier curve, flipping inside/outside for each intersection with a +x ray from the point. Then vger tests the point against the area between the bezier segment and the line, flipping inside/outside again if inside. This avoids the pre-computation of Loop-Blinn, and the AA issues of Kokojima.
It works pretty well, and doesn't require as much preprocessing as the code in the article. Also doesn't require any GPU compute (though I do use GPU compute for some things). I think ultimately the approach in the article (essentially Piet-metal, aka tessellating and binning into tiles) will deliver better performance, and support more primitives, but at greater implementation complexity. I've tried the Piet-metal approach myself and it's tricky! I like the simpler Shadertoy/SDF inspired approach :)
Simple experimental async GPGPU framework for RustProject mention: Non graphical computing on GPU | reddit.com/r/rust | 2022-11-09
gpgpu-rs is a wgpu helper lib
Linux AMDGPU Controller
A tool to run your shaders on the gpu. Also a good demo application for wgpu-rs.
💣 SMH – a computer vision project for automatic, precision mortar strike calculations in SquadProject mention: I created the most overengineered mortar calculator using computer vision | reddit.com/r/joinsquad | 2022-05-26
I've made quite a few fixes already but not enough to actually release a new version yet. You can see the commit log here and I'll be releasing a new version soon here with fixes and accuracy improvements in the coming days. I will also make sure to include in the next version an update checker.
Rasterization using compute shadersProject mention: [MEDIA] Basic rasterizer using compute shaders and wgpu | reddit.com/r/rust | 2021-12-16
Vulkan Compute program loader in RustProject mention: Any good resources for purely computational work? | reddit.com/r/vulkan | 2022-05-03
If you use Rust, I have been developing a similar project to kompute: https://github.com/periferia-labs/rivi-loader
A simple Julia Set and Mandelbrot interactive explorer built using Rust. It can run as a desktop application or on the web. Web demo available at https://lobis.github.io/fractal-explorer/Project mention: What's everyone working on this week (42/2022)? | reddit.com/r/rust | 2022-10-17
Finishing my pet project https://github.com/lobis/fractal-explorer!
A GPU/CPU compute library written in rust focusing on computation on ndim Arrays
Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.
Rust GPU related posts
Neovide not launching
1 project | reddit.com/r/neovim | 2 Dec 2022
Tmux startup issue with Alacritty
2 projects | reddit.com/r/tmux | 29 Nov 2022
Suggest me a terminal
1 project | reddit.com/r/linuxmasterrace | 26 Nov 2022
How to prevent performance drops affecting my Game Boy emulator when running on M1/M2 Macs?
3 projects | reddit.com/r/rust | 25 Nov 2022
Simple way to draw a pixel at coordinates
2 projects | reddit.com/r/rust_gamedev | 19 Nov 2022
fcitx5 hangul input not working in Alacritty+KDE+Fedora 37
1 project | reddit.com/r/linuxquestions | 18 Nov 2022
What is everyones favorite terminal emulator?
1 project | reddit.com/r/LinuxOnThinkpad | 16 Nov 2022
A note from our sponsor - InfluxDB
www.influxdata.com | 2 Dec 2022
What are some of the best open-source GPU projects in Rust? This list will help you: