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
rkanwal has quit [Ping timeout: 480 seconds]
camus has quit [Remote host closed the connection]
camus has joined #panfrost
camus has quit [Remote host closed the connection]
camus has joined #panfrost
alarumbe has joined #panfrost
pch has joined #panfrost
hanetzer1 has joined #panfrost
hanetzer has quit [Ping timeout: 480 seconds]
<zhxt> hello, learned from the panfrost doc, I saw panfrost had already supported Mali G57 GPU now. I have a device with Mali G57 GPU running debian11 . Is there any guide/doc shows how to make the GPU work?
<zhxt> Any hints? thank a lot!
hanetzer2 has joined #panfrost
hanetzer1 has quit [Ping timeout: 480 seconds]
hanetzer2 is now known as hanetzerz
hanetzerz is now known as hanetzer
hanetzer has quit []
hanetzer has joined #panfrost
erle has quit [Ping timeout: 480 seconds]
rasterman has joined #panfrost
MajorBiscuit has joined #panfrost
rkanwal has joined #panfrost
stepri01 has quit [Remote host closed the connection]
stepri01 has joined #panfrost
erle has joined #panfrost
zhxt_ has joined #panfrost
zhxt has quit [Read error: Connection reset by peer]
mriesch has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mriesch has joined #panfrost
rkanwal has quit [Quit: rkanwal]
rkanwal has joined #panfrost
<CounterPillow> zhxt_: You need a more recent mesa than what Debian 11 ships iirc
<CounterPillow> furthermore you probably need to put something like governor_simpleondemand into your initramfs because Debian builds all of the devfreq drivers as modules which can make panfrost fail to load due to dependency issues when it's loaded
nlhowell has quit [Ping timeout: 480 seconds]
tjcorley has quit [Ping timeout: 480 seconds]
tjcorley has joined #panfrost
alyssa has joined #panfrost
<alyssa> I was not expecting to find GenXML generated templates in someone else's blog: https://github.blog/2022-07-27-corrupting-memory-without-memory-corruption/
<alyssa> The funniest part to me is that kbase's memory aliasing ioctl is probably unused.
<alyssa> As I understand, it's a hack to emulate MRT on v4.
<alyssa> Mali T760 and newer shouldn't need it.
<alyssa> (Because Panfrost doesn't have this hack, Mali-T720 and older are capped at GL2.)
<alyssa> What's even funnier is that they use the immediate value selectors of write value jobs in their exploitation, but those are only introduced in Bifrost.
<alyssa> (That doesn't affect exploitability. As noted in the blog, they could have crafted a compute kernel to do the same work and that would've worked on the Mali-T600 class GPU the bug actually affects. But that's more annoying.)
zhxt_ has left #panfrost [#panfrost]
zhxt has joined #panfrost
<zhxt> CounterPillow, thank you, good to know. Is that enough? Do I need to do something with kernel? the kernel version is 5.10, which come from chromiumos-kernel.
<alyssa> zhxt: chromiumos builds the wrong GPU driver
<alyssa> You want a mainline kernel
<alyssa> (or at the very least, your own build of chromiumos-kernel with the MALI config options =n and CONFIG_DRM_PANFROST=y)
<CounterPillow> I'd use as recent of a kernel as I could if I was aiming for support of recent hardware.
alyssa has quit [Quit: leaving]
<zhxt> alyssa: okay, thank you, I think I had understood now, :D
<zhxt> CounterPillow, the mainline/recent kernel may need more effort to run on the device, I think,
<CounterPillow> what device is it?
<CounterPillow> the SoC, specifically
<zhxt> mt8195 ,
<CounterPillow> I see, yeah I don't know anything about the mainline support of that
<zhxt> okay, maybe I can go and check the git logs.
<zhxt> seems alyssa was working on mt8195 several months ago :D https://gitlab.freedesktop.org/panfrost/linux/-/commits/mt8195-6
greenjustin has joined #panfrost
nlhowell has joined #panfrost
alyssa has joined #panfrost
<alyssa> zhxt: That branch was a typo, it was my MT8192 branch
<alyssa> I don't have an MT8195 machine (and with the same GPU as MT8192 I can't really justify getting one)
<alyssa> MT819x mainlining is happening but not "there yet"
<alyssa> spearheaded by the good folks over in the kernel group at Collaboa
<alyssa> that's mainline + in-progress patches for MT8195
<alyssa> I'm not sure I'd recommend daily-driving it (IIRC it's based on linux-next, not a release)
<alyssa> but things should mostly 'just work' on that branch, including the GPU
<alyssa> (with appropriate firmware and recent Mesa)
camus has quit [Remote host closed the connection]
camus has joined #panfrost
alyssa has quit [Quit: leaving]
camus has quit [Remote host closed the connection]
camus has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
<zhxt> alyssa: ah, thank you very much for the info, that helps me a lot :D
nlhowell has quit [Ping timeout: 480 seconds]
pch has quit []
greenjustin_ has joined #panfrost
greenjustin_ has quit [Ping timeout: 480 seconds]
Danct12 has joined #panfrost
MajorBiscuit has joined #panfrost
rkanwal has quit [Quit: rkanwal]
rasterman has quit [Quit: Gettin' stinky!]
rasterman has joined #panfrost
anarsoul has quit [Quit: ZNC 1.8.2 - https://znc.in]
anarsoul has joined #panfrost
alyssa has joined #panfrost
MajorBiscuit has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
nlhowell has joined #panfrost
Consolatis_ has joined #panfrost
Consolatis is now known as Guest6317
Consolatis_ is now known as Consolatis
Guest6317 has quit [Ping timeout: 480 seconds]
floof58 has quit [Ping timeout: 480 seconds]