kherbst has quit [Read error: Connection reset by peer]
T_UNIX has joined #etnaviv
kherbst has joined #etnaviv
<mntmn>
daniels: what needs to go wrong in the wayland compositor to sample a surface as linear, but which is tiled? (assuming that this is what's happening -- it could also be the other way around?)
<mntmn>
the same xwayland binary works correctly with another compositor (sway). is there something special about xwayland's wayland surface?
<lynxeye>
mntmn: If the compositor doesn't properly specify the modifier when importing the client buffer, etnaviv will just assume that it is linear. Etnaviv doesn't have the magic side-channel to get the tiling information, unlike intel or amd.
<daniels>
I'd look at $WAYLAND_DEBUG=server output from Mutter vs. sway to try to see which buffers are coming in and out
<mntmn>
lynxeye, daniels: ok, thanks. i'm gonna try that
<marex>
agx__: I'll keep tracking testing, so Im not really affected, but thanks :)
berton has joined #etnaviv
pcercuei has joined #etnaviv
<mntmn>
hmm, gnome-shell seems to ignore WAYLAND_DEBUG.
<mntmn>
new puzzle piece: xwayland looks ok when XWAYLAND_NO_GLAMOR is set
<mntmn>
ok so i added some debugging to xwayland. xwl_glamor_gbm_create_pixmap behaves differently on wlroots vs mutter. glamor_get_modifiers() returns 0 modifiers on mutter but 3 modifiers on wlroots.
<mntmn>
on sway, it's format: 34325258 num_modifiers: 3 modifiers: 0x5589ab3a40
<mntmn>
but on mutter its 0, NULL.
<mntmn>
daniels: i have determined that under mutter, there are only 9 xwl_formats and none of them have modifiers, while under sway, there are 27 formats with 3 modifiers each. does this have to do with how the compositor sets up the screen or is it something related to wayland protocls (versions)?