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]
<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
<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.