austriancoder changed the topic of #etnaviv to: #etnaviv - the home of the reverse-engineered Vivante GPU driver - Logs https://freenode.irclog.whitequark.org/etnaviv
jicksaw has quit [Quit: ZNC is kill]
jicksaw has joined #etnaviv
karolherbst has quit [Ping timeout: 240 seconds]
<daniels> mntmn: I have no idea, and even more weird that it’s fixed in new versions :(
lynxeye has joined #etnaviv
karolherbst has joined #etnaviv
karolherbst has quit [Read error: Connection reset by peer]
karolherbst has joined #etnaviv
kherbst has joined #etnaviv
agx__ has joined #etnaviv
karolherbst has quit [*.net *.split]
agx_ has quit [*.net *.split]
<agx__> marex: no chromium here, sorry
<agx__> marex: if you just need a deb https://salsa.debian.org/sdl-team/libsdl2/-/merge_requests/11 should work - i doubt we'll pull all that in for bullseye but i'll look into keeping that in shape for bookworm
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)?
<daniels> oooooooooooohhhh actually ... I don’t know why I didn’t realise this earlier
<mntmn> daniels: realised what? :D
<daniels> you need to set a gsettings key
<mntmn> wat
<daniels> Intel screwed it up
<mntmn> omg
<mntmn> this would explain why the same version works on my other dev system?!
<daniels> modifiers on Intel unlocks better (= more efficient) compression modes, but it seriously blows through display FIFO
<daniels> so Mutter disabled it by default
<lynxeye> daniels: org.gnome.mutter.pretty-please-dont-screw-etnaviv ?
<daniels> really that should be on Intel only
<mntmn> lol
<daniels> lynxeye: srsly
<daniels> mntmn: sorry, I don’t know why I didn’t think of this earlier :( well, I do actually, everything is on fire, but ...
<mntmn> *googles how to change gsettings things*
<mntmn> am i doing this right: gsettings set org.gnome.mutter experimental-features "['kms-modifiers']"
<mntmn> daniels: thank you! this solved it
<mntmn> man this was painful
<mntmn> i hope i won't forget to check for this modifiers business the next time everything gets trashed
<daniels> heh
<daniels> mntmn: btw, MOD_INVALID isn't -1, it's (1 << 56) - 1
<mntmn> daniels: lol ok. i just didn't want to type a million fs
<daniels> (yes it should be 0)
<mntmn> if you know the people who turned off the modifiers in mutter please say hi from me
<mntmn> the good news is that gnome3 on etnaviv works and is even performant
<pcercuei> nice!
<pcercuei> I want to test it on my gcw-zero at some point (GC680), but I need to get the HDMI to work reliably first
<daniels> \o/
lynxeye has quit [Ping timeout: 264 seconds]
Chewi has quit [Quit: ZNC 1.8.2 - https://znc.in]
Chewi has joined #etnaviv
pcercuei1 has joined #etnaviv
pcercuei has quit [Ping timeout: 265 seconds]
pcercuei1 is now known as pcercuei
T_UNIX has quit [Quit: T_UNIX]
dos1 has quit [Quit: Kabum!]
tchebb_ has joined #etnaviv
serg-z has quit [Quit: ZNC 1.8.2 - https://znc.in]
tchebb has quit [Quit: ZNC - http://znc.in]
tchebb_ is now known as tchebb
eightdot has quit [Remote host closed the connection]
cphealy has quit [Remote host closed the connection]
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
srk has joined #etnaviv
karolherbst has joined #etnaviv
dos1 has joined #etnaviv
srk has joined #etnaviv
srk has quit [Changing host]
nathanhi- has joined #etnaviv
kherbst has quit [Remote host closed the connection]
marex has quit [Remote host closed the connection]
jicks has joined #etnaviv
tlwoerner has quit [Remote host closed the connection]
mth has quit [Remote host closed the connection]
agx__ has quit [Remote host closed the connection]
agx_ has joined #etnaviv
mth has joined #etnaviv
jicksaw has quit [Ping timeout: 249 seconds]
nathanhi has quit [Remote host closed the connection]
cyrozap has quit [Remote host closed the connection]
nathanhi- is now known as nathanhi
berton has quit [Remote host closed the connection]
_whitelogger has joined #etnaviv
tlwoerner has joined #etnaviv
cphealy has joined #etnaviv
JohnnyonFlame has quit [Read error: Connection reset by peer]
JohnnyonFlame has joined #etnaviv
JohnnyonF has joined #etnaviv
JohnnyonFlame has quit [Ping timeout: 265 seconds]