[PR #1830] [MERGED] Handle swapchain recreation #2334

Closed
opened 2026-02-27 21:16:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1830
Author: @ngoquang2708
Created: 12/20/2024
Status: Merged
Merged: 12/23/2024
Merged by: @raphaelthegreat

Base: mainHead: fix-xwayland


📝 Commits (1)

  • abd27c0 Handle swapchain recreation

📊 Changes

3 files changed (+11 additions, -5 deletions)

View changed files

📝 src/video_core/renderer_vulkan/vk_presenter.cpp (+7 -3)
📝 src/video_core/renderer_vulkan/vk_swapchain.cpp (+3 -1)
📝 src/video_core/renderer_vulkan/vk_swapchain.h (+1 -1)

📄 Description

Fix black screen in XWayland.

I have very limited knowledge about Vulkan. Let me know if I did anything wrong.

Fix: https://github.com/shadps4-emu/shadPS4/issues/1781, https://github.com/shadps4-emu/shadPS4/issues/1817.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/1830 **Author:** [@ngoquang2708](https://github.com/ngoquang2708) **Created:** 12/20/2024 **Status:** ✅ Merged **Merged:** 12/23/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `fix-xwayland` --- ### 📝 Commits (1) - [`abd27c0`](https://github.com/shadps4-emu/shadPS4/commit/abd27c0d37907d4f081dc24c2c1ee3d0354c72bf) Handle swapchain recreation ### 📊 Changes **3 files changed** (+11 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/renderer_vulkan/vk_presenter.cpp` (+7 -3) 📝 `src/video_core/renderer_vulkan/vk_swapchain.cpp` (+3 -1) 📝 `src/video_core/renderer_vulkan/vk_swapchain.h` (+1 -1) </details> ### 📄 Description Fix black screen in XWayland. I have very limited knowledge about Vulkan. Let me know if I did anything wrong. Fix: https://github.com/shadps4-emu/shadPS4/issues/1781, https://github.com/shadps4-emu/shadPS4/issues/1817. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:06 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2334
No description provided.