A variable refresh rate anti-flicker display method, device, equipment and storage medium
By controlling page flipping based on the scan output frame buffer in a cloud PC thin client scenario, the refresh rate and cycle of the display are determined, solving the flickering problem caused by variable refresh rate technology in the low refresh rate range, and achieving stable display effect and low latency advantages.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- HANGZHOU WULIAN TECH CO LTD
- Filing Date
- 2026-04-02
- Publication Date
- 2026-06-02
AI Technical Summary
Existing variable refresh rate technology has failed to effectively guarantee display stability in the low refresh rate range, resulting in phenomena such as pixel voltage attenuation and grayscale shift, which cause brightness fluctuations and flickering, especially in cloud computing and thin client scenarios.
By determining the current display mode and maximum refresh rate of the monitor, setting the minimum refresh cycle and logical refresh rate, and using the page flip control of the scan output frame buffer, the display frame is flipped within the optimal time zone for on-screen display, ensuring that the refresh cycle is not lower than the minimum logical refresh rate and avoiding flickering.
It effectively suppresses flickering issues caused by variable refresh rates in the lowest refresh rate range, while maintaining low latency advantages. It is suitable for cloud thin client architectures and has good device compatibility and stability.
Smart Images

Figure CN122135673A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of display control, and in particular to a variable refresh rate anti-flicker display method, a variable refresh rate anti-flicker display device, an electronic device, and a computer-readable storage medium. Background Technology
[0002] With the development and widespread adoption of high refresh rate displays, variable refresh rate technology has been widely supported by major monitor and graphics card manufacturers and is used to reduce screen tearing, lower display latency, and improve interactive response. Current variable refresh rate technologies primarily focus on frame synchronization and do not provide unified constraints or guarantees for display stability in low refresh rate ranges. When the actual refresh rate decreases and approaches the lower limit of the monitor's supported variable refresh rate range, limitations imposed by the display panel's pixel capacitance retention capability, the timing compensation accuracy of the panel driver circuit, and the adaptation range of overdrive parameters and Gamma curves under low refresh rate conditions can amplify phenomena such as pixel voltage attenuation and grayscale shift, leading to brightness fluctuations or perceptible flicker. Summary of the Invention
[0003] The purpose of this invention is to provide a variable refresh rate anti-flicker display method, apparatus, device, and storage medium for use in the display field. This method avoids flickering problems caused by the variable refresh rate operating in the lowest refresh rate range by using a variable refresh rate anti-flicker display method based on page flip control of the scan output frame buffer.
[0004] To solve the above-mentioned technical problems, the present invention provides a variable refresh rate anti-flicker display method, comprising: Determine the current display mode of the display, determine the maximum refresh rate under the current display mode, and determine the minimum refresh cycle based on the maximum refresh rate; Determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate; The optimal time zone for displaying the frame is determined based on the minimum refresh cycle and the maximum refresh cycle. In the current refresh cycle, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped. During the current refresh cycle, if the display frame queue buffer does not receive a new display frame at the end of the maximum refresh cycle, the old display frame is flipped.
[0005] Optionally, determining the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range includes: The target minimum logical refresh rate is determined as half of the maximum refresh rate of the display in the current display mode; When the target minimum logical refresh rate is within the range of the variable refresh rate, the target minimum logical refresh rate is determined as the minimum logical refresh rate.
[0006] Optionally, determining the optimal display time zone for the frame based on the minimum refresh period and the maximum refresh period includes: The time zone between the end time of the minimum refresh cycle and the end time of the maximum refresh cycle is determined as the optimal on-screen time zone for the display frame.
[0007] Optionally, during the current refresh cycle, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped, including: When a frame flip event is detected, the time of the frame flip event is used as the start time of the current refresh cycle; Starting from the aforementioned start time, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped.
[0008] Optionally, the method further includes: When a frame deletion instruction is received, the target display frame in the display frame queue buffer is deleted based on the frame deletion instruction.
[0009] Optionally, the old display frame is the currently displayed display frame.
[0010] Optionally, the display is a cloud computer thin client.
[0011] To solve the above-mentioned technical problems, the present invention provides a variable refresh rate anti-flicker display device, comprising: The first module is used to determine the current display mode of the display, determine the maximum refresh rate under the current display mode, and determine the minimum refresh period based on the maximum refresh rate; The second module is used to determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate. The third module is used to determine the optimal time zone for displaying the frame based on the minimum refresh cycle and the maximum refresh cycle. The fourth module is used to flip the new display frame when a new display frame is received in the display frame queue buffer within the optimal display time zone during the current refresh cycle. The fifth module is used to flip the old display frame when the display frame queue buffer does not receive a new display frame at the end of the maximum refresh cycle during the current refresh cycle.
[0012] To solve the above-mentioned technical problems, the present invention provides an electronic device, comprising: Memory, used to store computer programs; A processor is used to implement the variable refresh rate anti-flicker display method described above when executing the computer program.
[0013] To address the aforementioned technical problems, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the aforementioned variable refresh rate anti-flicker display method.
[0014] As can be seen, this invention determines the current display mode of the display, the maximum refresh rate under the current display mode, and the minimum refresh period based on the maximum refresh rate; it determines the variable refresh rate range of the display, the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and the maximum refresh period based on the minimum logical refresh rate; it determines the optimal display frame loading time zone based on the minimum refresh period and the maximum refresh period; in the current refresh period, when a new display frame is received in the display frame queue buffer within the optimal loading time zone, the new display frame is flipped; in the current refresh period, when no new display frame is received in the display frame queue buffer at the end of the maximum refresh period, the old display frame is flipped. This invention proposes a variable refresh rate anti-flicker display method based on page flipping control of the scan output frame buffer, thereby avoiding the flickering problem caused by the variable refresh rate operating in the lowest refresh rate range. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0016] Figure 1 A flowchart illustrating a variable refresh rate anti-flicker display method provided in an embodiment of the present invention; Figure 2 This is a schematic diagram illustrating a thin client solution provided in an embodiment of the present invention; Figure 3 This is a structural block diagram of a variable refresh rate anti-flicker display device provided in an embodiment of the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0018] With the development and popularization of high refresh rate display devices (such as 2K 240Hz, 4K 144Hz, etc.), variable refresh rate (VRR) technology has been widely supported by major monitor and graphics card manufacturers and is used to reduce screen tearing, reduce display latency and improve interactive response experience.
[0019] VRR (Dynamic Refresh Rate) technology achieves adaptive matching between display refresh and frame output by dynamically changing the display refresh cycle according to the arrival time of the input image frame. However, existing VRR technologies mainly focus on frame synchronization and do not uniformly constrain or guarantee the display stability of the monitor in the low refresh rate range. When the actual refresh rate drops and approaches the lower limit of the variable refresh rate range supported by the monitor, due to limitations in the pixel capacitance retention capability of the display panel, the timing compensation accuracy of the panel driving circuit, and the adaptation range of overdrive parameters and Gamma curve under low refresh rate conditions, phenomena such as pixel voltage attenuation and grayscale shift are easily amplified, thus causing brightness fluctuations or perceptible flicker.
[0020] The aforementioned problems stem from the physical structure and implementation characteristics of the display panel and its driving circuitry, and are quite common in current mainstream display designs. Furthermore, significant differences exist between different manufacturers and display models in panel selection, driving strategies, and parameter calibration. This means that even if a display device nominally supports a certain VRR refresh rate range, its actual display stability near the lower limit of that range is difficult to guarantee. This type of flickering is particularly noticeable in dark scenes, low grayscale displays, and scenarios where the refresh rate frequently enters low refresh rate ranges, and is amplified in cloud computing / thin client scenarios.
[0021] In cloud PC streaming services, the role of client devices is gradually being simplified to thin clients (i.e., only responsible for receiving remotely encoded video streams, performing local decoding, and outputting the image to the display). Under this architecture, the terminal typically does not perform local rendering; instead, it receives encoded image frames from the cloud host via the network, decodes them, and directly outputs them to the display device. In this service model, the time interval between display frames arriving at the terminal is not fixed but is influenced by a variety of factors, including but not limited to: 1. Real-time rendering frame rate of games or applications on the cloud-based host side; 2. Network jitter during network transmission. 3. Latency fluctuations during encoding and decoding; 4. Changes in cloud system load, etc.
[0022] When VRR mode is enabled, the refresh cycle of the display device dynamically changes with the interval between display frames. As the display frame interval increases, the equivalent refresh rate decreases, and gradually approaches the physical minimum refresh rate supported by VRR, some display panels may experience brightness fluctuations, decreased Gamma or Vcom stability, and other phenomena, resulting in flickering issues that are perceptible to the user.
[0023] To address the above issues, existing solutions mainly fall into the following categories: 1. Hardware or driver-level implementation optimization: This type of solution mainly relies on the monitor hardware design, the quality of the panel driver circuit, or the proprietary implementation strategies of graphics card manufacturers at the driver level. However, there are significant differences in hardware capabilities and implementation details between different monitor manufacturers and different models, and graphics card manufacturers' adaptation strategies are also different. As a result, the variable refresh rate flickering problem is still common in practical applications and is difficult to avoid through a unified approach.
[0024] 2. User-level workarounds: Some users choose to disable the VRR function directly at the system or driver level to avoid flickering. While this method can eliminate flickering caused by low refresh rates, it also negates the advantages of VRR technology in reducing latency and improving display smoothness.
[0025] 3. Maintaining a high refresh rate output within the application or game: This method typically relies on settings provided by the game or application itself to increase the rendering frame rate and avoid a drop in refresh rate. However, this solution is limited by the application's support and is difficult to apply in non-game application scenarios. Furthermore, in cloud computing or streaming display scenarios, even if the cloud application attempts to maintain a high frame rate, factors such as network jitter and encoding / decoding latency may cause the display interval between individual frames or multiple consecutive frames to increase, causing the display refresh rate to fall into the VRR physical minimum refresh rate range, resulting in flickering.
[0026] In summary, under the cloud PC thin client architecture, since the display frames are generated by network input, the terminal side usually cannot directly control the application rendering behavior or the internal refresh strategy of the graphics card. Existing solutions centered on display hardware or graphics cards are difficult to stably avoid the problem of variable refresh rate flicker while ensuring fast screen display and good interactive response.
[0027] Therefore, there is an urgent need for a method that does not rely on the specific implementation of display devices or graphics card manufacturers and can uniformly control the display refresh behavior on the terminal side, so as to effectively suppress the occurrence of flickering while maintaining the advantages of VRR technology.
[0028] The following combination Figure 1 , Figure 1 A flowchart of a variable refresh rate anti-flicker display method provided in an embodiment of the present invention, the method may include: S101: Determine the current display mode of the monitor, determine the maximum refresh rate under the current display mode, and determine the minimum refresh cycle based on the maximum refresh rate.
[0029] In this embodiment, the display can be a cloud computer thin client. In the frame display process, application rendering is generally performed on the host side, the screen is captured and encoded and then transmitted to the cloud computer thin client. After decoding by the decoder, the display frame, also known as the buffer frame, is obtained.
[0030] This embodiment can schedule the flipping of display frames in the ScanoutFramebuffer based on the minimum logical refresh rate. This allows setting a logical minimum refresh rate higher than the physical minimum refresh rate of the display panel. If the display frame queue buffer does not receive a new framebuffer within the maximum refresh cycle, the old framebuffer is actively flipped once to maintain the refresh cycle at or above the minimum logical refresh rate, thereby avoiding the flickering problem caused by the VRR operating in the lowest refresh rate range.
[0031] The display frame queue buffer is used to cache image frame data to be displayed after decoding or rendering, while the scan output frame buffer is bound to the display controller and used to scan the output display frames.
[0032] This embodiment first determines the current display model of the display, that is, the current display resolution and refresh rate. Taking the Linux system as an example, it obtains information about all connected displays through drmModeGetResources based on the drm application layer framework, obtains all display modes supported by the display through drmModeGetConnector, and filters the display modes supported by the display according to business needs.
[0033] This embodiment can determine the minimum refresh period based on the maximum refresh rate in the current display mode. The minimum refresh period is 1 divided by the maximum refresh rate.
[0034] S102: Determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate.
[0035] Furthermore, the variable refresh rate range supported by the display is obtained. The variable refresh rate range is generally described in the display's EDID (Extended Display Identification Data), which can be obtained through various means, such as parsing the EDID or directly reading and parsing the contents of / sys / kernel / debug / dri / 0 / DP-1 / vrr_range.
[0036] This embodiment determines the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range. This embodiment does not limit the specific method for determining the minimum logical refresh rate, but it needs to be greater than the monitor's physical minimum refresh rate, generally half of the maximum refresh rate. Of course, depending on actual business needs, the minimum logical refresh rate can be set to a smaller value, but it must not be lower than the minimum value supported by the monitor's VRR range. Furthermore, a smaller value increases the probability of flickering.
[0037] Specifically, in this embodiment, half of the maximum refresh rate of the display in the current display mode can be determined as the target minimum logical refresh rate; when the target minimum logical refresh rate is within the range of variable refresh rates, the target minimum logical refresh rate is determined as the minimum logical refresh rate.
[0038] like Figure 2 As shown, taking the current display mode as 2K 240Hz as an example, the monitor's variable refresh rate range (VRRrange) can be 48-240Hz, so the minimum logical refresh rate can be set to 120Hz.
[0039] This embodiment can determine the maximum refresh period based on the minimum logical refresh rate and the minimum refresh period based on the maximum refresh rate of the display.
[0040] In this embodiment, the maximum refresh period is 1 divided by the minimum logical refresh rate, and the minimum refresh period is 1 divided by the maximum refresh rate. For example... Figure 2 As shown, if the strategy sets the minimum logical refresh rate to 120Hz, then the maximum refresh period is 1 / 120ms, or 8.3ms; if the maximum refresh rate is 240Hz, then the minimum refresh period is 1 / 240ms, or 4.16ms.
[0041] S103: Determine the optimal time zone for displaying frames based on the minimum and maximum refresh cycles.
[0042] This embodiment determines the optimal time zone for displaying frames based on the minimum and maximum refresh cycles. Specifically, the time zone between the end time of the minimum refresh cycle and the end time of the maximum refresh cycle is determined as the optimal time zone for displaying frames. For example, when the maximum refresh cycle is 8.3ms and the minimum refresh cycle is 4.16ms, the optimal time zone for displaying frames is 8.3ms - 4.16ms = 4.16ms, which is the longest time that can be waited for in the optimal time zone for displaying frames.
[0043] S104: In the current refresh cycle, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped.
[0044] S105: In the current refresh cycle, if no new display frame is received in the display frame queue buffer at the end of the maximum refresh cycle, the old display frame is flipped.
[0045] Ensure that both the chip and the display support VRR, enable VRR, and submit the first frame for display to establish a display link.
[0046] The flip event, also known as page flip, is used as the refresh control point and recorded as the starting time of the refresh cycle. Then, within the optimal time zone for displaying the content, the following judgment is performed: 1. Determine whether a new decoded display frame has been received within the current optimal display time zone; 2. If a new display frame is received, flip the new framebuffer; 3. If no new display frame is received before the optimal display time zone ends, flip the old framebuffer without changing the display content.
[0047] In other words, when a frame flip event is detected, the time of the frame flip event is used as the start time of the current refresh cycle. Starting from the start time, if a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped; if no new display frame is received in the display frame queue buffer at the end of the maximum refresh cycle, the old display frame is flipped. The old display frame is the display frame that is currently being displayed on the monitor.
[0048] like Figure 2As shown, the thin client receives frame data (recv net data) pushed from the network, such as frame1, frame2, ..., framex, and further pushes the frame data to the decoder. After the decoder completes the decoding of a frame of video, it obtains a framebuffer (abbreviated as fb) and puts it into the display frame buffer queue (pre-built video memory buffer). Using the flip event as the refresh control point, between 4.16ms and 8.3ms (optimal display time zone) after the start time, it retrieves a new display frame from the display frame queue buffer. When a new display frame exists, the latest frame is flipped; if no new frame is received before the end of the maximum period (8.3ms), the previous frame is flipped to complete the flip scheduling.
[0049] The flip's display frame is pushed to the DRM (Direct Rendering Manager) and then pushed to the monitor for frame display via the DP (Display Port) interface.
[0050] This embodiment can use DRM atomic commit to manage the display state. DRM atomic commit is the core function in the DRM driver, which is responsible for actually submitting the display parameters configured by the application to the hardware for execution.
[0051] In this embodiment, CRTC vblank or page flip events can be used as refresh scheduling trigger points. CRTC vblank refers to a set of interrupt management and synchronization mechanisms related to CRTC (Cathode Ray Tube Controller) and Vertical Blanking in the Linux DRM subsystem.
[0052] This embodiment can use a logical maximum refresh cycle timer to maintain the refresh rhythm. In this embodiment, when there is no new frame, the previous framebuffer is submitted and flipped again without changing the content of the plane / fb.
[0053] This embodiment maintains the VRR state and logical minimum refresh rate through Wayland / Compositor. Wayland is a communication protocol that defines how the display compositor and its clients should communicate. When the client buffer is not updated, the compositor actively triggers a display commit without content changes, ensuring that the display refresh cycle is not lower than the logical minimum refresh threshold.
[0054] Furthermore, in this embodiment, in addition to being displayed and consumed (flipped), display frames in the display frame buffer queue can also be actively deleted based on a policy. Specifically, when a frame deletion instruction is received, the target display frame in the display frame queue buffer is deleted based on the frame deletion instruction.
[0055] This solution has the following advantages: 1. Avoid VRR low refresh rate flicker while maintaining VRR's low latency advantage. In network environments where display frame arrival times are unstable, this approach balances low display latency with fast screen loading requirements. It utilizes VRR's variable refresh cycle characteristics to resist any time fluctuations in the entire streaming link, reducing additional screen loading latency caused by missed refresh cycles, while effectively suppressing flickering caused by low refresh rates.
[0056] 2. Suitable for cloud-thin client architecture. It does not rely on modifications to the application rendering frame rate, video encoding or decoding process, and achieves display-side control without interfering with the operation of cloud applications and the terminal decoding path, maintaining a decoupled architecture between the cloud and the terminal.
[0057] 3. Achieve clear logic, low performance overhead, and stable display experience. Limit the lower limit of the display refresh cycle to avoid the display refresh rate entering the low refresh rate range that is prone to brightness fluctuations and flickering within the variable refresh rate operating range, thereby improving display stability.
[0058] 4. It has good device and system compatibility and can be applied to different types of display devices and terminal display systems that support variable refresh rate display, without relying on the proprietary implementation of a specific monitor manufacturer or graphics card manufacturer.
[0059] Based on the above embodiments, the present invention provides a variable refresh rate anti-flicker display method based on page flip control of the scan output frame buffer, thereby avoiding the flickering problem caused by the variable refresh rate operating in the lowest refresh rate range.
[0060] The following combination Figure 3 , Figure 3 This is a structural block diagram of a variable refresh rate anti-flicker display device provided in an embodiment of the present invention. The device may include: The first module 100 is used to determine the current display mode of the display, determine the maximum refresh rate under the current display mode, and determine the minimum refresh cycle based on the maximum refresh rate. The second module 200 is used to determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate. The third module 300 is used to determine the optimal time zone for displaying frames based on the minimum refresh cycle and the maximum refresh cycle. The fourth module 400 is used to flip the new display frame when a new display frame is received in the display frame queue buffer within the optimal display time zone during the current refresh cycle. The fifth module 500 is used to flip the old display frame if no new display frame is received in the display frame queue buffer before the end of the maximum refresh cycle in the current refresh cycle.
[0061] Based on the above embodiments, the present invention provides a variable refresh rate anti-flicker display method based on page flip control of the scan output frame buffer, thereby avoiding the flickering problem caused by the variable refresh rate operating in the lowest refresh rate range.
[0062] Based on the above embodiments, the first module 300 may include: The first unit is used to determine half of the maximum refresh rate of the display in the current display mode as the target minimum logical refresh rate; The second unit is used to determine the target minimum logical refresh rate as the minimum logical refresh rate when the target minimum logical refresh rate is within the range of variable refresh rates.
[0063] Based on the above embodiments, the third module 300 may include: The third unit is used to determine the time zone between the end time of the minimum refresh cycle and the end time of the maximum refresh cycle as the optimal time zone for displaying the frame.
[0064] Based on the above embodiments, the fourth module 400 may include: The fourth unit is used to take the time of the frame flip event as the start time of the current refresh cycle when a frame flip event is detected. The fifth unit is used to flip the new display frame when a new display frame is received in the display frame queue buffer within the optimal display time zone, starting from the initial time.
[0065] Based on the above embodiments, the device may further include: The sixth module is used to delete the target display frame in the display frame queue buffer based on the frame deletion instruction received.
[0066] Based on the above embodiments, the old display frame is the currently displayed display frame.
[0067] Based on the above embodiments, the display is a cloud computer thin client.
[0068] Based on the above embodiments, the present invention also provides an electronic device, which may include a memory and a processor. The memory stores a computer program, and when the processor calls the computer program in the memory, it can implement the steps provided in the above embodiments. Of course, the device may also include various necessary network interfaces, a power supply, and other components.
[0069] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an execution terminal or processor, can implement the method provided in the embodiments of the present invention; the storage medium may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0070] In this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, without necessarily requiring or implying any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
Claims
1. A variable refresh rate anti-flicker display method, characterized in that, include: Determine the current display mode of the display, determine the maximum refresh rate under the current display mode, and determine the minimum refresh cycle based on the maximum refresh rate; Determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate; The optimal time zone for displaying the frame is determined based on the minimum refresh cycle and the maximum refresh cycle. In the current refresh cycle, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped. During the current refresh cycle, if the display frame queue buffer does not receive a new display frame at the end of the maximum refresh cycle, the old display frame is flipped.
2. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, Determining the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range includes: The target minimum logical refresh rate is determined as half of the maximum refresh rate of the display in the current display mode. When the target minimum logical refresh rate is within the range of the variable refresh rate, the target minimum logical refresh rate is determined as the minimum logical refresh rate.
3. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, Determining the optimal display time zone for the frame based on the minimum refresh cycle and the maximum refresh cycle includes: The time zone between the end time of the minimum refresh cycle and the end time of the maximum refresh cycle is determined as the optimal on-screen time zone for the display frame.
4. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, During the current refresh cycle, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped, including: When a frame flip event is detected, the time of the frame flip event is used as the start time of the current refresh cycle; Starting from the aforementioned start time, when a new display frame is received in the display frame queue buffer within the optimal display time zone, the new display frame is flipped.
5. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, Also includes: When a frame deletion instruction is received, the target display frame in the display frame queue buffer is deleted based on the frame deletion instruction.
6. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, The old display frame is the currently displayed display frame.
7. The variable refresh rate anti-flicker display method according to claim 1, characterized in that, The display is a cloud computer thin client.
8. A variable refresh rate anti-flicker display device, characterized in that, include: The first module is used to determine the current display mode of the display, determine the maximum refresh rate under the current display mode, and determine the minimum refresh period based on the maximum refresh rate; The second module is used to determine the variable refresh rate range of the display, determine the minimum logical refresh rate based on the maximum refresh rate and the variable refresh rate range, and determine the maximum refresh cycle based on the minimum logical refresh rate. The third module is used to determine the optimal time zone for displaying the frame based on the minimum refresh cycle and the maximum refresh cycle. The fourth module is used to flip the new display frame when a new display frame is received in the display frame queue buffer within the optimal display time zone during the current refresh cycle. The fifth module is used to flip the old display frame when the display frame queue buffer does not receive a new display frame at the end of the maximum refresh cycle during the current refresh cycle.
9. An electronic device, characterized in that, include: Memory, used to store computer programs; A processor, configured to implement the variable refresh rate anti-flicker display method as described in any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, implement the variable refresh rate anti-flicker display method as described in any one of claims 1 to 7.