chjj / compton

A compositor for X11.
Other
2.25k stars 500 forks source link

it isn't an issue. but how to deal with urbanterror and compton #156

Closed wxg4net closed 11 years ago

wxg4net commented 11 years ago

if compton run. urbanterror runs slower. how to avoid it thx very match

richardgv commented 11 years ago
  1. Speak Chinese if you found English an issue for you -- I don't have a problem understanding it -- or find somebody to translate your words.
  2. --unredir-if-possible could be a quick and dirty workaround, as far as you run Urban Terror in full-screen mode.
  3. "Slower" is a moderately unclear description. It could be caused by a wide variety of reasons but apparently there's no information you've provided that could help to determine the exact cause. Definitely your related hardware specification, driver and kernel versions, screen set-up (i.e. if you have a multi-head setup or rotated screen, etc.), version of your compton and X server, and compton / X / driver configuration should be provided when you report such an issue.
  4. Make sure you have a sufficiently new version of compton.
  5. Improper VSync is one of the top reason that produces so-called "slowness". You may try disabling all VSync options, in compton and in your driver, to check if that's the cause.
  6. It could be a real performance issue, though compton is quite efficient that this rarely happens unless you have certain resource-hogging options enabled (--invert-color-include, --blur-background) or is under heavy load. You may spot high CPU/GPU usage or high CPU/GPU fan speed / temperature. Dropping those options in compton may help. Tuning your driver configuration probably would probably work. Switching between X Render and GLX backend may bring you something, and the GLX backend optimization options worth investigation. Lowering the quality settings of Urban terror could act as a last resort.