Display Refresh Switching to Prevent Frame Loss and Lag
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When electronic devices switch from a high refresh rate to a low refresh rate, frame loss occurs, leading to apparent lag and reduced user experience due to misalignment of vertical synchronization signals.
Innovation Solution
A display method that synchronizes vertical synchronization signals by immediately synthesizing image frames when a fence resource is released, even if not at a rising or falling edge of the software vertical synchronization signal, to align the hardware, software, and hardware vertical synchronization signals after the refresh rate switch.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Use of energy by stationary object
If the electronic device switches from high refresh rate to low refresh rate, then power consumption is reduced, but frame loss occurs leading to apparent lag
Solution Approach 1:
The system performs preliminary actions by pre-synchronizing the software vertical synchronization signal with the hardware vertical synchronization signal before the refresh rate switch occurs. This advance preparation ensures that when the switch happens, the synchronization relationship is maintained, preventing frame loss and lag while allowing the refresh rate to be reduced for lower power consumption.
Solution Approach 2:
The system implements feedback mechanisms by monitoring the synchronization status between software and hardware vertical synchronization signals. When a refresh rate switch is detected, the system adjusts the software vertical synchronization signal timing based on feedback from the hardware signal status, ensuring continuous frame display without loss during the transition.
2Speed
If the refresh rate is switched synchronously when switching applications, then application switching speed is improved, but frame loss occurs due to misalignment of vertical synchronization signals
Solution Approach 1:
The system performs preliminary synchronization adjustment before the refresh rate switch is fully executed. By preparing the software vertical synchronization signal in advance to match the upcoming hardware signal timing, the system enables fast application switching without causing frame loss or display artifacts from misalignment.
Solution Approach 2:
The system dynamically changes the timing parameters of the software vertical synchronization signal based on the detected hardware signal characteristics. When switching from high to low refresh rate, the software signal parameters are adjusted to maintain proper alignment with the hardware signal, preventing frame loss while maintaining fast switching performance.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
This application provides a display method and an apparatus. The display method includes: determining that a refresh rate of an electronic device is switched from a first refresh rate to a second refresh rate, where the first refresh rate is greater than the second refresh rate; generating, in a case that the refresh rate is switched from the first refresh rate to the second refresh rate, a second image frame after the electronic device completes display of a first image frame; and displaying the second image frame. An objective is to resolve a frame loss problem caused by switching from a high refresh rate to a low refresh rate, to reduce lag in the electronic device, and improve user experience.