alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard + Bifrost + Valhall - Logs https://oftc.irclog.whitequark.org/panfrost
paulk has quit [Read error: Connection reset by peer]
paulk has joined #panfrost
paulk has quit [Remote host closed the connection]
paulk has joined #panfrost
Danct12 has joined #panfrost
rz has joined #panfrost
Danct12 has quit [Quit: WeeChat 4.1.1]
Danct12 has joined #panfrost
intrigus has quit []
cphealy_ has quit []
cphealy has joined #panfrost
<cphealy> For those working on Panfrost (or Panthor), nvtop now works with these GPUs with a sufficiently new kernel: https://github.com/Syllo/nvtop/pull/235
<HdkR> Nice
nergzd723 has joined #panfrost
davidlt has joined #panfrost
paulk-bis has joined #panfrost
paulk has quit [Read error: Connection reset by peer]
kinkinkijkin has quit [Ping timeout: 480 seconds]
kinkinkijkin has joined #panfrost
rasterman has joined #panfrost
warpme has joined #panfrost
kinkinkijkin is now known as Guest9253
kinkinkijkin has joined #panfrost
Guest9253 has quit [Ping timeout: 480 seconds]
warpme has quit []
Googulator has quit [Read error: Connection reset by peer]
Googulator has joined #panfrost
robmur01_ is now known as robmur01
kinkinkijkin has quit [Quit: Leaving]
f11f12 has joined #panfrost
mav has quit [Ping timeout: 480 seconds]
mav has joined #panfrost
alyssa has joined #panfrost
Danct12 has quit [Quit: WeeChat 4.1.1]
tlwoerner_ has joined #panfrost
tlwoerner has quit [Ping timeout: 480 seconds]
jenneron[m] has joined #panfrost
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #panfrost
Amber_Harmonia has quit [Read error: Network is unreachable]
Googulator has quit [Ping timeout: 480 seconds]
Googulator has joined #panfrost
warpme has joined #panfrost
Googulator has quit [Read error: Connection reset by peer]
Googulator has joined #panfrost
f11f12 has quit [Quit: Leaving]
kinkinkijkin has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
warpme has quit []
simon-perretta-img has quit [Ping timeout: 480 seconds]
simon-perretta-img has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
Amber_Harmonia has joined #panfrost
mav has quit [Ping timeout: 480 seconds]
mav has joined #panfrost
electricworry has joined #panfrost
<electricworry> I'm trying to get mesa to work on an Orange Pi Zero 3 (Mali G31). I've got a mesa build that allows me to do software rendering (`GALLIUM_DRIVER=softpipe kmscube`). How can I force mesa to use the panfrost driver?
jkl has quit [Quit: Gone.]
jkl has joined #panfrost
rz_ has joined #panfrost
rz has quit [Ping timeout: 480 seconds]
davidlt has quit [Ping timeout: 480 seconds]
<FLHerne> What kernel do you have? You'll need the panfrost kernel module as well as userspace
<soreau> I have mesa working on Mali G31 with Mesa 21.1.0-devel (git-14b2dc0013)
<soreau> as long as you have the drivers installed, it should work, yea
<FLHerne> perhaps check for this https://wiki.debian.org/PanfrostLima#Troubleshooting <- see the bit about devfreq; not sure under what circumstances it matters
<pbrobinson> also it doesn't look like the DT support is complete upstream for that device so it may be that the device tree needs to be expanded out to ensure the GPU is enabled
<electricworry> Thanks I'm just getting started with this. I've built kernel 6.1.31 with a bunch of vendor patches and I can see the gpu in /sys/firmware/devicetree/base/soc/gpu@1800000 (which shows as compatible "allwinner,sun50i-h616-maliarm,mali-bifrost"). And I built mesa with "-Dgallium-drivers=panfrost,kmsro". But when I run panfrost_texfeatures I get "No panfrost device". So I've got something fundamental wrong I think. Using
<electricworry> mesa 23.2.1.
<electricworry> This tells me "drmOpenWithType("panfrost", NULL, DRM_NODE_RENDER);" in panfrost_texfeatures is returning an error. What's a good approach for a complete driver beginner to figure out what's missing? I'm ready to spend some time digging into the problem but some shortcuts would be appreciated.
anarsoul|2 has joined #panfrost
<electricworry> In dmesg, no reference to panfrost anywhere, but `rmmod panfrost` tells me it's a builtin.
anarsoul has quit [Ping timeout: 480 seconds]
Googulator has quit [Read error: Connection reset by peer]
Googulator has joined #panfrost
<robmur01> electricworry: if the kernel driver's present but not even trying to probe, then it's most likely either a DT issue (e.g. disabled node or messed-up non-matching compatible) or a missing dependency (e.g. power domain/clock/regulator driver) causing probe deferral