[PR #2908] [MERGED] qt: Delay physical device enumeration to settings open. #3071

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2908
Author: @squidbus
Created: 5/11/2025
Status: Merged
Merged: 5/11/2025
Merged by: @squidbus

Base: mainHead: fix-amd-crash


📝 Commits (1)

  • 85192f3 qt: Delay physical device enumeration to settings open.

📊 Changes

4 files changed (+23 additions, -25 deletions)

View changed files

📝 src/qt_gui/main_window.cpp (+2 -17)
📝 src/qt_gui/main_window.h (+0 -3)
📝 src/qt_gui/settings_dialog.cpp (+20 -3)
📝 src/qt_gui/settings_dialog.h (+1 -2)

📄 Description

Delay enumerating Vulkan physical devices for the settings menu until the settings UI has been opened.

Should fix this assert with AMD GPUs (unless you open the settings UI before the game):

[Debug] address_space.cpp:82 operator(): Assertion Failed!
Unable to reserve virtual address space: Not enough memory resources are available to process this command.

🔄 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/2908 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 5/11/2025 **Status:** ✅ Merged **Merged:** 5/11/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `fix-amd-crash` --- ### 📝 Commits (1) - [`85192f3`](https://github.com/shadps4-emu/shadPS4/commit/85192f38ba8e0e25e00649e5ed61d412a93cf6ff) qt: Delay physical device enumeration to settings open. ### 📊 Changes **4 files changed** (+23 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `src/qt_gui/main_window.cpp` (+2 -17) 📝 `src/qt_gui/main_window.h` (+0 -3) 📝 `src/qt_gui/settings_dialog.cpp` (+20 -3) 📝 `src/qt_gui/settings_dialog.h` (+1 -2) </details> ### 📄 Description Delay enumerating Vulkan physical devices for the settings menu until the settings UI has been opened. Should fix this assert with AMD GPUs (unless you open the settings UI before the game): ``` [Debug] address_space.cpp:82 operator(): Assertion Failed! Unable to reserve virtual address space: Not enough memory resources are available to process this command. ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:19 +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#3071
No description provided.