Hans-Kristian (@Themaister) header
Hans-Kristian (@Themaister) profile picture

vkd3d-proton / Fossilize / SPIRV-Cross dev, graphics programmer, music composer, DSP hobbyist || Blog: https://teapawt.net/t.co/pD4CquKUIZ This is my personal account.

Trondheim, Norway
Joined June 2009
Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)Photo by Hans-Kristian (@Themaister)
Ray-tracing support in vkd3d-proton is finally starting to come together. Starting with some meme reflections.
5
31
4
200
Workgraphs are starting to come alive in vkd3d-proton 👀 Testing the SimpleClassify demo from AMD. This is implemented with plain vkCmdDispatchIndirect and some magic. The overhead to distribute work to 6.5 million threads is 61 us.
5
24
166
12,040
Released paraLLEl-GS. Compute shader emulation of the PlayStation2 GS :eyes: themaister.net/blog/2024/07/… It's been cooking in the background for quite a while. Happy how it turned out.
4
23
3
79
9,130
Released initial version of my Vulkan video encode library github.com/HansKristian-Work… under MIT license. Early days with basic H.264 encode support. Thanks to @3dverse_tech for funding the work. I'll integrate this into PyroFling when I have time 👀
10
1
54
4,583
New blog: a forward-error correction side quest in real-time game streaming. themaister.net/blog/2024/02/…
1
2
15
2,203
New blog post: A very long-winded rambling on my mesh shader implementation in Granite themaister.net/blog/2024/01/…
2
26
83
7,535
New blog post. In this episode we venture on a very long quest to do DIY game streaming. themaister.net/blog/2023/11/…
7
23
4,306
New blog: Hardcore GPU debugging with UMR on AMDGPU Linux in vkd3d-proton themaister.net/blog/2023/08/…
1
21
58
8,451
New blog post: Vulkan video shenanigans with RADV + FFmpeg themaister.net/blog/2023/01/…
3
16
1
104
18,832
Going on holiday from today. Fortunately we landed vkd3d-proton v2.8 in time and the Github page just reached 1k stars, nice. 🎄
1
20
2,264
Oh look we did a thing: github.com/KhronosGroup/Vulk… Who wants GPU memory copies for descriptors?
2
7
2
40
Extremely cursed issue that caused me 3 weeks of pain: github.com/HansKristian-Work… UAV coherence rules have a small but critical difference that caused cache incoherency bugs in a huge compute shader ... ÆÆÆÆ... I thought I had understood the rules for >10 years, but apparently not!
1
11
Made a new piano piece. Got some more jazzy ideas lately. Content warning: Excessive melancholy soundcloud.com/zoned-music/p…
4
Finally, I finished up the DXIL -> SPIR-V hellscape blog series that took a year to complete. In the finale, I go through the structurizer implementation. Back from vacation tomorrow. themaister.net/blog/2022/08/…
1
22
107
Finally got around to adding external memory interop to Granite. Got it working in GL, D3D11 and D3D12 on NV and AMD. (Intel Windows doesn't support D3D11/12 VK interop, but GL worked ...) Made some simple test apps that render a frame in Vulkan and present to GL, D3D11 and 12.
1
12
For GL we have GL_EXT_external_objects. Export OPAQUE_FD/WIN32 from Vulkan and import in GL. For synchronization, binary semaphores are used.
1
1
In D3D11/12, ID3D11/12Fence is used which is basically the same thing. Requires 11.3. Oddly enough, AMD Windows driver only supports import from D3D, not export.
1
Got FSR2 working in Granite with a custom backend. 🎉 Not a complete impl or anything (no reactive mask), but blew my previous TAA -> FSR1 out of the park. For shits and giggles here's 3x upscale (ultra performance) on still image. Granite fork here: github.com/Themaister/Fideli…
1
26
VK_EXT_shader_module_identifier shipped today 👀 This will be pretty huge for the vkd3d-proton internal magic cache. We'll be able to reduce that cache by about >95% since we no longer have to save chonkers SPIR-V modules on-disk. Gonna push up Mesa MR very soon.
1
3
31
Today in bullshit bugs: - App aliases a depth buffer and indirect buffer. Garbage initial resource state rules caused us to perform UNDEFINED -> DEPTH transition too early, clobbering the indirect buffer with HTILE metadata, leading to crash in DrawIndirect ...
1
7
Another "fun" case: - It's undefined behavior to use D3D11-style UAV counters if they are NULL apparently. Modern title ran into this ... It behaves differently on all desktop 3 vendors, but it does not crash GPU, so we have to handle it robustly in vkd3d-proton. 💩
1
10