alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
Elpaulo has quit [Ping timeout: 265 seconds]
Elpaulo has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
alpernebbi has quit [Quit: alpernebbi]
raster has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
stikonas has quit [Remote host closed the connection]
kaspter has joined #panfrost
icecream95 has joined #panfrost
bbrezillon has quit [Ping timeout: 256 seconds]
vstehle has quit [Ping timeout: 260 seconds]
kaspter has quit [Ping timeout: 264 seconds]
kaspter has joined #panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 264 seconds]
camus1 is now known as kaspter
italove has joined #panfrost
italove has quit [Ping timeout: 256 seconds]
<HdkR> I see all these Bifrost commits coming in. Keep up the good work! :D
<archetech> \o/
archetech has quit [Quit: Konversation terminated!]
archetech has joined #panfrost
Green has joined #panfrost
<SolidHal> ahhhh "Purging %lu bytes" is from panfrost_gen_shrinker.c
<SolidHal> *panfrost_gem_shrinker.c
<SolidHal> any clue why it is an info level message?
<chewitt> because someone forgot to make it something else?
<SolidHal> it doesn't even label itself as panfrost :/
<SolidHal> scared me for a sec
<chewitt> it's not the worst thing I see in dmesg :)
<SolidHal> oh certainly not, I see some nice errors from panfrost on 5.9.7 that I didn't on 5.9.4 and graphical glitches to go with them. The purging messages were more just confusing
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 264 seconds]
camus1 is now known as kaspter
_whitelogger has joined #panfrost
rak-zero has joined #panfrost
italove has joined #panfrost
davidlt has joined #panfrost
vstehle has joined #panfrost
kaspter has quit [Ping timeout: 264 seconds]
camus1 has joined #panfrost
camus1 is now known as kaspter
kaspter has quit [Ping timeout: 265 seconds]
kaspter has joined #panfrost
rando25892 has quit [Ping timeout: 256 seconds]
rando25892 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #panfrost
icecream95 has quit [Ping timeout: 260 seconds]
raster has joined #panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
italove has quit [Quit: Lost terminal]
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
<tomeu> there was some patch in lkml addressing this, I don't know what the conclusion was
stikonas has joined #panfrost
<tomeu> alyssa: apparently a newer CTS manages to crash panfrost in these tests: dEQP-GLES2.functional.shaders.indexing.tmp_array.float_const_write**
<tomeu> but only on midgard
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
rak-zero has quit [Ping timeout: 258 seconds]
gcl_ is now known as gcl
kaspter has quit [Ping timeout: 265 seconds]
bbrezillon has joined #panfrost
<alyssa> SolidHal: it does seem to slow things down, it's not the end of the world but not a good thing and ideally we wouldn't be hitting it in normal use
<alyssa> tomeu: hm, crash how/
alpernebbi has joined #panfrost
archetech has quit [Quit: Leaving]
<tomeu> alyssa: no idea, sorry, just saw it in CI when deqp was updated
<dstzd> is there an easy way to make sure card0 is rockchip-drm and card1 is panfrost? they seem to be reverse on my system. is it like that for anyone else?
<macc24> dstzd: is it bad?
<macc24> /dev/dri/by-path still exists
<dstzd> i don't think so but i'm trying to get the hardware video decode patches going on my system and i'm having some difficulty
<urjaman> build the rockchip driver into the kernel and load panfrost as a module
<dstzd> it's probably just mpv being stupid though
<dstzd> ah thats probably it. when they are both builtins p comes before r
archetech has joined #panfrost
Elpaulo has quit [Quit: Elpaulo]
Elpaulo has joined #panfrost
<alyssa> I wonder what other yaks I can shave this morning to avoid the all-consuming existential dread of scheduling clauses.
archetech has quit [Quit: Leaving]
robmur01_ is now known as robmur01
<robmur01> why, full SFBD support of course! :P
<alyssa> >:p
archetech has joined #panfrost
<alyssa> robmur01: what support are you missing
<alyssa> ES2 basically works on t720
kaspter has joined #panfrost
<dstzd> SFBD?
<alyssa> t6xx and t720
<alyssa> I feel sick.
kaspter has quit [Quit: kaspter]
nlhowell has joined #panfrost
<alyssa> Okay, this might be a wild idea, but - what if we tried to schedule a (generalized) clause optimally?
<alyssa> Since Bifrost mandates no more than one message-passing passing instruction per clause, stage 1 of the scheduler just schedule message passing instructions, with the in between to be 'filled in' later.
<alyssa> Stage 1 acts on a given basic block.
<alyssa> Stage 2 then, filling in the clause, is only interested in the subset of instructions that can actually be scheduled between the two adjacent message-passing instructions.
<alyssa> You _can_ construct edge cases where the program does no control flow and no input/output except the very beginning and very end and just does huge amounts of ALU in between, but..
<alyssa> That seems kinda unlikely for real world shaders (*citation needed)
archetech has quit [Quit: Leaving]
<alyssa> Again, a priori checking every possible instruction sequence is exponential.
<alyssa> But Bifrost is so heavily constrained that the set of options probably small at every step, and given the above clause structure, the problem space is significantly smaller than the whole program.
<alyssa> For a slight tradeoff, we can bound the search at the clause boundary, so we end up searching no more than 16 layers deep (rather than arbitrarily many -- no matter how much consecutive ALU you do, 16 is the recursion limit so to speak)
<alyssa> And you can still bound the solution set at checking the best N options instead of all N options, another tradeoff between greedy (setting N=1) and fully optimal (unbounded)
<alyssa> But... if N = 4, then this already allows for a single clause to require 4**16 = 4 billion steps
<alyssa> So maybe it is unfeasible after all. Oh well. It'll make for fun experimentation later, and of course this sort of tuning doesn't affect any of the formal issues.
archetech has joined #panfrost
<archetech> closer
<archetech> oops not in armbian
archetech has quit [Quit: Leaving]
archetech has joined #panfrost
deuteragenie has joined #panfrost
<deuteragenie> This scheduling problem smells like a CSP problem. Maybe it can be modeled in MiniZinc for example ?
<deuteragenie> I suppose that it can be solved efficiently by bed and breakfast.
<robmur01> alyssa: the most obvious one is that glmark2-es2 -bshadow still segfaults on t620 - IIRC we've still just got an assert in lieu of some required functionality for that
<deuteragenie> Otherwise, feed the model into an ILP solver. But then what are the performance expectations ?
<robmur01> but yeah, get on with the stuff that actually matters first :D
deuteragenie has quit [Ping timeout: 256 seconds]
deuteragenie has joined #panfrost
<alyssa> deuteragenie: when all else fails, feed things into an ILP sovlver indewed :p
<alyssa> robmur01: hm, segfaults where?
<alyssa> or what assert is failing rather
<robmur01> gdb says panfrost_prepare_midgard_fs_state
<robmur01> lemme try a proper debug build to see if that helps
<alyssa> oh, d'oh
<alyssa> this is embarrasing
<alyssa> robmur01: alyssa/mesa:for-robin
<alyssa> I totally did not just spend time on this :p
<alyssa> completely untested but it's, like, probably fine
<macc24> does anyone have duet with serial output?
<bbrezillon> macc24: depends what you mean by serial output
<macc24> something for linux to talk to without display
<bbrezillon> but yes, I have a serial output going through the SuziQ cable
<macc24> i might have kernel 5.9.something to test today
<macc24> it's unavailable
<macc24> i already ordered usbc breakout to make one myself but it takes long to ship
deuteragenie has quit [Ping timeout: 245 seconds]
<bbrezillon> so you rebased my branch on 5.9?
<macc24> merged all 5.x rc to take it to 5.8 and i'm now merging 5.9
<archetech> macc24: will that kernel work for my N2+ ?
<archetech> hard to find n2 with current fixes
<macc24> it's only for duet, without any fixes that would help n2+
<archetech> ok
<robmur01> alyssa: well, that at least gets as far as an assertion now - midgard_pack.h:30: v<=max
<robmur01> coming from panfrost_emit_frag_shader
<bbrezillon> macc24: dunno, as I said, I just added a few hacks to make it work and informed the people in charge of upstreaming this code about those problems
<alyssa> robmur01: ugh..
<alyssa> That's one of those useless "well you got something wrong!" errors
<alyssa> no change you can get a backtrace to the caller in midgard_pack.h?
<alyssa> chance
<robmur01> pan_cmdstream.c:542
<alyssa> oh wait
<robmur01> (sorry, can't copy-paste off the TV on the other side of the room...)
<alyssa> ok try now
<alyssa> and now let's get back to scheduling
<alyssa> curse you nerd sniper :p
* HdkR lines up the shot
<robmur01> well you did ask! :P
<alyssa> you brought it up!
<alyssa> HdkR: mathematicians are 3 points
<HdkR> Programmers must be 1 then, since there are so many :P
<robmur01> woo, now it runs like it used to - still doesn't actually render the shadow, but hey :D
<robmur01> meanwhile, dEQP has finished cloning... >:)
<alyssa> >::::
<alyssa> :p
<alyssa> taking that as a t-b
<alyssa> !7557
<robmur01> absolutely - thanks!
<alyssa> 😏
<robmur01> and fortunately, dEQP doesn't seem to want to build on Arch... (complains it can't find something that's supposedly installed)
<alyssa> I'm not sure why T720 never hit that, actually.
<robmur01> hmm, although on a full run a bunch of other stuff has now gone wonky - terrain is completely flat, and on function, loops and conditionals only a small part of the bottom of the screen actually shows anything
<robmur01> maybe park it as WIP for now - I should rustle up a T720 for comparison, and get this all logged in a proper issue
<alyssa> ^^ those are all glmark bugs
<robmur01> oh, so you mean you've made it work *too* well... https://xkcd.com/1172/
<alyssa> either revert the inf/nan commits at the beginning of the series or grab my fixes https://github.com/glmark2/glmark2/pull/132 or set PAN_MESA_DEBUG=nofp16
<robmur01> yup, saw that earlier - I'll do some more thorough testing and report back on the PR
<robmur01> right now it's time for dinner and stepping away from the work computer ;)
<alyssa> glhf
raster has quit [Quit: Gettin' stinky!]
davidlt has quit [Ping timeout: 265 seconds]
raster has joined #panfrost
robmur01_ has joined #panfrost
<macc24> bbrezillon: got 5.9.2 working
robmur01 has quit [Ping timeout: 264 seconds]
<macc24> alyssa: how working is bifrost in 20.2?
icecream95 has joined #panfrost
<alyssa> macc24: 20.2 is quite broken, 20.3 will be quite working
<alyssa> (20.3 branched off this week. So today's master is pretty close to what 20.3 will be.)
<macc24> oh
<macc24> how broken is g72 in master?
archetech has quit [Quit: Konversation terminated!]
nerdboy has quit [*.net *.split]
mmind00 has quit [*.net *.split]
Venemo has quit [*.net *.split]
xdarklight has quit [*.net *.split]
mchehab has quit [*.net *.split]
mmind00 has joined #panfrost
nerdboy has joined #panfrost
Venemo has joined #panfrost
mchehab has joined #panfrost
xdarklight has joined #panfrost
<alyssa> that's a wuestion for bbrezillon
alpernebbi has quit [*.net *.split]
rcf has quit [*.net *.split]
Depau has quit [*.net *.split]
nhp has quit [*.net *.split]
maciejjo has quit [*.net *.split]
stikonas has quit [*.net *.split]
Ke has quit [*.net *.split]
doublej41 has quit [*.net *.split]
bnieuwenhuizen has quit [*.net *.split]
vstehle has quit [*.net *.split]
cowsay has quit [*.net *.split]
lvrp16 has quit [*.net *.split]
mani_s has quit [*.net *.split]
cyrozap has quit [*.net *.split]
embed-3d has quit [*.net *.split]
empty_string has quit [*.net *.split]
stikonas has joined #panfrost
Ke has joined #panfrost
bnieuwenhuizen has joined #panfrost
doublej41 has joined #panfrost
vstehle has joined #panfrost
cowsay has joined #panfrost
cyrozap has joined #panfrost
lvrp16 has joined #panfrost
mani_s has joined #panfrost
embed-3d has joined #panfrost
empty_string has joined #panfrost
lvrp16 has quit [Max SendQ exceeded]
milkii has quit [*.net *.split]
robertfoss has quit [*.net *.split]
rtp has quit [*.net *.split]
alpernebbi has joined #panfrost
maciejjo has joined #panfrost
nhp has joined #panfrost
Depau has joined #panfrost
rcf has joined #panfrost
robmur01_ has quit [*.net *.split]
rando25892 has quit [*.net *.split]
SolidHal has quit [*.net *.split]
brads has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
ndufresne has quit [*.net *.split]
tomeu has quit [*.net *.split]
leper` has quit [*.net *.split]
macc24 has quit [*.net *.split]
rando25892 has joined #panfrost
ndufresne has joined #panfrost
SolidHal has joined #panfrost
shadeslayer has joined #panfrost
tomeu has joined #panfrost
robmur01_ has joined #panfrost
brads has joined #panfrost
milkii has joined #panfrost
rtp has joined #panfrost
robertfoss has joined #panfrost
leper` has joined #panfrost
macc24 has joined #panfrost
macc24 has quit [Max SendQ exceeded]
macc24 has joined #panfrost
tomboy64 has quit [*.net *.split]
wiizzard has quit [Ping timeout: 240 seconds]
lvrp16 has joined #panfrost
l-as has quit [Ping timeout: 240 seconds]
exit70[m] has quit [Ping timeout: 240 seconds]
clementp[m] has quit [Ping timeout: 246 seconds]
didntread has quit [Ping timeout: 244 seconds]
Ke has quit [Ping timeout: 260 seconds]
tomboy64 has joined #panfrost
raster has quit [*.net *.split]
jolan has quit [*.net *.split]
andrey-konovalov has quit [*.net *.split]
rellla has quit [*.net *.split]
alyssa has quit [*.net *.split]
urjaman has quit [*.net *.split]
klaxa has quit [*.net *.split]
raster has joined #panfrost
jolan has joined #panfrost
andrey-konovalov has joined #panfrost
rellla has joined #panfrost
lvrp16 has quit [*.net *.split]
steev has quit [*.net *.split]
anarsoul has quit [*.net *.split]
yann has quit [*.net *.split]
youcai has quit [*.net *.split]
jstultz has quit [*.net *.split]
gtucker has quit [*.net *.split]
Werner has quit [*.net *.split]
mupuf has quit [*.net *.split]
alyssa has joined #panfrost
klaxa has joined #panfrost
urjaman has joined #panfrost
anarsoul has joined #panfrost
Werner has joined #panfrost
gtucker has joined #panfrost
lvrp16 has joined #panfrost
yann has joined #panfrost
jstultz has joined #panfrost
steev has joined #panfrost
youcai has joined #panfrost
mupuf has joined #panfrost
lvrp16 has quit [Max SendQ exceeded]
bbrezillon has quit [*.net *.split]
megi has quit [*.net *.split]
ids1024 has quit [*.net *.split]
tgall_foo has quit [*.net *.split]
indy has quit [*.net *.split]
ente has quit [*.net *.split]
Lyude has quit [*.net *.split]
showliu has quit [*.net *.split]
HdkR has quit [*.net *.split]
griffinp has quit [*.net *.split]
lvrp16 has joined #panfrost
Elpaulo has quit [*.net *.split]
gcl has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
karolherbst has quit [*.net *.split]
robink has quit [*.net *.split]
enunes has quit [*.net *.split]
awordnot has quit [*.net *.split]
MoeIcenowy has quit [*.net *.split]
forkbomb has quit [*.net *.split]
Elpaulo has joined #panfrost
tlwoerner has joined #panfrost
gcl has joined #panfrost
enunes has joined #panfrost
MoeIcenowy has joined #panfrost
robink has joined #panfrost
awordnot has joined #panfrost
forkbomb has joined #panfrost
karolherbst has joined #panfrost
bbrezillon has joined #panfrost
indy has joined #panfrost
tgall_foo has joined #panfrost
ids1024 has joined #panfrost
Lyude has joined #panfrost
megi has joined #panfrost
griffinp has joined #panfrost
ente has joined #panfrost
HdkR has joined #panfrost
showliu has joined #panfrost
steev has quit [Ping timeout: 248 seconds]
macc24 has quit [Read error: Connection timed out]
macc24 has joined #panfrost
icecream95 has quit [*.net *.split]
Green has quit [*.net *.split]
chewitt has quit [*.net *.split]
samueldr has quit [*.net *.split]
AreaScout_ has quit [*.net *.split]
dhewg has quit [*.net *.split]
endrift has quit [*.net *.split]
Prf_Jakob has quit [*.net *.split]
unoccupied has quit [*.net *.split]
ezequielg has quit [*.net *.split]
krh has quit [*.net *.split]
dschuermann has quit [*.net *.split]
sigmaris has quit [*.net *.split]
afaerber has quit [*.net *.split]
Stenzek has quit [*.net *.split]
hl has quit [*.net *.split]
Stary has quit [*.net *.split]
mifritscher has quit [*.net *.split]
chrisf has quit [*.net *.split]
Green has joined #panfrost
icecream95 has joined #panfrost
samueldr has joined #panfrost
chewitt has joined #panfrost
Prf_Jakob has joined #panfrost
AreaScout_ has joined #panfrost
dhewg has joined #panfrost
endrift has joined #panfrost
Net147 has quit [*.net *.split]
phh has quit [*.net *.split]
krh has joined #panfrost
ezequielg has joined #panfrost
unoccupied has joined #panfrost
chrisf has joined #panfrost
Stenzek has joined #panfrost
afaerber has joined #panfrost
Stary has joined #panfrost
hl has joined #panfrost
dschuermann has joined #panfrost
mifritscher has joined #panfrost
sigmaris has joined #panfrost
steev has joined #panfrost
Net147 has joined #panfrost
phh has joined #panfrost
Net147 has quit [Max SendQ exceeded]
Net147_ has joined #panfrost
wiizzard has joined #panfrost
Ke has joined #panfrost
archetech has joined #panfrost
clementp[m] has joined #panfrost
l-as has joined #panfrost
exit70[m] has joined #panfrost
alpernebbi has quit [Quit: alpernebbi]
raster has quit [Quit: Gettin' stinky!]
<macc24> bbrezillon: got 5.10 working
<macc24> HdkR: ^
<HdkR> whoa
<macc24> i am speed
<HdkR> Good job :D
<macc24> i mean, i am speed
<macc24> yeah now i just have to figure out installing to internal emmc because booting system off only usb port isn't that useful
raster has joined #panfrost
raster has quit [Quit: Gettin' stinky!]