Skip to content
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

WIP: Support for multiple virtual connectors #1486

Draft
wants to merge 32 commits into
base: master
Choose a base branch
from

Conversation

misyltoad
Copy link
Collaborator

WIP, but should be getting there.

Still some to-dos on the side of cursor setting and misc. operations on the WaylandBackend.

@matte-schwartz
Copy link

matte-schwartz commented Aug 23, 2024

couple issues I've had pop up while using this PR for you to keep track of (which you may already be aware of):

  • gamescope --backend sdl -- vkcube a gamescope window never appears on Wayland desktop (tested w/ Plasma 6), and does not shut down with gamescopereaper without being manually terminated. --virtual-connector-strategy has no effect on the behavior. --backend wayland seems fine.
  • in gamescope-session, when quitting games using the left side menu, the transition and display seem to hang on the shutting down game window screen until you toggle the side menus a few times. Guessing this is what you mean in d80cf55 ?

will edit this comment if I find anything else

misyltoad and others added 21 commits August 23, 2024 23:08
…shot request failures

CVulkanDevice::resetCmdBuffers expects m_pendingCmdBufs to be sorted.
Using an unordered_map can result in cases where we eagerly exit out of
the loop without fully cleaning all the relevant resources. This will
result in leaking the command buffer and any resources it transitively
references.

This can be a problem for screenshots as there are only two screenshot
image slots available. If we leak references to these images, at some
point we won't be able to allocate new images for screenshot capture and
the operation will fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants