alyssa changed the topic of #panfrost to: Panfrost - FLOSS Mali Midgard & Bifrost - Logs https://freenode.irclog.whitequark.org/panfrost - <daniels> avoiding X is a huge feature
<alyssa> Oh, this is odd -- top shows 2710M free, 388M used, 553M buf/cache, and 1024M unused swap
<alyssa> yet CREATE_DUMB is still failing due to supposed OOM
<alyssa> bbrezillon: robher: ^^
<alyssa> I've only ever seen this on Bifrost
<robher> CREATE_DUMB is on the KMS device, so could be CMA underneath.
stikonas has quit [Remote host closed the connection]
agrisis has joined #panfrost
<chewitt_> Amlogic device-tree sets 256MB CMA by default but for 4K things, at least for vdec, the numbers need to be a lot larger
chewitt_ is now known as chewitt
<chewitt> I have my kernels hacked to 896MB
agrisis has quit [Quit: agrisis]
atler is now known as Guest37338
Guest37338 has quit [Killed (hitchcock.freenode.net (Nickname regained by services))]
atler has joined #panfrost
vstehle has quit [Ping timeout: 240 seconds]
raster has quit [Quit: Gettin' stinky!]
<alyssa> chewitt: ahhhh
<alyssa> so not a panfrost issue?
<chewitt> narmstrong is the person who understands how it all hangs together
Lyude has quit [Ping timeout: 276 seconds]
macc24 has quit [Ping timeout: 276 seconds]
macc24 has joined #panfrost
Lyude has joined #panfrost
_whitelogger has joined #panfrost
davidlt has joined #panfrost
vstehle has joined #panfrost
<icecream95> macc24: Have you fixed all of the bugs with 5.11 yet or will I have to try and backport audio to 5.10?
cowsay has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cowsay has joined #panfrost
karolherbst has joined #panfrost
<narmstrong> alyssa: yep probably CMA is too small
karolherbst has quit [Ping timeout: 264 seconds]
alpernebbi has joined #panfrost
nlhowell has joined #panfrost
warpme_ has joined #panfrost
Net147 has quit [Quit: Quit]
Net147 has joined #panfrost
stikonas has joined #panfrost
<macc24> icecream95: "backport the audio"
<macc24> ?
<macc24> are you implying that audio is working in 5.11?
<icecream95> macc24: Only with the usb-c adapter, the speakers don't work
<macc24> kernel version doesn't matter for usbc adapter
<macc24> it's literally usb c audio card
<icecream95> I never got it working on 5.10, but maybe that was just because of the config or not applying the right patches
<macc24> config
<macc24> Works for me™
<icecream95> So I've been enduring all of those glitches and not being able to check the battery charge for nothing?
<macc24> yep
<macc24> should've been using cadmium on duet
davidlt has quit [Ping timeout: 240 seconds]
xdarklight has quit [Quit: ZNC - http://znc.in]
xdarklight has joined #panfrost
karolherbst has joined #panfrost
davidlt has joined #panfrost
raster has joined #panfrost
wwilly_ has quit [Quit: This computer has gone to sleep]
wwilly_ has joined #panfrost
cowsay_ has joined #panfrost
Lyude has quit [Ping timeout: 276 seconds]
macc24 has quit [Ping timeout: 276 seconds]
macc24 has joined #panfrost
cowsay has quit [Ping timeout: 276 seconds]
Lyude has joined #panfrost
<alyssa> narmstrong: ack, thanks
<alyssa> does it make sense to bump itupstream?
<macc24> chewitt: CMA? is it like "max vram size" on intels?
<urjaman> not really... it just makes sure that it's possible to make physically continuous allocations from that area
<urjaman> like it's not "vram" in the sense that it's managed by the kernel (not dedicated to the graphics adapter) and kernel can stuff other things there too (like page cache or such i think atleast...) and other non-graphics hardware can also use it if they happen to need such allocations
<macc24> so it's kinda what i thought it was
wwilly_ has quit [Quit: This computer has gone to sleep]
raster has quit [Read error: Connection reset by peer]
raster has joined #panfrost
<HdkR> Fosdem is live, I missed some things :O
wwilly_ has joined #panfrost
<narmstrong> alyssa: probably yes, it was calculated before panfrost and video decoder... but we have some boards with 512m ddr so only the new gen should have more
<alyssa> libmali doesn't have this issue?
raster has quit [Read error: Connection reset by peer]
raster has joined #panfrost
archetech has joined #panfrost
alpernebbi has quit [Quit: alpernebbi]
nlhowell has quit [Ping timeout: 240 seconds]
AreaScout_ has quit [Remote host closed the connection]
wwilly_ has quit [Quit: This computer has gone to sleep]
alyssa has quit [Ping timeout: 276 seconds]
<KungFuJesus> narmstrong: does the video decode fixed function stuff work yet on amlogic S922x?
<narmstrong> KungFuJesus: what do you mean ? H264, mpeg2 and vp9 should work, but bugs subsists
<KungFuJesus> awesome, what userspace APIs exist to access them?
<KungFuJesus> someone should write a libva driver for it
<narmstrong> KungFuJesus: V4L2 m2m, with ffmpeg or gstreamer
<KungFuJesus> ah, that explains perhaps the weird error message I saw when trying to do --hwaccel=gpu with mpv, it was some V4L based memory allocation failure
<macc24> narmstrong: huh? not v4l2 request api?
<narmstrong> macc24: nop it’s a statefull decoder
<macc24> narmstrong: cool
<narmstrong> KungFuJesus: this may be because of too small cma
<KungFuJesus> is that something at compile time in the kernel?
<KungFuJesus> and I guess the question for the holy grail of desktop usability - can the ffmpeg compiled and bundled with chromium on archlinuxarm make use of this API?
<KungFuJesus> oh awesome, archlinuxarm seems to have gone through the trouble of debundling ffmpeg from chromium so that it uses the system one
rak-zero has joined #panfrost
<KungFuJesus> narmstrong: modified the dtb from some googling, thanks for the tip, seems to be working
<KungFuJesus> except seeking is a little meh, hard to know if that's an NFS problem with the wonky realtek nic or not
macc24 has quit [Ping timeout: 258 seconds]
macc24 has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
davidlt has quit [Ping timeout: 264 seconds]
stikonas has quit [Remote host closed the connection]
nlhowell has joined #panfrost
stikonas has joined #panfrost
<macc24> lol
<macc24> retroarch lags on G31 at 854x480
<HdkR> The UI?
<macc24> xmb ui
<macc24> 20fps
<macc24> with "simplified" ribbon
<macc24> attempting to change it resulted in 'panfrost ff400000.gpu: gpu sched timeout, js=0, config=0x7300, status=0x8, head=0x4468040, tail=0x4468040, sched_job=0000000032303e37'
<HdkR> Might be worth trying Ludo instead
<macc24> i prefer xmb ui
<HdkR> Sure, but prefer 20fps? :P
<macc24> well
<macc24> i am not releasing until panfrost gets optimizations
<KungFuJesus> hmm, appears the inability to seek is probably v4lm2m meson bug related
<KungFuJesus> a shame but it's _kinda_ working. CPU utilization goes way down. Needed for VP9, libVPX doesn't do so hot it would seem. But H.264 seems reasonable with the CPU
<KungFuJesus> eats 20-30% on a few cores, but it's not horrible
<KungFuJesus> I suspect this will eventually improve, as rpi can leverage this API as well
<KungFuJesus> though mmal appears to be the preferred method for accelerating video on it
<KungFuJesus> icecream95: I suspect you or alyssa might know: how much potential performance is left to unlock with bifrost with regard to driver level optimizations? Are we anywhere near peak glx performance or is there still a lot of hacks sitting in place before real optimizations go in?
AreaScout_ has joined #panfrost
raster has quit [Read error: Connection reset by peer]
BenG83 has joined #panfrost
BenG83 has quit [Quit: Leaving]
karolherbst has quit [Ping timeout: 264 seconds]