<thefloweringash>
gtucker: thanks for the details on depthcharge!
<thefloweringash>
ezequielg: still having mixed results. my test image boots all the way to X but the display takes a while to show anything (about 10 seconds). with my regular install I don't see anything (even after a few minutes), and blindly typing my luks password doesn't seem to help
<thefloweringash>
still doing science: given it fscked when I restored my old kpart, perhaps blindly entering my luks password did help. Is there something userland has to do before the display becomes visible, like turning on the backlight?
<urjaman>
guessing from experience with the arch stock kernel on the c201: load a bunch of modules (including for the backlight PWM and the display subsystem etc etc)
<urjaman>
one big reason why i started building my own kernels was to get instant display (even if something fails before the system gets to loading modules..)
<alyssa>
urjaman: I don't use any modules on the kernels I build since I can never get them to load ;P
<thefloweringash>
if I jam the contents of lsmod into my initrd everything works, thanks!
<alyssa>
Pff
stikonas has quit [Remote host closed the connection]
<raster>
cant find any env vars to enable to get more info it seems...
<tomeu>
ok, I'm rebuilding glmark to get the drm backend
<raster>
it'd be the same regardless of app as this is early in the egl init attempt
<tomeu>
raster: I run stuff from the command line like this: MESA_DEBUG=1 LIBGL_DEBUG=verbose LIBGL_ALWAYS_SOFTWARE=false EGL_LOG_LEVEL=debug LIBGL_DRIVERS_PATH=/usr/local/lib/aarch64-linux-gnu/dri/ LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
<raster>
other thgins all do the same thng for me
<raster>
yeah
<raster>
i tried those already - no extra info telling me whats up with rockchip_dri.so
<raster>
beyond me now adding my own printfs :)
<tomeu>
yeah, I had to do that, but nothing that happened to me rings a bell in this case
raster has quit [Read error: Connection reset by peer]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
afaerber has quit [Quit: Leaving]
maciejjo has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
raster has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
raster has quit [Ping timeout: 258 seconds]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
afaerber has joined #panfrost
chewitt has quit [Ping timeout: 272 seconds]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
raster has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
gcl has joined #panfrost
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
gcl has quit [Quit: leaving]
gcl has joined #panfrost
BenG83 has joined #panfrost
<alyssa>
tomeu: ezequielg: Alright, awesome :)
<alyssa>
tomeu: panfrost_enable_afbc / panfrost_set_fragment_afbc are where the magic happens, so
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
<alyssa>
Whaaaa?
<alyssa>
The 0xa88 in the framebuffer format code _ought_ to be a 12-bit swizzle (RGB1)
<alyssa>
But the enable bits for AFBC and MSAA are right in the middle of that. What gives?!
raster has quit [Remote host closed the connection]
pH5 has quit [Quit: bye]
yann has quit [Ping timeout: 268 seconds]
pH5 has joined #panfrost
stikonas has joined #panfrost
BenG83 has quit [Quit: Leaving]
anarsoul|2 has joined #panfrost
BenG83 has joined #panfrost
pH5 has quit [Quit: Lost terminal]
afaerber has quit [Quit: Leaving]
AntonioND has joined #panfrost
<ezequielg>
thefloweringash: fwiw, yeah you need to turn on the backlight on kevin.
<ezequielg>
i haven't booted a debian rootfs in a long time on my kevin.
<ezequielg>
i could try that i guess.
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
shadeslayer[m] has joined #panfrost
adjtm_ has joined #panfrost
adjtm has quit [Ping timeout: 250 seconds]
ezequielg has quit [Quit: leaving]
AntonioND has quit [Quit: Quit]
<stikonas>
is this a known error: src/gallium/targets/dri/src@gallium@targets@dri@@gallium_dri@sha/target.c.o: In function `pipe_panfrost_create_screen':
<stikonas>
target.c:(.text+0x2b4): undefined reference to `panfrost_drm_screen_create'
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
stikonas has quit [Remote host closed the connection]
stikonas has joined #panfrost
urjaman has quit [Ping timeout: 272 seconds]
ezequielg has joined #panfrost
<ezequielg>
alyssa: hm, so if scanout is linear then there's some compressed-to-linear somewhere?
<ezequielg>
i mean, how do you display afbc objects?
<Lyude>
scanout isn't nessecarily linear i'd imagine
<Lyude>
I know at least on meson there's support in the display hw for scanning out from AFBC directly
<Lyude>
( narmstrong ^ correct me if I'm wrong here)
<ezequielg>
doesn't that need special enablement on the DRM driver?
<Lyude>
I would imagine so yes
<Lyude>
iirc they've already got patches for that for meson
<ezequielg>
right, well. I want to do the same thing for rockchip
<ezequielg>
I can do the kernel side, and I'm trying to figure out what's needed on the mesa side.
<Lyude>
tomeu: ^ any idea on that?
<ezequielg>
I can ask tomeu tomorrow as well :] he's probably sleeping now
<Lyude>
mm
<ezequielg>
I work with him :-)
<Lyude>
oh cool!
<Lyude>
yall are helping out a ton, thank you <3
<ezequielg>
I was just lurking around here (waiting for long builds) and staring at panfrost code
<ezequielg>
well, pretty much almost out of the box.
<ezequielg>
glmark2 and kmscube ran fine
<Lyude>
oh heck yeah!
<ezequielg>
jellyfish not.
stikonas has quit [Remote host closed the connection]
<alyssa>
ezequielg: Good to hear!
<alyssa>
As for AFBC: scanout is currently linear. As I mentioned (to maybe it was tomeu?) this morning, the bits are there in the fragment_afbc functions; those would need to be enabled for not only FBOs but also scanout and then mesa side should Just Work
<alyssa>
I have some homework to attend to, but I could probably whip up some example code for that
urjaman has joined #panfrost
<ezequielg>
you mentioned it to me -- but i'm a sad mesa donkey
<alyssa>
Oink
<ezequielg>
i will keep staring at code. any example welcome, but don't stop doing your homework.
<ezequielg>
at least not because of this ;)
<alyssa>
Havne't started homework yet, lemme try something quick
<alyssa>
If I'm not staring at differential equations in 20 minutes, then you can yell at me :P
* ezequielg
misses school now
<ezequielg>
i hope it's the fun dif equation type
<alyssa>
There's a fun diff eq type?
<alyssa>
:P
<alyssa>
"Job invalid" ugh
* alyssa
blinsk
<alyssa>
What do you _mean_ job invalid?!
stikonas has joined #panfrost
<alyssa>
Oh right, forgot AFBC has to be enabled as a core req too
<alyssa>
...Job still invalid?!
<alyssa>
Oh, now that might be making progress, how to debug tho
* alyssa
sprinkles prints
<alyssa>
ezequielg: Hope you have the kernel under control :P
<ezequielg>
course
<alyssa>
I think I have an example patch which uses AFBC on scanout
<alyssa>
Obviously doesn't actually, you know, display anything, tho :P