Build the launcher on Qt below 6.6 and cap the reference-clock log #653
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!653
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/653/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@YuhiAida on GitHub · 2026-09-16 22:47 UTC · original
YuhiAida:chore/launcher-qt-and-clock-log→main· +7 −3 · 2 files · 3 commits · merged 2026-09-17 06:30 UTCTwo small, independent fixes. Each commit is self-contained and one file wide, so either can be taken or dropped on its own.
1. Build the launcher on Qt versions below 6.6
QVulkanInstance::NoPortabilityDriversonly exists from Qt 6.6. With Qt 6.4/6.5 thelaunchertarget does not compile:The flag is only needed on 6.6+, so it is now guarded. Verified on Qt 6.4.2:
launcherandkyty_emulatorbuild.2. Stop logging every reference-clock copy
CommandProcessor::WriteReferenceClockis called on every GPU wait and logged unconditionally, so the log grows by a line per wait for the whole run (thousands of lines per boot; measured 1312 and 5580 in two runs of the same title). The line content never changes in a way that matters once the address/size are known.It now logs the first 64 lines per process and stays silent afterwards. The copy itself is unchanged.
Measured with the same build, the same title and the same run length - identical stop point and exit code on both sides, the cap being the only difference between the two runs:
copy_data reference clocklinesA second pair of runs on the same two trees: 1312 -> 64. The count before the cap tracks run length; the 64 afterwards is the constant. In runs that end before 64 waits, nothing is dropped (measured 10 lines).
Verification
kyty_emulatorandlauncherboth build on this branch (Qt 6.4.2; the launcher fix of commit 1 is what makes the second target possible).Summary by CodeRabbit
@coderabbitai[bot] on GitHub · 2026-09-16 22:47 UTC · original · edited 2026-09-17 06:33 UTC
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Advanced
Run ID:
81d8cef3-3c06-4b88-867a-4b6301e192e6📥 Commits
Reviewing files that changed from the base of the PR and between
dbba6363d1and414c83a40b.📒 Files selected for processing (1)
src/graphics/guest_gpu/graphicsRun.cpp💤 Files with no reviewable changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
📝 Walkthrough
Walkthrough
The change limits reference-clock logging to the first 64 calls per process. It also restricts
NoPortabilityDriversto non-Apple builds using Qt 6.6 or newer.Changes
Reference-clock logging
src/graphics/guest_gpu/graphicsRun.cppVulkan flag compatibility
src/launcher/src/configurationEditDialog.cppNoPortabilityDriversis set only on non-Apple builds with Qt 6.6 or newer.Priority: ⬇️ Low
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Bug fix
Merge Risk: ⚪ Minimal · up to
414c8The compatibility guard and logging limit preserve the affected runtime behavior while avoiding unsupported Qt API use and excess reference-clock logs. No actionable merge risk was identified.
🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches
🧪 Generate unit tests (beta)
Comment
@coderabbitai helpto get the list of available commands.