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
<alyssa>
Curious.
<icecream95>
I need a better power supply, RK3399 does not run well on 5V...
* icecream95
resets the board and sets a yet lower maximum CPU speed
<cphealy>
If I'm working with a G52-MP8 but want to see what performance would be with a G52-MP4 using the same SoC, is there any viable method to have the GPU only use 4 of the 8 cores?
<icecream95>
cphealy: See the panfrost_job_write_affinity function in panfrost.ko
<cphealy>
cool, thank you!
<cphealy>
What would be really cool to have is a Mesa/Panfrost env variable to specify the max cores to be used.
<cphealy>
shameless hint...
<icecream95>
kbase apparently has a core_mask file in /sys somwhere for that
<cphealy>
icecream95: thanks, that's useful too for me.
<icecream95>
And also a KBASE_IOCTL_SET_LIMITED_CORE_COUNT ioctl
<icecream95>
alyssa: I think this might be why CRC data wasn't being written! js fault, js=0, status=IMPRECISE_FAULT
<icecream95>
Umm, that was from something else.. I need to stop being so quick to spam IRC
Danct12 has quit [Remote host closed the connection]
icecream95 has quit [Ping timeout: 480 seconds]
guillaume_g has joined #panfrost
Danct12 has joined #panfrost
<CounterPillow>
Got rk3588 to load a mainline based kernel and cry about missing rootfs last night. Goal for this month is to get far enough to where I can try valhall kernel patches :D
<CounterPillow>
(I got a board sent to me for free \o/ it's beautiful and the silkscreen has typos)
Guest205 is now known as go4godvin
rasterman has joined #panfrost
pp2012 has joined #panfrost
pp2012 has quit []
Danct12 has quit [Quit: Leaving]
guillaume_g has quit []
icecream95 has joined #panfrost
<icecream95>
CounterPillow: The v10 GPU in rk3588 is different to v9 Valhall, especially in terms of the kernel-hardware interface, so if you want panfrost.ko working by the end of the month, you have a lot to do
<alyssa>
CounterPillow: Thanks for volunteering C:
<CounterPillow>
D:
<CounterPillow>
Hey I said *try* patches, not write them ;)
<alyssa>
Try writing them, yeah.
<macc24>
CounterPillow: i can pretend to do it while getting nothing done until i do it in one week if you get me a rk3588 device ;D
<CounterPillow>
Sadly I don't think I have those right kinds of strings to pull to get more free dev boards out into the hands of people, I can just direct you to the 50% off coupon application :(
<CounterPillow>
it's basically the evb but with less connectors on it
<macc24>
hmm i don't think i could afford it even with coupon
icecream95 has quit [Ping timeout: 480 seconds]
<CounterPillow>
macc24: if you're actually serious about working on the board I don't mind wiring you the money
<macc24>
CounterPillow: i'll think about it and maybe /msg you
<CounterPillow>
alright :)
<macc24>
don't expect much :v, disappointing other people is my hobby
<q4a>
I love to see that people getting rk3588. I hope that radxa rock pi 5 will start shipping preordered items soon and than I can help with testing.
* macc24
wants to see rk3588 in a chromebook
icecream95 has joined #panfrost
<icecream95>
CounterPillow: If you don't want to write kernel patches, you could try messing about with the command-stream while using mali_kbase.ko, I still have no idea what many of the registers are for
<q4a>
I don't like notebooks. You cant replace cpu/mem and just keep all other stuff. Only full replacement is possible
<CounterPillow>
Right now I'm focused on getting SD cards working, someone from collabora is tackling power domains and getting the pmu up and running, but I'll try messing with the mali driver once I have proper access to the BSP
<icecream95>
q4a: You could just plug an SBC into a USB port and VNC to that (but then CPU speed is limited by power constraints)
<macc24>
q4a: can you do that with a sbc?
<macc24>
CounterPillow: lemme check i might have something
<alyssa>
I wonder why this isn't getting optimized.
<q4a>
I really want to learn how to write low-level code for the volkan driver. I have a great plan: I sold the suburban land and I can quit my job after the deal is done. So I will have 1 year to learn low-level, improve panvk and then find a new job.
<alyssa>
nir_fold_16bit_sampler_conversions fixes it
<macc24>
robmur01: intel larrabee supports vulkan too :D
<q4a>
I have Mali-T760 MP4 for testing and hopefully developing
<jekstrand>
alyssa: I don't know why my run times are so slow. Maybe I need a different power supply? How do I figure that sort of thing out?
<macc24>
jekstrand: what are you using?
<jekstrand>
vim3
<robmur01>
a bad PSU would typically just make the whole system unstable - I'd look more for things like thermal throttling, slow storage, cpufreq/devfreq governors, general kernel config etc.
<CounterPillow>
fwiw if this is linux-next then it's possible you're running into the ARM TF-A bug where the kernel can't get GPU/CPU clocks
<robmur01>
CounterPillow: IIRC all that's unfinished is filling in some user-friendly fault descriptions ;)
<macc24>
what a nice first contribution!
<robmur01>
FWIW our fault handling isn't entirely equivalent, but one can grep downstream for kbase_mmu_report_fault_and_kill for the "original" context
<greenjustin>
I finally got around to building a fresh image for my jacuzzi. Stuttering seems to have gone away on GL applications at least!
<greenjustin>
Performance isn't great, but that's probably because the frequency is fixed. Also I have a bunch of new weird problems with my cursor, and the login animation, but I'm guessing that's because I've screwed up something on the minigbm side
<cphealy>
greenjustin: are you locked to the bootloader or some default freq that is the min for the GPU?
<cphealy>
With the platform I'm on, the default freq is actually lower than the lowest GPU OPP.
<greenjustin>
cphealy: Yup, for now. I'm trying out macc24's patch, along with my own hack to fix the clock reparenting
<greenjustin>
well, I got the mt8183 frequency governing to work! probably a terrible way to do this though lol
<greenjustin>
performance is definitely better at 800MHz, although I'm not sure how it stacks against ddk
<greenjustin>
err, sorry about the compatible string changes, those aren't actually part of it, that's just a chromeos hack
<greenjustin>
Hmm, still getting stability issues. Not sure if it's my hacky clock patch or my hacky minigbm patch...
Danct12 has joined #panfrost
rasterman has quit [Quit: Gettin' stinky!]
dmh has joined #panfrost
q4a_ has joined #panfrost
icecream95 has joined #panfrost
anholt_ has joined #panfrost
anholt has quit [Ping timeout: 480 seconds]
<cphealy>
greenjustin: Can you elaborate on the stability issues? Are they system stability or GPU stability only?
greenjustin_ has joined #panfrost
greenjustin is now known as Guest312
greenjustin_ is now known as greenjustin
<greenjustin>
cphealy: GPU stability, sort of. One of the benchmarks I tried generated a ton of faults. But also, a lot of instability with what looks like the display controller?
<greenjustin>
GL applications run no problem, but all bets are off if I try to scroll on a webpage
<greenjustin>
I'm guessing the compositor doesn't like something about my setup