1887224326350635382, 1737126160402665958, 1741871612960600471

This commit is contained in:
ed committed 2026-08-26 11:40:11 -04:00
1 parent 5ff36e91e5
commit ba3674cbd7
33 files changed
+719 -280

No files matched your search

@@ -0,0 +1,37 @@
---
title: "@NOTimothyLottes queue to queue syncs via cpu need to go"
type: archive
source: twitter
source_url: "https://x.com/SheriefFYI/status/1737163114670358622"
author: "Sherief, FYI"
handle: SheriefFYI
post_id: "1737163114670358622"
date: 2023-12-19
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "@NOTimothyLottes queue to queue syncs via cpu need to go"
in_reply_to: ""
parent_post_id: "1737162074172637506"
---
## Source
- URL: https://x.com/SheriefFYI/status/1737163114670358622
- Author: Sherief, FYI (@SheriefFYI)
- Posted: 2023-12-19 17:28:56
## Branch
**1/** **@SheriefFYI** ^1737163114670358622
**@NOTimothyLottes**
queue to queue syncs via cpu need to go
## Related
- Spine: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
@@ -0,0 +1,37 @@
---
title: "@NOTimothyLottes @SheriefFYI Yup, right now I async copy mesh and textures data, uniform/constat buffer are just a memcpy via a mapped ptr."
type: archive
source: twitter
source_url: "https://x.com/_woookie_/status/1737165821925818879"
author: "Łukasz Bogaczyński"
handle: _woookie_
post_id: "1737165821925818879"
date: 2023-12-19
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "@NOTimothyLottes @SheriefFYI Yup, right now I async copy mesh and textures data, uniform/constat buffer are just a memcpy via a mapped ptr."
in_reply_to: ""
parent_post_id: "1737162074172637506"
---
## Source
- URL: https://x.com/_woookie_/status/1737165821925818879
- Author: Łukasz Bogaczyński (@_woookie_)
- Posted: 2023-12-19 17:39:41
## Branch
**1/** **@_woookie_** ^1737165821925818879
**@NOTimothyLottes** **@SheriefFYI**
Yup, right now I async copy mesh and textures data, uniform/constat buffer are just a memcpy via a mapped ptr. I also have an "immediate" copy for any data upload into storage buffers per frame (e.g. draw info). I gotta try rebar for the last ones though
## Related
- Spine: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
@@ -0,0 +1,81 @@
---
title: "@NOTimothyLottes @SheriefFYI Wait, is this an issue with VK only or D3D12 too?"
type: archive
source: twitter
source_url: "https://x.com/lectem/status/1737171397477106038"
author: "Clément Grégoire"
handle: lectem
post_id: "1737171397477106038"
date: 2023-12-19
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "@NOTimothyLottes @SheriefFYI Wait, is this an issue with VK only or D3D12 too?"
in_reply_to: ""
parent_post_id: "1737161181524095352"
---
## Source
- URL: https://x.com/lectem/status/1737171397477106038
- Author: Clément Grégoire (@lectem)
- Posted: 2023-12-19 18:01:50
## Branch
**1/** **@lectem** ^1737171397477106038
**@NOTimothyLottes** **@SheriefFYI**
Wait, is this an issue with VK only or D3D12 too?
**2/** **@SheriefFYI** ^1737171797991190978
**@lectem** **@NOTimothyLottes**
both, it’s part of WDDM architecture.
**3/** **@lectem** ^1737172605260443945
**@SheriefFYI** **@NOTimothyLottes**
Oh damn, I was under the impression that it was not really expensive as Unreal does use them quite a bit and I never saw issues with that...
How big of an issue can it be?
**4/** **@SheriefFYI** ^1737173083008487777
**@lectem** **@NOTimothyLottes**
depends on how long your wait is usually. if the fence is signaled early enough the wait can become a no-op.
**5/** **@lectem** ^1737173826050392448
**@SheriefFYI** **@NOTimothyLottes**
In the scenario I've measured it was basicly copies or compute done at the beginning of frame so the gfx queue was definitely waiting and signal was after work.
Didn't really measure but it didn't seem that big of an issue. Maybe because it was at beginning / end of cmd exec?
**6/** **@lectem** ^1737174096947954046
**@SheriefFYI** **@NOTimothyLottes**
Or by early enough do you mean that if the wait is short (under millisec or something ) it's OK?
**7/** **@SheriefFYI** ^1737174479967568185
**@lectem** **@NOTimothyLottes**
please measure and then we can talk.
**8/** **@lectem** ^1737175062585696506
**@SheriefFYI** **@NOTimothyLottes**
I'll try to find a few captures during the week.
## Related
- Spine: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
@@ -0,0 +1,37 @@
---
title: "@NOTimothyLottes @SheriefFYI I don't do async textures/buffers in my gpu abstraction yet, still not sure if I want to make it the default or optional at all."
type: archive
source: twitter
source_url: "https://x.com/pATjako/status/1737173438417035568"
author: "Peter Jakobs"
handle: pATjako
post_id: "1737173438417035568"
date: 2023-12-19
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "@NOTimothyLottes @SheriefFYI I don't do async textures/buffers in my gpu abstraction yet, still not sure if I want to make it the default or optional at all."
in_reply_to: ""
parent_post_id: "1737162074172637506"
---
## Source
- URL: https://x.com/pATjako/status/1737173438417035568
- Author: Peter Jakobs (@pATjako)
- Posted: 2023-12-19 18:09:57
## Branch
**1/** **@pATjako** ^1737173438417035568
**@NOTimothyLottes** **@SheriefFYI**
I don't do async textures/buffers in my gpu abstraction yet, still not sure if I want to make it the default or optional at all.
## Related
- Spine: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
@@ -0,0 +1,67 @@
---
title: "@NOTimothyLottes @SheriefFYI What’s the best way of doing that if rebar is not supported? Say on WebGL / DX11?"
type: archive
source: twitter
source_url: "https://x.com/Meetem4/status/1737448166683713602"
author: "Meetem"
handle: Meetem4
post_id: "1737448166683713602"
date: 2023-12-20
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "@NOTimothyLottes @SheriefFYI What’s the best way of doing that if rebar is not supported? Say on WebGL / DX11?"
in_reply_to: ""
parent_post_id: "1737162074172637506"
---
## Source
- URL: https://x.com/Meetem4/status/1737448166683713602
- Author: Meetem (@Meetem4)
- Posted: 2023-12-20 12:21:37
## Branch
**1/** **@Meetem4** ^1737448166683713602
**@NOTimothyLottes** **@SheriefFYI**
What’s the best way of doing that if rebar is not supported? Say on WebGL / DX11?
**2/** **@NOTimothyLottes** ^1737478162009801189
**@Meetem4** **@SheriefFYI**
For DX11, use Vulkan instead. On pre-large-bar, AMD still supported the 256 MiB device_local+host_visible, NV one has to fallback to slower bus crossing just host_visible buffer.
**3/** **@NOTimothyLottes** ^1737479360867688545
**@Meetem4** **@SheriefFYI**
As for Web* - Root problem is more like the idea that if someone has a broken arm, that all arms should be broken too, so until the controlling parties can be convinced that it is ok to support both people with broken arms and non-broken arms, good luck
**4/** **@Meetem4** ^1737515940055527782
**@NOTimothyLottes** **@SheriefFYI**
Thank you. Does large bar require support for ReBAR, so 30xx gpus?
**5/** **@NOTimothyLottes** ^1737519841341321657
**@Meetem4** **@SheriefFYI**
Probably more complex, as in dependent on {motherboard chipset, BIOS/UEFI settings, GPU chipset that the IHVs greenlight enable which might be driver dependent}?
**6/** **@Meetem4** ^1737528676198039713
**@NOTimothyLottes** **@SheriefFYI**
Thank you very much, I'm extemely appreciate that!
## Related
- Spine: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]
@@ -0,0 +1,46 @@
---
title: "Always always always use an async copy queue"
type: archive
source: twitter
source_url: "https://x.com/SheriefFYI/status/1737126160402665958"
author: "Sherief, FYI"
handle: SheriefFYI
post_id: "1737126160402665958"
date: 2023-12-19
archived: 2026-08-26
draft: false
tags:
- archive
- twitter
- SheriefFYI
description: "Always always always use an async copy queue"
in_reply_to: ""
---
## Source
- URL: https://x.com/SheriefFYI/status/1737126160402665958
- Author: Sherief, FYI (@SheriefFYI)
- Posted: 2023-12-19 15:02:05
## Thread
**1/** **@SheriefFYI** ^1737126160402665958
Always always always use an async copy queue
**2/** **@NOTimothyLottes** ^1737161181524095352
**@SheriefFYI**
To be fair, that is only the case on PC if one can afford to delay waiting for transfer completion for a few frames (aka via cmd completion fence on VK), because queue to queue syncs (aka via VK semaphores) are perf-death-style CPU interrupt based ...
Branches: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue/2023-12-19-lectem-wait-is-this-an-issue-with-vk-only-or-d3d12-too]]
**3/** **@NOTimothyLottes** ^1737162074172637506
**@SheriefFYI**
... so for latency sensitive stuff, either stuff it via CPU writes to DEVICE_LOCAL+HOST_VISIBLE (or large BAR), or a limited kernel size copy shader if needing image stuffing
Branches: [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue/2023-12-19-SheriefFYI-queue-to-queue-syncs-via-cpu-need-to-go]], [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue/2023-12-19-_woookie_-yup-right-now-i-async-copy-mesh-and-textures-data]], [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue/2023-12-19-pATjako-i-dont-do-async-textures-buffers-in-my-gpu]], [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue/2023-12-20-Meetem4-whats-the-best-way-of-doing-that-if-rebar-is-not]]
+12
View File
@@ -0,0 +1,12 @@
---
title: SheriefFYI
type: note
draft: false
description: Archived threads by SheriefFYI.
tags:
- archive
- twitter
- SheriefFYI
---
- [[archive/threads/SheriefFYI/2023-12-19-always-always-always-use-an-async-copy-queue]]