Originally posted by kparal
View Post
- Setting the environment variable "mesa_glthread=true" will enable glthread. It has the same effect as enabling glthread in drirc.
- You can measure FPS manually by setting GALLIUM_HUD=fps, going to an (ideally static) game location and observing the FPS on the screen.
- You can observe how glthread is performing by adding 3 more HUD charts: GALLIUM_HUD=fps,API-thread-offloaded-slots+API-thread-direct-slots+API-thread-num-syncs
- The API charts on the HUD show glthread counters. If they are 0, glthread is disabled. Even if you enable glthread, Mesa can still decide to disable it for compatibility. In order to have a good chance of having higher performance, API-thread-offloaded-slots must be 2x or higher than API-thread-direct-slots.
- It's recommended to have a slower CPU compared to the GPU.
Would you add this to the Wiki page. Thanks.
Leave a comment: