Bad graphics performance under KDE: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with "{{infobox KB |fgversion = All versions }} == Problem == When starting Flightgear under KDE, the graphic performance is very bad, i.e. low framerates. == Reason == It is like...")
 
No edit summary
Line 34: Line 34:


[[Category:Knowledge_Base|Graphics, bad performance, KDE]]
[[Category:Knowledge_Base|Graphics, bad performance, KDE]]
[[Category:Knowledge_Base|KDE, bad graphics performancs]]

Revision as of 18:45, 6 March 2012

Template:Infobox KB


Problem

When starting Flightgear under KDE, the graphic performance is very bad, i.e. low framerates.


Reason

It is likely that "compositing" is activated. KDE includes a large number of various effects which use OpenGL. This degrades the performance of applications that use OpenGL heavily.


Solution

Disable compositing permanently or temporarily in the KDE settings, via the assigned hotkey (normally Shift + Alt + F12) or via a script.


Caveats

With compositing disabled, KDE desktop effects don't work anymore.


Example

This example by i4dnf deactivates compositing, starts Flightgear and reactivates compositing after Flightgear ended.

#!/bin/sh
qdbus org.kde.kwin /KWin toggleCompositing && /usr/games/bin/fgfs $@ && qdbus org.kde.kwin /KWin toggleCompositing


See also / related