ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
<alyssa> nir-to-tgsi, you're up
* alyssa drives to figure out how to force softpipe and not llvmpipe
stuarts has quit []
<alyssa> GALLIUM_DRIVER=softpipe apparently
co1umbarius has joined #dri-devel
columbarius has quit [Ping timeout: 480 seconds]
<alyssa> can't tell if radeonsi bug or weird intended asymmetry
mdroper has quit [Ping timeout: 480 seconds]
yuq825 has joined #dri-devel
mbrost has joined #dri-devel
mbrost__ has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
<Kayden> alyssa: here's a link to what dj-death was mentioning: https://gitlab.freedesktop.org/kwg/mesa/-/commits/compiler-lsc-opcode-blocks - sorry it's still a mess, but if you look at the patches with "intel/fs: Introduce new MEMORY_*_LOGICAL opcodes" and the next few, you'll get the idea (rest is bug fixes)
<alyssa> eyes
<Kayden> alyssa: I'm reworking the intel backend to not have 28 different opcodes for reading/writing memory, instead just having 1 (well, 3 - load/store/atomic), with lots of parameters for... typed/untyped/scratch/SLM? how many components? what kind of address? 64-bit pointer? 32-bit pointer? pointer to surface state? pointer directly to memory? image load with coordinates with components?
<alyssa> neato
<Kayden> and then just lowering that to the actual messages in a pass
<Kayden> a couple things definitely struck me as odd in the NIR intrinsics, namely
<alyssa> I'm scared of both your ISA and your backend so IDK if that's the right call but seems legit :D
<Kayden> - we kind of duplicate the hell out of the atomics rather than parameterizing the type of thing
<Kayden> - how are there no helpers for "is this a load?" "is this a store?" "is this an atomic?" given that there are switch statements 100 lines long to determine those things
<Kayden> or even "is this an SSBO operation"
<alyssa> uff, yeah
<alyssa> In general I'd like to move a lot of that metadata out of switch statements and into nir_intrinsics.py and nir_opcodes.py
<alyssa> but that's orthogonal to what I'm working on now
<alyssa> which is a big enough rework that I'm not inclined to add another
<alyssa> honestly this is just a warmup for the really big cross-tree NIR hell I have in store :~P
<Kayden> looks like you've got two atomic intrinsics now with a parameter for what operation it is? one with swap (extra suorces), one for the others?
<Kayden> that is way nicer :)
<Kayden> alyssa: another thing you might be interested in for NIR patches... I was looking at nir_intrinsic_can_reorder the other day, and noticed it was hardcoding some intrinsics and assumptions
<Kayden> but it didn't actually make a difference on any of the shaders I was looking at
heat has quit [Read error: No route to host]
heat has joined #dri-devel
<Kayden> so wasn't sure if it was actually that much of an improvement
<Kayden> but yeah, anyway, I like your new intrinsics, I will be happy to use them :)
kzd has quit [Quit: kzd]
mbrost__ has quit [Ping timeout: 480 seconds]
<alyssa> Kayden: I'll put your down for writing the intel patches then :D
<Kayden> sure :)
<alyssa> 15 files changed, 496 insertions(+), 897 deletions(-)
<alyssa> not bad for an afternoon :D
<alyssa> (adding the core stuff, and then converting agx/bifrost/midgard/llvmpipe/ntt/amd)
<alyssa> 6 backends down, ??? to go
<alyssa> v3d, ir3, intel, nouveau, aco
<alyssa> (those I skipped because they seemed not entirely trivial)
<alyssa> and dxil, why is dxil not showing up in my grep
<alyssa> oh becuase it's not global based
<alyssa> also have r600/sfn, zink, and dxil
<alyssa> so 6 down, 8 to go
<alyssa> with Kayden and jenatali volunteering for Intel and DXIL respectively
<jenatali> Sounds good
<alyssa> Probably I should do aco/ir3/zink so the powers that be don't ask why I wrote an AGX patch today ;-p
<alyssa> leaving only v3d, nouveau, and r600 unclaimed
<alyssa> of those only v3d doesn't scare me (-:
<alyssa> but, should probably get what I already wrote reviewed and landed first
<alyssa> in case somebody bikesheds it and I need to rewrite history hard
kzd has joined #dri-devel
<alyssa> that is to say, if you would like to see backend code deleted, please review !22914 :D
karolherbst has joined #dri-devel
heat has quit [Remote host closed the connection]
heat has joined #dri-devel
orbea has quit [Quit: You defeated orbea! 2383232 XP gained!]
kzd has quit [Quit: kzd]
orbea has joined #dri-devel
<zmike> I think zink is effectively already unified using a macro
Zopolis4 has quit [Quit: Connection closed for inactivity]
<alyssa> ok, should be a very easy patch then :)
* alyssa will do it
heat has quit [Read error: Connection reset by peer]
heat has joined #dri-devel
psykose has joined #dri-devel
mbrost has joined #dri-devel
kzd has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
mbrost_ has joined #dri-devel
mbrost__ has joined #dri-devel
kzd has quit [Quit: kzd]
mbrost has quit [Ping timeout: 480 seconds]
mbrost_ has quit [Ping timeout: 480 seconds]
mbrost__ has quit [Ping timeout: 480 seconds]
krushia has quit [Quit: Konversation terminated!]
smiles_1111 has quit [Ping timeout: 480 seconds]
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #dri-devel
Daanct12 has joined #dri-devel
aravind has joined #dri-devel
neonking has joined #dri-devel
Danct12 has quit [Ping timeout: 480 seconds]
neonking_ has quit [Ping timeout: 480 seconds]
rsalvaterra_ has joined #dri-devel
rsalvaterra is now known as Guest905
rsalvaterra_ is now known as rsalvaterra
Guest906 has quit [Ping timeout: 480 seconds]
rauji__ has joined #dri-devel
YuGiOhJCJ has joined #dri-devel
mbrost has joined #dri-devel
mbrost_ has joined #dri-devel
bmodem has joined #dri-devel
Zopolis4 has joined #dri-devel
mbrost_ has quit [Read error: Connection reset by peer]
mbrost has quit [Ping timeout: 480 seconds]
bgs has joined #dri-devel
itoral has joined #dri-devel
thellstrom has joined #dri-devel
tzimmermann has joined #dri-devel
kts has joined #dri-devel
thellstrom1 has joined #dri-devel
smiles_1111 has joined #dri-devel
thellstrom has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
psykose has joined #dri-devel
bgs has quit [Remote host closed the connection]
greenjustin has quit [Ping timeout: 480 seconds]
lemonzest has quit [Quit: WeeChat 3.6]
greenjustin has joined #dri-devel
lemonzest has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
macromorgan has quit [Ping timeout: 480 seconds]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
frieder has joined #dri-devel
jfalempe has joined #dri-devel
Zopolis4 has quit [Quit: Connection closed for inactivity]
macromorgan has joined #dri-devel
<airlied> zmike: what's the pipeline destroy thing actually meant to do in lavapipe? it really doesn't close the race
macromorgan is now known as Guest917
macromorgan has joined #dri-devel
<airlied> or maybe it's just messed up with task/mesh, but not sure why yet
kugel has quit [Ping timeout: 480 seconds]
Guest917 has quit [Ping timeout: 480 seconds]
kugel has joined #dri-devel
pcercuei has joined #dri-devel
dcz has joined #dri-devel
rasterman has joined #dri-devel
apteryx_ has joined #dri-devel
pochu has joined #dri-devel
apteryx has quit [Ping timeout: 480 seconds]
lynxeye has joined #dri-devel
Ziemas has joined #dri-devel
MajorBiscuit has joined #dri-devel
apinheiro has joined #dri-devel
MajorBiscuit has quit []
MajorBiscuit has joined #dri-devel
sarahwalker has joined #dri-devel
MajorBiscuit has quit []
MajorBiscuit has joined #dri-devel
Ziemas has quit [Read error: Connection reset by peer]
tursulin has joined #dri-devel
cmichael has joined #dri-devel
Zopolis4 has joined #dri-devel
Company has joined #dri-devel
vliaskov has joined #dri-devel
_xav_ has quit [Ping timeout: 480 seconds]
<hakzsam> anholt_: hi, can you reply here please https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20024#note_1868955 ?
T_X has joined #dri-devel
_xav_ has joined #dri-devel
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
<T_X> hi, I'm seeing some issues in Wine run games when VRAM usage gets higher than 95% of the available 8GB VRAM. and when GTT is starting to be used. mostly in DCS World, but also had this in No Man's Sky a few times after jumping from one solar system to another. anyone knowing what the current status of TTM or GEM for the opensource amdgpu driver is? (TTM and GEM would be able to track active vs. inactive
psykose has quit [Remote host closed the connection]
<T_X> allocations and move it between VRAM and GTT accordingly, right?)
<T_X> I'm also using an Thunderbolt 3 eGPU enclosure over a 40gbit/s USB4 port here, so I believe that makes GTT usage especially painful (/ making the game unusable) for me
pjakobsson has joined #dri-devel
jkrzyszt has joined #dri-devel
The_Company has joined #dri-devel
Company has quit [Ping timeout: 480 seconds]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
<tomeu> have started getting this error from bindgen after updating to fedora 38 (even if I use rustup):
<tomeu> thread 'main' panicked at 'Not able to resolve vector element?: Continue', /home/tomeu/.cargo/registry/src/github.com-1ecc6299db9ec823/bindgen-0.59.2/src/ir/ty.rs:1135:22
<tomeu> any ideas?
<karolherbst> how would people feel about requiring mesa to be rebuilt on every single update to clang?
<karolherbst> this is the most likely outcome if https://github.com/llvm/llvm-project/issues/60849 doens't get resolved, because I'm done playing silly games
<karolherbst> distributions carry downstream patches to fix it as my only way of fixing would be to run `clang -print-resource-dir` at runtime
<karolherbst> maybe I need to write the patch myself and figure out an API for it :(
Zopolis4 has quit [Quit: Connection closed for inactivity]
columbarius has joined #dri-devel
elongbug has joined #dri-devel
co1umbarius has quit [Ping timeout: 480 seconds]
<zmike> airlied: pretty sure it fixes the race
kts has joined #dri-devel
hansg has joined #dri-devel
kts has quit [Quit: Konversation terminated!]
jkrzyszt has quit [Remote host closed the connection]
itoral has quit [Remote host closed the connection]
hansg has quit [Quit: Leaving]
heat has joined #dri-devel
jkrzyszt has joined #dri-devel
jkrzyszt has quit [Remote host closed the connection]
Lucretia has joined #dri-devel
<alyssa> zink you're up
bmodem has quit [Ping timeout: 480 seconds]
jkrzyszt has joined #dri-devel
<alyssa> and there we go
<alyssa> zmike: the fact that zink+lavapipe is a reasonable way for me to test cross-tree changes is bizarre and hilarious
<alyssa> :D
<zmike> shhhh don't tell everyone my secret
<alyssa> also did deqp-vk + radv + https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21892 this morning
<alyssa> RADV_DEBUG=llvm,shaders i can has shaders!
* alyssa should probably do aco next
<alyssa> zink: Use unified atomics
<alyssa> 2 files changed, 46 insertions(+), 195 deletions(-)
<alyssa> *49
<alyssa> ~i am once again asking for code review~
<kode54> would it be a kernel or userspace bug if all compositors I throw at this driver randomly cause render bugs such as geometry blinking out of existence for a few frames?
<kode54> (Xe, not the atomics thing above)
* zmike only reviews MRs with subscribed tags
<HdkR> kode54: Both
<kode54> and how the heck would I debug that?
<alyssa> zmike: oh gah i forgot the bot doesnt tag draft MRs
<HdkR> kode54: Get hired at Intel and learn the codebase :P
rsalvaterra has quit []
rsalvaterra has joined #dri-devel
<kode54> I am so glad that VM_BIND got put on the back burner for i915, and that DG2 is a second class citizen in Xe
mbrost has joined #dri-devel
mbrost_ has joined #dri-devel
<sima> kode54, it's actually kinda annoying because no vm_bind in i915 means it's much rougher to port to xe
<sima> since you can't tell xe bugs from vm_bind bugs in the userspace
<sima> plus lack of vm_bind does block some features you really want on vk for gaming
<pq> smells like sarcasm, but where is it coming from...
mbrost has quit [Ping timeout: 480 seconds]
fxkamd has joined #dri-devel
kzd has joined #dri-devel
<kode54> sorry for the sarcasm
<kode54> I'm just mildly annoyed
jkrzyszt has quit [Ping timeout: 480 seconds]
<kode54> and I don't know how I can help
<kode54> devs have the hardware
<kode54> all I can do is throw unknown software at it
smiles_1111 has quit [Ping timeout: 480 seconds]
<HdkR> i can understand how frustrating it is when realities don't match with expectations around video drivers.
<alyssa> eric_engestrom: apinheiro: itoral: Any chance one of you is up for deleting code from nir-to-vir?
<alyssa> looking to sign up someone for the v3d side of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22914
crabbedhaloablut has quit [Read error: Connection reset by peer]
<alyssa> karolherbst: How about you for codegen?
crabbedhaloablut has joined #dri-devel
<apinheiro> alyssa, you got me right now disconnecting
<apinheiro> and itoral is already afk right now
<apinheiro> but I will take a look later
<alyssa> apinheiro: :+1: those patches are for after that MR settles and merges
<alyssa> but would like to get all the drivers converted sooner than later
<apinheiro> and then check if there is anyone of us avaiaiable for that
<alyssa> :+1:
<alyssa> thanks!
<apinheiro> thanks to you for keeping us on the loop
<alyssa> if so that just leaves r600/sfn as unclaimed
<alyssa> and since Gert is away and that code has a bus factor of 1.. sigh
apinheiro has quit [Quit: Leaving]
smiles_1111 has joined #dri-devel
sarahwalker has quit [Remote host closed the connection]
sarahwalker has joined #dri-devel
alatiera has joined #dri-devel
mbrost has joined #dri-devel
mbrost__ has joined #dri-devel
fxkamd has quit []
mbrost_ has quit [Ping timeout: 480 seconds]
mbrost has quit [Ping timeout: 480 seconds]
<karolherbst> alyssa: yeah, should be trivial
<karolherbst> more or less
mbrost__ has quit [Ping timeout: 480 seconds]
mdroper has joined #dri-devel
<alyssa> :+1:
<alyssa> will pencil you in for that
<alyssa> zmike: how is deqp-gles31 + zink + radv + amdgpu drm-shim a valid way to debug a radeonsi crash on my macbook
kts has joined #dri-devel
<alyssa> i mean it worked, gdb gave me the backtrace I needed
mszyprow has joined #dri-devel
<alyssa> Incidentally, dEQP-GLES31.functional.image_load_store.early_fragment_tests.no_early_fragment_tests_depth crashes with zink + radv + RADV_DEBUG=llvm
<alyssa> backtrace deep inside llvm
<alyssa> going to guess that one's a wontfix
Haaninjo has joined #dri-devel
<daniels> alyssa: Gert’s back
<alyssa> daniels: Ooh, good to know :)
<alyssa> After !22914 is merged can I borrow him for an hour of gfx r&d time then? ;-p
mbrost__ has joined #dri-devel
<jenatali> alyssa: Think you'll be able to review https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913? I think I can work around this bug by just running nir_opt_remove_phis in my backend before lower_returns, but it seems like this is the right fix
<jenatali> Not sure what to do about that test though :(
kts has quit [Quit: Konversation terminated!]
<daniels> alyssa: sure, he does r600 anyway, I’m sure he’ll be thrilled to have a community
<robclark> alyssa: you could test more of mesa incl ntt (plus virglrenderer) if you used virgl -> vtest -> zink ->lavapipe
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
Daaanct12 has joined #dri-devel
yuq825 has quit [Remote host closed the connection]
mbrost__ has quit [Remote host closed the connection]
<alyssa> daniels: :-D
mbrost__ has joined #dri-devel
<alyssa> thanks =)
kugel has quit [Read error: No route to host]
kugel has joined #dri-devel
<alyssa> jenatali: minimally ack but not in a headspace to review SSA voodoo right now
<alyssa> robclark: oh boy :p
Daanct12 has quit [Ping timeout: 480 seconds]
vliaskov has quit [Remote host closed the connection]
mbrost__ has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
Duke`` has joined #dri-devel
dviola has joined #dri-devel
Daaanct12 has quit [Ping timeout: 480 seconds]
cmichael has quit [Quit: Leaving]
<jenatali> I'm also looking for a Vulkan runtime reviewer for the first patch of https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22879
pixelcluster has quit [Ping timeout: 480 seconds]
aravind has quit [Ping timeout: 480 seconds]
bluebugs has quit [Quit: Leaving]
penguin42 has joined #dri-devel
tzimmermann has quit [Quit: Leaving]
Daanct12 is now known as Danct12
noord has quit [Quit: bye]
sarahwalker has quit [Remote host closed the connection]
noord has joined #dri-devel
<karolherbst> mhh, not entirely, I did compile it
kts has joined #dri-devel
gouchi has joined #dri-devel
pochu has quit [Quit: leaving]
<alyssa> Eyyy
<alyssa> thanks karolherbst :)
frieder has quit [Remote host closed the connection]
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
bgs has joined #dri-devel
tursulin has quit [Ping timeout: 480 seconds]
gildekel has joined #dri-devel
lynxeye has quit [Quit: Leaving.]
MajorBiscuit has quit [Quit: WeeChat 3.6]
pixelcluster has joined #dri-devel
pixelcluster has quit []
kts has quit [Quit: Konversation terminated!]
stuarts has joined #dri-devel
pixelcluster has joined #dri-devel
smiles_1111 has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
mbrost_ has joined #dri-devel
rasterman has quit [Quit: Gettin' stinky!]
mbrost has quit [Ping timeout: 480 seconds]
mszyprow has quit [Ping timeout: 480 seconds]
Daanct12 has joined #dri-devel
Danct12 has quit [Ping timeout: 480 seconds]
Daaanct12 has joined #dri-devel
FireBurn has joined #dri-devel
mszyprow has joined #dri-devel
Daanct12 has quit [Ping timeout: 480 seconds]
thellstrom1 has quit [Ping timeout: 480 seconds]
jkrzyszt has joined #dri-devel
FireBurn has quit [Quit: Konversation terminated!]
dcz has quit [Ping timeout: 480 seconds]
stuarts has quit [Ping timeout: 480 seconds]
jkrzyszt_ has joined #dri-devel
jkrzyszt has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
gouchi has quit [Remote host closed the connection]
Duke`` has joined #dri-devel
jkrzyszt has joined #dri-devel
jkrzyszt_ has quit [Ping timeout: 480 seconds]
Leopold has joined #dri-devel
jkrzyszt_ has joined #dri-devel
jkrzyszt has quit [Ping timeout: 480 seconds]
jkrzyszt_ has quit [Remote host closed the connection]
Haaninjo has quit [Quit: Ex-Chat]
jkrzyszt_ has joined #dri-devel
bgs has quit [Remote host closed the connection]
mbrost_ has quit [Remote host closed the connection]
mbrost_ has joined #dri-devel
mszyprow has quit [Ping timeout: 480 seconds]
agd5f_ has joined #dri-devel
agd5f has quit [Ping timeout: 480 seconds]
elongbug_ has joined #dri-devel
elongbug has quit [Read error: Connection reset by peer]
ngcortes has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
the_sea_peoples has quit [Ping timeout: 480 seconds]
pcercuei has quit [Quit: dodo]
smilessh has joined #dri-devel
TheCompany has joined #dri-devel
The_Company has quit [Ping timeout: 480 seconds]
Leopold has quit [Ping timeout: 480 seconds]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
yixie has quit []
the_sea_peoples has joined #dri-devel