-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Xe/rendervulkan] - No visible image in the DRM backend #1742
Comments
also: drm_info.log for reference |
vulkan_get_hacky_blank_texture
vulkan_get_hacky_blank_texture
after looking into this further I get the impression this is a drm/xe bug specifically so I've reported it upstream accordingly: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4292 will keep this open for now for tracking purposes on our side |
vulkan_get_hacky_blank_texture
vulkan_get_hacky_blank_texture
see for the fix we're working on for this here: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12633, closing as not a gamescope issue |
the first possible fix for this issue was a patch to mesa that marked any images with format modifiers set as scanout: https://gitlab.freedesktop.org/drm/xe/kernel/-/issues/4292#note_2784316. this is specifically the patch I've been using in mesa on my lunar lake device for gamescope-session. after discussions with Mesa and kernel developers, it seems like the consensus is that gamescope is not creating VkImages with swapchains per https://gitlab.freedesktop.org/mesa/mesa/-/issues/12633#note_2804858 which is causing issues with ANV another possible fix for this that was proposed today is master...jxzgithub:gamescope:add-mesa-wsi-mem-alloc-info which patches gamescope rather than mesa. i can confirm that this patch in gamescope also lets you use both direct scanout and composition within gamescope-session on Xe. however, concerns were brought up that it was too fragile. |
vulkan_get_hacky_blank_texture
Is there an existing issue for this?
Are you using any gamescope patches or a forked version of gamescope?
Current Behavior
On Intel's Xe kernel driver, gamescope does not present a visible image while using the DRM backend. Downstream ChimeraOS has worked around this by removing
gamescope/src/steamcompmgr.cpp
Lines 2456 to 2482 in bafa157
Steps To Reproduce
gamescope -- vkcube
or gamescope-session on an Intel GPU running drm/xeHardware information
Software information
Which gamescope backends have the issue you are reporting?
Logging, screenshots, or anything else
This is upstream gamescope's logging where an image is never visible: https://gist.github.com/matte-schwartz/d73baaa86ee1b66ca952eb73976c9c7e
Patched gamescope's logging where it does eventually show a visible image: https://gist.github.com/matte-schwartz/329b50fa9a47c7b36684aebe10972193
The text was updated successfully, but these errors were encountered: