<robmur01>
yikes, so we abort the driver probe due to an error, but somehow end up in the IRQ handler trying to service imaginary job faults :/
<robmur01>
you don't have CONFIG_DEBUG_SHIRQ enabled by any chance?
<kallisti5>
robmur01: nah.. just the stock fedora 32 kernel.
<kallisti5>
let me check the config though
<robmur01>
(if you just want stuff to work, then focus on why devfreq fails in the first place - you might be missing the config for the governor)
<kallisti5>
CONFIG_DEBUG_SHIRQ=y
<robmur01>
however it's not good that we can go that badly wrong in a failure path... I'll have to try breaking devfreq on my RK3288 box to see if I can repro
<kallisti5>
looks like this kernel has that enabled
<kallisti5>
robmur01: you know if upstream u-boot should have framebuffer on the RK3288 / Tinkerboard? Not getting any video at all on this board
<robmur01>
aha, so it may be partly our fault for not having a sufficiently robust IRQ handler, but it's also partly Fedora's fault for leaving debug options enabled in shipping kernels :P
<kallisti5>
mmhm :-)
<kallisti5>
also! while i'm her and have someone in the know around. I wanna broadcast my annoyance about SOC's and the 10,000 different ways they boot.
<kallisti5>
</spam>
<robmur01>
U-boot display seems OK on my box using the Firefly config; IIRC the Tinker config is rather different, so might not have it enabled
<kallisti5>
robmur01: that makes sense. I'm a little bummed about the Tinkerboard. Only real images it supports are the ones Asus provides... never had much luck outside of Asus's Debian images.
<robmur01>
meh, desktop PCs only seem nicer because the motherboard vendors write all this low-level crap for you ;)
<kallisti5>
lol. I'm converting Haiku to boot from u-boot -> EFI on arm.
<kallisti5>
mostly because I *really* miss bios services
<kallisti5>
also, parsing fdt and shipping a bunch of "baby SOC uart + fb drivers" in our bootloader with native u-boot is bugging me
<alyssa->
"baby SOC uart" heh
<robmur01>
there's a partial port of EDK2 for RK3399 knocking about, much of that could probably be recycled for a RK3288 port if you're feeling brave :P
<kallisti5>
I'm having trouble just getting our arm EFI bootloader going under edk2 in qemu-system-arm lol
<kallisti5>
it boots... kind of. Then edk2 implodes
<kallisti5>
btw.. we wrote a "generic arm image provisioner" in rust. It's like fedora's arm-image-installer... but better and less horrible
<kallisti5>
https://github.com/haiku/rune pretty much give it an SOC, and it will plop down u-boot, etc binaries where they're needed based on a json manifest
<alyssa->
kallisti5: wait so you're porting panfrost to Haiku? :o
<kallisti5>
alyssa-: i'm porting Haiku to "arm"
<alyssa->
ah, well :)
<kallisti5>
been working on it for a while. pretty much originally we did the u-boot -> kernel.ub dance. but like I said above... we're collecting too much FDT + drivers in our bootloader
<kallisti5>
so.. trying to just "pass fdt" through EFI bootloader to kernel.. then use "real drivers"
<alyssa->
why fb in the bootloader at all?
<kallisti5>
our bootloader does a lot.. you can toggle boot flags, blacklist software packages, blacklist drivers
<alyssa->
Hmm
<kallisti5>
it'll run in serial, but what fun is that.
<alyssa->
The other approach that comes to mind is running that bootloader as userspace in another Haiku kernel (I know Linux->Linux booting is a thing in coreboot, don't know if that makes sense for haiku)
<alyssa->
using the 'real' drivers
<kallisti5>
ideally we'll use u-boot's efi services. That should give us access to everything u-boot has
<kallisti5>
*ALSO* u-boot's now-a-days come with a fdt built in
<kallisti5>
so we can just "steal" u-boot's built-in fdt
<alyssa->
sure
buzzmarshall has joined #panfrost
<kallisti5>
our bootloader is more like grub.. It has filesystem drivers, etc. So it's kind of the "lowest hanging fruit"
rhyskidd has joined #panfrost
<kallisti5>
once we get into it... stuff gets easier
<robmur01>
give it another 10 years and U-Boot will probably have reinvented real OF completely :P
<kallisti5>
lol
<kallisti5>
le-sigh. Guess I should toss the Tinkerboard to the side and stick to things that everyone supports like the Pi
<alyssa->
noooo :-(
Ntemis has joined #panfrost
* alyssa-
might be a little biased
<alyssa->
;P
<kallisti5>
alyssa-: lol.. this isn't a Haiku project, was just trying to get Fedora running on the Tinkerboard for an iot-car-computer-thing
<kallisti5>
aarch64 is nicer anyway :-D
<robmur01>
hmm, AFAICS U-Boot's Tinker configs appear to have all the same display-related options as the one I'm using :/
<kallisti5>
definitely looks like that helps. just realized it isn't disabling panfrost, but doing something else.
<kallisti5>
(minus the bootloop)t
<robmur01>
crapping out in early userspace can be caused by insufficient power - my box does that if I forget to switch on the PSU and it's pulling power from a USB port instead
ggardet has joined #panfrost
<robmur01>
and firing up the GPU is highly likely to spike the current draw a bit
guillaume_g has quit [Ping timeout: 260 seconds]
ggardet is now known as guillaume_g
guillaume_g has quit [Quit: Konversation terminated!]
<kallisti5>
robmur01: ewtrfwfra
<kallisti5>
whoops. sorry. Power went out and lost network for a sec :-)
<kallisti5>
robmur01: good point. On a pretty beefy usb supply, but this cable might be a bit long.
<kallisti5>
robmur01: hey! Good call. slightly shorter cable and i'm online
nerdboy has joined #panfrost
alyssa- has left #panfrost [#panfrost]
jgmdev has joined #panfrost
jgmdev has left #panfrost [#panfrost]
Stenzek has quit [Ping timeout: 260 seconds]
jgmdev has joined #panfrost
<jgmdev>
Hi everyone, I want to test the panfrost driver on the Odroid C4 and Odroid N2 so I compiled mesa from git with panfrost dri enabled, set the environment variable PAN_MESA_DEBUG=bifrost and added panfrost to /etc/modules-load.d/panfrost.conf also I'm using linux kernel 5.7.2. But es2_info and glxinfo show that mesa is using llvmpipe so no acceleration :( Is something else I need to install in order to test panfrost on these devices?
<jgmdev>
ah, and just in case I'm using ArchLinuxARM
Ntemis has quit [Read error: Connection reset by peer]
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
jgmdev_ has joined #panfrost
jgmdev_ is now known as jgmdev
jgmdev has quit [Quit: Leaving.]
jgmdev has joined #panfrost
<xdarklight>
jgmdev: these GPUs are not yet white-listed on kernel side (drivers/gpu/drm/panfrost/panfrost_drv.c)
<chrisf>
slowly working through getting an odroid-go2 usable for panfrost dev... built kernel from tomeu's branch, now messing around trying to build a working uInitrd for it
<chrisf>
are there notes somewhere on how to set this up? im very familiar with the mesa side once i get to it, but not quite there yet
nlhowell has quit [Ping timeout: 264 seconds]
Lyude has quit [Read error: Connection reset by peer]
Lyude has joined #panfrost
yann has quit [Ping timeout: 260 seconds]
raster has joined #panfrost
icecream95 has joined #panfrost
<icecream95>
kallisti5: You are probably missing the governor_simpleondemand module from your initramfs
<icecream95>
The workaround alyssa pointed to is just delaying loading panfrost until the root filesystem is mounted and the ondemand module can be loaded from disk