r/vulkan • u/CharlyStudios • 16h ago
Hello, good day, I wanted to show you this...
galleryI ported my OpenGL engine to Vulkan, and I've been working on adding path tracing; I still want to improve performance.
r/vulkan • u/SaschaWillems • Sep 07 '26
AI use is a heated topic, esp. in developer communities.
To keep our community transparent and conversations on-topic, we require that you clearly disclose if your content was generated by or with the help of artificial intelligence.
This helps people understand the context of the discussion and keeps our community guidelines clear.
Posts that intentionally misrepresent AI-generated content as entirely human-made may be removed.
How to label: Simply add a quick note (e.g., "[Written with AI assistance]") in the title and/or at the top of your posting.
r/vulkan • u/SaschaWillems • Mar 25 '20
Please note that this subreddit is aimed at Vulkan developers. If you have any problems or questions regarding end-user support for a game or application with Vulkan that's not properly working, this is the wrong place to ask for help. Please either ask the game's developer for support or use a subreddit for that game.
r/vulkan • u/CharlyStudios • 16h ago
I ported my OpenGL engine to Vulkan, and I've been working on adding path tracing; I still want to improve performance.
r/vulkan • u/myemural • 8m ago
I am sharing the latest updates regarding my Vulkan examples repository: A total of 19 new examples have been added (since my last post), bringing the total number of examples to 205. The newly added examples are as follows:
Post-Processing Effects - Bloom and Glow
Post-Processing Effects - Analog Display Effects
Post-Processing Effects - Blur and Motion Effects
Post-Processing Effects - Stylization and Image Effects
Post-Processing Effects - Anti-Aliasing Techniques
You can access the repository here:
https://github.com/myemural/VulkanCppExamples
With these examples, the Post-Processing Effects category is now complete. The next topic is Hardware-Accelerated Ray Tracing. Thanks in advance, and happy coding!
r/vulkan • u/QwertyChouskie • 2d ago
r/vulkan • u/Umar5258 • 1d ago
r/vulkan • u/pablogonz12 • 2d ago
I work on Scarlight, an open-source (GPL-3.0) compatibility tool that runs Xbox Series games on Linux through Proton, drawing with Mesa's Vulkan drivers. Today the console's RDNA2 shaders are recompiled to DXIL and go through vkd3d-proton and dxil-spirv. An experimental translator now goes from the console's instruction words straight to SPIR-V instead:
If you know SPIR-V, subgroup operations or VK_EXT_descriptor_buffer, I would value review or help. The tests are hand-built instruction words, so you do not need any game files: https://github.com/pablogonz12/Scarlight/pull/120
Disclosure: this project is written with AI assistance (Claude and DeepSeek), reviewed and tested by me; the numbers above come from offline checks on one RX 9070 XT.
r/vulkan • u/SnooStories6404 • 3d ago
r/vulkan • u/Queasy_Total_914 • 3d ago
r/vulkan • u/Delicious_Abies_9708 • 3d ago
r/vulkan • u/LunarGInc • 4d ago
Happy to announce that LunarG will present six talks at these two events in February:
Vulkanised: Feb 8–10, 2027 RTSS: Feb 11–12, 2027 Venue: Howest University / The Penta, Kortrijk
If you’re working on modern Vulkan, validation, debugging, or cross-platform (especially macOS) GPU software, this is a must-attend week.
Full details:
https://www.lunarg.com/lunarg-at-vulkanised-2027-real-time-shading-symposium/
r/vulkan • u/Human-Coffee2436 • 3d ago
Hello,
I was playing around with how far we could push GUI rendering to have the snappiest desktop experiences. Do we actually have to rewrite legacy GUI toolkits from scratch to get modern GPU-accelerated latency (like Zed's GPUI), or can we retrofit a retained GPU scene graph underneath stock Qt Widgets without changing a single public API? Initial idea was to make the CPU do rasterizing while Vulkan was waking up, then switiching pipelines the next frame. This worked, and has evolved from there into a complex project with multiple pluggable algorithms that govern which pipeline to use.
Full disclosure: I'm not a GPU/Vulkan engineer — this is a vibe-coded research POC on qtbase (v6.11.2, Linux Wayland) and I don't plan on maintaining a Qt fork. I'm sharing the code, demos, benchmarks, and failed experiments hoping competent Qt/KDE/graphics folks can tear it
apart, test it on other GPUs, or steal the ideas that worked.
What it actually does under stock QWidget**:**
• Zero-wait CPU wl_shm boot → atomic Vulkan 1.3 DMA-BUF cutover on the exact same wl_surface (no VkSwapchainKHR resize stalls — 256 px-bucketed tiled DMA-BUFs + wp_viewport).
• **Retained per-**QWidget scene arena (moving widgets updates a 32-byte transform with 0 paintEvent()s) + HarfBuzz 15 hb-gpu analytical curve text (no glyph-atlas thrash) + single-pass SDF uber-shader.
• 11 pluggable CPU-vs-GPU scheduling policies (QT_PHASE_POLICY=...) — including racing CPU vs. GPU, cadence-based GPU sleep, a contextual bandit learner, and widget-aware routing (e.g., keeping popups/tooltips on CPU wl_shm in 0.53 ms with 0 GPU rings).
Unmodified stock KDE apps on Wayland (AMD Renoir iGPU, 1.5× DPR, Breeze Dark):
• Dolphin: 6.8 ms resize vs 29.0 ms upstream (4.3× faster), 0.71–0.85 ms Key_Down nav
• Okular (20-page PDF): 2.2–2.6 ms resize vs 23.9 ms (9–11× faster), 2.0 ms smooth scroll vs 7.2 ms (3.6× faster)
• Konsole: 10.5 ms resize vs 27.6 ms (2.6× faster)
• Cold startup: no regression (225.6 ms vs 234.6 ms Dolphin)
What went wrong / got falsified (all in the README):
• Okular Peak RSS jumped +165 MB (Vulkan driver + DMA-BUF rings/staging — needs work).
• Several "smart" dynamic policies got crushed by reality (e.g., demoting heavy fallback canvases to CPU was 2× slower due to double-rasterization; routing Konsole's dense text to per-widget CPU raster was 2× slower than native hb-gpu).
• Only tested on an AMD iGPU so far — would love to see what happens on NVIDIA, Intel, dGPUs, and llvmpipe.
Full story, architecture map, 7-stage CPU↔GPU pixel-diff heatmaps, all 11 policy breakdowns, and reproducible benchmark scripts are in the repo:
r/vulkan • u/PhysicsDisastrous462 • 6d ago
so, after quite a bit of work since the v0.2.0 release, i've finally managed to get v0.2.5 published!
for anyone who followed the previous release, v0.2.0 was where i first introduced the opt-in RDNA3 WMMA implementation. since then i've been working on improving the Full FP16 path, specifically its numerical accuracy and performance, without having to sacrifice the execution structure that was already working.
the biggest change in this release is something i've been calling P3.
previously, the Full FP16 WMMA kernel merged its eight accumulator-bank partials using multiple intermediate FP16 additions. this meant that the result was rounded to FP16 several times along the way. P3 changes that final merge so all eight partials are summed in FP32, with just one final rounding to FP16.
the actual two-wave workgroup structure, K-slice stream, bank assignment, staging, cooperative multiplication and barriers are all preserved. i wanted to improve the accuracy of the final result without having to redesign the kernel all over again.
some of the results from the new qualification:
0.03035259 to 0.02593803.0.03125, meeting the existing hard numerical limit.i also ran another full performance sweep. this time using 24 paired measurement blocks per workload, GPU timestamps, and corrected 95% confidence intervals.
the measured improvements against the preserved Main kernel baseline were:
2048×768×2048 — 1.0243×512×2048×768 — 1.1246×512×768×768 — 1.1163×128×8192×768 — 1.2722×all four protected workloads passed independently, including the lower bounds of their confidence intervals. the largest measured improvement was around 27%.
just to clarify, these are per-dispatch GPU GEMM measurements, not end-to-end training speedups. i don't want to imply that an entire training run is suddenly 27% faster when that isn't what was measured.
there were some other changes too.
i tightened up the production dispatch admission so the profitability predicate is checked against each actual batch, rather than relying only on the maximum batch size supplied when creating the projection. the existing 16,000,000 MAC profitability floor has not changed.
i also went through the actual portable binaries and verified that they dispatch the P3 kernel when an eligible workload is supplied. the packaged trainer produced 8 cooperative P3 dispatches, and the packaged logits executable produced another 3. disabling WMMA resulted in zero cooperative dispatches, as expected.
the numerical comparison for the packaged logits test covered 262,144 finite elements, with a maximum absolute difference of 0.000738330 and RMS difference of 0.000122237.
the new release is available as a portable Windows x64 package too.
i've included seven executables, and the package was built with a statically linked MSVC runtime. there's no need to install Rust, Cargo, Python, PyTorch, Visual Studio, or the MSVC redistributable just to run it.
you will still need a compatible Vulkan-capable GPU driver and the Vulkan runtime loader. model weights aren't included.
one thing i want to make clear is that WMMA is still opt-in globally. the default is still off, and you have to explicitly select full-fp16 to use the P3 path. P3 is simply the default implementation within that mode. the Mixed precision path is separate and hasn't been replaced.
the hardware qualification was performed on my AMD Radeon Graphics adapter, PCI ID 1002:15bf (RDNA3 / Phoenix). i haven't qualified this on every RDNA3 GPU, RDNA3.5, RDNA4, Intel or NVIDIA hardware, so please don't assume universal compatibility.
there are still things i haven't been able to test, including independent clean-machine/second-device acceptance, GUI interaction, Windows 10 acceptance, and code signing. the executables are currently unsigned.
anyway, i'm really happy to finally have this one out. v0.2.0 was the first public release of the WMMA implementation, and v0.2.5 is a pretty substantial improvement to that foundation. a lot of time went into checking that the numerical improvements were real, that the performance was actually measurable, and that the distributed binaries were doing what they were supposed to do.
Release: https://github.com/necat101/Hierarchos-Native/releases/tag/v0.2.5
Source: https://github.com/necat101/Hierarchos-Native
thank you to everyone who's been following the project, testing things, reporting issues, or just keeping an eye on development. it genuinely means a lot! thank you so much everyone!! :3 also, sorry for the AI posts lately, I've been trying to save as much time as possible to work on the project itself due to live events getting tough! this one is completely human written! :3
Hey, here's the next video in my vulkan series, focusing on dynamic lighting, various light types, gltf lights and tonemapping.
r/vulkan • u/PeterBrobby • 7d ago
I explain the mathematics underpinning spring mechanics then implement a solution in C++ using a net as an example. Implementation begins at 10:05. Feedback is welcome.
r/vulkan • u/Delicious_Abies_9708 • 9d ago
I think it would be cool, I mean cuda is the holy grail of GPU programming and we're at a point now where reverse engineering it or whatever could possibly be done. What do y'all think? Am I stupid?
r/vulkan • u/Delicious_Abies_9708 • 9d ago
If someone wants to help out just read the readme and see if you want to vibe code with me lol..seriously though there is no dataframe package for vulkan so we will build that on top of this https://github.com/billyblackburn/vknumpy/blob/main/docs/ROADMAP.md
r/vulkan • u/SnooSquirrels9028 • 9d ago
r/vulkan • u/Delicious_Abies_9708 • 11d ago
AI was used for this project . gemini 4 hydrogen.