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
italove has quit [Ping timeout: 240 seconds]
stikonas has quit [Remote host closed the connection]
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #panfrost
kaspter has joined #panfrost
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
jernej has joined #panfrost
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #panfrost
davidlt has joined #panfrost
buzzmarshall has quit [Remote host closed the connection]
italove has joined #panfrost
davidlt has quit [Ping timeout: 272 seconds]
italove has quit [Quit: Lost terminal]
warpme_ has quit [Quit: Connection closed for inactivity]
davidlt has joined #panfrost
kaspter has quit [Ping timeout: 246 seconds]
kaspter has joined #panfrost
guillaume_g has joined #panfrost
raster has joined #panfrost
robmur01 has joined #panfrost
icecream95 has joined #panfrost
emOne has joined #panfrost
<emOne> great news about arm officially supporting panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 258 seconds]
camus1 is now known as kaspter
chewitt has joined #panfrost
stikonas has joined #panfrost
warpme_ has joined #panfrost
icecrea105 has joined #panfrost
icecream95 has quit [Ping timeout: 256 seconds]
icecream95 has joined #panfrost
icecrea105 has quit [Ping timeout: 256 seconds]
<chewitt> @alyssa I'm seeing some wonky colours with midgard (T820) and mesa HEAD
<chewitt> this is the stock Kodi bluey-green theme https://imgur.com/a/RV5fZNd
<chewitt> and if I change the theme to 'Gold' .. it looks kind of bluey-green
<chewitt> a G52 device running the same LE image (same Kodi, mesa, et. al.) has correct colours
<chewitt> I haven't been tracking things for a while due work commitments and Amlogic apathy.. so not sure when things broke
<robmur01> smells like an RGB/BGR mixup, for which I wouldn't necessarily rule out the display driver being at fault either
<chewitt> 'Green' shows as green, so I'm thinking R and B are switched
<HdkR> R and B being swapped is the common failure mode there
<chewitt> also seeing visual glitches (periodic flickers) which wasn't present in the last images I built, but those were a couple of months back
<chewitt> lots of water under the panfrost bridge since then :)
<HdkR> no no, Bifrost is the bridge
<chewitt> last images were built mid June
forkbomb has quit [Ping timeout: 256 seconds]
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
icecream95 has quit [Ping timeout: 272 seconds]
tgall_foo has quit [Ping timeout: 240 seconds]
tgall_foo has joined #panfrost
forkbomb has joined #panfrost
fourkbomb has joined #panfrost
forkbomb has quit [Ping timeout: 272 seconds]
_whitelogger has joined #panfrost
<alyssa> can confirm bifrost is the bridge
<macc24> does bifrost need more people testing master branch of git?
<alyssa> macc24: mostly needs my profs to stop assigning so much homework ;P
<alyssa> Joking. Maybe.
<macc24> >not doing homework on train to home
<alyssa> >classes from home because of pandemic hence no train
<macc24> oh in my country they already opened schools, already we got one student sick lol
<alyssa> Canada here, it's.. complicated..
<alyssa> macc24: But to answer on Bifrost: as I think I mentioned at XDC, getting Bifrost into shape is our priority for the near future.
<chewitt> @narmstrong the good news is .. I found the source of the wonky colours
<chewitt> @narmstrong the bad news is .. I reverted https://patchwork.kernel.org/patch/11765085/
<alyssa> macc24: I'll be working on the Bifrost compiler heavily going forward as such, bbrezillon will be hacking on the Gallium side.
<alyssa> At the moment bifrost support still isn't there for day-to-day use, but I expect that to change in the coming months. Stay tuned :)
<narmstrong> chewitt: this means AFBC is enabled, but this needs a pan debug to be set, did you set it ?
<chewitt> err no
<alyssa> fun fact, setting PAN_MESA_DEBUG=afbc causes puppies to tilt their heads
<alyssa> 🐈
<chewitt> the debug is specific to midgard or also relevant to bifrost?
<chewitt> i.e. do I need to make this conditional to VIM2
<alyssa> Shouldn't matter
<alyssa> (Only is used on Midgard, but will be ignored on Bifrost. I think.)
<narmstrong> chewitt: can you put back the patch, reproduce the bad color and dump /sys/kernel/debug/dri/1/state ?
<chewitt> k
* robmur01 is suspicious of meson_viu_gxm_enable_osd1_afbc() vs. meson_viu_g12a_enable_osd1_afbc() given all the reordering stuff in the latter...
<chewitt> /sys/kernel/debug/dri/1/state doesn't exist
<chewitt> that's with the kernel change back in, and Kodi not started with 'afbc' debug set
<chewitt> adding the afbc debug doesn't seem to do anything
<narmstrong> chewitt: and /0/state ?
<narmstrong> d8d8d80x800000000000051 => AFBC is enabled
<narmstrong> alyssa: i thought pan_mesa_debug=afbc was needed to enable AFBC ?
<chewitt> still has wonky colours then :)
<macc24> narmstrong: i think it's default now
<chewitt> @robmur01 IIRC gxm afbc = Amlogic homebrew, and g12a afbc = ARM, so I would expect differences
<narmstrong> chewitt: thx, so this patch is wrong... thx for testing
<chewitt> np :)
<narmstrong> robmur01: the gxm has a custom decoder and g12a seems to be an ARM IP
<narmstrong> So they are completely different and integrated very differently
<robmur01> sure, but whatever the implementation surely it's got to be told the byte order *somehow*?
<narmstrong> robmur01: it was a tentative, it's documented the YTR ordering is BGR
<narmstrong> robmur01: I assume to reordering is done after the decoding pass, it's weird because I made it work with correct colors a few days ago (when it was still a debug feature)
<narmstrong> alyssa: did you change the afbc code in the meantime ?
chewitt_ has joined #panfrost
chewitt has quit [Ping timeout: 246 seconds]
<narmstrong> tomeu: side question, did someone test panfrost on AOSP with minigbm ?
<tomeu> narmstrong: not that I know :/
<tomeu> any problem?
<narmstrong> tomeu: no, wanted to know if everything was in place for it, or some support is missing in mesa
<tomeu> afaik, there isn't a panfrost driver in minigbm
<tomeu> but the chromeos folks are doing quite some work on mesa on android lately
<tomeu> krh: do you know of anybody who may have already tested that?
<daniels> you don't need minigbm tho right? gbm_gralloc can just use normal GBM directly if Mesa provides it
<daniels> that seems to be what the GloDroid people are doing
<tomeu> yeah, that's what we did as well on imx
<tomeu> guess minigbm could handle better some allocation problems for buffer sharing between codecs or cameras and the GPU?
<daniels> yeah
<daniels> or the allocator :)
<narmstrong> yeah indeed I forgot about gbm_gralloc
<narmstrong> interesting, will look at GloDroid changes
<alyssa> narmstrong: if you can figure out how to get glodroid building mesa with meson instead of Android.mk we would be grateful btw
<narmstrong> alyssa: is it possible to hook meson in the android build system ?
<alyssa> I don't know Android :P
<alyssa> I can do math and write graphics drivers, that's it :p
<daniels> narmstrong: nope
<daniels> narmstrong: the best option atm is to just use Meson as an external project (pointing at the NDK tree) to build a bunch of blobs, then point Blueprint at those blobs
<tomeu> mesa blobs :/
<narmstrong> interesting, thx
stikonas has quit [Ping timeout: 272 seconds]
stikonas has joined #panfrost
<daniels> tomeu: ironic, isn't it
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
<krh> tomeu: don't know about AOSP, but we use a wrapper on top of minigbm to provide the arc++ gralloc implementation
<krh> pit'
<krh> it's in the gralloc subdir of minigbm
rhyskidd has quit [Ping timeout: 240 seconds]
<emOne> congrats on getting the official support from arm
chewitt_ is now known as chewitt
stikonas has quit [Remote host closed the connection]
emOne has quit [Remote host closed the connection]
stikonas has joined #panfrost
rhyskidd has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #panfrost
nlhowell has joined #panfrost
stikonas_ has joined #panfrost
stikonas has quit [Ping timeout: 272 seconds]
nlhowell has quit [Ping timeout: 265 seconds]
stikonas has joined #panfrost
stikonas__ has joined #panfrost
stikonas_ has quit [Ping timeout: 272 seconds]
stikonas has quit [Ping timeout: 272 seconds]
robmur01 has quit [Ping timeout: 265 seconds]
jernej has quit [Quit: Free ZNC ~ Powered by LunarBNC: https://LunarBNC.net]
dstzd has quit [Quit: ZNC - https://znc.in]
jernej has joined #panfrost
dstzd has joined #panfrost
stikonas__ has quit [Remote host closed the connection]
robmur01 has joined #panfrost
stikonas has joined #panfrost
davidlt has quit [Ping timeout: 260 seconds]
cowsay has joined #panfrost
cowsay_ has quit [Ping timeout: 265 seconds]
karolherbst has quit [Quit: duh 🐧]
karolherbst has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
buzzmarshall has joined #panfrost
kaspter has quit [Ping timeout: 260 seconds]
camus1 has joined #panfrost
camus1 is now known as kaspter
robmur01 has quit [Ping timeout: 272 seconds]
kherbst has joined #panfrost
karolherbst has quit [Disconnected by services]
kherbst is now known as karolherbst
paulk-leonov has quit [Ping timeout: 260 seconds]
paulk-leonov has joined #panfrost
gcl_ has quit [Ping timeout: 272 seconds]
gcl has joined #panfrost
warpme_ has quit [Read error: Connection reset by peer]
jstultz has quit [Read error: Connection reset by peer]
ezequielg has quit [Read error: Connection reset by peer]
narmstrong has quit [Read error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
guillaume_g has quit [Remote host closed the connection]
jstultz has joined #panfrost
guillaume_g has joined #panfrost
narmstrong has joined #panfrost
warpme_ has joined #panfrost
steev has joined #panfrost
ezequielg has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
kaspter has joined #panfrost
camus1 has joined #panfrost
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter