From 827bf8d7a8fc6182b8a8175568d52b38815145b8 Mon Sep 17 00:00:00 2001 From: Ed_ Date: Tue, 25 Aug 2026 11:54:18 -0400 Subject: [PATCH] 2074720328161411450 --- .../index.md | 30 ----------- .../index.md | 50 +++++++++++++++++++ .../index.md | 32 ------------ archive/threads/NOTimothyLottes/index.md | 3 +- 4 files changed, 51 insertions(+), 64 deletions(-) delete mode 100644 archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing/index.md create mode 100644 archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is/index.md delete mode 100644 archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building/index.md diff --git a/archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing/index.md b/archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing/index.md deleted file mode 100644 index 3f180e5..0000000 --- a/archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing/index.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: "Next pre-device opening activity is choosing queue(s)." -type: archive -source: twitter -source_url: "https://x.com/NOTimothyLottes/status/2074725506050642021" -author: "NOTimothyLottes" -handle: NOTimothyLottes -post_id: "2074725506050642021" -date: 2026-07-08 -archived: 2026-08-23 -draft: false -tags: - - archive - - twitter - - NOTimothyLottes -description: "Next pre-device opening activity is choosing queue(s)." -in_reply_to: "" ---- - -## Source - -- URL: https://x.com/NOTimothyLottes/status/2074725506050642021 -- Author: NOTimothyLottes (@NOTimothyLottes) -- Posted: 2026-07-08 05:21:21 - -## Thread - -**1/** - -Next pre-device opening activity is choosing queue(s). Going to make another effort at beam racing, this time on Linux, so probably want a separate queue for presentation only. To fully decouple {dispatch, and swap}. Will see why later ... diff --git a/archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is/index.md b/archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is/index.md new file mode 100644 index 0000000..54a1999 --- /dev/null +++ b/archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is/index.md @@ -0,0 +1,50 @@ +--- +title: "Oh, my RADV driver says vkGetShaderInfoAMD is available [GPU disassembly dumps]." +type: archive +source: twitter +source_url: "https://x.com/NOTimothyLottes/status/2074720328161411450" +author: "NOTimothyLottes" +handle: NOTimothyLottes +post_id: "2074720328161411450" +date: 2026-07-08 +archived: 2026-08-25 +draft: false +tags: + - archive + - twitter + - NOTimothyLottes +description: "Oh, my RADV driver says vkGetShaderInfoAMD is available [GPU disassembly dumps]." +in_reply_to: "" +--- + +## Source + +- URL: https://x.com/NOTimothyLottes/status/2074720328161411450 +- Author: NOTimothyLottes (@NOTimothyLottes) +- Posted: 2026-07-08 05:00:47 + +## Thread + +**1/** + +Oh, my RADV driver says vkGetShaderInfoAMD is available [GPU disassembly dumps]. Going to be exciting to see how RADV compiler does. Will definitely be filing optimization bugs, would like to help the RADV team make this the best AMD Vulkan driver that can exist. + +**2/** + +One other concern was if RADV would support DEVICE_UNCACHED_BIT_AMD - and looks like RADV already has that, which means low-latency CPU/GPU communication should just work out of the box + +![](https://pbs.twimg.com/media/HMrkGrMXwAA9Cr0?format=jpg&name=orig) + +**3/** + +One of the pain points of doing header-free Vulkan is the VkPhysicalDeviceLimits structure. I avoid it completely and replace the structure with an equal size array of 63 64-bit values (504 bytes total). Then use direct byte offset for timestampPeriod (only thing useful in there) + +![](https://pbs.twimg.com/media/HMrlR1cWQAAsqXD?format=png&name=orig) + +**4/** + +The other component of vkGetPhysicalDeviceProperties that is useful is the vendorID, which is important for vendor specific engine permutations -> I use to enable vkGetShaderInfoAMD disassembly dumps automatically on all shaders + +**5/** + +Next pre-device opening activity is choosing queue(s). Going to make another effort at beam racing, this time on Linux, so probably want a separate queue for presentation only. To fully decouple {dispatch, and swap}. Will see why later ... diff --git a/archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building/index.md b/archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building/index.md deleted file mode 100644 index b1af184..0000000 --- a/archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building/index.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: "@darrellprograms Oh I probably have a lot to learn here, building from scratch = understanding deeply." -type: archive -source: twitter -source_url: "https://x.com/NOTimothyLottes/status/2075403544111263795" -author: "NOTimothyLottes" -handle: NOTimothyLottes -post_id: "2075403544111263795" -date: 2026-07-10 -archived: 2026-08-23 -draft: false -tags: - - archive - - twitter - - NOTimothyLottes -description: "@darrellprograms Oh I probably have a lot to learn here, building from scratch = understanding deeply." -in_reply_to: "2075398576101093766" ---- - -## Source - -- URL: https://x.com/NOTimothyLottes/status/2075403544111263795 -- Author: NOTimothyLottes (@NOTimothyLottes) -- Posted: 2026-07-10 02:15:38 - -> @NOTimothyLottes I respect that, as long as you know what wheels you're reinventing. Note that you can keep Wayland or X11 running (or both, for that matter) for your dev environment, and just do control-alt-fN switching to test Wayland/X11-independent KMSDRM stuff. - -## Thread - -**1/** - -@darrellprograms Oh I probably have a lot to learn here, building from scratch = understanding deeply. For example I wonder if VT switching fully pages out to clean VRAM, exclusive GPU ownership state. diff --git a/archive/threads/NOTimothyLottes/index.md b/archive/threads/NOTimothyLottes/index.md index 033790c..2a59e79 100644 --- a/archive/threads/NOTimothyLottes/index.md +++ b/archive/threads/NOTimothyLottes/index.md @@ -85,9 +85,8 @@ tags: - [[archive/threads/NOTimothyLottes/2026-07-03-following-the-succession-thanks-of-re-trying]] - [[archive/threads/NOTimothyLottes/2026-07-04-oh-no-maybe-another-wine-bug-error-photo-im-also]] - [[archive/threads/NOTimothyLottes/2026-07-06-vulkan-starts-with-the-ping-pong-between-getting]] -- [[archive/threads/NOTimothyLottes/2026-07-08-next-pre-device-opening-activity-is-choosing]] +- [[archive/threads/NOTimothyLottes/2026-07-08-oh-my-radv-driver-says-vkgetshaderinfoamd-is]] - [[archive/threads/NOTimothyLottes/2026-07-09-so-most-run-linux-from-a-graphical-login-i-still]] -- [[archive/threads/NOTimothyLottes/2026-07-10-oh-i-probably-have-a-lot-to-learn-here-building]] - [[archive/threads/NOTimothyLottes/2026-07-11-rethinking-vulkan-queue-choice]] - [[archive/threads/NOTimothyLottes/2026-07-13-another-quality-of-life-change-exit-with-error]] - [[archive/threads/NOTimothyLottes/2026-07-14-another-round-of-getting-optimized-error-checking]]