ChanServ changed the topic of #zink to: official development channel for the mesa3d zink driver || https://docs.mesa3d.org/drivers/zink.html
Thermi has quit [Quit: Meet your opposition - Profane and disciplined - Take back your pride - With a pounding hammer]
Thermi has joined #zink
<kusma> zmike: I'm seeing a crash in a test here, where we get into zink_screen_timeline_wait() with a seemingly bogus batch_id (1513620848, but it seems to vary from run to run). This all seems to happen because we're trying to reclaim pb slabs that seems to have been free'd (they contain a refcount of 0 and mostly garbage)...
<zmike> 🤔
<zmike> seems bad
<zmike> pb bugs are the worst
<zmike> kusma: did you have further issues with https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15327
<kusma> zmike: No, looks good!
<zmike> oh boy
<ajax> dropped the deadlock and renderdoc patches, split up the kopper bits
<ajax> interface, egl, glx, gallium core, zink
<ajax> i think the second-to-last doesn't actually produce a working zink driver but i'm not sure i care
<zmike> hm but I see you put kopper into swrast_loader_extensions
<zmike> which breaks the driver
<zmike> or have you fixed that in another way
<ajax> uh... if i did that was not intentional. possibly a git-rerere misfire.
<zmike> nvm I'm looking at the wrong thing
<zmike> ALL GOOD
* zmike gets back to kopperin' time
<ajax> not sure if there's any further we can break down the last two that makes sense
<ajax> like i'm pretty sure the xcb workaround is a separate thing?
<zmike> xcb workaround?
<ajax> + <application name="Xwayland" executable="Xwayland">
<ajax> + <option name="disable_xcb_surface" value="true" />
<ajax> + </application>
<zmike> ah yeah
<zmike> that's just for running xwl
<zmike> so it could be split
<zmike> https://gitlab.freedesktop.org/ajax/mesa/-/commit/9d0e2126db3385d0e049f0c07282444433bdea4e#b4d0727a24f16f5eda402812ccf263a5022292d9_303_313 this part I think I had meant to key on disp->Options.Zink and never got around to it?
<zmike> I did it in x11 and not sure I got around to the others
<ajax> doesn't look like it's in wayland either
<zmike> ajax: actually while you're looking at this stuff I have this report https://gitlab.freedesktop.org/zmike/mesa/-/issues/109#note_1283599
<zmike> some kinda esoteric platform compile error?
<zmike> it's from kopper
<zmike> looks like you did some changes in the area, so maybe you fixed it?
<ajax> i had not fixed that yet
<ajax> i'm not sure how they get to that build path but it's an easy fix
<ajax> one moment
<zmike> nice
<zmike> https://gitlab.freedesktop.org/ajax/mesa/-/commit/5d72b49555863a94eddd20516e9fc0c87e70d0bb#6d12ed398ee79c3fa0d1e0968281c2ca378c4b09_53_57 <- I think all these can be removed since I put those into the base c_args a while back
<zmike> gitlab is really unhappy about showing me such huge diffs
<ajax> branch updated with all the above addressed
<zmike> cool
<ajax> and... gears crashes
<zmike> #executive
<ajax> ngh
<ajax> how much do we really care about keeping a working zink at every commit
<zmike> I don't really
<zmike> just mark it as "not zink bisectable" and move on
<zmike> I think anyone trying to bisect across this is going to readily notice if it breaks something anyway
<ajax> excellent
<ajax> because i'm trying to coax libglx into retrying zink as plain drisw if there's no kopper extension and i feel very unhappy about it
<ajax> but, if i don't, zink crashes instantly
<zmike> yeah let's not do that
<ajax> sweet
<ajax> then all that remains is to know why the last commit _also_ doesn't work
<zmike> that's a puzzler
<ajax> oh dear
<ajax> odds that the deadlock patch was shielding me from whatever tf this is: non-zero?
<zmike> awkward
<zmike> uhhh
<zmike> which test is this?
<ajax> mesa devenv -C build glxgears
<zmike> deadlock patch afaik only fixed that one fbo blit piglit test
<zmike> and maybe like a couple other weird piglit cases
<zmike> nothing else
<zmike> I gotta run out for the night, but I can double check tomorrow
<zmike> (alternatively you can just test against the base copper branch)
LexSfX has quit []
<ajax> yeah, i'll poke a little more but i'm also out for the evening soon
<zmike> director's cut looks good overall though
<ajax> thanks. ready to have this landed
<ajax> eager, rather than ready, i suppose. you get me.
LexSfX has joined #zink
<zmike> amen