[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-06-03。"],[],[],null,["# NCSoft Lineage W improves sustained performance and prevents thermal throttling by using ADPF\n\nNCSoft Lineage W is a massively multiplayer online role-playing game (MMORPG)\ndeveloped by NCSoft. This game inherits the legacy of the original Lineage W\ngame and offers an environment where players from around the world can cooperate\nand compete through global servers. Set in a unique medieval fantasy world,\nLineage W provides players with a deep gaming experience through various\nclasses, skills, and combat systems.\n\nNCSoft used the Android Dynamic Performance Framework to maximize graphical\nquality while preventing performance issues caused by thermal throttling.\n\nAndroid Dynamic Performance Framework\n-------------------------------------\n\nThe [Android Dynamic Performance Framework (ADPF)](/games/optimize/adpf)\nprovides information on resource usage and helps developers respond to changing\nperformance, thermal, and user situations in real time. It includes both the\nThermal and Performance Hint APIs.\nThe [Thermal APIs](/games/optimize/adpf/thermal) offer information about a\ndevice's thermal state, while the\n[Performance Hint API](/games/optimize/adpf/performance-hint-api) provides\nperformance hints that assist Android in selecting the optimal CPU operating\npoint and core placement.\n\nUnreal Engine ADPF plugin\n-------------------------\n\nThe [Unreal Engine ADPF plugin](https://github.com/android/adpf-unreal-plugin) provides the easiest way to use\nADPF in games using the Unreal Engine.\n\nThe plugin checks the device's thermal status every second. When the device\noverheats, the plugin adjusts the graphic quality settings using the default\nUnreal Scalability settings. There are four levels and each level is mapped to\nvarious graphic qualities (resolution, view distance, post-processing, and so\non).\n\nIf you already have in-game settings (such as low, mid, and high quality) that\nare configurable by the player, we recommend you to use these settings instead\nof the default Unreal Scalability levels.\n\nThe plugin uses two methods to check device thermals: one is by assessing the\nthermal headroom and the other is by checking the thermal status. The thermal\nheadroom provides more detailed information, and it is enabled by default.\n\nThe plugin creates the two performance hint sessions for the game and render\nthreads. It reports the target and actual duration to the framework every frame,\nand it helps achieve the target frames per second (FPS).\n\nHow NCSoft optimized performance\n--------------------------------\n\nYour browser doesn't support the video tag. **Figure 1.** In game video.\n\nLineage W used ADPF to prevent performance issues caused by thermal throttling.\nThey endeavored to maximize the use of graphical quality settings that provide\nsignificant performance gains while minimizing the impact on actual gameplay.\nNCSoft verified the stability and operation of each stage when adjusting the\nquality through the headroom value. Various tests were required to provide users\nwith a good gaming experience for each adjusted value of the graphics quality\nsetting.\n\nThe game targets 30 FPS by default, but NCSoft changed the\ntarget FPS to 60 in order to test how ADPF can improve their FPS.\n\nDuring 30 minutes of gameplay testing on a Pixel 6 running Android 13, the FPS\ndropped drastically from 60 FPS to 32 FPS and the thermal headroom value reached\n1.0f (the threshold for severe thermal throttling) at the 4 min mark.\n\nWhen the game used the Unreal Engine ADPF plugin with the default Unreal\nScalability, it was able to maintain 60 FPS for 15 mins. The average frame rate\nthroughout these 30 minutes also increased to 57.5 FPS. However, the thermal\nheadroom showed similar values as before, meaning that the device heated up in a\nsimilar way and suffered from thermal throttling.\n\nTo address this, the Lineage W team decided that they needed to give ADPF more\ncontrol over the fidelity parameters to avoid thermal throttling. After\nintegrating Lineage W's in-game graphics quality settings with the Unreal Engine\nADPF plugin, they achieved optimal results. This integration resulted in stable\nframe rates at 60 FPS while maintaining a thermal headroom value lower than 1.0,\nindicating efficient thermal management.\n\nBy using Lineage W's in-game quality settings with ADPF, NCSoft was able to\ndeliver a more stable and enjoyable user experience.\n\nBecause ADPF is not fully supported by all Android-powered device manufacturers,\nNCSoft implemented this as an in-game option \"Adaptive Performance Optimization\"\nfor players to opt-in.\n\nGet started with ADPF and Unreal Engine plugin\n----------------------------------------------\n\nDevelopers who are interested in using Android Adaptability or the ADPF Unreal\nEngine plugin should do the following:\n\n- Learn more about [ADPF](/games/optimize/adpf) and the [Unreal Engine ADPF plugin](https://github.com/android/adpf-unreal-plugin).\n- Customize your scalers to your game content instead of using the [Unreal Engine scalability](https://dev.epicgames.com/documentation/en-us/unreal-engine/scalability-reference-for-unreal-engine).\n- Monitor the performance of the game to ensure that its meeting expectations. Experiment with different settings to find the best performance and minimal thermal increase.\n- Change graphic quality settings separately to reduce sudden performance decreases.\n\nRegardless of which engine you use, you can always choose to use the APIs\ndirectly. Learn more at [Android Adaptability](/games/optimize/adpf) and\n[Unreal Engine ADPF plugin](https://github.com/android/adpf-unreal-plugin)."]]