13:15 blisto[d]: Sid figured my issue :tuxyay:
13:15 blisto[d]: <https://gitlab.freedesktop.org/mesa/mesa/-/issues/11163#note_2712702>
13:15 tiredchiku[d]: additionally
13:15 tiredchiku[d]: hardware cursor seems to be broken
13:16 tiredchiku[d]: at least on plasma
13:23 tiredchiku[d]: bisect time?
13:23 tiredchiku[d]: maybe
13:24 blisto[d]: gasp
13:26 tiredchiku[d]: but not today
13:26 tiredchiku[d]: I'm 🛞d
13:27 tiredchiku[d]: tiredchiku[d]: would this be related to mesa, or the kernel?
13:53 tiredchiku[d]: can someone more well versed with the nvkmd part of mesa tell me how we request different mem types from the kernel?
13:53 tiredchiku[d]: going through the code but struggling to make heads or tails of it
13:56 tiredchiku[d]: what's `nouveau_ws_bo_from_dma_buf_locked()`
13:56 tiredchiku[d]: or `nouveau_ws_bo_new_tiled_locked()`
13:59 tiredchiku[d]: how does `nvkmd_nouveau_alloc_tiled_mem()` aid me if I want to request the kernel driver for uncached memory
14:13 dwlsalmeida[d]: hey how long does this live for?
14:13 dwlsalmeida[d]: VkResult
14:13 dwlsalmeida[d]: nvk_cmd_buffer_upload_alloc(struct nvk_cmd_buffer *cmd,
14:13 dwlsalmeida[d]: uint32_t size, uint32_t alignment,
14:13 dwlsalmeida[d]: uint64_t *addr, void **ptr)
14:15 dwlsalmeida[d]: tiredchiku[d]: ehh.. sorry man I was also puzzled with this nvkmd stuff
16:54 gfxstrand[d]: tiredchiku[d]: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/nouveau/vulkan/nvkmd/nouveau/nvkmd_nouveau_mem.c?ref_type=heads#L86
16:59 tiredchiku[d]: hm, so if I had to request the kernel for uncached GART memory, would I request the coherent domain?
19:18 gfxstrand[d]: There is no uncached GART right now.
19:19 gfxstrand[d]: There's GART (cached), VRAM (write-combine), and BOs which can be in either.
19:19 gfxstrand[d]: That's all the control we have right now
19:20 gfxstrand[d]: If you think you have maps that are screwed up, the most likely reason is that someone forgot to set the BO_MAP flag.
19:36 tiredchiku[d]: but if I wanted to expose a sysmem type that's not cached, how would I do that
19:37 tiredchiku[d]: NVK's the only dGPU driver that does
19:37 tiredchiku[d]: [0] DEVICE_LOCAL
19:37 tiredchiku[d]: [1] DEVICE_LOCAL | HOST_VISIBLE | HOST_COHERENT
19:37 tiredchiku[d]: [2] HOST_VISIBLE | HOST_COHERENT | HOST_CACHED```
19:39 tiredchiku[d]: every other driver does
19:39 tiredchiku[d]: [0] DEVICE_LOCAL
19:39 tiredchiku[d]: [1] HOST_VISIBLE | HOST_COHERENT
19:39 tiredchiku[d]: [2] DEVICE_LOCAL | HOST_VISIBLE | HOST_COHERENT
19:39 tiredchiku[d]: [3] HOST_VISIBLE | HOST_COHERENT | HOST_CACHED```
19:42 tiredchiku[d]: i.e. we don't expose a sysmem type that _isn't_ BAR
21:15 gfxstrand[d]: We don't have a way right now
21:15 gfxstrand[d]: There's no kernel API to allow for it.
21:16 gfxstrand[d]: I really want to throw drm_nouveau.h away and start over...