ChanServ changed the topic of #dri-devel to: <ajax> nothing involved with X should ever be unable to find a bar
<Lynne> how is that relevant then?
<jenatali> > I think what I really want is a proper linker for spirv
<Lynne> > I don't see why you couldn't use it as a standalone GLSL -> SPIR-V compiler
<Company> it allows me to write tiny GLSL components, turn them into spirv, and link them together before sending them off to Mesa
<jenatali> Lynne: I was saying you could use Mesa as a standalone compiler. My comments about spirv-tools were just about the linker
<unit327> Do you think this is a mesa problem or a godot engine problem? https://github.com/godotengine/godot/issues/94604
<Lynne> ah, ok
<Lynne> but sure, its just a lot of work and code
<Company> I actually like precompiled shader code - both because I don't trust random GLSL parsers to actually work and because I get proper syntax checking of my code at compile time
<Company> so spirv is cool with me
<Company> what isn't cool is the limited default featureset compared to what you can do with printf() and GLSL
nerdopolis has joined #dri-devel
leizhou has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
davispuh has quit [Ping timeout: 480 seconds]
guludo has quit [Quit: WeeChat 4.3.3]
leizhou has joined #dri-devel
Haaninjo has quit [Quit: Ex-Chat]
clee_ has left #dri-devel [#dri-devel]
LeviYun has quit [Ping timeout: 480 seconds]
clee has joined #dri-devel
oneforall2 has quit [Ping timeout: 480 seconds]
flynnjiang has joined #dri-devel
oneforall2 has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
asrivats has quit [Ping timeout: 480 seconds]
leizhou has quit [Remote host closed the connection]
nerdopolis has joined #dri-devel
LeviYun has joined #dri-devel
alane has quit []
alane has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
vedran has joined #dri-devel
flynnjiang has joined #dri-devel
vedranm has quit [Ping timeout: 480 seconds]
flynnjiang has quit [Quit: flynnjiang]
flynnjiang has joined #dri-devel
kode54 has quit [Quit: The Lounge - https://thelounge.chat]
KDDLB has quit [Quit: The Lounge - https://thelounge.chat]
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
kode54 has joined #dri-devel
flynnjiang has quit [Remote host closed the connection]
flynnjiang has joined #dri-devel
heat has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
Company has quit [Quit: Leaving]
vjaquez has quit [Read error: Connection reset by peer]
vjaquez has joined #dri-devel
kj2_ has joined #dri-devel
kj2 has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
leizhou has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
amarsh04 has quit [Ping timeout: 480 seconds]
kts has joined #dri-devel
LeviYun has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
<kurufu> Not sure if this is the right place, but is it possible to synchronize with the clock used for drmHandleEvent's page_flip_handler2? On my amd system it seems to generally report 500us ahead of CLOCK_MONOTONIC.
leizhou has quit [Ping timeout: 480 seconds]
Duke`` has joined #dri-devel
leizhou has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
Jeremy_Rand_Talos_ has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
Duke`` has quit [Ping timeout: 480 seconds]
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
vedran is now known as vedranm
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has joined #dri-devel
glennk has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
krychu has quit [Ping timeout: 480 seconds]
bmodem has joined #dri-devel
enunes has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has joined #dri-devel
fab has joined #dri-devel
itoral has joined #dri-devel
leizhou has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
warpme has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
leizhou has quit [Ping timeout: 480 seconds]
sima has joined #dri-devel
smaeul has quit [Read error: Connection reset by peer]
smaeul has joined #dri-devel
LeviYun has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
LeviYun has joined #dri-devel
smaeul has quit [Ping timeout: 480 seconds]
warpme has quit []
smaeul has joined #dri-devel
frieder has joined #dri-devel
rgallaispou has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
KDDLB has joined #dri-devel
warpme has joined #dri-devel
mvlad has joined #dri-devel
LeviYun has quit [Ping timeout: 480 seconds]
sghuge has quit [Remote host closed the connection]
sghuge has joined #dri-devel
LeviYun has joined #dri-devel
kj2_ is now known as kj2
pcercuei has joined #dri-devel
illwieckz has quit [Quit: I'll be back!]
illwieckz has joined #dri-devel
warpme has quit []
MrCooper has joined #dri-devel
MrCooper has quit [Remote host closed the connection]
kzd has quit [Ping timeout: 480 seconds]
MrCooper has joined #dri-devel
lynxeye has joined #dri-devel
apinheiro has joined #dri-devel
gfxstrand has quit [Ping timeout: 480 seconds]
benjaminl has quit [Ping timeout: 480 seconds]
kzd has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
bmodem has quit [Ping timeout: 480 seconds]
flynnjiang has quit [Quit: flynnjiang]
rgallaispou has joined #dri-devel
flynnjiang has joined #dri-devel
rasterman has joined #dri-devel
bmodem has joined #dri-devel
benjaminl has joined #dri-devel
kzd has quit [Ping timeout: 480 seconds]
ellyq_ has joined #dri-devel
rgallaispou has quit [Read error: Connection reset by peer]
leizhou has joined #dri-devel
leizhou has quit [Ping timeout: 480 seconds]
Thymo has quit [Quit: ZNC - http://znc.in]
<Lynne> so RDNA3 decided to have FOUR 64-bit add instructions for memory, but not have one acting on registers...
frieder has quit [Ping timeout: 480 seconds]
<Lynne> just chuck one in next time, okay? there's 56 billion transistors in there, a few more aren't going to break the bank
Haaninjo has joined #dri-devel
<glehmann> rdna4 will actually have 64bit add scalar instructions
gnuiyl_ has joined #dri-devel
<glehmann> and for vector, what's wrong with 2 32bit add with carry-in/out? iirc there is ever some fast forwarding for the mask so total worst case latency isn't really worse than a "real" 64bit instruction
Company has joined #dri-devel
gnuiyl_ has quit []
mripard has quit [Remote host closed the connection]
flynnjiang has quit [Quit: flynnjiang]
ellyq_ has quit [Remote host closed the connection]
frieder has joined #dri-devel
ellyq_ has joined #dri-devel
<Lynne> nothing about the latter, I was unhappy about scalar 64-bit adds missing
<Lynne> since it means that BDAs are even more expensive to index
riteo has joined #dri-devel
enunes has joined #dri-devel
<glehmann> don't get me wrong, 64bit SALU adds are nice to have, but in practice SALU is rarely a bottleneck
amarsh04 has joined #dri-devel
<enunes> psa there was a power failure this morning in the lima lab for mesa CI for ~1-2 hours, I think it went back to normal and is picking up pending jobs now. Sorry about that and I hope it didn't cause any block during that time
frieder has quit [Ping timeout: 480 seconds]
Company has quit [Read error: Connection reset by peer]
<zamundaaa[m]> kurufu: to translate between the two clocks, you can fetch the current time with both clocks and use the difference. But it should really be in CLOCK_MONOTONIC already... are you sure the 500us don't come from something else?
dllud has quit []
dllud has joined #dri-devel
warpme has joined #dri-devel
kts has joined #dri-devel
frieder has joined #dri-devel
Thymo has joined #dri-devel
paulk has quit [Read error: Connection reset by peer]
paulk has joined #dri-devel
ellyq_ has quit []
Company has joined #dri-devel
guludo has joined #dri-devel
davispuh has joined #dri-devel
amarsh04 has quit []
amarsh04 has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
warpme has quit []
fab has joined #dri-devel
leizhou has joined #dri-devel
frieder has joined #dri-devel
mripard has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
fab has quit [Quit: fab]
heat has joined #dri-devel
smpl has joined #dri-devel
bmodem has quit [Ping timeout: 480 seconds]
Jeremy_Rand_Talos__ has joined #dri-devel
Company has quit [Read error: Connection reset by peer]
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel
Jeremy_Rand_Talos_ has quit [Remote host closed the connection]
davispuh has quit [Ping timeout: 480 seconds]
dliviu has quit [Remote host closed the connection]
dliviu has joined #dri-devel
nerdopolis has joined #dri-devel
itoral has quit [Quit: Leaving]
<eric_engestrom> zmike: please assign to marge all your dril/etc. fixes that are ready, I'll do the release in a couple of hours :)
<zmike> I'm working on the last one
<zmike> almost there
<eric_engestrom> I mean, this is true for everyone, but you have more urgent fixes than most :P
<eric_engestrom> ack
<eric_engestrom> ping me once you do?
<zmike> k
<eric_engestrom> thx
riteo has quit [Remote host closed the connection]
frieder has quit [Ping timeout: 480 seconds]
nerdopolis has quit [Ping timeout: 480 seconds]
frieder has joined #dri-devel
Company has joined #dri-devel
riteo has joined #dri-devel
gfxstrand has joined #dri-devel
bob has joined #dri-devel
frieder has quit [Ping timeout: 480 seconds]
bob has quit []
fab has joined #dri-devel
<mareko> Lynne: what is BDA?
<Lynne> buffer device address, e.g. real pointers
frieder has joined #dri-devel
fab has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
alih has joined #dri-devel
LeviYun has joined #dri-devel
<mareko> the 64-bit memory ops must be 64-bit because they are atomic, can't be split
frieder has quit [Remote host closed the connection]
davispuh has joined #dri-devel
<Lynne> yeah, my point was that if they could put 64-bit multiply units which handle memory, they should've also put 64-bit units which handle registers
<Lynne> *adds, not mults
<glehmann> spealing of mults, rdna4 also add s_mul_u64 btw
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
<mareko> Lynne: it would just be a macro opcode that is decoded as 2 32-bit adds, there's probably not much point doing that
kzd has joined #dri-devel
LeviYun has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
<Lynne> that's right, that's why I asked for 64-bit add units, which implies true 64-bit adds
<mareko> 64-bit add units are unlikely to exist in any hw, internally they are usually just 32-bit add units executing in 2 passes
<Lynne> really? even the memory 64 bit adds?
<mareko> it's not about what is real 64-bit or not, it's about what the throughput and latency is
<mareko> and pipelining
<Lynne> obviously, you'd prefer real 64-bit adds because then you have shorter dependency chains
<mareko> there is no dependency between low and high 32 bits, the carry out is forwarded as carry in to the next instruction without any delay
<zmike> eric_engestrom: I think I'm done, but there's nobody around to ack the updated version and the testers seem to have disappeared
<zmike> dunno what you wanna do about that
<mareko> that's an architectural optimization for carry out/in, and things like make it difficult to tell just from the ISA how fast it is
warpme has joined #dri-devel
mbrost has joined #dri-devel
<eric_engestrom> zmike: which one is it?
<austriancoder> MESA_SHADER_FRAGMENT vs. PIPE_SHADER_FRAGMENT - which is the preferred one?
<zmike> austriancoder: first one
<austriancoder> zmike: thx
warpme has quit []
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
melonai5 has quit []
<eric_engestrom> zmike: I can't see anything wrong, but I'm not confident I understand enough to say this is right
<eric_engestrom> it could use a code formatting pass though :]
<eric_engestrom> lots of mis-indentations and things like that
<eric_engestrom> but I think this is good enough to merge
<eric_engestrom> (also, I'd love fewer 1-letter variables ;P)
<zmike> smh loop iterators have to be a single letter
<zmike> everyone knows that
Duke`` has joined #dri-devel
<eric_engestrom> hehe
a1batross has joined #dri-devel
kts_ has joined #dri-devel
<eric_engestrom> "error: 'c' may be used uninitialized" and pointing at `unsigned c = 0;` -> I have never seen a more obvious gcc bug
<eric_engestrom> zmike: not sure how to "fix" that one
pcercuei has quit [Ping timeout: 480 seconds]
<daniels> well, you could fix the code to not trip the completely correct warning
<daniels> if (c) is hit via 'goto out' from places before 'unsigned c = 0' is declared
tintou has joined #dri-devel
<tintou> c = 0u ?
<daniels> so c is technically not yet initialised
pcercuei has joined #dri-devel
<eric_engestrom> oh
<eric_engestrom> thanks daniels
<eric_engestrom> I completely missed that
<eric_engestrom> zmike: ^
<zmike> eric_engestrom: if you want to squash it in, I've stepped out for a bit and won't be at a pc
<eric_engestrom> zmike: sorry no, I'll do the release now, there are other MRs being merged so it would take a while until this one is merged
<eric_engestrom> it will be in the next -rc
<zmike> eric_engestrom: errr
<zmike> but the release will be unusable
<zmike> without this
<zmike> lmao
<eric_engestrom> is it really that bad?
<zmike> just cancel marge for everything else and push it through
<eric_engestrom> ack
mbrost has quit [Ping timeout: 480 seconds]
<zmike> eric_engestrom: or just do the rc tomorrow
<eric_engestrom> yeah, I think I'll do that
mbrost has joined #dri-devel
<zmike> 🤝
<zmike> should be smooth sailing after this one
<zmike> we've uncovered a lot of ci coverage gaps
<zmike> which will never be filled
<MrCooper> famous last words
anujp has joined #dri-devel
<zmike> trust me buddy it's fixed
asrivats has joined #dri-devel
feaneron has joined #dri-devel
<DavidHeidelberg> anyone runs rusticl on nouveau? I would like to see if piglit/bin/cl-api-enqueue-fill-buffer pass
<DavidHeidelberg> gfxstrand: ^ ?
warpme has joined #dri-devel
warpme has quit []
<kurufu> zamundaaa[m]: Yes but which clock to fetch, and how to fetch it is the issue. I did some digging and it does seem to generally just be ktime which should be CLOCK_MONOTONIC which seems it should be mostly aligned across cpus? So I guess the question is page flips getting signalled before they flip expected.
<zamundaaa[m]> > is page flips getting signalled before they flip expected
<zamundaaa[m]> yes
<zamundaaa[m]> About which clock to fetch, that's what DRM_CAP_TIMESTAMP_MONOTONIC is for
rasterman has quit [Quit: Gettin' stinky!]
<zamundaaa[m]> On any not super insanely old kernel it should be set though
pepp has quit [Remote host closed the connection]
<kurufu> https://github.com/mikesart/gpuvis/issues/30 seems to cover many of the questions i had actually. Thanks I was expecting them to be signalled after.
pepp has joined #dri-devel
<eric_engestrom> DavidHeidelberg: I don't know about rusticl on nouveau, but rusticl on zink on nvk yes, it passes
<eric_engestrom> api@clenqueuefillbuffer,Pass,2.076497
<DavidHeidelberg> eric_engestrom: zink is fine, it's handled differently, I wondering if the legacy nouveau code pass
<eric_engestrom> ack
<DavidHeidelberg> it looks good as a inspiration, but I'm afraid it may have same problem I have
feaneron has quit [Quit: feaneron]
mbrost has quit [Ping timeout: 480 seconds]
mbrost has joined #dri-devel
feaneron has joined #dri-devel
cmarcelo has joined #dri-devel
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
mbrost_ has joined #dri-devel
mbrost has quit [Ping timeout: 480 seconds]
lynxeye has quit [Quit: Leaving.]
epoch101 has joined #dri-devel
mbrost_ has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
asrivats has quit [Ping timeout: 480 seconds]
melonai5 has joined #dri-devel
Company has quit [Read error: Connection reset by peer]
asrivats has joined #dri-devel
kts_ has quit []
feaneron has quit [Quit: feaneron]
kts has joined #dri-devel
tobiasjakobi has joined #dri-devel
tobiasjakobi has quit []
feaneron has joined #dri-devel
kts has quit [Ping timeout: 480 seconds]
feaneron has quit [Quit: feaneron]
Company has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
Haaninjo has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
sima has quit [Ping timeout: 480 seconds]
epoch101 has quit [Ping timeout: 480 seconds]
agd5f_ has quit []
agd5f has joined #dri-devel
LeviYun has joined #dri-devel
aissen_ has joined #dri-devel
aissen has quit [Remote host closed the connection]
LeviYun has quit [Ping timeout: 480 seconds]
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
rgallaispou has joined #dri-devel
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #dri-devel
rgallaispou has quit [Quit: WeeChat 4.3.5]
LeviYun has joined #dri-devel
mbrost has joined #dri-devel
Duke`` has quit [Ping timeout: 480 seconds]
Company has quit [Remote host closed the connection]
Company has joined #dri-devel
mvlad has quit [Remote host closed the connection]
alanc has quit [Remote host closed the connection]
alanc has joined #dri-devel
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
nerdopolis has joined #dri-devel
a-865 has joined #dri-devel
glennk has quit [Ping timeout: 480 seconds]
LeviYun has quit [Ping timeout: 480 seconds]
Company has quit [Ping timeout: 480 seconds]
guludo has quit [Quit: WeeChat 4.3.3]
benjaminl has quit [Ping timeout: 480 seconds]
Company has joined #dri-devel
leizhou has quit [Remote host closed the connection]
leizhou has joined #dri-devel
nerdopolis has quit [Ping timeout: 480 seconds]
riteo has quit [Remote host closed the connection]
LeviYun has joined #dri-devel
kzd has quit [Quit: kzd]
davispuh has quit [Ping timeout: 480 seconds]
nerdopolis has joined #dri-devel
leizhou has quit [Remote host closed the connection]
pcercuei has quit [Quit: dodo]
kzd has joined #dri-devel
Kayden has quit [Quit: Leaving]
Kayden has joined #dri-devel