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
`join_subline has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
nlhowell is now known as Guest1131
nlhowell has joined #panfrost
Guest1131 has quit [Ping timeout: 480 seconds]
icecream95 has joined #panfrost
atler is now known as Guest1136
atler has joined #panfrost
Guest1136 has quit [Ping timeout: 480 seconds]
nlhowell has quit [Read error: Connection reset by peer]
nlhowell has joined #panfrost
<icecream95> Uh, this can't be good: rb_tree_splice: Assertion `u == p->right' failed.
<icecream95> I think pandecode might be missing locking operations on the BO tree?
<icecream95> Yeah, that seems to be the problem. Two threads are in panfrost_batch_cleanup at the same time
<HdkR> oopsies :)
hexdump0815 has joined #panfrost
hexdump01 has quit [Ping timeout: 480 seconds]
nlhowell is now known as Guest1145
nlhowell has joined #panfrost
Guest1145 has quit [Ping timeout: 480 seconds]
<icecream95> pan_resource_modifier_convert: Assertion `!rsrc->modifier_constant' failed.
<icecream95> Let me guess: RGB / sRGB reinterpretation for AFBC again?
<icecream95> I should submit the patch fixing that...
`join_subline has joined #panfrost
<icecream95> What is a writeout bundle doing in a *vertex* shader???
<icecream95> I guess some lowering pass got broken somehow?
<icecream95> Seems to be something weird with XFB lowering
<icecream95> lower_xfb_varying got rewritten recently, interesting
nlhowell is now known as Guest1153
nlhowell has joined #panfrost
Guest1153 has quit [Ping timeout: 480 seconds]
rasterman has joined #panfrost
<icecream95> Oops.. now the nir_lower_io_to_temporaries pass I inserted to fix XFB is breaking other things
* icecream95 gives up on RenderDoc
<icecream95> Sigh, even glretrace is crashing
<icecream95> I'm not having a good day, am I?
* icecream95 gives up completely
MajorBiscuit has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
MajorBiscuit has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
icecream95 has quit [Ping timeout: 480 seconds]
rkanwal has joined #panfrost
nlhowell has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
`join_subline has quit [Ping timeout: 480 seconds]
pch has quit []
pch has joined #panfrost
rkanwal has quit [Quit: rkanwal]
`join_subline has joined #panfrost
pch has quit [Remote host closed the connection]
pch has joined #panfrost
pch is now known as kinkinkijkin
kinkinkijkin has quit [Remote host closed the connection]
pch has joined #panfrost
pch is now known as kinkinkijkin
Rathann has joined #panfrost
wolfshappen has quit []
wolfshappen has joined #panfrost
indy has quit [Read error: Connection reset by peer]
indy has joined #panfrost
simon-perretta-img has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
nlhowell has joined #panfrost
rasterman has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
nlhowell has joined #panfrost
wilkom has quit [Ping timeout: 480 seconds]
br has quit [Ping timeout: 480 seconds]
wolfshappen has quit [Ping timeout: 480 seconds]
wolfshappen has joined #panfrost
nlhowell has quit [Ping timeout: 480 seconds]
nlhowell has joined #panfrost
br has joined #panfrost
wilkom has joined #panfrost
karolherbst has quit [Read error: Connection reset by peer]
karolherbst has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
nlhowell has quit [Ping timeout: 480 seconds]
Daanct12 is now known as Danct12
tlwoerner_ has joined #panfrost
tlwoerner has quit [Ping timeout: 480 seconds]
Rathann has quit [Ping timeout: 480 seconds]
Lyude has quit [Quit: WeeChat 3.4]
Lyude has joined #panfrost
Didgy has joined #panfrost
<Didgy> Hello. I am a norwegian student with an interest in getting started with GPU driver development as a hobby. I am most interested in Arm Mali GPUs. I figure I should start by getting an SBC that I can debug and learn from reading the Panfrost driver. Do you have any SBCs to recommend? I was considering the RockPro64, but perhaps there is something running a newer SoC out there?
<macc24> Didgy: vulkan on midgard would be nice to see ;D
<macc24> but starting with that in my opinion would be quite hard to someone who hasn't been doing gpu driver dev stuff
<macc24> i can tell you one thing: avoid exynos
<Didgy> Rockchip seemed like the most interesting SoCs for now, to my untrained eye
<macc24> tbh you might want to look into stuff with bifrost or valhall gpus; midgard is quite old
rasterman has joined #panfrost
<Didgy> Well, first I just want to learn how to driver development at all. I don't expect to be able to implement features of my own for a while. But I guess the more modern, the more interesting it is to me
<HdkR> macc24: Don't get anyone's hopes up about Midgard + Vulkan like that. It's misleading for a newcomer.
<macc24> i've heard some... things about bifrost architecture, i suggest you wait until someone with actual knowledge on mali gpus comes in
<macc24> HdkR: ok sorry
<HdkR> And RK3566 SBC is probably pretty good to tinker with though
<Didgy> I guess I'm primarily interested in the architectures that PanVk are currently targetting
<Didgy> Which are mainly for Midgard and Bifrost from what I can tell
<macc24> bifrost and valhall*
<HdkR> Yea, target of bifrost and valhall
<HdkR> Midgard isn't well suited for Vulkan
<macc24> Didgy: if you got issues running the mainline kernel on rk3566 hardware feel free to hit me up
<Didgy> Thanks
<HdkR> The Khadas VIM3 is one of the panvk bringup targets
<Didgy> May I ask why Midgard is not suited for Vulkan?
<Didgy> Interesting, I just saw a review of the VIM4
<HdkR> VIM4 is probably fine as well, Same SoC but beefier
<HdkR> Midgard not being suited towards Vulkan is mostly just design choices and hardware limitations. It wasn't designed around it so you hit issues.
* macc24 lowkey considers getting vim3 or vim4 to have some experience with amlogic stuff and to help people on here with them maybe?
<Didgy> Okay, so the RockPro64 is out since it is Midgard based
<Didgy> The Pine Quartz64 does look interesting. So does the Vim3
MajorBiscuit has joined #panfrost
<Didgy> How much RAM do you think I would need? I am thinking no more than 4GB
MajorBiscuit has quit [Quit: WeeChat 3.4]
<Didgy> I have a feeling I won't be able to get by on just 2GB
<HdkR> Less RAM just means more pain :P
<Didgy> So how much do you recommend?
MajorBiscuit has joined #panfrost
<HdkR> Worst case you can get by with some swap space on your drive. User choice though, whatever you feel comfortable with
<Didgy> I'm leaning towards the Vim3
<HdkR> Vim3 and Vim4 would probably both be good choices
<Didgy> It ended up a bit more pricey than I expected, but I think anything under 200 euros should be acceptable price for me
<Didgy> Actually nvm, I'll get the Quartz64 since it's much cheaper. Depending on how well things go with the learning and interest, I can splurge for a more expensive one.
camus1 has joined #panfrost
camus has quit [Ping timeout: 480 seconds]
<Didgy> Or not, since it seems like the software is largely unsupported on it
<Didgy> Back to Vim3 I guess
<Didgy> Question: How useful would it be to learn graphics driver dev through the RPi4?
<HdkR> It would be a learning experience still
Rathann has joined #panfrost
<hexdump0815> Didgy: macc24: just an important note - vim4 is _not_ supported by mainline and a completely different soc as the one in the vim3 which might not be clear from the names - so better avoid the vim4 for now
<HdkR> Ah, poo.
rasterman has quit [Quit: Gettin' stinky!]
<Didgy> What about the ROC-RK3566-PC?
<Didgy> I can't find anyone actually running Linux on it
<Didgy> So I guess Vim3 is the safe choice
<Didgy> The Rock 3A seems interesting too
icecream95 has joined #panfrost
<anarsoul> quartzpro64 looks promising, but it's not available yet and it may take a while to get mainline linux working on it
<icecream95> Didgy: My suggestion for starting driver development is to run as many different games as possible, then report a bug whenever something is broken
<icecream95> But then try to fix the bug yourself, before whoever looks at the issue report (inevitably me) can fix it themselves
<icecream95> At least that's how I got started!
<icecream95> Right now this would work better for OpenGL than Vulkan, though
<macc24> hexdump0815: well... you're talking to someone who can make it run mainline ;)
<HdkR> I wonder if when comparing an A55 versus an A73, which would win running x86 emulation. OoO A73, or ARMv8.2 capable A55.
<macc24> i can run benchmarks
<HdkR> Try with and without TSO mode enabled please :P
<macc24> well i don't think i am able to do it until next week or something
<HdkR> I'm assuming A73 will still win due to no instruction scheduling
<HdkR> But an interesting comparison between RK3566 and A311D there
<macc24> i could compare mt8183 and rk3566
<macc24> and try limiting them to be same frequency and same amount of cores
<macc24> should be Good Enough™ maybe?
<HdkR> Sounds reasonable
<macc24> might run the benchmarks in couple of weeks if i can... ugh personal stuff going on
tlwoerner_ has quit []
tlwoerner has joined #panfrost
Rathann has quit [Remote host closed the connection]
Major_Biscuit has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
Major_Biscuit has quit []
Didgy has quit [Ping timeout: 480 seconds]
erle has quit []
erle has joined #panfrost
<icecream95> Midgard seems to rasterize triangles starting at the bottom and top and moving inwards
<icecream95> That matches what I was planning to do for the renderer I'm writing...