[PR #3502] [MERGED] config: Add present mode option. #3522

Closed
opened 2026-02-27 22:04:00 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3502
Author: @squidbus
Created: 9/1/2025
Status: Merged
Merged: 9/1/2025
Merged by: @squidbus

Base: mainHead: vsync-opt


📝 Commits (2)

  • 900e9f4 config: Add present mode option.
  • 6433b31 settings_dialog: Add details for present modes.

📊 Changes

6 files changed (+101 additions, -15 deletions)

View changed files

📝 src/common/config.cpp (+12 -0)
📝 src/common/config.h (+2 -0)
📝 src/qt_gui/settings_dialog.cpp (+15 -0)
📝 src/qt_gui/settings_dialog.ui (+34 -0)
📝 src/video_core/renderer_vulkan/vk_swapchain.cpp (+34 -15)
📝 src/video_core/renderer_vulkan/vk_swapchain.h (+4 -0)

📄 Description

Adds a config option to control the present mode. Available options are Mailbox (default), Fifo, and Immediate. If the selected mode is not supported, we fall back to FIFO as the Vulkan spec guarantees it is supported.

screenshot

🔄 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/3502 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 9/1/2025 **Status:** ✅ Merged **Merged:** 9/1/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `vsync-opt` --- ### 📝 Commits (2) - [`900e9f4`](https://github.com/shadps4-emu/shadPS4/commit/900e9f4827ce029354c8e92e10c0a106bb9d9bd6) config: Add present mode option. - [`6433b31`](https://github.com/shadps4-emu/shadPS4/commit/6433b31745cb6e7c763a0077fae540f2ae6f3306) settings_dialog: Add details for present modes. ### 📊 Changes **6 files changed** (+101 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `src/common/config.cpp` (+12 -0) 📝 `src/common/config.h` (+2 -0) 📝 `src/qt_gui/settings_dialog.cpp` (+15 -0) 📝 `src/qt_gui/settings_dialog.ui` (+34 -0) 📝 `src/video_core/renderer_vulkan/vk_swapchain.cpp` (+34 -15) 📝 `src/video_core/renderer_vulkan/vk_swapchain.h` (+4 -0) </details> ### 📄 Description Adds a config option to control the present mode. Available options are Mailbox (default), Fifo, and Immediate. If the selected mode is not supported, we fall back to FIFO as the Vulkan spec guarantees it is supported. <img width="645" height="284" alt="screenshot" src="https://github.com/user-attachments/assets/e3d148a0-62b9-437c-aee7-4c4e627dd6c3" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:00 +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#3522
No description provided.