ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
nchery has joined #dri-devel
pcercuei has quit [Quit: dodo]
vliaskov has quit [Remote host closed the connection]
yuq825 has joined #dri-devel
ngcortes has quit [Read error: Connection reset by peer]
imre has quit [Ping timeout: 480 seconds]
heat has quit [Quit: Leaving]
heat has joined #dri-devel
liyi_ has joined #dri-devel
<jenatali> Phoronix forums continue to be an endless source of entertainment
<FLHerne> They've seen through your evil MS conspiracy again?
Haaninjo has quit [Quit: Ex-Chat]
liyi_ has quit [Ping timeout: 480 seconds]
<jenatali> Yep, again
rmckeever has joined #dri-devel
<zmike> how do they do it
columbarius has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
nchery has quit [Ping timeout: 480 seconds]
liyi has joined #dri-devel
liyi has quit [Remote host closed the connection]
liyi has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
<alyssa> zmike: they've got a guy on the inside
<alyssa> his name is Jesse and he's a sleeper agent stationed in Redmond
imre has joined #dri-devel
<alyssa> but he's on the payroll of Linyos Torovoltos
<zmike> sensible chuckle.gif
konstantin_ has joined #dri-devel
<jenatali> Darn, I've been found out
konstantin has quit [Ping timeout: 480 seconds]
<karolherbst> you should put some EEE stickers on your laptop, just in case
<karolherbst> but we all know, this is all just prep work to replace NT with Linux anyway
<alyssa> how long until jenatali replaces every native DX12 driver with Dozen
<alyssa> ("you're thinking of vkd3d you dink")
bmodem has joined #dri-devel
Danct12 has quit [Remote host closed the connection]
<zmike> vkd3d-proton*
<jenatali> karolherbst: I ordered my first laptop in 15 years this weekend. We'll see what stickers it gets
agd5f_ has quit []
<zmike> I didn't know you made Xboxes that small
agd5f has joined #dri-devel
<zmike> ngl I didn't expect that but actually p cool
<kisak> so ... AAA esports game on VKD3D-Proton on Dozen on WSL2 on ARM64? What could possibly go wrong?
<jenatali> That's not a deep enough cycle. Needs more layers
<kisak> I know, but it's a plausable future
<zmike> surely we could fit zink and lavapipe in there
<jenatali> Yeah for sure
<kisak> slip in virtio and a linux kernel running on vscript inside of Team Fortess 2 and you've got a profoundly evil thought experiment.
<kisak> it's late here, I don't see how that could actually work now that I wrote that.
<zmike> you've put the idea out there, so I'm sure we'll get a bug report about it in a year or two
alyssa has left #dri-devel [#dri-devel]
liyi has quit [Ping timeout: 480 seconds]
liyi has joined #dri-devel
alyssa has joined #dri-devel
<alyssa> gfxstrand: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20836 is blocking a bunch of asahi stuff
<alyssa> It's strictly better for asahi and panfrost
<alyssa> It breaks blending on panvk in main but given what we talked about internally I think that's ok right now, the fix will come as part of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906
<alyssa> supposing !20906 were merged first panvk won't care whether lower_blend happens in early or not, currently
<alyssa> although if we ever did eds3 with dynamic blending, that would require generating blend shaders on the fly for certain blend modes, and it would be cheaper to do that with late blend lowering instead of early lowering (no nir_variables are ever created this way at all!)
<alyssa> so it's strictly better for panvk long term too
Zopolis4 has joined #dri-devel
jdavies_ has quit [Remote host closed the connection]
jdavies has joined #dri-devel
jdavies is now known as Guest4896
liyi has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
nchery has joined #dri-devel
agd5f_ has joined #dri-devel
liyi has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
kzd has quit [Quit: kzd]
darkapex_ has left #dri-devel [#dri-devel]
darkapex has joined #dri-devel
dviola has quit [Quit: WeeChat 3.8]
aravind has joined #dri-devel
pallavim has quit [Ping timeout: 480 seconds]
bgs has joined #dri-devel
itoral has joined #dri-devel
lemonzest has quit [Quit: WeeChat 3.6]
kts has quit [Quit: Leaving]
mbrost has quit [Remote host closed the connection]
Mangix has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
lemonzest has joined #dri-devel
Company has quit [Quit: Leaving]
Mangix has joined #dri-devel
ice9 has joined #dri-devel
tzimmermann has joined #dri-devel
itoral has quit [Remote host closed the connection]
itoral has joined #dri-devel
danvet has joined #dri-devel
mbrost has joined #dri-devel
pochu has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
oneforall2 has quit [Remote host closed the connection]
oneforall2 has joined #dri-devel
MajorBiscuit has joined #dri-devel
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
jkrzyszt has joined #dri-devel
frieder has joined #dri-devel
tursulin has joined #dri-devel
rasterman has joined #dri-devel
phasta_ has joined #dri-devel
liyi has quit [Remote host closed the connection]
liyi has joined #dri-devel
bmodem has joined #dri-devel
mvlad has joined #dri-devel
frankbinns has joined #dri-devel
djbw has quit [Read error: Connection reset by peer]
jfalempe has joined #dri-devel
vliaskov has joined #dri-devel
<MrCooper> jenatali: looks like ci-fairy s3cp failed?
<mripard> danvet: I'm really not a fan of doing cherry-picks when we can easily avoid it, it's just super confusing
liyi_ has joined #dri-devel
liyi has quit [Remote host closed the connection]
bmodem1 has joined #dri-devel
bmodem has quit [Read error: Connection reset by peer]
pcercuei has joined #dri-devel
paulk has quit [Quit: WeeChat 3.0]
paulk has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #dri-devel
rasterman has quit []
rasterman has joined #dri-devel
liyi_ has quit [Ping timeout: 480 seconds]
srslypascal has quit [Quit: Leaving]
srslypascal has joined #dri-devel
devilhorns has joined #dri-devel
phasta_ has quit []
phasta_ has joined #dri-devel
bgs has quit [Remote host closed the connection]
Haaninjo has joined #dri-devel
agd5f has joined #dri-devel
agd5f_ has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
vliaskov has quit [Ping timeout: 480 seconds]
rmckeever has quit [Quit: Leaving]
vliaskov has joined #dri-devel
Guest4896 has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
Adrinael has quit [Remote host closed the connection]
paulk-bis has joined #dri-devel
paulk has quit [Ping timeout: 480 seconds]
<tzimmermann> javierm, hi. may i ask you for a review of https://patchwork.freedesktop.org/series/113840/ ?
rasterman has quit [Quit: Gettin' stinky!]
alarumbe has quit [Quit: ZNC 1.8.2+deb2 - https://znc.in]
MajorBiscuit has joined #dri-devel
vliaskov_ has joined #dri-devel
vliaskov has quit [Ping timeout: 480 seconds]
phasta_ has quit []
phasta has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
vliaskov has joined #dri-devel
vliaskov_ has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 3.6]
<javierm> tzimmermann: sure, I'll try to do it later today
lemonzest has joined #dri-devel
itoral has quit [Remote host closed the connection]
aravind has joined #dri-devel
alyssa has left #dri-devel [#dri-devel]
fab has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
alyssa has joined #dri-devel
alarumbe has joined #dri-devel
Danct12 has joined #dri-devel
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
Zopolis4 has quit []
ice9 has quit [Ping timeout: 480 seconds]
paulk-ter has joined #dri-devel
paulk-bis has quit [Ping timeout: 480 seconds]
<tzimmermann> thanks, javierm
jdavies has joined #dri-devel
jdavies is now known as Guest4932
<Lynne> is there any hardware out there which has optimizations for vulkan's immutable samplers?
heat has joined #dri-devel
Cyrinux9 has quit []
Cyrinux9 has joined #dri-devel
fab has quit [Quit: fab]
alyssa has left #dri-devel [#dri-devel]
<jani> tzimmermann: ack for merging https://lore.kernel.org/r/20230214093459.3617293-2-arun.r.murthy@intel.com via drm-intel?
aravind has joined #dri-devel
zehortigoza has quit [Remote host closed the connection]
yuq825 has left #dri-devel [#dri-devel]
Adrinael has joined #dri-devel
Adrinael is now known as Guest4936
alyssa has joined #dri-devel
<alyssa> Venemo: Thanks for the review on lower_blend, will fix the stuff you mentioned :-)
<pendingchaos> Lynne: RADV can replace a sampler descriptor load with constant copies
<alyssa> except the double sign-off, that was deliberate actually
<alyssa> the panfrost was Collabora billable, the agx was not
<alyssa> (Ordinarily wouldn't mix those up but there was no way to avoid doing so while preserving bisectability and sanity)
<Venemo> alyssa: I would have assumed that Collabora's vast fortunes would pay for the 10 minutes it probably took to adjust agx
<alyssa> Venemo: more to the point, the NIR was not
<Venemo> not what?
<alyssa> billable
<Venemo> :O
<alyssa> the patch was for Asahi's benefit, panfrost doesn't care right now
<Venemo> okay, you can keep the double sign off if that helps keep you sane
<alyssa> heh
<alyssa> "sane" is not a word usually used in connection to my Mesa exploits :~P
Guest4936 is now known as Adrinael
<Venemo> c'mon, don't undersell yourself
<Venemo> didn't you have the highest number of commits?
<alyssa> dEQP-VK.sanity.*
<alyssa> NotSupported: 10/10
<Venemo> ha ha ha
<tzimmermann> jani, sure, go ahead
<Venemo> nice one
<alyssa> and I did until zmike came and decided we should stop writing GL drivers
<alyssa> and I've been #2 ever since
<Venemo> who is the first now?
<alyssa> it's good, takes off the pressure
<alyssa> zmike: all the pressure is on you, man
<alyssa> :-p
<Venemo> wow
<alyssa> (joking)
<Venemo> alyssa: regarding the case when the number of components has to be adjusted, I don't even see how it could work in the previous code without triggering validation errors
<alyssa> IIRC the previous code asserted that it didn't need to be adjusted, and that assertion failed when opt_undef was run first
<alyssa> but without the assertion it seems to work, maybe
<Venemo> you can't just change the num components of an ssa def and call it a day
<Venemo> need to either shrink the vector with nir_extract_bits or enlarge it by appending undefs
<alyssa> one line up we shrink the vector with nir_trim_vectors
<alyssa> though er why the heck does the store have a dest
<alyssa> what is even happening on the old code
<Venemo> haha
<alyssa> why the hell are we touching store->dest at all
<alyssa> that's
<Venemo> good question
<alyssa> ok, I think the real answer is that adjusting num_components manually isn't required (since it's already adjusted by nir_trim_vector)
<alyssa> and the assignment in the old code is a no-op because store->dest logically doesn't exist and physically gets ignored
<Venemo> right, the store doesn't have a dest so it was just a trap for me to fall into then
<alyssa> let me split that off
<alyssa> gotta catch up to zmike's commit count somehow
<alyssa> i did not become #2 by squashing
<zmike> make more spaghetti
<Venemo> zmike: if I ever blog about cpu overhead perf, I'm gonna argue that pasta arrabbiata beats spaghetti any time
<zmike> brave
<jenatali> Is there a current chart of top committers somewhere?
<psykose> yeah you hold the top 10 spots
<alyssa> all 10 of them
<alyssa> except for the first 9 which are held by mike
<jenatali> 🥳
<alyssa> and the last of the 10th which is also held by mike
<psykose> shucks
<jenatali> Yeah sounds plausible
<alyssa> it's because we only count GL driver contributions
<alyssa> but nobody writes GL drivers anymore because we all write VK drivers
<alyssa> leaving Mike as the only qualifying Mesa contributor
samuelig_ is now known as samuelig
* zmike checks the calendar
<zmike> does anyone else realize it's not friday
<jenatali> 🤯
<jani> tzimmermann: thanks!
bmodem1 has quit [Ping timeout: 480 seconds]
JohnnyonFlame has joined #dri-devel
<gfxstrand> alyssa: Yeah, that looks like a pass I could review, given that I rewrote 70% of it a while ago. 😂
<alyssa> gfxstrand: and I'm deleting that 70% of it! :~P
bluetail9 has joined #dri-devel
bluetail91 has joined #dri-devel
bluetail98 has joined #dri-devel
Duke`` has joined #dri-devel
bluetail9 has quit [Ping timeout: 480 seconds]
bluetail91 has quit [Ping timeout: 480 seconds]
djbw has joined #dri-devel
aravind has quit [Ping timeout: 480 seconds]
Net147 has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
agd5f_ has joined #dri-devel
<gfxstrand> alyssa: Awesome!
Net147 has joined #dri-devel
<alyssa> :-D
agd5f has quit [Ping timeout: 480 seconds]
agd5f has joined #dri-devel
agd5f_ has quit [Ping timeout: 480 seconds]
jkrzyszt has quit [Remote host closed the connection]
agd5f has quit [Ping timeout: 480 seconds]
Net147 has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
agd5f has joined #dri-devel
Net147 has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
Terman has quit [Remote host closed the connection]
noord has quit [Quit: bye]
noord has joined #dri-devel
pallavim has joined #dri-devel
kzd has joined #dri-devel
<alyssa> gfxstrand: what's the right Gallium driver to look at as a reference for doing explicit sync?
<alyssa> Iris? Iris + the Xe patches that havent' merged yet? something else?
<gfxstrand> alyssa: Probably that or radeonsi
<gfxstrand> But radeonsi is weird
frieder has quit [Remote host closed the connection]
<daniels> radeonsi is 'weird' in the same way that Antarctica is 'cold'
<zmike> Z I N K
<daniels> (in the same way that Zink is 'good on tilers')
<gfxstrand> :P
<gfxstrand> Actually, Zink might not be a bad thing to look at there
<zmike> tilers shmilers
<alyssa> ..in the same way that Zink is 'especially good at WSI on tilers'
phasta has quit [Quit: Leaving]
devilhorns has quit []
<gfxstrand> alyssa: Are any of us good at WSI?
* alyssa points to gfxstrand
<gfxstrand> Not me
<daniels> define 'good'
<gfxstrand> alyssa: Ok, dropped you a handful of simple comments on lower_blend. Looks pretty good. I'm mostly just trusting you on the panfrost and AGX bits. Glad to see all that horrible code I wrote go away. :D
<alyssa> :D
<alyssa> only thing I like more than deleting my code is deleting other people's code ;~P
dviola has joined #dri-devel
<gfxstrand> Goodness knows there's plenty of my code to be deleted.
<gfxstrand> I'm like the anti-ajax
jeeeun8413 has quit []
jeeeun8413 has joined #dri-devel
nchery has quit [Ping timeout: 480 seconds]
bgs has joined #dri-devel
<daniels> ~/mesa/mesa upstream % wc -l src/vulkan/wsi/*.[ch] | tail -1 && (for i in src/vulkan/wsi/*.[ch]; do git blame $i 2>/dev/null; done) | grep Ekstrand | wc -l
<daniels> 11520 total
<daniels> 3165
MajorBiscuit has quit [Quit: WeeChat 3.6]
srslypascal has quit [Remote host closed the connection]
nchery has joined #dri-devel
srslypascal has joined #dri-devel
kzd has quit [Quit: kzd]
kzd has joined #dri-devel
<gfxstrand> Really? I'm not nearly as to blame for WSI as I once was.
<gfxstrand> *phew*
vliaskov has quit [Remote host closed the connection]
<alyssa> Lol
gouchi has joined #dri-devel
agd5f_ has joined #dri-devel
junaid has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
rasterman has joined #dri-devel
iive has joined #dri-devel
Zopolis4 has joined #dri-devel
dviola has quit [Ping timeout: 480 seconds]
ngcortes has joined #dri-devel
<anholt_> hmm. Is the "pull present queue" in x11_manage_fifo_queues supposed to be quick? I'm seeing the GPU go idle during it.
nchery is now known as Guest4966
nchery has joined #dri-devel
<ngcortes> seems like a recent mesa change caused a bunch of failures on hsw: https://mesa-ci.01.org/vulkancts/builds/29536/group/63a9f0ea7bb98050796b649e85481845
<ngcortes> looks like it's somewhere in 9ac192d79dbe..6ac830ccb1a5
<ngcortes> whoops sorry wrong channel
Guest4966 has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
greenjustin_ has quit [Remote host closed the connection]
greenjustin_ has joined #dri-devel
fab has joined #dri-devel
mvlad has quit [Remote host closed the connection]
<MrCooper> anholt_: in some cases it waits for idle before presenting the image, see x11_needs_wait_for_fences
<anholt_> would that show up as a massive stall here every 10ish (with high variance) frames?
<anholt_> The needs_wait_for_fences waits show up at a nice pace, it's the pull that really idles us.
<anholt_> (plug people.freedesktop.org/~anholt/zink-csgo.trace into ui.perfetto.dev to see what I'm looking at)
heat has quit [Read error: No route to host]
heat has joined #dri-devel
ice9 has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
ice9 has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
junaid has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
<alyssa> gfxstrand: Weee looks like lower_blend changes hosed Midgard
<alyssa> Days like this make begrudgingly grateful for CI
<alyssa> (I tested only on Bifrost)
gouchi has quit [Remote host closed the connection]
<gfxstrand> alyssa: :(
<gfxstrand> alyssa: Any idea why yet?
danvet has quit [Ping timeout: 480 seconds]
<alyssa> Haven't looked
<gfxstrand> kk
<gfxstrand> Well, I'm pretty sure it's not my fault. :P
<alyssa> 50/50 coin between "forgetting to update some Midgard-only code path somewhere" and "pre-existing Midgard compiler bug this uncovered"
<alyssa> my last set of lower_blend changes uncovered a buggy Bifrost opt pass, wee
<alyssa> I think, I think I work on too many instruction sets
<alyssa> is 4 not the normal number of ISAs to maintain support for
<alyssa> what do you guys do? only 3?
YuGiOhJCJ has joined #dri-devel
<gfxstrand> Intel is 2 with different rules at every hardware version.
stuart has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
<Lynne> finally got all my code rewritten to use descriptor buffers, then I got a gpu crash running it
<Lynne> life on the bleeding edge
<zmike> welcome to hell because there's no way to debug it
<karolherbst> I think we have 5 ISAs already 🙃
<karolherbst> nv30/tesla/fermi+kepler1/kepler2/maxwell+pascal/volta+ ohh, I guess 6 it is
<karolherbst> (that look on gfxstrand's face once I submit support for all of those to NAK I want to see)
<glehmann> just ignore that old hw exists
bgs has quit [Remote host closed the connection]
<anarsoul> glehmann: but how old is old?
heat has quit [Read error: No route to host]
heat has joined #dri-devel
darkapex has quit [Remote host closed the connection]
darkapex has joined #dri-devel
mbrost has joined #dri-devel
mareko_ has joined #dri-devel
mareko has quit [Ping timeout: 480 seconds]
Zopolis4 has quit []
<alyssa> karolherbst: are those actually different ISAs? not just different encodings?
<karolherbst> heh.. fair question, depends on what you consider to be a different encoding and what you consider a different ISA
<karolherbst> they do change stuff in weird ways, so it's not just the encoding being different
<karolherbst> but things are still close enough that's not really all that different?
<Lynne> for multi-element descriptor bindings, vkGetDescriptorSetLayoutSizeEXT returns the total size, right?
<zmike> yeah it's the size of the layout
<alyssa> karolherbst: yeah, still sounds like one ISA roughly
<alyssa> when I talk about 4 ISAs I mean 4 radically different architectures spanning 3 NIR backends
<karolherbst> mhhh
<karolherbst> guess then we have.. 2.5
<alyssa> 1 vector VLIW, 1 scalar VLIW with completely different VLIW structure and completely different instructions, 1 superscalar with similar instructions, 1 multi-issue from another vendor
<karolherbst> nv30 is a vec4 ISA, nv50+ is scalar, but volta+ is so different
<alyssa> yeah that counts as 3 probably
<alyssa> but isn't nv30 from like
<alyssa> very old?
<karolherbst> yes
<karolherbst> it's not part of codegen
<karolherbst> :D
<alyssa> 2003, yeah ok
<alyssa> 3 ISAs in 20 years is a nice pace
<karolherbst> everybody makes mistakes and has a vec4 isa
<alyssa> Arm goes through 3 ISAs in like 6 years tops
<karolherbst> yeah...
<karolherbst> they do change the encoding quite often and make like changes, but usually things are staying more or less the same
<karolherbst> it's just different
<alyssa> and it looks like there will be another mali architecture dropping soon (per developer.arm.com resources)
<Lynne> zmike: there's my problem, I thought vkGetDescriptorSetLayoutBindingOffsetEXT returned per-descriptor sizes
<Lynne> err, it does, I misread again
<alyssa> tbd if that's a new ISA (ugh) or just a remarketed tweak on their current gen
<zmike> Lynne: it's the offset from the start of the set in the buffer
<zmike> not sure if helpful, but the zink usage is all in one file and may give some ideas