[PR #603] GPU: Compute VRAM display width from GP1(06h) values #58

Open
opened 2026-01-29 19:06:14 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/stenzek/duckstation/pull/603

State: closed
Merged: Yes


We should be applying crop after determining the VRAM display width from GPU values rather than calculating it from the number of video clock ticks in the configurable visible display region. This is a better representation of what happens in hardware, since the GPU has no concept of what's visible or not on the user side, and is less susceptible to rounding errors than the previous method.

**Original Pull Request:** https://github.com/stenzek/duckstation/pull/603 **State:** closed **Merged:** Yes --- We should be applying crop after determining the VRAM display width from GPU values rather than calculating it from the number of video clock ticks in the configurable visible display region. This is a better representation of what happens in hardware, since the GPU has no concept of what's visible or not on the user side, and is less susceptible to rounding errors than the previous method.
claunia added the pull-request label 2026-01-29 19:06:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/duckstation#58