[PR #2254] [MERGED] Add Vulkan debug options to the Debug tab #2601

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2254
Author: @tomboylover93
Created: 1/28/2025
Status: Merged
Merged: 1/30/2025
Merged by: @polybiusproxy

Base: mainHead: advanced-debug


📝 Commits (9)

  • 9fee8a6 Add Vulkan debug options to the Debug tab
  • 7564088 Fix TRt (#2)
  • 584fc5c small fixes to pt-BR translation
  • aa434e8 include name of options in description
  • 222e368 en.ts fix
  • a159fea fix translations
  • 794076f Merge remote-tracking branch 'refs/remotes/origin/advanced-debug' into advanced-debug
  • 0b1e2e5 fix rdoc translation
  • 3213ebb fix translations

📊 Changes

39 files changed (+1518 additions, -153 deletions)

View changed files

📝 documents/building-linux.md (+1 -1)
📝 src/common/config.cpp (+17 -7)
📝 src/common/config.h (+6 -3)
📝 src/emulator.cpp (+3 -3)
📝 src/imgui/renderer/imgui_core.cpp (+2 -2)
📝 src/imgui/renderer/texture_manager.cpp (+1 -1)
📝 src/qt_gui/settings_dialog.cpp (+30 -1)
📝 src/qt_gui/settings_dialog.ui (+188 -98)
📝 src/qt_gui/translations/ar.ts (+44 -0)
📝 src/qt_gui/translations/da_DK.ts (+44 -0)
📝 src/qt_gui/translations/de.ts (+44 -0)
📝 src/qt_gui/translations/el.ts (+44 -0)
📝 src/qt_gui/translations/en.ts (+46 -1)
📝 src/qt_gui/translations/es_ES.ts (+44 -0)
📝 src/qt_gui/translations/fa_IR.ts (+44 -0)
📝 src/qt_gui/translations/fi.ts (+44 -0)
📝 src/qt_gui/translations/fr.ts (+44 -0)
📝 src/qt_gui/translations/hu_HU.ts (+44 -0)
📝 src/qt_gui/translations/id.ts (+44 -0)
📝 src/qt_gui/translations/it.ts (+44 -0)

...and 19 more files

📄 Description

This adds Crash Diagnostics, Collect Shaders, Copy GPU Buffers, Host Debug Markers and Guest Debug Markers to an "Advanced" section in the Debug tab, all with proper descriptions. It mainly helps developers who might want to get more info about an error beyond a simple log from a user, as now these options are more easily accessible.

This comes with one caveat: I couldn't make the config values work with a QCheckBox element as they were, so I changed them (example: vkCrashDiagnosticEnabled is now getVkCrashDiagnosticEnabled, and I added setVkCrashDiagnosticEnabled). As such, I changed every instance where they're used. This might cause issues with how these options are supposed to work, so please let me know if there are any.

Other than that, you now have to manually enable Host and Guest Debug Markers when using Crash Diagnostics, whereas currently if you have Crash Diagnostics enabled these are automatically enabled. This is because they did not automatically disable when disabling Crash Diagnostics from the Settings menu.

image


🔄 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/2254 **Author:** [@tomboylover93](https://github.com/tomboylover93) **Created:** 1/28/2025 **Status:** ✅ Merged **Merged:** 1/30/2025 **Merged by:** [@polybiusproxy](https://github.com/polybiusproxy) **Base:** `main` ← **Head:** `advanced-debug` --- ### 📝 Commits (9) - [`9fee8a6`](https://github.com/shadps4-emu/shadPS4/commit/9fee8a666afbc4bb9f6e6b6d2c15b8c45549817e) Add Vulkan debug options to the Debug tab - [`7564088`](https://github.com/shadps4-emu/shadPS4/commit/7564088b0026b2b3f6f16f6e62587e8fee58a672) Fix TRt (#2) - [`584fc5c`](https://github.com/shadps4-emu/shadPS4/commit/584fc5c23e3ab946143f4c1d9ceee95d77e27c16) small fixes to pt-BR translation - [`aa434e8`](https://github.com/shadps4-emu/shadPS4/commit/aa434e899dff542d09834a0722f12b6c7cbbdcae) include name of options in description - [`222e368`](https://github.com/shadps4-emu/shadPS4/commit/222e368eb4895e30b935455250013a0737f50feb) en.ts fix - [`a159fea`](https://github.com/shadps4-emu/shadPS4/commit/a159fea7e6a25e9b98ee535d35262635c5a0bd2c) fix translations - [`794076f`](https://github.com/shadps4-emu/shadPS4/commit/794076f5821f623071af2eb48cb7c9ac32e3530b) Merge remote-tracking branch 'refs/remotes/origin/advanced-debug' into advanced-debug - [`0b1e2e5`](https://github.com/shadps4-emu/shadPS4/commit/0b1e2e5df1b9a3818d4ec1c77307fd8ade8c3a22) fix rdoc translation - [`3213ebb`](https://github.com/shadps4-emu/shadPS4/commit/3213ebb078f1feea5bb3fe183e6ee8c234c036c5) fix translations ### 📊 Changes **39 files changed** (+1518 additions, -153 deletions) <details> <summary>View changed files</summary> 📝 `documents/building-linux.md` (+1 -1) 📝 `src/common/config.cpp` (+17 -7) 📝 `src/common/config.h` (+6 -3) 📝 `src/emulator.cpp` (+3 -3) 📝 `src/imgui/renderer/imgui_core.cpp` (+2 -2) 📝 `src/imgui/renderer/texture_manager.cpp` (+1 -1) 📝 `src/qt_gui/settings_dialog.cpp` (+30 -1) 📝 `src/qt_gui/settings_dialog.ui` (+188 -98) 📝 `src/qt_gui/translations/ar.ts` (+44 -0) 📝 `src/qt_gui/translations/da_DK.ts` (+44 -0) 📝 `src/qt_gui/translations/de.ts` (+44 -0) 📝 `src/qt_gui/translations/el.ts` (+44 -0) 📝 `src/qt_gui/translations/en.ts` (+46 -1) 📝 `src/qt_gui/translations/es_ES.ts` (+44 -0) 📝 `src/qt_gui/translations/fa_IR.ts` (+44 -0) 📝 `src/qt_gui/translations/fi.ts` (+44 -0) 📝 `src/qt_gui/translations/fr.ts` (+44 -0) 📝 `src/qt_gui/translations/hu_HU.ts` (+44 -0) 📝 `src/qt_gui/translations/id.ts` (+44 -0) 📝 `src/qt_gui/translations/it.ts` (+44 -0) _...and 19 more files_ </details> ### 📄 Description This adds Crash Diagnostics, Collect Shaders, Copy GPU Buffers, Host Debug Markers and Guest Debug Markers to an "Advanced" section in the Debug tab, all with proper descriptions. It mainly helps developers who might want to get more info about an error beyond a simple log from a user, as now these options are more easily accessible. This comes with one caveat: I couldn't make the config values work with a QCheckBox element as they were, so I changed them (example: vkCrashDiagnosticEnabled is now getVkCrashDiagnosticEnabled, and I added setVkCrashDiagnosticEnabled). As such, I changed every instance where they're used. This might cause issues with how these options are supposed to work, so please let me know if there are any. Other than that, you now have to manually enable Host and Guest Debug Markers when using Crash Diagnostics, whereas currently if you have Crash Diagnostics enabled these are automatically enabled. This is because they did not automatically disable when disabling Crash Diagnostics from the Settings menu. ![image](https://github.com/user-attachments/assets/b733f505-aa37-4749-aa59-ddd7e8526ce7) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:00:33 +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#2601
No description provided.