ChanServ changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://oftc.irclog.whitequark.org/panfrost - <macc24> i have been here before it was popular
kenzie35 has quit []
kenzie35 has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
robmur01 has quit [Read error: Connection reset by peer]
robmur01 has joined #panfrost
evx256 has joined #panfrost
<evx256> hello again! hopefully haven't outworn my welcome :) so in testing various gles3.0 and prior to that vulkan apps, I realized that I can no longer run gles3.0 apps that previously ran without issue. I thought this might have been a regression since, the mesa taht shipped on the factory image of pinephonepro, mesa 21.3.4-1, so I checked out this branch, built it, and it appears to segfault in same place as:
<evx256> however, and more worrisome, i tried to re-run these apps on that factory image (i just remove the sd card with a different manjaro with the newer mesa), and they too no longer work and segfault in the gallium driver. so now, and you'll have to forgive my ignorance on these matters, i'm wondering is it possible there's some global state in the gpu that got messed up when testing the newer mesa, that is now persisting across reb
<evx256> booted os's?
<evx256> like i have screenshots of these apps running, i double checked the mesa on the factory image when i boot is equal to the mesa in the factory image on the downloads page, but now they all segfault and cannot present; so... i'm running out of explanations how this could be possible, other than some persistent state in the gpu hardware somehow? that doesn't seem possible to me, but i also couldn't say one way or the other :)
* evx256 coughs nervously
<HdkR> Stuff could have changed around the app and mesa. Especially with AFBC scanout shenanigans
<evx256> could you elaborate a bit on what you mean? :)
<evx256> so just to be clear, i built (and ran) the shadow and cube and triangle examples from here: https://github.com/gfx-rs/wgpu/ successfully when running against gles3.0; i have screenshots of them running. so then i installed an os on an sdcard, booted that, played with it for a while, attempted to try out vulkan, then bla bla, more stuff, then noticed the apps no longer run, so i removed sd card, as i said, re-ran them, and no lo
<evx256> run. i can't understand how this would be possible unless i updated either the app or the system (neither is true, afaik), _or_ there's some kind of state inside the gpu hardware that is persisting across boots and os's, which as i said, i don't know enough whether that could be true.
<HdkR> Did the kernel change on you? You're interacting with DRM here which is seemingly providing an AFBC framebuffer to scan out to. Previously you might not have hit that.
<HdkR> Or it is mixing AFBC and tiled, hard to know for sure
<evx256> that is a good question; afaik, when the apps ran, i had done `pacman -Syyu` _before_ i ran them, played with them a bit; got bored, and installed another os on another sd card and hadn't touched this (it's on emmc built into the pinephone). it is possible i did `pacman -Syyu` _after_ i ran them, i'm not sure of good way to know this.
<HdkR> You may have also been playing with `PAN_MESA_DEBUG=linear`
<evx256> i definitely didn't pass that flag; are you saying that this could cause some persistable effect to the t860 gpu that is observable through reboots and os's though?
<HdkR> nope
<HdkR> But it would make the assert go away
<evx256> the assert in the issue you mean?
<HdkR> yea
<evx256> good to know! do note that i did compile the asserts out when simply compiling in release, (which is what the shipped gallium driver is built with), and it segfaults, but maybe that environment variable alters some control logic? i will try it out :)
<HdkR> Yes, that environment variable does control some logic around this
<evx256> yea still getting segfaults; i was told in the wgpu channel it is probably related to the surface i'm asking for (Bgra8UnormSrgb)
<HdkR> Very likely
<evx256> it's still kind of troubling to me all this worked before... like suddenly the gallium driver for t860 and mali has issues with srgb surface, but before, what sounds like it must have been a kernel update i forgot about, now it has major problems with it? something is fishy...
<HdkR> kernel update or WM/DE could cause it
<HdkR> Depending on what is asking for that particular scan out buffer format :)
<evx256> ok easy enough to test this theory then, i can just change the surface request
<evx256> also what does that environment variable you suggested do exactly?
<HdkR> Forces some tiled resources to be linear
<evx256> ok running with a non-gamma correct surface also segfaults
<HdkR> well it looks like the fault is in a different location than the assert
<evx256> so i guess the part i'm finding confusing a bit here is it isn't clear to me how/why a kernel update would segfault the mesa code where it does; are the pointers it's trying to delete in the linkedlist volatile resources? (i.e., being deleted by the kernel/whatever underneath it)
<HdkR> Also have to understand that I'm making wild guesses to try and help :)
<evx256> i dig it, and appreciate it :)
tolszak has joined #panfrost
camus has joined #panfrost
camus1 has quit [Ping timeout: 480 seconds]
evx256 has quit [Remote host closed the connection]
evx256 has joined #panfrost
anarsoul has quit [Ping timeout: 480 seconds]
anarsoul has joined #panfrost
Didgy has joined #panfrost
Didgy74 has joined #panfrost
Didgy74 has left #panfrost [#panfrost]
Didgy is now known as Guest53
Didgy has joined #panfrost
Guest53 has quit [Ping timeout: 480 seconds]
Didgy has quit [Quit: Konversation terminated!]
Didgy has joined #panfrost
Didgy has quit []
Didgy has joined #panfrost
Didgy is now known as Guest54
Didgy has joined #panfrost
MajorBiscuit has joined #panfrost
DidgyNilsipus[m] has joined #panfrost
Guest54 has quit [Ping timeout: 480 seconds]
<Didgy> Testing from IRC
Didgy has quit [Quit: Konversation terminated!]
Didgy has joined #panfrost
wolfshappen has joined #panfrost
Didgy has quit [Quit: Konversation terminated!]
wolfshappen has quit []
Didgy has joined #panfrost
wolfshappen has joined #panfrost
Didgy has quit []
Didgy has joined #panfrost
dmh has joined #panfrost
Didgy has quit [Ping timeout: 480 seconds]
Didgy has joined #panfrost
Didgy is now known as Guest58
Didgy has joined #panfrost
Didgy has quit []
rasterman has joined #panfrost
Guest58 has quit [Ping timeout: 480 seconds]
tanty has joined #panfrost
shihaku has joined #panfrost
shihaku has quit []
robertfo1 is now known as robertfoss
Rathann has joined #panfrost
<robmur01> hmm, looks like my LXDM might be dying on "assert(ctx->blend_src1 < ctx->temp_count);" in RA
<robmur01> I think I shall not be attempting to debug that :)
camus1 has joined #panfrost
camus has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #panfrost
nlhowell has joined #panfrost
camus1 has quit [Ping timeout: 480 seconds]
camus has joined #panfrost
<alyssa> robmur01: mumble.
<robmur01> "Register allocation? On an unsupported GPU? At this time of year? Entirely localised to my living room?"
* robmur01 has already had two embarrassing facepalm moments this morning, no need to tempt fate further...
<alyssa> ah yes the time of year
<alyssa> it's TOO COLD to write compilers that's my excuse
<HdkR> Just need to build compilers more frequently then
<HdkR> Warm you up quite fast
<macc24> 4 watts of arm heating power
<alyssa> hmm
Major_Biscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
Didgy has joined #panfrost
Didgy has quit []
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #panfrost
chewitt has quit []
pjakobsson_ has joined #panfrost
pjakobsson has quit [Ping timeout: 480 seconds]
tlwoerner_ has joined #panfrost
anarsoul|2 has joined #panfrost
tlwoerner has quit [Remote host closed the connection]
anarsoul has quit [Read error: Connection reset by peer]
Major_Biscuit has quit [Ping timeout: 480 seconds]
anarsoul|2 has quit []
anarsoul has joined #panfrost
jambalaya has quit [Remote host closed the connection]
jambalaya has joined #panfrost
nlhowell is now known as Guest131
Guest131 has quit [Read error: Connection reset by peer]
nlhowell has joined #panfrost
camus1 has joined #panfrost
camus has quit [Read error: Connection reset by peer]
tlwoerner_ has quit []
tlwoerner has joined #panfrost
robher has quit [Read error: Connection reset by peer]
daniels has quit [Read error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
daniels has joined #panfrost
steev has joined #panfrost
robher has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
<alyssa> Yikes I have too many open MRs to deal with
<alyssa> I should strongly consider not opening more ;V
<steev> open more, let future you deal with it
<anarsoul> future you won't appreciate that
<anarsoul> :)
<alyssa> future me and I are not on the best terms
<macc24> get a time machine and send the patches to review for past you :)
<steev> that's a future you problem
<anarsoul> darn you, past me!
<alyssa> thanks for volunteering for patch review duty
<steev> i mean... i can look at them, and say... yep, looks like code
<anarsoul> looks like code, works like code, let's treat it like code!
<steev> merged in my tree without conflict. lgtm+1
* alyssa stares at NIR
<alyssa> 2 files changed, 46 insertions(+), 3 deletions(-)
<alyssa> i'm not really doing well at this "fewer patches" thing
<jekstrand> alyssa: Or you can be like me and just replace all the code with different code
* jekstrand looks at his + 3041
<jekstrand> - 2849
<jekstrand> MR
<alyssa> jekstrand: oof
<alyssa> jekstrand: My new "jekstrand job theory" is that you left Intel as soon as you finished the raytracing patches so you wouldn't have to upstream them
<alyssa> :-p
<jekstrand> alyssa: I should have. Instead, I made the mistake of hanging around for another year to try and save i915.
<alyssa> what happened to i915
<jekstrand> Oh, it's generally a disaster and the whole team doesn't know how to do open-source anymore.
<anarsoul> :(
<jekstrand> Not "whole team". There's a few that still do and still care.
<jekstrand> But, yeah...
<jekstrand> And the code-base is an over-grown misarchitected pile
<anarsoul> I kind of hoped to get discrete Intel GPU one day...
<anarsoul> with decent open-source driver
<jekstrand> I think we'll get there. There's still some good people there.
<HdkR> Guess we'll just need Mali dGPU :>
<anarsoul> HdkR: no, thanks
<jekstrand> But, yeah, I don't like kernel development (too much rebooting and no GDB) and was pretty burned out.
<alyssa> HdkR: Okay but have you considered Vivante dGPU
<anarsoul> jekstrand: can't you just pass GPU to a VM?
<jekstrand> :P
<anarsoul> alyssa: what about adreno? :P
<jekstrand> alyssa: Are you trying to give me indigestion.
<jekstrand> ?
<HdkR> alyssa: that would be the most sad dGPU, like an MX150
<anarsoul> oh wait, we already have radeon :)
<alyssa> if we only we had a freadeon driver for it...
<anarsoul> I wonder if modern AMD GPUs have anything in common with adreno :)
<jekstrand> And then there's discrete PowerVR
<alyssa> is it normal to spend every day for years thinking about how much you want to do a thing X and then still not do it
<HdkR> I wish I could write this code correctly
<HdkR> From what I can tell, it's now years later and it still isn't correct
<HdkR> darned