ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
klounge1 has quit []
sre5 has quit []
Mary has quit [Quit: Ping timeout (120 seconds)]
Rayyan has quit [Quit: Ping timeout (120 seconds)]
Rayyan has joined #dri-devel
Mary has joined #dri-devel
klounge1 has joined #dri-devel
sre5 has joined #dri-devel
jkhsjdhjs has quit [Remote host closed the connection]
jkhsjdhjs has joined #dri-devel
Danct12 has quit [Remote host closed the connection]
Danct12 has joined #dri-devel
haagch_ has quit [Remote host closed the connection]
mmind00 has quit [Remote host closed the connection]
JoshuaAshton has quit [Remote host closed the connection]
haagch has joined #dri-devel
mmind00 has joined #dri-devel
JoshuaAshton has joined #dri-devel
pinchartl has quit [Remote host closed the connection]
pinchartl has joined #dri-devel
<zmike> I hope it blends
glennk has quit [Ping timeout: 480 seconds]
yyds has joined #dri-devel
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
flynnjiang has joined #dri-devel
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
pie has joined #dri-devel
pie has quit []
ILOVEPIE has joined #dri-devel
<ILOVEPIE> Can someone point me to where i can find information on the nir_intrinsic_first_invocation instruction? I noticed it was missing from the nouveau compiler and it's causing issues with running a specific piece of software through NVK, I wanted to try my hand at fixing that since it seems to be a rather simple instruction.
<alyssa> nir_intrinsics.py
amarsh04 has quit []
u-amarsh04 has joined #dri-devel
apinheiro has quit [Quit: Leaving]
mbrost_ has quit [Ping timeout: 480 seconds]
Leopold_ has quit [Ping timeout: 480 seconds]
Leopold_ has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
bmodem has joined #dri-devel
ILOVEPIE has quit [Quit: WeeChat 4.2.1]
simon-perretta-img has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has joined #dri-devel
agd5f_ has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
kts has quit [Remote host closed the connection]
kts has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
Company has quit [Quit: Leaving]
kzd has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
mbrost_ has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
Haaninjo has joined #dri-devel
pcercuei has joined #dri-devel
lemonzest has quit [Quit: WeeChat 4.2.1]
sima has joined #dri-devel
Duke`` has joined #dri-devel
lemonzest has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
fab has joined #dri-devel
itoral has joined #dri-devel
itoral_ has joined #dri-devel
zxrom has quit []
yyds has quit [Ping timeout: 480 seconds]
yyds has joined #dri-devel
itoral has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
junaid has joined #dri-devel
yyds_ has joined #dri-devel
kts has joined #dri-devel
yyds has quit [Ping timeout: 480 seconds]
bmodem has quit [Ping timeout: 480 seconds]
kugel has joined #dri-devel
kts has quit [Quit: Leaving]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
glennk has joined #dri-devel
kts has joined #dri-devel
fab has quit [Quit: fab]
mbrost_ has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
itoral_ has quit [Read error: No route to host]
warpme has joined #dri-devel
sgruszka has joined #dri-devel
itoral has joined #dri-devel
jsa has joined #dri-devel
Peuc has quit [Remote host closed the connection]
Peuc has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
warpme has quit []
kts has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
mbrost has joined #dri-devel
dv__ has quit []
dv_ has joined #dri-devel
jkrzyszt has joined #dri-devel
jkrzyszt has quit []
jkrzyszt has joined #dri-devel
itoral has quit [Remote host closed the connection]
fab has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
mbrost has quit [Remote host closed the connection]
<tursulin> demarchi: that one slipped my mind.. mr uploaded
lynxeye has joined #dri-devel
kj2 has joined #dri-devel
jfalempe has quit [Read error: Connection reset by peer]
jfalempe has joined #dri-devel
hansg has joined #dri-devel
hansg has quit []
warpme has quit []
<karolherbst> jenatali: fyi, I started to work again on program scope variables in case you are interested: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24515
<karolherbst> it's kinda cursed, but maybe you have better ideas?
xroumegue has quit [Ping timeout: 480 seconds]
axtlos has joined #dri-devel
<karolherbst> but would also be helpful to get input from others, because that feature is really cursed...
ungeskriptet is now known as Guest4052
ungeskriptet has joined #dri-devel
xroumegue has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
mvlad has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
axtlos_ has joined #dri-devel
Guest4052 has quit [Ping timeout: 480 seconds]
axtlos is now known as Guest4054
axtlos_ is now known as axtlos
fab has quit [Quit: fab]
jfalempe has quit [Ping timeout: 480 seconds]
axtlos has quit [Remote host closed the connection]
jfalempe has joined #dri-devel
cheako has quit [Quit: Connection closed for inactivity]
jkrzyszt has joined #dri-devel
warpme has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
jfalempe has quit [Read error: Connection reset by peer]
rasterman has joined #dri-devel
jfalempe has joined #dri-devel
kj2 has quit []
kj2 has joined #dri-devel
<jenatali> karolherbst: I'll take a look
jsa has quit [Ping timeout: 480 seconds]
rz_ has quit [Remote host closed the connection]
rz has joined #dri-devel
<karolherbst> jenatali: I wonder if it makes sense to implement this for real from the start, but that's really annoying to do actually... my current plan is to have an entirely new entry point to vtn with a custom vtn_handle_constant which just emits it into a init entry point....
<karolherbst> and have some nir opts which can optimize stores to the global var to a value in the initializer.. but that's even more work :')
apinheiro has joined #dri-devel
jsa has joined #dri-devel
<jenatali> karolherbst: I'm traveling today so if I don't take a look by end of week, tag me in the MR so I get an email I can use as a reminder
<karolherbst> okay, have fun!
<jenatali> These IRC pings come in at 4am and by the time I'm actually in front of a PC I sometimes have forgotten :)
<karolherbst> heh
ungeskriptet is now known as Guest4059
ungeskriptet has joined #dri-devel
Haaninjo has joined #dri-devel
Guest4059 has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
vliaskov has joined #dri-devel
yyds_ has quit [Remote host closed the connection]
evadot has quit [Read error: Connection reset by peer]
danylo has quit [Quit: Ping timeout (120 seconds)]
evadot has joined #dri-devel
danylo has joined #dri-devel
shoragan has quit [Quit: quit]
robmur01 has quit [Remote host closed the connection]
gpiccoli has quit [Remote host closed the connection]
dliviu has quit [Remote host closed the connection]
robmur01 has joined #dri-devel
shoragan has joined #dri-devel
gpiccoli has joined #dri-devel
dliviu has joined #dri-devel
krumelmonster has quit [Ping timeout: 480 seconds]
rawoul has quit [Remote host closed the connection]
rawoul has joined #dri-devel
krumelmonster has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has joined #dri-devel
melonai5 has quit []
glehmann has quit [Remote host closed the connection]
Venemo has quit [Remote host closed the connection]
melonai5 has joined #dri-devel
glehmann has joined #dri-devel
Venemo has joined #dri-devel
kts has quit [Quit: Leaving]
guludo has joined #dri-devel
kts has joined #dri-devel
<Hazematman> Hey I've had this MR sitting for a little while right now to enable dma buf import & export support in llvmpipe & lavapipe. I was hoping I could get some feedback on it and get it landed https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27805
ity has quit [Remote host closed the connection]
ity has joined #dri-devel
ghishadow has quit [Remote host closed the connection]
<zmike> I'm getting to it
<zmike> it's been a busy week
<mareko> robclark: I'd like it to have a better comment after return is_drm_shim;
<mareko> zmike: I think you need to re-run divergence analysis because nir_opt_varyings sets it to vertex divergence
<zmike> hm ok, will try
<zmike> thanks
ghishadow has joined #dri-devel
warpme has quit []
<Hazematman> Thanks zmike! :)
<demarchi> tursulin: merged, thanks :)
<mripard> jani, demarchi: I added a new patch to the Kconfig series, could you review it? https://lore.kernel.org/all/20240327-kms-kconfig-helpers-v3-7-eafee11b84b3@kernel.org/
yyds has joined #dri-devel
<demarchi> mripard: will do
<demarchi> mripard: jani karolherbst could you take a look at https://gitlab.freedesktop.org/drm/maintainer-tools/-/merge_requests/46 ?
<demarchi> related to the move of (most) repos to gitlab
warpme has joined #dri-devel
<mripard> demarchi: done :)
<zmike> mareko: yeah that seems to fix things, thanks again
kts has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Quit: Ex-Chat]
<robclark> mareko: newer version just marks userspace fences signaled after submit.. but still OoM's mid way thru drawoverhead, so I guess I'm missing something
<alyssa> jenatali: how do samplers in descriptor sets work in dozen?
<alyssa> given that dx12 has a limit of 2048 samplers in the heap, but vk allows creating 4000 samplers?
<alyssa> particular with EDI/update-after-bind
<jenatali> alyssa: we bumped the limit due to that VK requirement
<alyssa> how can that work? wasn't the limit already tight on nvidia?
<jenatali> The 2048 limit comes from NV. They have 4096 max, which we partition into 2048 app samplers, 2032 static samplers across all possible root signatures (like descriptor set layouts), and 16 driver-reserved
<jenatali> To get 4k you have to give up on the static samplers, which aren't beneficial for them from a perf POV anyway, just developer convenience
<alyssa> (and does this cause a problem in turn where vk needs to bump limits for vkd3d-proton, and then we just end up in a layering feedback loop until both vk and d3d12 require infinite samplers?)
<alyssa> :P
<DemiMarie> 🤣
<DemiMarie> Has anyone actually tried VK on D3D12 on VK on D3D12?
<DemiMarie> I guess a Vulkan app running under Wine would be VK on D3D12 on VK.
<karolherbst> nah, they just do vulkan directly for most part
<jenatali> Why? It'd just be vk
<DemiMarie> I thought Windows didn’t guarantee that Vulkan was present, so one must bring one’s own VK-on-D3D12 implementation.
<mareko> zmike: divergence information currently is not guaranteed to be correct or up-to-date anyway if you have run any passes after divergence analysis, so any pass that uses "divergent" should have it re-run
<zmike> got it
<zmike> makes sense
<mareko> Daniel suggested making it metadata that a pass can "require"
<karolherbst> DemiMarie: why would that matter for windows?
<karolherbst> *wine
fab has joined #dri-devel
<DemiMarie> karolherbst: I wasn’t sure if there was a way to check if the driver used Vulkan
<DemiMarie> *supported
<jenatali> Demi: apps can and do assume it's present
<jenatali> Dozen exists partly for that reason, so we can provide a fallback for the case where the driver doesn't provide it
<jenatali> alyssa: I don't think that'll cause problems for vkd3d. But does that answer your question?
<glehmann> they are beneficial for AMD perf
<glehmann> > To get 4k you have to give up on the static samplers, which aren't beneficial for them from a perf POV anyway
kts has joined #dri-devel
<jenatali> glehmann: right, I meant specifically for NV
<jenatali> The way we lifted to 4k is for drivers to specify a separate limit for static samplers
yyds has quit [Ping timeout: 480 seconds]
kts has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
kzd has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
<alyssa> jenatali: mind linking relevant dx12 spec? not having luck searching
<alyssa> thx
<jenatali> Note that we only have this problem for update-after-bind descriptors. We have a path which copies descriptors at draw time which has no limit on the number of samplers alive at a time, just per pipeline layout
<jenatali> But we can only use that path if we don't enable the descriptor indexing extension
<alyssa> yep
<alyssa> jenatali: tangentially related -- does dx12 spec a limit for static samplers accessed in a single shader?
<jenatali> alyssa: no, 2032 total alive at a time though
<alyssa> ack
<alyssa> thanks
<jfalempe> sima: regarding drm panic, I only have one change from the v10 https://lists.freedesktop.org/archives/dri-devel/2024-March/446198.html. May I send a v11 with just that ?
canonjet has joined #dri-devel
guludo has quit [Quit: WeeChat 4.2.1]
guludo has joined #dri-devel
rz_ has joined #dri-devel
rz has quit [Ping timeout: 480 seconds]
<sima> jfalempe, yeah macro sounds like a good idea if that helps
<sima> and best to match semantics of the spinlock functions as close as possible
yyds has joined #dri-devel
<canonjet> dwfreed, so you look at the onion server or tor service exit node, and freeze my socket which would freeze any of the gui functionality to initiate new widget through the main oftc connection, it actually has visible side effects on all clients. but you could do it more intelligent i assume that i would not understand i am cut off.
fab has quit [Quit: fab]
fab has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
chloekek has joined #dri-devel
kts has joined #dri-devel
guludo has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
Ojus has joined #dri-devel
guludo has joined #dri-devel
fab has quit [Quit: fab]
fab has joined #dri-devel
fab has quit [Remote host closed the connection]
fab has joined #dri-devel
Kayden has quit [Quit: change locations]
yyds has quit [Remote host closed the connection]
zxrom has joined #dri-devel
<tomeu> so, I have my userspace driver for the rockchip NPU already doing useful stuff, but the UABI header for their (out of tree) kernel driver is GPLv2 only
<tomeu> how much of a problem is that to get the code merged into Mesa?
<alyssa> tomeu: a lot, afaik
<alyssa> this is part of why no kbase in mesa
davispuh has joined #dri-devel
<tomeu> yeah, I vaguely remembered that being a problem
<tomeu> alyssa: that said, won't you happen to have a commit laying around with an empty skeleton of a DRM driver? maybe from asahi?
<alyssa> I pretend that I've never done kernel work
junaid has quit [Quit: Lost terminal]
canonjet has quit [Remote host closed the connection]
warpme has quit []
Duke`` has joined #dri-devel
Ojus has quit [Remote host closed the connection]
asrivats has joined #dri-devel
<robclark> alyssa, tomeu: tu _does_ have support for downstream kgsl uapi... although, it isn't, like, the primary uabi, just an alternative so one can tu on android vendor kernels
<alyssa> robclark: but the kgsl uabi headers aren't gpl..?
<robclark> we do have uabi headers for a bunch of kernel drivers which are gpl, incl panfrost
chloekek has quit [Remote host closed the connection]
<alyssa> robclark: the uabi headers are specifically not gpl, unlike the driver
<alyssa> (although panfrost was relicensed as mit recently)
jsa has joined #dri-devel
<alyssa> Linux-syscall-note
<alyssa> though if kbase & rknpu have that I guess it's ok
mbrost has joined #dri-devel
<robclark> looks like the syscall note is not specifically called out for a bunch for drm-uapi.. but I guess it is implied in that they are kernel uabi.. possibly some of that should be fixed on kernel side and sync'd back to mesa (ianal)
<alyssa> wheeeee.
<tomeu> this out-of-tree driver is plain gplv2... :(
<DavidHeidelberg> maybe the header isn't copyrightable?
airlied_ has joined #dri-devel
<DavidHeidelberg> License is usually everywhere, but that doesn't imply it's really applicable everytime it's present
airlied has quit [Ping timeout: 480 seconds]
kj2 has quit []
fab has quit [Quit: fab]
Kayden has joined #dri-devel
sgruszka has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Guest4054 has quit [Remote host closed the connection]
airlied_ has quit [Ping timeout: 480 seconds]
simon-perretta-img has quit [Read error: Connection reset by peer]
simon-perretta-img has joined #dri-devel
airlied has joined #dri-devel
<DavidHeidelberg> zmike: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28400 retry the failed job quickly
<DavidHeidelberg> it still may pass
<gfxstrand> cwabbott, robclark, alyssa: Can you double-check this paragraph of my upcoming blog post?
<gfxstrand> I'm not intending for it to be an exact, detailed description of how control-flow works, just a hand-wavy description that's good enough for reasoning about re-convergence for the sake of a blog post.
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
kugel has quit [Ping timeout: 480 seconds]
<robclark> gfxstrand: maybe of note, on qc we need to mark potential recovergence points
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
<gfxstrand> robclark: Yes but getting re-convergence right is based on high IPs, right?
<cwabbott> yeah, it's the same as ARM - the lowest IP is always the one executing and parked invocations have higher IPs
<cwabbott> and also just like ARM you need to mark points where active threads fall through into parked threads
<cwabbott> it's implemented as a priority queue of (inactive IP, inactive thread mask) instead of a simple vector IP, which we unfortunately have to care about in the compiler because we have to program a register with the max size, but that's too much detail for a blog post
<alyssa> gfxstrand: ack for apple & arm
psykose_ has joined #dri-devel
psykose_ has left #dri-devel [#dri-devel]
psykose is now known as Guest4098
psykose has joined #dri-devel
Guest4098 has quit [Ping timeout: 480 seconds]
<cwabbott> gfxstrand: there's also a fun corner case where NIR's block ordering doesn't work, for continues
<cwabbott> that's a case where always having continue constructs all the time would be helpful
<cwabbott> I have to manually create one in ir3, and panfrost is probably just broken
<alyssa> can confirm
mbrost has quit [Remote host closed the connection]
mbrost has joined #dri-devel
jsa has quit [Ping timeout: 480 seconds]
<gfxstrand> cwabbott: Right
<gfxstrand> cwabbott: We could have a pass that just adds empty continue constructs everywhere.
Kayden has quit [Remote host closed the connection]
rz_ has quit [Remote host closed the connection]
rz has joined #dri-devel
rz has quit [Remote host closed the connection]
rz has joined #dri-devel
wyup has joined #dri-devel
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #dri-devel
warpme has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
kiarash has joined #dri-devel
kiarash__ has joined #dri-devel
kiarash__ has quit []
warpme has quit []
kiarash_ has joined #dri-devel
warpme has joined #dri-devel
kiarash has quit []
kiarash has joined #dri-devel
<kiarash> hi
Haaninjo has joined #dri-devel
warpme has quit []
wyup has quit [Remote host closed the connection]
ghishadow has quit []
ghishadow has joined #dri-devel
kiarash_ has quit []
rasterman has quit [Quit: Gettin' stinky!]
jsa has joined #dri-devel
cheako has joined #dri-devel
<karolherbst> jenatali: btw, I'll just do the initializer lowering to init kernel code right away.. it's just a lot of work, so I guess you won't have to look at the MR for a while
<DemiMarie> gfxstrand: wow, I was not expecting GPU ISAs to be that weird!
jsa has quit [Ping timeout: 480 seconds]
<gfxstrand> Oh yeah, they get funky
<mareko> is AMD the only not having a weird ISA for once?
<Sachiel> there's nothing weird about the Intel ISA
<Sachiel> except for all the weird bits
kiarash has quit [Remote host closed the connection]
mbrost has joined #dri-devel
crabbedhaloablut has quit []
crabbedhaloablut has joined #dri-devel
rgallaispou has joined #dri-devel
gerdberk has joined #dri-devel
gerdberk has quit [Remote host closed the connection]
mvlad has quit [Remote host closed the connection]
zxrom has quit []
Kayden has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
<karolherbst> I hate this feature...
<gfxstrand> mareko: I think AMD GCN and NVIDIA Volta+ both make sense in their own way and everything else is some weird eldritch horror in between the tow.
<gfxstrand> *two
sima has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
glennk has quit [Ping timeout: 480 seconds]
kugel has joined #dri-devel
iive has joined #dri-devel
guludo has quit [Quit: WeeChat 4.2.1]
<DemiMarie> gfxstrand: which one is closer to what the actual execution units see?
<DemiMarie> in other words, which requires the least control logic?
<zmike> eric_engestrom: I'm not sure anyone has said this recently, but I have to say it
<zmike> thanks.
vliaskov has quit [Remote host closed the connection]
chloekek has joined #dri-devel
Kayden has quit [Quit: home]
gio_ has quit [Ping timeout: 480 seconds]
ckrsnp^ has joined #dri-devel
krumelmonster has quit [Ping timeout: 480 seconds]
krumelmonster has joined #dri-devel