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
nerdboy has quit [Ping timeout: 256 seconds]
buzzmarshall has joined #panfrost
JaceAlvejetti has quit [Ping timeout: 252 seconds]
kaspter has joined #panfrost
kinkinkijkin has quit [Remote host closed the connection]
nerdboy has joined #panfrost
urjaman has quit [Ping timeout: 240 seconds]
nerdboy has quit [Ping timeout: 256 seconds]
kinkinkijxu4 has joined #panfrost
davidlt has joined #panfrost
_whitelogger has joined #panfrost
urjaman has joined #panfrost
Werner has joined #panfrost
icecrea105 has joined #panfrost
icecream95 has quit [Ping timeout: 256 seconds]
icecrea105 has quit [Quit: leaving]
<Werner> Dear Panfrost people, yesterday I try to get Panfrost drivers, compiled natively from scratch, to work on my OPi1+ (Allwinner H6, Mali T720, Linux 5.6.2, Armbian (Ubuntu)Focal) but failed. It freezes the whole board after a couple of seconds. Everything I could capture I have sent into a comment to NicoD's already existing issue report from about a month ago. Maybe you have a chance to take a look at it. https://gitlab.freedesktop.org/panfrost/linux/-/
<Werner> issues/2
<mixfix41> i thikn they said arch linux has panfrost included on their you could try that from one person said in here. besides could be a lot of factors but it should work
<mixfix41> i use slackware personally its hit or miss but i havnt yet gone to arch to check it out either
<mixfix41> or since you have a t720 you might try prawnos
<Werner> I am not sure if this would make a difference since both OS would share mostly the same base like DTB which could be an issue already. Who knows...
<mixfix41> on application basis and with arm you have to
<mixfix41> for me anyways personal experiences
<mixfix41> actually im pretty crippled at building the kernel it just seems so monumental i understand
<mixfix41> it doesnt add up thoughs wouldnt x just fall back on non acceleration or refuse to start why would it lock at all
<Werner> No clue
<mixfix41> we'll get there ^
icecream95 has joined #panfrost
<tomeu> Werner: mixfix41: maybe it can help to see how we run tests in h64 boards: https://lava.collabora.co.uk/scheduler/job/2286143
<tomeu> you can download the kernel, dtb, and mesa build from there to check what component is causing problems
<tomeu> but I would indeed double check that the GPU is getting enough power at all the frequencies
<tomeu> it could help to lock it up at a lower frequency for testing, using the sysfs interface to devfreq
mias has joined #panfrost
<Werner> I will try to dig a bit deeper into. Thanks
icecrea105 has joined #panfrost
icecream95 has quit [Ping timeout: 240 seconds]
<Werner> tomeu, You may have been right. I pushed the gpu governeur to powersave and it did not crash yet. I got glxinfo and glx gears running
<tomeu> promising!
<Werner> Man that is an awesome morning
<Werner> I will try to clock it higher step by step and run glxgears for several minuts to see how it performs
icecrea105 has quit [Ping timeout: 256 seconds]
<Werner> Is the dmesg output "Purging xy bytes" and "panfrost_gem_shrinker_scan" about every five seconds intended?
<urjaman> "intended"? *shrug* ... but normal? yes.
<urjaman> there exists a patch to silence it but i dunno what's the state on that going anywhere :P (mostly feels like because nobody is in a hurry with such tiny stuff...)
<Werner> Aight, no big deal. Was just wondering why it spams the dmesg :)
anarsoul has left #panfrost ["Leaving"]
anarsoul has joined #panfrost
icecream95 has joined #panfrost
<Werner> At 360 it ran into trouble
nerdboy has joined #panfrost
raster has joined #panfrost
<Werner> With some cooling I pushed it to 384, though it throw the (I guess) same error when killing glxgears
doublej472 has quit [Ping timeout: 246 seconds]
doublej472 has joined #panfrost
<robmur01_> urjaman: yeah, I was just thinking about reviving that patch with more strongly-worded justification, now that I have GDM working on my board and see the full force of the spam too...
stikonas has joined #panfrost
<icecream95> robmur01_: I built a new kernel without ARM_ERRATA_818325_852422, but the other cores are still slower than core 0 for conditional instructions
<robmur01_> icecream95: hmm, the 852422 workaround is supposed to have "negligible performance impact" anyway, but it's still mighty weird whatever
<robmur01_> I need to get my 3288 going again to see if it's easily reproducible, or whether there's perhaps some system-specific bootloader behaviour involved too
<Werner> Aight, it seems like Panfrost just running fine with good cooling. It does not like thermal throttling though.
raster has quit [Remote host closed the connection]
raster has joined #panfrost
<robmur01_> BTW, is your "fn" an actual implementation of something useful, or just a synthetic test case? Because AFAICS most of those conditional instructions could be avoided anyway ;)
<icecream95> That's a synthetic test, but I derived it from some real-life code that iterated over a vector<bool> (which has now been removed from C++...)
icecream95 has quit [Ping timeout: 256 seconds]
Ntemis has joined #panfrost
Ntemis has quit [Remote host closed the connection]
nerdboy has quit [Ping timeout: 256 seconds]
<tomeu> alyssa: pushed some more stuff, now I got to bifrost_tiler_meta stuff finally
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
cwabbott has quit [Quit: cwabbott]
cwabbott has joined #panfrost
cwabbott has quit [Client Quit]
cwabbott has joined #panfrost
cwabbott has quit [Client Quit]
cwabbott has joined #panfrost
cwabbott has quit [Client Quit]
cwabbott has joined #panfrost
cwabbott has quit [Remote host closed the connection]
cwabbott has joined #panfrost
rhyskidd has joined #panfrost
karolherbst has quit [Ping timeout: 272 seconds]
<alyssa> tomeu: \o/
<tomeu> alyssa: I'm a bit out of clues on why it's not liking my tiler heap: https://paste.centos.org/view/f69e4801
<alyssa> tomeu: polygon_list_size = 0x65400, <-- for starters this field was wrong
<tomeu> interesting, that field seems to be supposed to hold a pointer to the bifrost_tiler_meta descriptor
<alyssa> Assume everything related to bifrost tiler is wrong right now :2
<tomeu> I didn't get to the fragment descriptor yet, was still at the tiler one
<alyssa> got it
MastaG has quit [Quit: The Lounge - https://thelounge.chat]
MastaG has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
<alyssa> wasnt me
<alyssa> <-- was her
kinkinkijxu4 has quit [Quit: Leaving]
<alyssa> Meanwhile compiler bugs
<tomeu> alyssa: pushed something that populates the tiler descriptor a bit nicer
<tomeu> alyssa: new trace: https://paste.centos.org/view/9e266a1d
<tomeu> don't know why it keeps complaining about the tiler descriptor
<tomeu> *tiler_meta
<alyssa> tomeu: Hm, did we see if there are spooky hidden fields?
<tomeu> alyssa: not yet, will have to wait to tomorrow
<tomeu> I'm about to finish for today
<alyssa> alright, thank you!
<tomeu> I think there could easily be in mali_framebuffer after the address to the tiler_meta descriptor
<alyssa> Hmm, right
<alyssa> Also keep in mind fault_pointer isn't always precise
<alyssa> could be the tiler_heap_meta instead, etc.
<tomeu> yeah
<alyssa> tomeu: should I continue this or compiler?
<tomeu> alyssa: maybe compiler?
<alyssa> aight!
<tomeu> guess it could be a better use of your time, but who knows, maybe I won't be able to crack this nut :)
<alyssa> (BTW - vertex job in kmscube runs on your branch)
<alyssa> (Not entirely *correctly* but it does execute. So you're getting close)
<alyssa> .tiler_heap_free = memory_13 + 0,
<alyssa> is suspect
<alyssa> although it doesn't change in subsequent frames, they just alternate the entire buffer
raster has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
<Lyude> btw alyssa - if I get the time I will try again this friday to get some panfrost time
<alyssa> ok!
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
<robher> alyssa: Seems like we are tearing down drm_mm before all the BOs are unmapped.
cwabbott has quit [Ping timeout: 246 seconds]
cwabbott has joined #panfrost
nerdboy has joined #panfrost
nerdboy has quit [Ping timeout: 256 seconds]
<alyssa> robher: could be
tomboy64 has quit [Remote host closed the connection]
<alyssa> tomeu: Might want to pick the top commits from alyssa/v12b which makes vertex shaders behave a lot better
megi has quit [Quit: WeeChat 2.7.1]
megi has joined #panfrost
davidlt has quit [Ping timeout: 265 seconds]
tomboy64 has joined #panfrost
karolherbst has joined #panfrost
nerdboy has joined #panfrost
nerdboy has quit [Ping timeout: 256 seconds]
mias has quit [Ping timeout: 256 seconds]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #panfrost
nerdboy has joined #panfrost
karolherbst has quit [Remote host closed the connection]
karolherbst has joined #panfrost
icecream95 has joined #panfrost
nerdboy has quit [Ping timeout: 260 seconds]
<alyssa> Obscure bugs are obscure..
<HdkR> Unit tests capturing fun things? :D
<alyssa> Sadly no, if I had a good unit test to capture this I'd know what the bug was :\
<HdkR> hehe
<alyssa> might need to call it a night and sleep on it