LINUX.ORG.RU

История изменений

Исправление iZEN, (текущая версия) :

% env vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
7991 frames in 5.0 seconds = 1598.178 FPS
7993 frames in 5.0 seconds = 1598.563 FPS
7988 frames in 5.0 seconds = 1597.064 FPS
8016 frames in 5.0 seconds = 1603.088 FPS
7874 frames in 5.0 seconds = 1574.743 FPS
6978 frames in 5.0 seconds = 1394.755 FPS
7640 frames in 5.0 seconds = 1527.966 FPS
^C

Разницы с предыдущим результатом — никакой.

А вот строчка

Option      "SwapbuffersWait"  "false"
в /etc/X11/xorg.conf уже даёт 50% прирост производительности:
% env vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
10468 frames in 5.0 seconds = 2093.416 FPS
10514 frames in 5.0 seconds = 2102.644 FPS
10504 frames in 5.0 seconds = 2100.614 FPS
10505 frames in 5.0 seconds = 2100.868 FPS
10505 frames in 5.0 seconds = 2100.892 FPS
10182 frames in 5.0 seconds = 2036.306 FPS
^C

Исходная версия iZEN, :

% env vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
ATTENTION: default value of option vblank_mode overridden by environment.
7991 frames in 5.0 seconds = 1598.178 FPS
7993 frames in 5.0 seconds = 1598.563 FPS
7988 frames in 5.0 seconds = 1597.064 FPS
8016 frames in 5.0 seconds = 1603.088 FPS
7874 frames in 5.0 seconds = 1574.743 FPS
6978 frames in 5.0 seconds = 1394.755 FPS
7640 frames in 5.0 seconds = 1527.966 FPS
^C

Разницы с предыдущим результатом — никакой.