ChanServ changed the topic of #zink to: official development channel for the mesa3d zink driver || https://docs.mesa3d.org/drivers/zink.html
LexSfX has quit []
eukara has quit [Ping timeout: 480 seconds]
eukara has joined #zink
<kusma> @zmike: 49efa73ba11c4cacaed0052b984e1fb884cf7600 broke zink+anv for me, crashing in an assert...
<kusma> glxgears: ../../../src/mesa/src/vulkan/runtime/vk_image.c:169: vk_common_GetImageDrmFormatModifierPropertiesEXT: Assertion `image->tiling == VK_IMAGE_TILING_DRM_FORMAT_MODIFIER_EXT' failed.
<zmike> hm working fine here
<zmike> will try on another machine...
<kusma> if (screen->info.have_EXT_image_drm_format_modifier)
<kusma> screen->implicit_mod = DRM_FORMAT_MOD_INVALID;
<kusma> Should maybe that condition be negated?
<zmike> no, that's correct
<kusma> OK
<zmike> can you get me a backtrace?
<kusma> sure
<zmike> huh.
<zmike> you running this in xorg or xwayland or wayland or what
<kusma> wayland, but probably throught xwayland; this is glxgears
<zmike> yeah I can't get it to assert here 🤔
<zmike> can you print image->tiling at the assert frame?
<zmike> I assume optimal
<zmike> hm I'd guess that somehow you have no available modifiers in your xwayland instance?
<kusma> VK_IMAGE_TILING_OPTIMAL
<zmike> hm ok, I think this needs a spec issue to relax a vuid
<zmike> but also it's very weird to me that you have no modifiers available
<zmike> kusma: https://gitlab.khronos.org/vulkan/vulkan/-/issues/3197 I think I should be able to get a resolution on this within the next week
<zmike> but I'd suggest you may want to investigate your system, since having zero modifiers available seems suspicious
<kusma> zmike: I'm not quite sure what that means... the zero comes from zink_resource_create_drawable(), which just passes zero in there...
<zmike> what zero?
<kusma> modifiers_count=0 passed to resource_create
<zmike> that's unrelated
<zmike> it's a swapchain image, so the modifiers aren't visible outside of that function
<kusma> Then I don't know what to investigate
<zmike> it's not a zink thing, it's a displayserver thing
<zmike> it seems your xwayland is not advertising any modifiers
<zmike> maybe it's very old?
<kusma> Not very old I think...
<kusma> 22.1.3-1
<zmike> hm I have 21.1.3 on one of my machines too
<zmike> though I guess if your system mesa is significantly older than what you're trying to run here then that may make a difference too?
<kusma> I'm using mesa from the main branch...
<zmike> bnieuwenhuizen might have some ideas here
<kusma> I'm on Debian Sid, so nothing should be particularly old, I think...
<bnieuwenhuizen> ?
<zmike> what could be some causes for having xwayland claim there are no modifiers available?
<kusma> But, I've got to run now, kiddo needs to be picked up from Kindergarten...
<bnieuwenhuizen> zmike: have an old GPU?
<zmike> possible I guess?
<bnieuwenhuizen> not sure what GPU kusma has
<kusma> 630, pretty old
<bnieuwenhuizen> if that is a Radeon 630 Mobile, yeah seems like GFX8 for which we don't have modifiers yet
<zmike> it's intel
<bnieuwenhuizen> oh
<bnieuwenhuizen> no idea then
<zmike> could be the same thing
LexSfX has joined #zink
eukara has quit []
eukara has joined #zink
<kusma> The GPU support modifiers
<kusma> Awesome, thanks!
Akari has quit [Remote host closed the connection]
Akari has joined #zink
cheako has quit [Quit: Connection closed for inactivity]