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
warpme_ has quit [Quit: Connection closed for inactivity]
chrisf has quit [Remote host closed the connection]
chrisf has joined #panfrost
miofio41 has quit [Remote host closed the connection]
stikonas has quit [Ping timeout: 246 seconds]
raster has quit [Quit: Gettin' stinky!]
kaspter has joined #panfrost
atler is now known as Guest7511
Guest7511 has quit [Killed (card.freenode.net (Nickname regained by services))]
atler has joined #panfrost
vstehle has quit [Ping timeout: 240 seconds]
kinkinkijkin has quit [Read error: Connection reset by peer]
steev has quit [Read error: Connection reset by peer]
kinkinkijkin has joined #panfrost
steev has joined #panfrost
davidlt has joined #panfrost
vstehle has joined #panfrost
kaspter has quit [Remote host closed the connection]
kaspter has joined #panfrost
_whitelogger has joined #panfrost
Elpaulo has joined #panfrost
<icecream95> Minetest now crashes with 'panfrost_map_constant_buffer_cpu: Assertion `!"No constant buffer"' failed.'
warpme_ has joined #panfrost
wwilly has joined #panfrost
l-as has quit [*.net *.split]
afaerber has quit [*.net *.split]
jernej has quit [*.net *.split]
afaerber has joined #panfrost
l-as has joined #panfrost
jernej has joined #panfrost
clementp[m] has quit [Ping timeout: 240 seconds]
wiizzard has quit [Ping timeout: 240 seconds]
toggleton[m]2 has quit [Ping timeout: 250 seconds]
icecream95 has quit [Ping timeout: 246 seconds]
Ke has quit [Ping timeout: 244 seconds]
l-as has quit [Ping timeout: 258 seconds]
paulk-leonov has quit [Ping timeout: 240 seconds]
paulk-leonov has joined #panfrost
stepri01 has quit [Ping timeout: 256 seconds]
stepri01 has joined #panfrost
l-as has joined #panfrost
clementp[m] has joined #panfrost
toggleton[m] has joined #panfrost
wiizzard has joined #panfrost
Ke has joined #panfrost
icecream95 has joined #panfrost
stikonas has joined #panfrost
paulk-leonov has quit [Ping timeout: 268 seconds]
paulk-leonov has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
raster has joined #panfrost
leper` has quit [Quit: .]
leper` has joined #panfrost
nlhowell has joined #panfrost
karolherbst has joined #panfrost
Net147 has quit [Quit: Quit]
Net147 has joined #panfrost
nlhowell has quit [Quit: WeeChat 3.0]
nlhowell has joined #panfrost
kinkinkijkin has quit [Write error: Broken pipe]
cwabbott has quit [Remote host closed the connection]
narmstrong has quit [Remote host closed the connection]
steev has quit [Remote host closed the connection]
jstultz has quit [Ping timeout: 246 seconds]
jstultz has joined #panfrost
steev has joined #panfrost
steev has quit [Remote host closed the connection]
steev has joined #panfrost
narmstrong has joined #panfrost
cwabbott has joined #panfrost
kinkinkijkin has joined #panfrost
BenG83 has joined #panfrost
yann has quit [Ping timeout: 264 seconds]
yann has joined #panfrost
nlhowell has quit [Ping timeout: 260 seconds]
alpernebbi has joined #panfrost
<alyssa> icecream95: Trying to read a uniform buffer it doesn't bind?
<alyssa> Is that legal?
<alyssa> Easy enough to workaround but it seems like under the old code that would have raised a GPU fault
<alyssa> Unless it's dead code because of control flow which would be awful
<nroberts> sorry if this is the wrong place to ask, but does anybody have any tips for getting the drm-next kernel to boot on a rock pi 4 with ubuntu?
<nroberts> I tried to follow these instructions https://wiki.radxa.com/Rockpi4/dev/kernel-mainline
<nroberts> but there is a big warning saying the instructions are incomplete
<nroberts> and it seems to just give up on my kernel and boots to the default one
<nroberts> I think that probably matches what it says about overlays, but I can’t see the console output so I can’t be sure
<nroberts> if I disable all of the overlays then I just get a blinking cursor
<nroberts> so I don’t know if that managed to load my kernel and then it couldn’t boot for some other reason
<nroberts> I was just thinking of trying to make an IGT test to help nudge along my patch for the pgoff thingy in the shmem helpers
<nroberts> and take advantage of the Rockpi from XDC2019
<nroberts> but I don’t really know what I’m doing ><
<tomeu> nroberts: hi there, I think you may have more luck in #linux-rockchip
<nroberts> tomeu, ah ok, thanks!
<nroberts> sorry for the noise
<tomeu> I try to forget the specificities of each fw once I get my kernel to boot :)
vstehle has quit [Quit: WeeChat 3.0]
vstehle has joined #panfrost
vstehle has quit [Ping timeout: 246 seconds]
<alyssa> [ 5967.026666] panfrost ffe40000.gpu: js fault, js=1, status=UNKNOWN, head=0x3112100, tail=0x3112100
<alyssa> robmur01: ^ that's a new one
<robmur01> shame we neglect to print the raw status value...
kaspter has quit [Quit: kaspter]
<robmur01> nroberts: FWIW I'd suggest ditching any downstream vendor stuff, stick a mainline-based distro image (like Manjaro or Armbian) onto a dedicated SD card and just replace the kernel (and entire filesystem if you wish) directly
<robmur01> the more fulfilling version involves building mainline TF-A/U-Boot, bootstrapping the partitions from there, then installing everything manually, but that's not quite so user-friendly :)
<nroberts> robmur01, thanks, maybe I will start again with armbian then at some point. I have probably spent too much time on this already though so I might just put it off too :)
kaspter has joined #panfrost
<robmur01> alyssa: did the offending job involve something funky? panfrost_exception_name() is not entirely exhaustive
<alyssa> robmur01: I don't.. see anything funky
guillaume_g has quit [Quit: Konversation terminated!]
l-as has quit [Ping timeout: 258 seconds]
<robmur01> if it's reproducible, first thing I'd do is see if the actual exception_code is enlightening (so hopefully not 0x7f...)
guillaume_g has joined #panfrost
l-as has joined #panfrost
<alyssa> robmur01: 0x5b
<alyssa> with no reported fault address
<alyssa> this is horribly imprecise information
<robmur01> indeed it is ;)
nlhowell has joined #panfrost
clementp[m] has quit [Ping timeout: 240 seconds]
<alyssa> robmur01: Ok, this is interesting
<alyssa> dealing with a buffer texture (4 bytes per element, 16384 width)
<alyssa> and Gallium says it has an offset of 0x10
<alyssa> so accessing the pointer 0xblahblah0010 is raising the fault
<alyssa> if I force offset down to 0 so it's cache line aligned, it's fine
<alyssa> this is despite rgba8 unorm supposedly not needing to be aligned on bifrost
<alyssa> wonder how the blob handles buffer textures if not like this
clementp[m] has joined #panfrost
<alyssa> D'oh
<alyssa> ok, gles3.1 fails list is coming down nicely
<daniels> nroberts: if you look at Mesa CI, you can see the mainline-based kernel (with a couple of Panfrost patches I think?) and Debian rootfs we build for the Kevin Chromebook, which is also RK3399, and should work on the RockPi4 if you just change the DTB name
<alyssa> I did a 1/10 run with two major sections of tests known to fail blocked, and that's down to 11 failures of 1745 that ran
jernej has quit [Remote host closed the connection]
jernej has joined #panfrost
robmur01_ has joined #panfrost
Net147_ has joined #panfrost
Depau has joined #panfrost
Moe_Icenowy has joined #panfrost
Net147 has quit [*.net *.split]
raster has quit [*.net *.split]
paulk-leonov has quit [*.net *.split]
robmur01 has quit [*.net *.split]
Depau_ has quit [*.net *.split]
urjaman has quit [*.net *.split]
rak-zero has quit [*.net *.split]
HdkR has quit [*.net *.split]
MoeIcenowy has quit [*.net *.split]
Moe_Icenowy is now known as MoeIcenowy
robmur01_ is now known as robmur01
robmur01 is now known as 17SABVDEO
urjaman has joined #panfrost
Depau_ has joined #panfrost
raster has joined #panfrost
robmur01 has joined #panfrost
raster has quit [Excess Flood]
raster has joined #panfrost
robmur01 has quit [Ping timeout: 254 seconds]
Depau_ has quit [Ping timeout: 254 seconds]
17SABVDEO is now known as robmur01
<nroberts> daniels, thanks, maybe I give that kernel commit a go over the weekend
<daniels> nroberts: kernelci does boot rk3399 on every commit from mainline + next + a million other trees, so it seems unlikely that it's totally broken, more likely just a misconfiguration somewhere, which is often a missing power regulator or clock config option
<nroberts> yeah, that seems likely. the instructions I was trying to use don’t seem very helpful
<daniels> any vendor BSP's instructions are a horribly misleading trap
<nroberts> I’ve been spoiled by the raspberry pi website I guess :p
jernej has quit [Remote host closed the connection]
<daniels> yeah, the fact that RPi has very well-documented and pretty universal support is great; the fact it has nothing at all to do with upstream (apart from Mesa!) is pretty sad
<daniels> but this is certainly OT
<alyssa> and then boards like rk3399 have great upstream support but are still absolutely painful to do bringup..
uis has quit [Quit: ZNC 1.7.4 - https://znc.in]
uis has joined #panfrost
<daniels> I hear there's a cool consultancy that has been trying to make these things as easy as possible https://www.collabora.com/news-and-blog/blog/2019/08/06/rockpi-panfrost-wayland/
* alyssa was more pointing fingers at depthcharge
<robmur01> TBF that's not RK3399's fault :P
<alyssa> true
<daniels> probably worth poking eballetbo and getting him to write a companion which will push the image through to eMMC
<daniels> we definitely have scripts from demos of yore which detect that they've been booted from micro-SD rather than eMMC, copy the appropriate things to the appropriate places, set the appropriate flags, display the appropriate 'remove the SD card and reboot' message, and boot into the appropriate OS when you do so
<alyssa> Oh, this is new to me :o
<daniels> !
<alyssa> hm.
enty is now known as ente
BenG83 has quit [Quit: Leaving]
archetech has joined #panfrost
<macc24> alyssa: hey, i like depthcharge!
<icecream95> alyssa: I'm sure I tested texbos on Bifrost. Maybe the alignment requirements are different for v7 compared to v6?
<alyssa> icecream95: It's possible
<alyssa> You have access to the G72 blob?
<alyssa> int res = 0;
<alyssa> printf("res %u\n", res);
<alyssa> glGetIntegerv(GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT, &res);
<alyssa> ^^ might be worth seeing what they set on v6
<icecream95> I can run anything on the G72 blob as long as it's dEQP
<alyssa> lol
<alyssa> icecream95: Alternatively just see if unpatched Panfrost passes dEQP-GLES31.functional.texture.texture_buffer.render.as_vertex_texture.offset_1_alignments
<alyssa> and if it doesn't whether the posted patch fixes it
<icecream95> alyssa: That passes (with alignment at 16)
<alyssa> Interesting.
<alyssa> So it's possible they bumped it on v7, yeah
<alyssa> Or they just have a silicon bug :>
jolan has quit [Quit: leaving]
jolan has joined #panfrost
hexdump0815 has joined #panfrost
kaspter has quit [Quit: kaspter]
guillaume_g has quit [Quit: Konversation terminated!]
tomboy64 has quit [*.net *.split]
remexre has quit [*.net *.split]
alyssa has quit [*.net *.split]
ids1024 has quit [*.net *.split]
klaxa has quit [*.net *.split]
griffinp- has quit [*.net *.split]
samueldr has quit [*.net *.split]
alpernebbi has quit [Quit: alpernebbi]
alyssa has joined #panfrost
tomboy64 has joined #panfrost
remexre has joined #panfrost
klaxa has joined #panfrost
ids1024 has joined #panfrost
samueldr has joined #panfrost
griffinp- has joined #panfrost
samueldr has quit [Max SendQ exceeded]
tomboy64 has quit [Max SendQ exceeded]
samueldr has joined #panfrost
tomboy64 has joined #panfrost
<alyssa> netspit
<icecream95> The blob uses an alignment of 64 on G72
<alyssa> Interesting
kherbst has joined #panfrost
karolherbst has quit [Ping timeout: 272 seconds]
davidlt has quit [Ping timeout: 240 seconds]
nlhowell has quit [Ping timeout: 240 seconds]
kherbst has quit [Ping timeout: 256 seconds]
jernej has joined #panfrost
robmur01_ has joined #panfrost
robmur01 has quit [Ping timeout: 240 seconds]
<icecream95> alyssa: Minetest does fault with older Mesa versions. It uses ARB shaders, so maybe there's a bug with uniform handling there
<alyssa> Hrm.
<alyssa> Not sure what the correct behaviour is then
<icecream95> Looks like it isn't an ARB shader after all, it's a generated fixed-function shader reading the gl_AlphaRefMESA uniform
<alyssa> I have so many questions ;-;
<icecream95> alyssa: Such as?
<alyssa> Why does that have its own UBO/
<alyssa> Or is that UBO #0 and there's nothing bound to UBO #0?
<alyssa> Why wouldn't UBO #0 be bound that's absurd
<icecream95> alyssa: Generated fixed-function shaders usually don't use any uniforms, but nir_lower_alpha_test adds one
* alyssa did some preliminary work on modifier fusing
<alyssa> and now I shall poof for the weekend \o
hexdump0815 has quit [Ping timeout: 240 seconds]
archetech has quit [Quit: Konversation terminated!]
warpme_ has quit [Quit: Connection closed for inactivity]
unoccupied has joined #panfrost
unoccupied is now known as leah