Queued frame causes choppy graphics performance

Source: Internet
Author: User
I used to encounter choppy videos for a similar reason: I didn't understand the underlying knowledge of the video card at the time. I saw a maskframexxx interface at the underlying layer of the engine, which was used to modify the underlying registration information of the video card using the registry, at that time, it was still a client code farmer's thinking that fell into the interface habits. Instead of understanding the underlying meaning, I accidentally changed it to 30. So the game starts to get stuck every few minutes. During the debugging process, we used the great CPU choppy profile tool, GPU tool perfhud, and so on. Finally, I found this problem with the wisdom of the boss, so I kept this point in mind. Queued FrameThis generally limits GPU to not lag behind the CPU (render thread) by more than one frame, but it does not seem to be the best strategy here. If it is possible to lag behind by up to three frames, it provides better fault tolerance for GPU time instability. That is, it will be smoother. Many touch-based games can try to make such changes. However, the side effects are obvious. For example, the occlusion query will be much later. After reading DX documents, frame lags behind API: idirect3ddevice9ex: setmaximumframelatencyidxgidevice1: setmaximumframelatency

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.