mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-24 23:36:00 +03:00
[PR #4039] [MERGED] Lib.VideoOut: Fix pending flips limit #3891
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3891
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/4039
Author: @StevenMiller123
Created: 2/15/2026
Status: ✅ Merged
Merged: 2/16/2026
Merged by: @georgemoralis
Base:
main← Head:fix-flip-queue-size📝 Commits (2)
f6d102eHardcoded limit to pending flipsdb593a5Assert on trying to flip unregistered buffer📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
src/core/libraries/videoout/driver.cpp(+2 -1)📄 Description
Real hardware has a fixed limit for pending flips, it doesn't rely on the number of registered VideoOut buffers. While the kernel uses an array of 18 elements, my tests suggest the cap is around 16 pending flips.
I'm not entirely sure if our code is properly equipped to handle this change, but it appears to work fine in games that were previously asserting or spamming the flip queue is full error message.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.