02:50
qpla has quit [Read error: Connection reset by peer]
03:51
Consolatis has quit [Server closed connection]
03:51
Consolatis has joined #panfrost
03:52
CME_ has quit [Server closed connection]
03:52
CME has joined #panfrost
04:20
pbsds has quit [Server closed connection]
04:21
pbsds has joined #panfrost
04:23
stepri01 has quit [Server closed connection]
04:24
stepri01 has joined #panfrost
04:58
indy has quit [Server closed connection]
05:01
indy has joined #panfrost
05:24
Danct12 has quit [Server closed connection]
05:24
Danct12 has joined #panfrost
05:27
<
mriesch >
i seem to be running into stride alignment issues on the g52. are the alignment requirements documented somewhere?
06:02
anarsoul has joined #panfrost
06:02
anarsoul|2 has quit [Read error: Connection reset by peer]
06:41
pjakobsson_ has quit [Remote host closed the connection]
06:42
mav has quit [Server closed connection]
06:43
mav has joined #panfrost
06:52
DVulgaris has quit [Server closed connection]
06:52
DVulgaris has joined #panfrost
07:02
marcan has quit [Server closed connection]
07:02
marcan has joined #panfrost
07:04
pjakobsson has joined #panfrost
07:06
warpme has joined #panfrost
07:15
rellla has quit [Server closed connection]
07:15
rellla has joined #panfrost
07:22
sergi has quit [Server closed connection]
07:22
sergi has joined #panfrost
08:13
Foxtrotinette has joined #panfrost
08:13
Foxtrotinette has quit [Remote host closed the connection]
08:14
DPA has quit [Server closed connection]
08:16
DPA has joined #panfrost
08:21
warpme has joined #panfrost
09:25
<
daniels >
mriesch: what are you seeing exactly?
09:26
<
daniels >
are you seeing imports being rejected for not being sufficiently aligned, or mis-sampling, or misrendering, or?
09:27
<
mriesch >
daniels: "MESA: error: panfrost: rejecting image due to unsupported offset or stride alignment.
09:27
<
mriesch >
gleglimage gsteglimage.c:683:gst_egl_image_from_dmabuf: eglCreateImage failed: EGL_BAD_ALLOC"
09:29
<
mriesch >
this is a 1400x1050x2 image and we figure that the 2800 bytes per line are not divisible by 64
09:32
<
daniels >
assuming that means you're a YUV format, the alignment requirement on G52 is 16 bytes (it's still 64 for RGB)
09:32
<
daniels >
that's a hardware requirement that we can't work around
09:33
<
daniels >
so you need to make sure whatever's allocating is doing so with sufficient padding, not just w*bpp
09:33
<
mriesch >
daniels: yes, that's a yuv format. nv61, to be precise
09:33
<
daniels >
yep, stride needs to be aligned to 16b then
09:34
<
mriesch >
ok, 2800 is divisible by 16. does this mean we can relax the rejection condition a bit?
09:41
<
daniels >
mriesch: I guess you must have a downstream tree, since there's no NV61 support in upstream Mesa, but it's probably missing the check for PIPE_FORMAT_R8_G8B8_422_UNORM in src/panfrost/lib/pan_layout.c:format_minimum_alignment()
09:45
<
mriesch >
daniels: it's mainline, actually. however, i think the gstreamer glupload element handles nv61 as two textures
09:47
warpme has joined #panfrost
09:47
<
daniels >
mriesch: ah, well in that case the hardware does require 64-byte alignment for each ...
09:48
<
mriesch >
daniels: ah ok. are those requirements documented somewhere or did you folks RE them?
09:49
<
daniels >
mriesch: they're documented, but the docs aren't public
09:50
<
mriesch >
daniels: ok, thanks for the information then
09:51
<
mriesch >
daniels: now fortunately we are able to add padding in our source hardware block. but what is the way to negotiate such constraints?
10:09
<
mriesch >
daniels: so we get to decide between implementing nv61 support in mesa and implementing a generic allocator infrastructure? tough call.
10:09
<
mriesch >
could there be a workaround solution around this? what do people usually do in such situations?
10:16
tanty has quit [Server closed connection]
10:18
tanty has joined #panfrost
10:44
warpme has joined #panfrost
11:22
alpernebbi has quit [Server closed connection]
11:22
alpernebbi has joined #panfrost
11:28
alyssa has left #panfrost [#panfrost]
11:32
simon-perretta-img__ has quit [Server closed connection]
11:33
simon-perretta-img__ has joined #panfrost
11:33
f_ is now known as funderscore
12:26
<
robclark >
bbrezillon: thx and a-b (I can rely on MR later)
12:44
simon-perretta-img__ has quit [Ping timeout: 480 seconds]
12:44
warpme has joined #panfrost
12:47
simon-perretta-img has joined #panfrost
12:48
simon-perretta-img_ has joined #panfrost
12:50
funderscore is now known as f_
12:55
simon-perretta-img has quit [Ping timeout: 480 seconds]
15:27
alyssa has joined #panfrost
15:52
warpme has quit [Remote host closed the connection]
15:53
warpme has joined #panfrost
16:09
rz_ has joined #panfrost
16:11
rz has quit [Ping timeout: 480 seconds]
18:25
rasterman has joined #panfrost
18:53
warpme has joined #panfrost
19:07
rasterman has quit [Quit: Gettin' stinky!]
22:48
tanty has quit [Ping timeout: 480 seconds]
23:45
tanty has joined #panfrost