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
raster has quit [Quit: Gettin' stinky!]
buzzmarshall has quit [Remote host closed the connection]
stikonas_ has quit [Remote host closed the connection]
buzzmarshall has joined #panfrost
vstehle has quit [Ping timeout: 260 seconds]
rhyskidd has quit [Quit: rhyskidd]
rhyskidd has joined #panfrost
davidlt has joined #panfrost
jolan has quit [Ping timeout: 264 seconds]
jolan has joined #panfrost
mixfix41 has quit [Ping timeout: 260 seconds]
vstehle has joined #panfrost
buzzmarshall has quit [Remote host closed the connection]
rcf has quit [Ping timeout: 260 seconds]
rcf has joined #panfrost
icecrea105 has joined #panfrost
icecream95 has quit [Ping timeout: 265 seconds]
icecream95 has joined #panfrost
icecrea105 has quit [Ping timeout: 260 seconds]
mixfix41 has joined #panfrost
adjtm_ has joined #panfrost
adjtm has quit [Ping timeout: 256 seconds]
robmur01 has joined #panfrost
robmur01 has quit [Ping timeout: 260 seconds]
raster has joined #panfrost
mifritscher has quit [Ping timeout: 256 seconds]
stikonas has joined #panfrost
kinkinkijkin has quit [Ping timeout: 260 seconds]
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
mifritscher has joined #panfrost
robmur01 has joined #panfrost
robmur01_ has joined #panfrost
robmur01 has quit [Ping timeout: 258 seconds]
robmur01_ is now known as robmur01
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
icecream95 has quit [Ping timeout: 256 seconds]
<la-s> I am trying to use panfrost with an amlogic S922X (mali G52) (aware that the support may be very elementary), but running kmscube just uses llvmpipe, and I see nothing about panfrost in dmesg. I have compiled the kernel with DRM_PANFROST enabled, and I can see that /sys/bus/platform/drivers/panfrost exists, and I am using a mesa I compiled two days ago, so I'm not sure what I did wrong. /sys/devices/platform/soc/ffe40000.gpu
<la-s> also exists, but it doesn't have a driver symlink.
<la-s> I am using linux-next for 2020-04-23, and the actual board is an ODROID N2. Did I fuck up my kernel somehow, or am I missing something basic? I would appreciate it if I could get any pointers, thanks.
<tomeu> la-s: the device is probably not probing
<tomeu> you need some code not in mainline yet, for example: https://github.com/superna9999/linux/commits/amlogic/v5.8/bifrost
<la-s> tomeu: dude, thanks. I have been spending days on thin thinking it works on mainline lol
<tomeu> la-s: sorry, it will take a while, as you will find soon the hw isn't acting stably with that branch
<tomeu> we don't know yet why
<la-s> thanks
<tomeu> echo "on" to /sys/devices/platform/soc/ffe40000.gpu/power/control so it is "almost" stable
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
cwabbott_ has joined #panfrost
cwabbott has quit [Ping timeout: 240 seconds]
cwabbott_ is now known as cwabbott
TheKit has joined #panfrost
tomboy64 has quit [Remote host closed the connection]
tomboy64 has joined #panfrost
tomboy64 has quit [Remote host closed the connection]
<tomeu> alyssa: the first problem I saw in -brefract is that when blitting to the last mipmap level, the gpu tries to write past the end of the framebuffer/texture
<tomeu> have already checked that it's not checksumming
<tomeu> any ideas?
<tomeu> ah, the framebuffer_stride for the small levels needs to be 64, not 0
<tomeu> let's check
<tomeu> actually, 0, not 64 :)
raster has quit [Quit: Gettin' stinky!]
_mixfix41_ has joined #panfrost
<alyssa> la-s: Also, a few patches are still waiting for merge. getting there tho :)
<alyssa> tomeu: See, you don't even need me :p
<tomeu> alyssa: that didn't made any difference, so I disabled mipmapping and moved on :p
<tomeu> as the blob does mipmapping very differently
<alyssa> tomeu: Indeed, there's a mechanism for doing blits with FRAGMENT jobs without involving the rest of the chip. New to bifrost :-)
<tomeu> yep
adjtm_ has quit [Remote host closed the connection]
adjtm_ has joined #panfrost
warpme_ has quit [Quit: Connection closed for inactivity]
empty_string has quit [Ping timeout: 246 seconds]
empty_string has joined #panfrost
<alyssa> So gl_FragCoord is passed as u16s into (R59.x, R59.y)
<alyssa> Those get convered to floats and 0.5 is added (some rounding detail I guess)
<alyssa> Finally, the blob applies an arbitrary affine transformation (in R^2), passed in via uniforms
<alyssa> For GL on screen, the transform just flips everything upside down, to account for GL goofiness.
<alyssa> I'm not entirely sure what other transform would be needed beside that and identity; regardless, Mesa takes care of that for us I believe.
raster has joined #panfrost
<alyssa> gl_FragCoord.z is loaded with `LD_VAR.32.flat.v1 T1, fragz, 0.x, R0`
<alyssa> and likewise `LD_VAR.32.flat.v1 T1, fragw, 0.x, R0`
<alyssa> also preload_regs | 0x10 to get R59 in
buzzmarshall has joined #panfrost
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
<Ke> Las: as I understand platform devices are just something listed in the device tree, so having them listed just means they are in the device tree file, not that any software has run any code to detect it
<Ke> afaik device tree is just there, because probing functionality has not been designed to the hardware itseld
<la-s> huh, thanks
<cwabbott> alyssa: iirc the 0.5 thing is because in GL, the center of the (0, 0)'th pixel is defined to be (0.5, 0.5)
<alyssa> cwabbott: makes sense, I guess :)
<daniels> cwabbott: did the flag to optionally have that be (0,0) make it into ES or is it a GL-only ext?
<cwabbott> no idea
<daniels> (as well as DX)
<Ke> so you don't even theoretically know, whether all the logical ports in the die would be broken or missing, though this would be absolutely unlikely
<Ke> in that ip block
raster- has joined #panfrost
raster has quit [Disconnected by services]
raster- has quit [Client Quit]
raster has joined #panfrost
_4of7 has quit [Ping timeout: 265 seconds]
raster has quit [Quit: Gettin' stinky!]
raster has joined #panfrost
embed-3d has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Lyude has quit [Quit: WeeChat 2.7.1]
embed-3d has joined #panfrost
embed-3d has quit [Ping timeout: 260 seconds]
Lyude has joined #panfrost
embed-3d has joined #panfrost
embed-3d has quit [Client Quit]
raster has quit [Quit: Gettin' stinky!]
davidlt has quit [Ping timeout: 246 seconds]
NeuroScr has joined #panfrost
indy has quit [Ping timeout: 244 seconds]
indy has joined #panfrost
embed-3d has joined #panfrost
embed-3d has quit [Client Quit]
embed-3d has joined #panfrost
Prf_Jakob has quit [Changing host]
_whitelogger has joined #panfrost
chewitt has joined #panfrost
yann has joined #panfrost
Elpaulo has joined #panfrost
enunes has joined #panfrost
anarsoul has joined #panfrost
gcl has joined #panfrost
rcf has joined #panfrost
yawniek has joined #panfrost
icecream95 has joined #panfrost
<yawniek> i'm on the rockpro64 with some manjaro image thats using panfrost. somehow i am only getting a 1024x768 resolution. is that to be expected or is there a way to fix this?